Originally Posted by
falconpunch
Well what you originally posted is not the issue. The issue is the teleported, post the code for the teleporter.
Sorted most of em and I think i've f'd the code lol
Code:
package com.rs.game.player.dialogues.impl;
import com.rs.Settings;
import com.rs.cache.loaders.NPCDefinitions;
import com.rs.game.Animation;
import com.rs.game.Graphics;
import com.rs.game.WorldTile;
import com.rs.game.player.content.PlayerLook;
import com.rs.game.player.dialogues.Dialogue;
import com.rs.game.tasks.WorldTask;
import com.rs.game.tasks.WorldTasksManager;
import com.rs.utils.ShopsHandler;
public class Mandrith extends Dialogue {
public Mandrith() {
}
@Override
public void start() {
player.getHintIconsManager().removeUnsavedHintIcon();
sendMessage(
"Welcome to explicit! I can change your, look and",
"tell you some things about the server. If you're",
"interested, I have a few shops too you can look at.",
"So what would you like to do?");
stage = 0;
}
@Override
public void run(int interfaceId, int componentId) {
if (stage == 0) {
sendOptionsDialogue(""+Settings.SERVER_NAME+" Mandrith Options",
"Skilling",
"Training",
"Bosses",
"PVP",
"Minigames");
stage = 1;
}
else if (stage == 1) {
if (componentId == OPTION_1) {
sendOptionsDialogue(""+Settings.SERVER_NAME+" - Skilling",
"Basic Skilling -70",
"Advanced Skilling +70");
stage = 1;
}
if (stage == 2) {
if (componentId == OPTION_1) {
sendOptionsDialogue(""+Settings.SERVER_NAME+" - Basic Skilling -70",
"Woodcutting",
"Mining",
"Smithing",
"Fishing",
"Next Page");
stage = 1;
}
}
@Override
public void finish() {
player.getInterfaceManager().openGameTab(4);
}
}