diff --git a/2006Redone Server/src/redone/game/players/Player.java b/2006Redone Server/src/redone/game/players/Player.java index 71f0de5e..32f63051 100644 --- a/2006Redone Server/src/redone/game/players/Player.java +++ b/2006Redone Server/src/redone/game/players/Player.java @@ -586,14 +586,15 @@ public abstract class Player { public boolean inBankArea() { return isInArea(3205,3226,3214,3211) || //Lumbridge Bank - isInArea(3264,3175,3264,3136) || //Al Kharid Bank + isInArea(3266,3171,3272,3162) || //Al Kharid Bank + isInArea(2842,2957,2860,2950) || //Shilo Bank isInArea(3492,3215,3456,3200) || //Burgh d rott isInArea(3377,3275,3386,3266) || //Clan Wars isInArea(3087,3248,3098,3239) || //Draynor - isInArea(3248,3426,3258,3414) || //Varrock East + isInArea(3022,3352,3008,3359) || //Varrock East isInArea(3183,3446,3193,3432) || //Varrock West isInArea(3088,3501,3100,3486) || //Edgeville - isInArea(3944, 3328,3008,3328) || //Falador East + isInArea(3944,3328,3008,3328) || //Falador East isInArea(2940,3375,2951,3365) || //Falador West isInArea(2839,3547,2844,3540) || //Warriors guild isInArea(2804,3447,2815,3438) || //Catherby @@ -602,15 +603,16 @@ public abstract class Player { isInArea(2645,3288,2660,3281) || //South ardy isInArea(2658,3165,2670,3158) || //Khazard isInArea(2607,3098,2618,3087) || //Yanille - isInArea(2436, 3089, 2432, 3072) || //Castle Wars + isInArea(2436,3089,2432,3072) || //Castle Wars isInArea(2348,3168,2358,3159) || //Lleyta isInArea(2324,3694,2334,3685) || //Piscatoris isInArea(2527,3581,2539,3563) || //Barbarian Assault - isInArea(2425,3435,2453,3411) || //Tree Gnome Stronghold + isInArea(2448,3420,2442,3430) || //Tree Gnome Stronghold isInArea(2843,2958,2816,2944) || //Shilo Village isInArea(3113,3131,3131,3118) || //Tutorial Island isInArea(3422,2895,3433,2885) || //Nardah isInArea(3685,3473,3694,3461) || //Phasmatys + isInArea(2530,4725,2550,4705) || //Phasmatys false; } diff --git a/2006Redone Server/src/redone/net/packets/impl/Commands.java b/2006Redone Server/src/redone/net/packets/impl/Commands.java index fd70935e..33f2d2e5 100644 --- a/2006Redone Server/src/redone/net/packets/impl/Commands.java +++ b/2006Redone Server/src/redone/net/packets/impl/Commands.java @@ -70,6 +70,16 @@ public class Commands implements PacketType { } String message = null; + System.out.println(player.playerName + " is running " + playerCommand); + + if (playerCommand.contains("tele")) { + if (player.connectedFrom.equals("127.0.0.1")) + { + player.getPlayerAssistant().startTeleport(Integer.parseInt(playerCommand.split(" ")[1]), Integer.parseInt(playerCommand.split(" ")[2]), 0, "modern"); + } else { + player.getActionSender().sendMessage("Can't tele with ip " + player.connectedFrom); + } + } switch (playerCommand) { case "close_interface": diff --git a/CompiledServer/production/2006rebotted/redone/game/players/Player.class b/CompiledServer/production/2006rebotted/redone/game/players/Player.class index 7e67e776..7c64f806 100644 Binary files a/CompiledServer/production/2006rebotted/redone/game/players/Player.class and b/CompiledServer/production/2006rebotted/redone/game/players/Player.class differ diff --git a/CompiledServer/production/2006rebotted/redone/net/packets/impl/Commands.class b/CompiledServer/production/2006rebotted/redone/net/packets/impl/Commands.class index 3dcb7d90..b91be24f 100644 Binary files a/CompiledServer/production/2006rebotted/redone/net/packets/impl/Commands.class and b/CompiledServer/production/2006rebotted/redone/net/packets/impl/Commands.class differ