In packet 185 the action button packet you would need to find the ids of the buttons I believe one of them is 167:
So if you want to bring up an interface with text on it like a help menu maybe you would put something like this
Code:
case 167:
sendQuest("", 8144);
sendQuest("", 8147);
sendQuest("", 8148);
sendQuest("", 8149);
sendQuest("", 8150);
sendQuest("", 8150);
sendQuestSomething(8143);
showInterface(8134);
flushOutStream();
break;
if you just want a seperate interface like this
Code:
case 167:
showInterface(XXX);
break;
if you want dialogue it would be like this
Code:
case 167:
NpcDialogue = XX;
NpcDialogueSend = false;
break;
any other questions?