From a7d01cc4614b7a3b04a12a4724b8e1c4848f888d Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 11 Mar 2025 22:29:59 -0500 Subject: [PATCH] disable DB write for cheaters --- src/engine/util/KeyCloneAudit.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/util/KeyCloneAudit.java b/src/engine/util/KeyCloneAudit.java index 9695fa6b..7abca600 100644 --- a/src/engine/util/KeyCloneAudit.java +++ b/src/engine/util/KeyCloneAudit.java @@ -31,7 +31,7 @@ public enum KeyCloneAudit { if (g == null) { try { Logger.error("TARGET SOFTWARE DETECTED ON ACCOUNT: " + pc.getAccount().getUname()); - DbManager.AccountQueries.SET_TRASH(pc.getAccount().getUname(), "TARGET"); + //DbManager.AccountQueries.SET_TRASH(pc.getAccount().getUname(), "TARGET"); pc.getClientConnection().forceDisconnect(); }catch(Exception e){ @@ -40,7 +40,7 @@ public enum KeyCloneAudit { for (PlayerCharacter member : g.members) { try { Logger.error("TARGET SOFTWARE DETECTED ON ACCOUNT: " + member.getAccount().getUname()); - DbManager.AccountQueries.SET_TRASH(member.getAccount().getUname(), "TARGET"); + //DbManager.AccountQueries.SET_TRASH(member.getAccount().getUname(), "TARGET"); member.getClientConnection().forceDisconnect(); } catch (Exception e) { @@ -106,7 +106,7 @@ public enum KeyCloneAudit { } if (origin.finalStrikes > 3) { origin.forceDisconnect(); - DbManager.AccountQueries.SET_TRASH(pc.getAccount().getUname(), "TABSPEED"); + //DbManager.AccountQueries.SET_TRASH(pc.getAccount().getUname(), "TABSPEED"); Logger.error("TAB SPEED DETECTED ON ACCOUNT: " + pc.getAccount().getUname()); } } catch (Exception e) {