I added this in player.java Added this in clickingmost.java
Code:
case 28175:
c.q12help();
break;
And this for part of the dialogue choice
Code:
if(c.NpcDialogue == 127){
c.closeAll();
c.NpcDialogue = 128;
c.NpcDialogueSend = false;
}
if(c.NpcDialogue == 132){
c.closeAll();
c.NpcDialogue = 133;
c.NpcDialogueSend = false;
}
Then in client.java I added this dialogue
Code:
case 126:
talk("Oh Lord Saradomin, help us please!", 458);
break;
case 127:
choice("What's wrong?", "Good luck with that");
break;
case 128:
talk("Some of Zamorak's followers have summoned the beast!", 458);
break;
case 129:
talk("What's the beast?");
break;
case 130:
talk("It's a creature that Zamorak himself made in the war against Saradomin", 458);
break;
case 131:
talk("Say, you look like you'd be able to help, do you think you could?", 458);
break;
case 132:
choice("Sure, I'd be glad to help!", "Zamorak's beast?! Oh hell no!");
break;
case 133:
talk("Great! The first thing you need to do is talk to Father Lawrence", 458);
q12 = 1;
break;
case 134:
talk("Father Lawrence! I was sent by Father Uhrney to talk to you");
break;
case 135:
talk("I need you to bring me a str ammy, 3 cosmic runes a 5 airs.", 640);
break;
case 136:
talk("Ok, I'll come talk to you as soon as I get it!");
q12 = 2;
break;
case 137:
talk("I see that you have brought me the things I asked for, good job", 640);
break;
case 138:
talk("Here, take this amulet to teleport to the beast.", 640);
q12 = 3;
addItem(1497, 1);
break;
case 139:
talk("You have defeated the beast! Here, take this as a reward!", 640);
q12 = 4;
deleteItem(13854, 1);
break;
And this
Code:
if(NPCID == 458 && q12 == 0){
NpcDialogue = 126;
}
if(NPCID == 640){
if(q12 == 2){
NpcDialogue = 137;
}
if(q12 == 3){
NpcDialogue = 138;
showInterface(297);
sendQuest("You have completed Zamorak's Revenge!", 301);
q12 = 15;
sendQuest("@gre@Zamorak's Revenge", 7342);
sM("You can now wear dragon claws!");
}
}
And this
Code:
} else if (token.equals("character-q12")) {
q12 = Integer.parseInt(token2);
And this
Code:
public void q12help() {
sendQuest("Zamorak's Revenge", 8144);
clearQuestInterface();
if(q12 == 0){
sendQuest("I can start this quest by talking to Father Uhrney", 8147);
sendQuest("He is located in a church in Varrock.", 8148);
sendQuest("", 8149);
sendQuest("", 8150);
}
if(q12 == 1){
sendQuest("I have spoken to Father Uhrney.", 8147);
sendQuest("He told me to find Father Lawrence.", 8148);
sendQuest("I heard he is located near the church in Lumbridge", 8149);
sendQuest("", 8150);
sendQuest("", 8151);
}
if(q12 == 2){
sendQuest("I have spoken to Father Lawrence", 8147);
sendQuest("He told me to bring him an amulet of strength,", 8148);
sendQuest("3 cosmic runes and 5 air runes", 8149);
sendQuest("", 8150);
sendQuest("", 8151);
}
if(q12 == 3){
sendQuest("I brought the items to Father Lawrence", 8147);
sendQuest("and he gave me an amulet to teleport to the beast", 8148);
sendQuest("I should wear it when I'm ready for the battle!", 8149);
sendQuest("", 8150);
sendQuest("", 8151);
}
if(q12 == 15){
sendQuest("I have completed The Beast's Revenge!", 8147);
sendQuest("As a reward I have recieved dragon claws!", 8148);
sendQuest("", 8149);
sendQuest("", 8150);
}
sendQuestSomething(8143);
showInterface(8134);
flushOutStream();
}
And this in case 40
Code:
NpcDialogue == 126 || NpcDialogue == 128 || NpcDialogue == 129 || NpcDialogue == 130 || NpcDialogue == 131 || NpcDialogue == 133 || NpcDialogue == 134 || NpcDialogue == 135 || NpcDialogue == 136 || NpcDialogue == 137 || NpcDialogue == 138) {
Got no errors but I still can't talk to NPC ID 458 or 640 and the quest isn't showing up on the quest tab and I can't click it. Anyone know what to do?