Thread: 602NPCDialogue.Heads problem

Results 1 to 8 of 8
  1. #1 602NPCDialogue.Heads problem 
    Registered Member mr code's Avatar
    Join Date
    Jan 2011
    Age
    29
    Posts
    490
    Thanks given
    12
    Thanks received
    14
    Rep Power
    28
    i added 602 NPCDialogue.Heads on my galkon client
    but now its look like this





    i dont know what i do wrong cuz i added the head models to my raw.

    here my code things:

    clientside:
    Code:
    			if(pktType == 75)
    			{
    					int j3 = inStream.method436();
    					int j11 = inStream.method436();
    				RSInterface.interfaceCache[j11].anInt233 = 2;
    				RSInterface.interfaceCache[j11].mediaID = j3;
    					pktType = -1;
    					return true;
    			}
    Code:
    			if(pktType == 200)
    			{
    				int l8 = inStream.readUnsignedWord();
    					int i15 = inStream.readSignedWord();
    					RSInterface class9_4 = RSInterface.interfaceCache[l8];
    					class9_4.anInt257 = i15;
                   		               			 class9_4.anInt269 = 1600;
    				if(i15 == -1)
    				{
    					class9_4.anInt246 = 0;
    					class9_4.anInt208 = 0;
    				}
    					pktType = -1;
    					return true;
    	}
    serverside:
    DialogueHandler.java:

    Code:
    		case 100:
    			sendNpcChat3(" ", "Good day. How may I help you?", " ", c.talkingNpc, "Banker");
    			c.nextChat = 101;
    			break;
    ActionHandler.java:

    Code:
    			case 44:
    			c.getDH().sendDialogues(100, i);
    			break;

    sendNpcChat2, 3, and 4 voids:

    Code:
    	public void sendNpcChat2(String s, String s1, int ChatNpc, String name) {
    		c.getPA().sendFrame200(4888, 9847);
    		c.getPA().sendFrame126(name, 4889);
    		c.getPA().sendFrame126(s, 4890);
    		c.getPA().sendFrame126(s1, 4891);
    		c.getPA().sendFrame75(ChatNpc, 4888);
    		c.getPA().sendFrame164(4887);
    	}
    	
    	public void sendNpcChat3(String s, String s1, String s2, int ChatNpc, String name) {
    		c.getPA().sendFrame200(4894, 9847);	//Was 591
    		c.getPA().sendFrame126(name, 4895);
    		c.getPA().sendFrame126(s, 4896);
    		c.getPA().sendFrame126(s1, 4897);
    		c.getPA().sendFrame126(s2, 4898);
    		c.getPA().sendFrame75(ChatNpc, 4894);
    		c.getPA().sendFrame164(4893);
    	}
    	
    	
    	private void sendNpcChat4(String s, String s1, String s2, String s3, int ChatNpc, String name) {
    		c.getPA().sendFrame200(4901, 9847);
    		c.getPA().sendFrame126(name, 4902);
    		c.getPA().sendFrame126(s, 4903);
    		c.getPA().sendFrame126(s1, 4904);
    		c.getPA().sendFrame126(s2, 4905);
    		c.getPA().sendFrame126(s3, 4906);
    		c.getPA().sendFrame75(ChatNpc, 4901);
    		c.getPA().sendFrame164(4900);
    	}

    can someone tell me whats wrong?
    removed due to URL shortener
    Reply With Quote  
     

  2. #2  
    Registered Member mr code's Avatar
    Join Date
    Jan 2011
    Age
    29
    Posts
    490
    Thanks given
    12
    Thanks received
    14
    Rep Power
    28
    any?
    removed due to URL shortener
    Reply With Quote  
     

  3. #3  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    this is a client sided issue, handled in the texture class iirc

    something about not settings the right line offsets for the chatbox
    Reply With Quote  
     

  4. #4  
    Registered Member mr code's Avatar
    Join Date
    Jan 2011
    Age
    29
    Posts
    490
    Thanks given
    12
    Thanks received
    14
    Rep Power
    28
    so u dont have any idea about a method or something?
    removed due to URL shortener
    Reply With Quote  
     

  5. #5  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    is it all heads or just the 602 ones ? and does it occur with other models used in the chat area?
    Reply With Quote  
     

  6. #6  
    Registered Member mr code's Avatar
    Join Date
    Jan 2011
    Age
    29
    Posts
    490
    Thanks given
    12
    Thanks received
    14
    Rep Power
    28
    i didnt try any other i did this tut http://www.rune-server.org/runescape...logue-box.html
    and i added all 602 dialogue heads in my raw folder
    removed due to URL shortener
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Mar 2010
    Posts
    1,048
    Thanks given
    239
    Thanks received
    226
    Rep Power
    0
    Reply With Quote  
     

  8. #8  
    Registered Member mr code's Avatar
    Join Date
    Jan 2011
    Age
    29
    Posts
    490
    Thanks given
    12
    Thanks received
    14
    Rep Power
    28
    its not the head size
    removed due to URL shortener
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Hp Above heads
    By Sillhouette in forum Tutorials
    Replies: 2
    Last Post: 09-25-2011, 08:10 PM
  2. new heads
    By zedex ranger in forum Help
    Replies: 0
    Last Post: 09-23-2009, 01:20 AM
  3. Problem with Skulls on heads
    By Mr. Epic in forum Help
    Replies: 0
    Last Post: 09-16-2009, 09:21 PM
  4. Heads.
    By Creedance in forum Requests
    Replies: 0
    Last Post: 07-28-2009, 07:35 AM
  5. hp above heads
    By Crysis in forum Tutorials
    Replies: 32
    Last Post: 12-03-2008, 06:29 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •