Here Is player Dialogue:
This In Client.java:
Unquote the 'NpcDialogueSend = true;' If that is your method for dialogue, and if it isn't change it or leave it how i had it.Code:public void pDialogue(String line1, int faceAnim) {
sendFrame200(969, faceAnim);
sendFrame126(playerName.replaceAll("_", " "), 970);
sendFrame126(line1, 971);
sendFrame185(969);
sendFrame164(968);
//NpcDialogueSend = true;
SendDialogue = true;
}
public void pDialogue2(String line1, String line2, int faceAnim) {
sendFrame200(974, faceAnim);
sendFrame126(playerName.replaceAll("_", " "), 975);
sendFrame126(line1, 976);
sendFrame126(line2, 977);
sendFrame185(974);
sendFrame164(973);
//NpcDialogueSend = true;
SendDialogue = true;
}
public void pDialogue3(String line1, String line2, String line3, int faceAnim) {
sendFrame200(980, faceAnim);
sendFrame126(playerName.replaceAll("_", " "), 981);
sendFrame126(line1, 982);
sendFrame126(line2, 983);
sendFrame126(line3, 984);
sendFrame185(980);
sendFrame164(979);
//NpcDialogueSend = true;
SendDialogue = true;
}
public void pDialogue4(String line1, String line2, String line3, String line4, int faceAnim) {
sendFrame200(987, faceAnim);
sendFrame126(playerName.replaceAll("_", " "), 988);
sendFrame126(line1, 989);
sendFrame126(line2, 990);
sendFrame126(line3, 991);
sendFrame126(line4, 992);
sendFrame185(987);
sendFrame164(986);
//NpcDialogueSend = true;
SendDialogue = true;
}
Usage:
Code:case XXXX:
c.pDialogue("Hello fellow citizen of XXXXX-Scape", EMOTEID);
break;
I left the ones blank that i didn't get to.Code:Emote List:
588- Looking strait and rocking head a little
589- More active talking, moveing head, looking around
590- Noding like he is saying 'yes'
591- Active listining
592- sarcastic Grin
593- Sarcastic Grin
594- Sarcastic Grin
595- Tired and happy
596- Sad
597- guilty look
598- Sad, and yelling at someone
599-
600-
601-
602-
603-
604-
605-
606-
607-
608-
609-
610-
611-
612-
613-
614-
615-
616-
Credits:
X Rebel X: 50%, For getting the initial player Dialogue send method
Primadude: 50%, For finding face animation and multiple strings.
Thanks -Rebel
