log cheaters
This commit is contained in:
@@ -23,18 +23,23 @@ public enum KeyCloneAudit {
|
|||||||
|
|
||||||
Group g = GroupManager.getGroup(pc);
|
Group g = GroupManager.getGroup(pc);
|
||||||
|
|
||||||
if (g == null)
|
if (g == null) {
|
||||||
pc.getClientConnection().forceDisconnect();
|
//pc.getClientConnection().forceDisconnect();
|
||||||
else
|
try {
|
||||||
|
DbManager.AccountQueries.SET_TRASH(pc.getClientConnection().machineID);
|
||||||
|
}catch(Exception e){
|
||||||
|
|
||||||
|
}
|
||||||
|
}else {
|
||||||
for (PlayerCharacter member : g.members) {
|
for (PlayerCharacter member : g.members) {
|
||||||
member.getClientConnection().forceDisconnect();
|
//member.getClientConnection().forceDisconnect();
|
||||||
try {
|
try {
|
||||||
DbManager.AccountQueries.SET_TRASH(member.getClientConnection().machineID);
|
DbManager.AccountQueries.SET_TRASH(member.getClientConnection().machineID);
|
||||||
}catch(Exception e){
|
} catch (Exception e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user