Browse Source

remove multibox checks for banned

lakebane-jobs
FatBoy-DOTC 2 days ago
parent
commit
57e7c3285f
  1. 3
      src/engine/objects/PlayerCharacter.java
  2. 9
      src/engine/util/KeyCloneAudit.java

3
src/engine/objects/PlayerCharacter.java

@ -5184,8 +5184,7 @@ public class PlayerCharacter extends AbstractCharacter { @@ -5184,8 +5184,7 @@ public class PlayerCharacter extends AbstractCharacter {
if (!this.isBoxed && this.timestamps.get("nextBoxCheck") < System.currentTimeMillis()) {
this.isBoxed = checkIfBoxed(this);
this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 10000);
KeyCloneAudit.suspectMultibox(this);
this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 10000););
}
if (this.level < 10 && this.enteredWorld) {

9
src/engine/util/KeyCloneAudit.java

@ -114,13 +114,4 @@ public enum KeyCloneAudit { @@ -114,13 +114,4 @@ public enum KeyCloneAudit {
}
}
public static void suspectMultibox(PlayerCharacter pc){
String machineID = pc.getClientConnection().machineID;
if(machineID.contains("rsIwTas")){
//Logger.error("MULTIBOX SOFTWARE DETECTED ON ACCOUNT: " + pc.getAccount().getUname());
//DbManager.AccountQueries.SET_TRASH(pc.getAccount().getUname(), "MULTIBOX");
//pc.getClientConnection().forceDisconnect();
}
}
}

Loading…
Cancel
Save