add this in config.java
Code:
public static final int RESPAWNDUNG_X = 3233; // when dead respawn here
public static final int RESPAWNDUNG_Y = 9293;
in playerassist.java
Code:
if (c.pitsStatus == 1) {
movePlayer(2399, 5173, 0);
} else if(c.duelStatus <= 4 && !c.inDung()) { // if we are not in a duel repawn to wildy
movePlayer(Config.RESPAWN_X, Config.RESPAWN_Y, 0);
c.isSkulled = false;
c.skullTimer = 0;
c.attackedPlayers.clear();
} else if (c.inFightCaves()) {
c.getPA().resetTzhaar();
} else if (c.inRFD()) {
c.getPA().resetRFD();
} else if (c.inDung()) {
movePlayer(Config.RESPAWNDUNG_X, Config.RESPAWNDUNG_Y, 0);
} else { // we are in a duel, respawn outside of arena
Client o = (Client) Server.playerHandler.players[c.duelingWith];
if(o != null) {
o.getPA().createPlayerHints(10, -1);
if(o.duelStatus == 6) {
o.getTradeAndDuel().duelVictory();
Try something like that