Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 40:
- if ((NpcDialogue == 1) || (NpcDialogue == 3) || (NpcDialogue == 5)
- || (NpcDialogue == 40) || (NpcDialogue == 42)
- || (NpcDialogue == 1001) || (NpcDialogue == 1002)
- || (NpcDialogue == 2259) || (NpcDialogue == 2260)
- || (NpcDialogue == 301) || (NpcDialogue == 305)
- || (NpcDialogue == 308) || (NpcDialogue == 309)
- || (NpcDialogue == 313) || (NpcDialogue == 314)
- || (NpcDialogue == 317) || (NpcDialogue == 318)
- || (NpcDialogue == 319) || (NpcDialogue == 322)
- || (NpcDialogue == 323) || (NpcDialogue == 14600)
- || (NpcDialogue == 14602) || (NpcDialogue == 550)
- || (NpcDialogue == 1694) || (NpcDialogue == 1339)) {
- NpcDialogue += 1;
- NpcDialogueSend = false;
- } else if ((NpcDialogue == 6) || (NpcDialogue == 7)
- || (NpcDialogue == 300) || (NpcDialogue == 303)
- || (NpcDialogue == 304) || (NpcDialogue == 307)
- || (NpcDialogue == 310) || (NpcDialogue == 311)
- || (NpcDialogue == 312) || (NpcDialogue == 315)
- || (NpcDialogue == 316) || (NpcDialogue == 320)
- || (NpcDialogue == 321) || (NpcDialogue == 324)
- || (NpcDialogue == 325) || (NpcDialogue == 326)
- || (NpcDialogue == 14604)) {
- NpcDialogue = 0;
- NpcDialogueSend = false;
- RemoveAllWindows();
- } else if ((NpcDialogue == 31) || (NpcDialogue == 30)) // NEW CLUE
- {
- sendFrame200(4883, 591);
- sendFrame126(GetNpcName(NpcTalkTo), 4884);
- sendFrame126("Heres your next clue, goodluck", 4885);
- sendFrame75(NpcTalkTo, 4883);
- sendFrame164(4882);
- NpcDialogueSend = true;
- newclue(cluelevel);
- RemoveAllWindows();
- } else if (NpcDialogue == 32) // COMPLETED CLUE
- {
- sendFrame200(4883, 591);
- sendFrame126(GetNpcName(NpcTalkTo), 4884);
- sendFrame126("Congratulations! Heres your last reward!", 4885);
- sendFrame75(NpcTalkTo, 4883);
- sendFrame164(4882);
- NpcDialogueSend = true;
- givereward(cluelevel);
- RemoveAllWindows();
- } /* QUEST INVISIBLE ARMOUR (id 1) npc chat */// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@//
- else if (NpcDialogue == 100) // QUEST STAGE 0
- {
- sendFrame200(4883, 591);
- sendFrame126(GetNpcName(NpcTalkTo), 4884);
- sendFrame126(
- "Hey I need help with making some invisible armour...",
- 4885);
- sendFrame126("and you're gonna help me.", 4886);
- sendFrame75(NpcTalkTo, 4883);
- sendFrame164(4882);
- NpcDialogueSend = true;
- q1stage = 1;
- loadquestinterface();
- RemoveAllWindows();
- } else if (NpcDialogue == 101) // QUEST STAGE 1
- {
- sendFrame200(4883, 591);
- sendFrame126(GetNpcName(NpcTalkTo), 4884);
- sendFrame126("I'll add the list of materials I need to your",
- 4885);
- sendFrame126("quest log, as I'm too busy to talk.", 4886);
- sendFrame75(NpcTalkTo, 4883);
- sendFrame164(4882);
- NpcDialogueSend = true;
- q1stage = 1;
- loadquestinterface();
- RemoveAllWindows();
- } else if (NpcDialogue == 102) // QUEST STAGE 2
- {
- sendFrame200(4883, 591);
- sendFrame126(GetNpcName(NpcTalkTo), 4884);
- sendFrame126("Why are you still here...go get the materials",
- 4885);
- sendFrame75(NpcTalkTo, 4883);
- sendFrame164(4882);
- NpcDialogueSend = true;
- q1stage = 2;
- loadquestinterface();
- RemoveAllWindows();
- } else if (NpcDialogue == 103) // QUEST STAGE 3
- {
- sendFrame200(4883, 591);
- sendFrame126(GetNpcName(NpcTalkTo), 4884);
- sendFrame126("Get me the " + GetItemName(4206) + " please!",
- 4885);
- sendFrame75(NpcTalkTo, 4883);
- sendFrame164(4882);
- NpcDialogueSend = true;
- RemoveAllWindows();
- } else if (NpcDialogue == 104) // QUEST STAGE 4
- {
- sendFrame200(4883, 591);
- sendFrame126(GetNpcName(NpcTalkTo), 4884);
- sendFrame126("You lost it?!?! Go get it again man.", 4885);
- sendFrame75(NpcTalkTo, 4883);
- sendFrame164(4882);
- NpcDialogueSend = true;
- ;
- RemoveAllWindows();
- } else if (NpcDialogue == 1101) // COMPLETED QUEST STAGE 1
- {
- sendFrame200(4883, 591);
- sendFrame126(GetNpcName(NpcTalkTo), 4884);
- sendFrame126("Thanks for getting me these, I've updated", 4885);
- sendFrame126("your quest log for my next request.", 4886);
- sendFrame75(NpcTalkTo, 4883);
- sendFrame164(4882);
- NpcDialogueSend = true;
- q1stage = 2;
- loadquestinterface();
- RemoveAllWindows();
- } else if (NpcDialogue == 1102) // COMPLETED QUEST STAGE 2
- {
- sendFrame200(4883, 591);
- sendFrame126(GetNpcName(NpcTalkTo), 4884);
- sendFrame126("Thanks giving me the " + GetItemName(6889)
- + ", now all I need", 4885);
- sendFrame126("is the " + GetItemName(4206)
- + " to add the power to the armour.", 4886);
- sendFrame75(NpcTalkTo, 4883);
- sendFrame164(4882);
- q1stage = 3;
- loadquestinterface();
- // NpcDialogue = 11021;
- NpcDialogueSend = true;
- } else if (NpcDialogue == 1694) // Ghost Talk
- {
- sendFrame200(4883, 591);
- sendFrame126(GetNpcName(NpcTalkTo), 4884);
- sendFrame126("Happy Halloween from Mod Allstar..!", 4885);
- sendFrame75(NpcTalkTo, 4883);
- sendFrame164(4882);
- NpcDialogueSend = true;
- // addItem(1419, 1);
- RemoveAllWindows();
- } else if ((NpcDialogue == 1105) && (q1stage == 4)) // COMPLETED
- // QUEST
- {
- sendFrame200(4883, 591);
- sendFrame126(GetNpcName(NpcTalkTo), 4884);
- sendFrame126("Thanks for helping me with this project,", 4885);
- sendFrame126(
- "heres your reward, also look out for more of this armour...",
- 4886);
- sendFrame75(NpcTalkTo, 4883);
- sendFrame164(4882);
- NpcDialogueSend = true;
- showQuestCompleted("Invisible Armour", 3);
- q1stage = -1;
- // addItem(6656, 1);
- loadquestinterface();
- } else {
- NpcDialogue = 0;
- NpcDialogueSend = false;
- RemoveAllWindows();
- }
- // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@//
- println_debug("Unhandled packet [" + packetType + ", InterFaceId: "
- + inStream.readUnsignedWordA() + ", size=" + packetSize
- + "]: ]" + misc.Hex(inStream.buffer, 1, packetSize) + "[");
- println_debug("Action Button: "
- + misc.HexToInt(inStream.buffer, 0, packetSize));
- break;
Advertisement
Add Comment
Please, Sign In to add comment