diff --git a/2006Redone Server/src/redone/game/players/Client.java b/2006Redone Server/src/redone/game/players/Client.java index 683c1067..b4b8660e 100644 --- a/2006Redone Server/src/redone/game/players/Client.java +++ b/2006Redone Server/src/redone/game/players/Client.java @@ -571,8 +571,12 @@ public class Client extends Player { if(!ersSecret.equals("")) { boolean debugMessage = false; + System.out.println("Updating highscores!"); com.everythingrs.hiscores.Hiscores.update(ersSecret, "Normal Mode", this.playerName, this.playerRights, this.playerXP, debugMessage); + } else { + System.out.println("Can't update highscores!"); } + Misc.println("[DEREGISTERED]: " + playerName + ""); HostList.getHostList().remove(session); CycleEventHandler.getSingleton().stopEvents(this); diff --git a/2006Redone Server/src/redone/game/players/Player.java b/2006Redone Server/src/redone/game/players/Player.java index 2129b0c5..c5086f82 100644 --- a/2006Redone Server/src/redone/game/players/Player.java +++ b/2006Redone Server/src/redone/game/players/Player.java @@ -585,7 +585,7 @@ public abstract class Player { } public boolean inBankArea() { - return isInArea(3205,3226,3214,3211) || //Lumbridge Bank + return isInArea(3205,3226,3214,3211) && heightLevel == 2|| //Lumbridge Bank isInArea(3266,3171,3272,3162) || //Al Kharid Bank isInArea(2436,5186,2453,5174) || //Tzhaar area isInArea(2842,2957,2860,2950) || //Shilo Bank @@ -595,8 +595,8 @@ public abstract class Player { isInArea(3248,3423,3260,3414) || //Varrock East isInArea(3183,3446,3193,3432) || //Varrock West isInArea(3088,3501,3100,3486) || //Edgeville - isInArea(3944,3328,3008,3328) || //Falador East - isInArea(2940,3375,2951,3365) || //Falador West + isInArea(3009,3358,3020,3352) || //Falador East + isInArea(2942,3374,2950,3365) || //Falador West isInArea(2839,3547,2844,3540) || //Warriors guild isInArea(2804,3447,2815,3438) || //Catherby isInArea(2718,3500,2733,3485) || //Seer's village @@ -604,11 +604,12 @@ 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(2442,3084,2444,3081) || //Castle Wars isInArea(2348,3168,2358,3159) || //Lleyta isInArea(2324,3694,2334,3685) || //Piscatoris isInArea(2527,3581,2539,3563) || //Barbarian Assault isInArea(2448,3420,2442,3430) || //Tree Gnome Stronghold + isInArea(2453,3491,2440,3478) && heightLevel == 1 || //Grand Tree Area isInArea(2843,2958,2816,2944) || //Shilo Village isInArea(3113,3131,3131,3118) || //Tutorial Island isInArea(3422,2895,3433,2885) || //Nardah diff --git a/2006Redone Server/src/redone/game/players/PlayerSave.java b/2006Redone Server/src/redone/game/players/PlayerSave.java index 1ce2cd79..29107f37 100644 --- a/2006Redone Server/src/redone/game/players/PlayerSave.java +++ b/2006Redone Server/src/redone/game/players/PlayerSave.java @@ -65,14 +65,10 @@ public class PlayerSave { if (!doRealLogin) break; if (token.equals("character-password")) { - System.out.println("file password: " + token.toLowerCase()); - System.out.println("given password: " + playerPass); if (playerPass.equalsIgnoreCase(token2)) { // Hash their password and store it! playerPass = passwordHash(token2); - System.out.println("Matched plaintext"); } else if (passwordHash(playerPass).equalsIgnoreCase(token2)) { - System.out.println("Matched hashed password"); playerPass = token2; //Valid password } else { System.out.println("hash doesn't match: " + passwordHash(playerPass).toLowerCase()); diff --git a/CompiledServer/production/2006rebotted/redone/game/players/Client$1.class b/CompiledServer/production/2006rebotted/redone/game/players/Client$1.class index e57f5228..05fad8c6 100644 Binary files a/CompiledServer/production/2006rebotted/redone/game/players/Client$1.class and b/CompiledServer/production/2006rebotted/redone/game/players/Client$1.class differ diff --git a/CompiledServer/production/2006rebotted/redone/game/players/Client$2.class b/CompiledServer/production/2006rebotted/redone/game/players/Client$2.class index 73229b03..191a92bf 100644 Binary files a/CompiledServer/production/2006rebotted/redone/game/players/Client$2.class and b/CompiledServer/production/2006rebotted/redone/game/players/Client$2.class differ diff --git a/CompiledServer/production/2006rebotted/redone/game/players/Client$3.class b/CompiledServer/production/2006rebotted/redone/game/players/Client$3.class index 99f2ef0f..12a739b6 100644 Binary files a/CompiledServer/production/2006rebotted/redone/game/players/Client$3.class and b/CompiledServer/production/2006rebotted/redone/game/players/Client$3.class differ diff --git a/CompiledServer/production/2006rebotted/redone/game/players/Client$4.class b/CompiledServer/production/2006rebotted/redone/game/players/Client$4.class index 5d230be0..17ef39e7 100644 Binary files a/CompiledServer/production/2006rebotted/redone/game/players/Client$4.class and b/CompiledServer/production/2006rebotted/redone/game/players/Client$4.class differ diff --git a/CompiledServer/production/2006rebotted/redone/game/players/Client.class b/CompiledServer/production/2006rebotted/redone/game/players/Client.class index efdaac92..77688e9f 100644 Binary files a/CompiledServer/production/2006rebotted/redone/game/players/Client.class and b/CompiledServer/production/2006rebotted/redone/game/players/Client.class differ diff --git a/CompiledServer/production/2006rebotted/redone/game/players/Player.class b/CompiledServer/production/2006rebotted/redone/game/players/Player.class index df07aa44..75ce933b 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/game/players/PlayerSave.class b/CompiledServer/production/2006rebotted/redone/game/players/PlayerSave.class index af8b5eb6..bf527940 100644 Binary files a/CompiledServer/production/2006rebotted/redone/game/players/PlayerSave.class and b/CompiledServer/production/2006rebotted/redone/game/players/PlayerSave.class differ