Hi. Well if you use 'Home teleport' To go to edge, and run to the Slayer master and ask for a slayer task. instead of giving you a task he teles you to Home teleport (Last tele used)
Code:
case 12:
sendOption2("Yes I would like a slayer task.", "No I would not like a slayer task.");
c.dialogueAction = 5;
break;
But If you relog, and don't use a Teleport he gives you the task no problem.
I have two options for Home teleport
Code:
case 9157:
if (c.teleAction == 60) {
c.getPA().spellTeleport(3212, 3436, 0);
// c.sendMessage("Welcome to home.");
}
if (c.caOption2) {
c.getDH().sendDialogues(106, c.npcType);
c.caOption2 = false;
} else if (c.caOption2a) {
c.getDH().sendDialogues(102, c.npcType);
c.caOption2a = false;
} else if (c.usingGamesNeck) {
c.getPA().startTeleport2(2899, 3565, 0);
c.getPA().removeAllWindows();
} else if (c.usingROD) {
c.getPA().startTeleport(3314, 3234, 0, "modern");
}
if (c.teleportAction.equalsIgnoreCase("catherbyskilling")) {
c.getPA().spellTeleport(2849, 3431, 0);
}
if (c.teleportAction.equalsIgnoreCase("faladorteleport")) {
c.getPA().spellTeleport(2995, 3385, 0);
}
Code:
case 9158:
if (c.teleAction == 60) {
c.getPA().spellTeleport(3088, 3503, 0);
// c.sendMessage("Welcome to home.");
}
if (c.usingGamesNeck) {
c.getPA().startTeleport2(2524, 3587, 0);
} else if (c.usingROD) {
c.getPA().removeAllWindows();
} else if (c.caOption2a) {
c.getDH().sendDialogues(136, c.npcType);
c.caOption2a = false;
}
if (c.teleportAction.equalsIgnoreCase("catherbyskilling")) {
c.getPA().spellTeleport(3056, 3308, 0);
} else if (c.teleportAction.equalsIgnoreCase("faladorteleport")) {
c.getPA().spellTeleport(2966, 3386, 0);
}