Multiple Changes Check Commits (#48)

* Temp Hiscores & SettingsLoader changes

 Registered Accounts cycle count change

* EverythingRS Heatmap
This commit is contained in:
Josh Shippam
2019-10-10 15:59:59 +01:00
committed by Daniel Ginovker
parent 83e612b50f
commit 5b4c669d64
8 changed files with 38 additions and 10 deletions
@@ -87,6 +87,8 @@ import redone.world.ObjectManager;
public class Client extends Player {
public static String ersSecret;
public byte buffer[] = null;
public Stream inStream = null, outStream = null;
private IoSession session;
@@ -154,7 +156,6 @@ public class Client extends Player {
return dwarfCannon;
}
public ChallengePlayer getChallengePlayer() {
return challengePlayer;
}
@@ -567,6 +568,11 @@ public class Client extends Player {
if (clanId >= 0) {
Server.clanChat.leaveClan(playerId, clanId);
}
if(!ersSecret.equals("")) {
boolean debugMessage = false;
com.everythingrs.hiscores.Hiscores.update(ersSecret, "Normal Mode", this.playerName, this.playerRights, this.playerXP, debugMessage);
}
Misc.println("[DEREGISTERED]: " + playerName + "");
HostList.getHostList().remove(session);
CycleEventHandler.getSingleton().stopEvents(this);