Difficulty 2/10
Base; Delta cleaned
Knowledge needed; C&p
How hard is it; Easy
This is for my Delta cleaned souce. This will all be done in client.javaFind you'r Login message . In my case it'll be
sM("Welcome to RuneWorld");
Above that Add this
talk1("#TEXT#"0);
Soo compile And test . you should have 1 line of text in a dialogue when you log in.
I will show you how to add more lines of text
2 lines of text
talk2("Welcome to RuneWorld","Follow the rules and read the help guide",0);
3 lines of text
talk3("Welcome to RuneWorld","Follow the rules and read the help guide","LALALALALALA",0);
4 lines of text
talk4("Welcome to RuneWorld","Follow the rules and read the help guide","LALALALALALA","LALALALALALALA",0);
For the 3 and 4 lined text to work you may need theese method's Other wise you will get errors public void talk3(String text, String text2, String text3, int npc) {
sendFrame200(4901, 591);
sendFrame126(GetNpcName(npc), 4902);
sendFrame126("", 4903);
sendFrame126(text, 4904);
sendFrame126(text2, 4905);
sendFrame126(text3, 4906);
sendFrame75(npc, 4901);
sendFrame164(4900);
}
public void talk4(String text, String text2, String text3, String text4, int npc) {
sendFrame200(4901, 591);
sendFrame126(GetNpcName(npc), 4902);
sendFrame126(text, 4903);
sendFrame126(text2, 4904);
sendFrame126(text3, 4905);
sendFrame126(text4, 4906);
sendFrame75(npc, 4901);
sendFrame164(4900);
}
Of course you can figure where the text goes.
The " 0 " at the very end of each code is the npc ID you want it to show. In my case Mines "Hans"
Pictures..
The Dialogue In motion.

After you click " Click here to continue"

Please Post if you Dont understand me i will try my hardest to help you.
Errors will be fixed over team viewer (But you really shouldnt get errors)
IF SOMEBODY ELSE GETS THIS WORKING CAN YOU POST A PIC TO PROVE IT WORKS PLEASE
This is basic and Is easy to figure out but once again it has not been posted yet.