Thread: [PI] Dialogue

Results 1 to 7 of 7
  1. #1 [PI] Dialogue 
    Registered Member bebew67's Avatar
    Join Date
    Jul 2012
    Posts
    166
    Thanks given
    16
    Thanks received
    5
    Rep Power
    11
    Code:
    case 20:
    			sendNpcChat2("Greetings! I see you are a new arrival to this land. My",
    						"job is to welcome all new visitors. So, welcome!",
    						c.talkingNpc, "RuneScape Guide");
    			c.getPA().sendFrame200(4901, 588);
    			c.nextChat = 0;
    			break;
    Code:
    private void sendNpcChat2(String s, String s2,
    			int ChatNpc, String name) {
    			c.getPA().sendFrame200(4901, 591);
    			c.getPA().sendFrame126(name, 4902);
    			c.getPA().sendFrame126(s, 4903);
    			c.getPA().sendFrame126(s2, 4905);
    			c.getPA().sendFrame75(ChatNpc, 4901);
    			c.getPA().sendFrame164(4900);
    	}

    there is my code, for some reason this happens and i have not been able to fix it anyone know what the hell is wrong with it?

    Reply With Quote  
     

  2. #2  
    Dark-Perfection Owner

    Join Date
    Jun 2012
    Posts
    485
    Thanks given
    51
    Thanks received
    45
    Rep Power
    22
    What is this doing in the dialogue?:
    c.getPA().sendFrame200(4901, 588);


    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member bebew67's Avatar
    Join Date
    Jul 2012
    Posts
    166
    Thanks given
    16
    Thanks received
    5
    Rep Power
    11
    Where should it go? I just wanted another npc emotion as opposed to the default one
    Reply With Quote  
     

  5. #4  
    I'm secretly a carrot named 3arl.

    Mainframe's Avatar
    Join Date
    Jun 2012
    Age
    26
    Posts
    1,422
    Thanks given
    542
    Thanks received
    214
    Rep Power
    147
    Quote Originally Posted by bebew67 View Post
    Where should it go? I just wanted another npc emotion as opposed to the default one
    Not with the dialogues.

    I'm not exactly sure where though.
    Reply With Quote  
     

  6. #5  
    Registered Member

    Join Date
    Nov 2011
    Posts
    491
    Thanks given
    23
    Thanks received
    66
    Rep Power
    86
    I have:

    Code:
    private void sendNpcChat2(String s, String s1, int ChatNpc, String name) {
    		c.getPA().sendFrame200(4888, 591);
    		c.getPA().sendFrame126(name, 4889);
    		c.getPA().sendFrame126(s, 4890);
    		c.getPA().sendFrame126(s1, 4891);
    		c.getPA().sendFrame75(ChatNpc, 4888);
    		c.getPA().sendFrame164(4887);
    	}
    And it's works well.
    Reply With Quote  
     

  7. Thankful user:


  8. #6  
    Registered Member bebew67's Avatar
    Join Date
    Jul 2012
    Posts
    166
    Thanks given
    16
    Thanks received
    5
    Rep Power
    11
    Thanks, i'll give it a try
    Reply With Quote  
     

  9. #7  
    Registered Member bebew67's Avatar
    Join Date
    Jul 2012
    Posts
    166
    Thanks given
    16
    Thanks received
    5
    Rep Power
    11
    Thank you so much that worked rep++
    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. $1 [PI] Dialogue help
    By Chris SS in forum Help
    Replies: 6
    Last Post: 10-24-2010, 02:07 AM
  2. Replies: 17
    Last Post: 01-01-2010, 08:02 PM
  3. NPC Dialogue help
    By Relentless8 in forum Help
    Replies: 6
    Last Post: 03-28-2009, 04:08 AM
  4. Replies: 1
    Last Post: 03-05-2008, 12:47 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •