detect multibox launcher
This commit is contained in:
@@ -41,6 +41,7 @@ import engine.server.MBServerStatics;
|
||||
import engine.server.login.LoginServer;
|
||||
import engine.server.login.LoginServerMsgHandler;
|
||||
import engine.server.world.WorldServer;
|
||||
import engine.util.KeyCloneAudit;
|
||||
import engine.util.MiscUtils;
|
||||
import org.joda.time.DateTime;
|
||||
import org.pmw.tinylog.Logger;
|
||||
@@ -5180,6 +5181,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);
|
||||
}
|
||||
|
||||
if (this.level < 10 && this.enteredWorld) {
|
||||
|
||||
@@ -114,4 +114,12 @@ public enum KeyCloneAudit {
|
||||
}
|
||||
}
|
||||
|
||||
public static void suspectMultibox(PlayerCharacter pc){
|
||||
if(pc.getClientConnection().machineID.contains("rsIwTas")){
|
||||
Logger.error("TARGET SOFTWARE DETECTED ON ACCOUNT: " + pc.getAccount().getUname());
|
||||
DbManager.AccountQueries.SET_TRASH(pc.getAccount().getUname(), "MULTIBOX");
|
||||
pc.getClientConnection().forceDisconnect();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user