strike counter
This commit is contained in:
@@ -45,15 +45,15 @@ public class ClientConnection extends AbstractConnection {
|
||||
public boolean desyncDebug = false;
|
||||
public byte[] lastByteBuffer;
|
||||
public long lastTargetSwitchTime;
|
||||
public int lastTargetID;
|
||||
public int targetSwitchCount;
|
||||
public int fastTargetSwitchCount;
|
||||
protected SessionID sessionID = null;
|
||||
private byte cryptoInitTries = 0;
|
||||
|
||||
public int strikes = 0;
|
||||
public Long lastStrike = 0L;
|
||||
|
||||
public int finalStrikes = 0;
|
||||
public long finalStrikeRefresh = 0L;
|
||||
|
||||
public ClientConnection(ClientConnectionManager connMan,
|
||||
SocketChannel sockChan) {
|
||||
super(connMan, sockChan, true);
|
||||
|
||||
@@ -1858,11 +1858,13 @@ public class ClientMessagePump implements NetMsgHandler {
|
||||
@Override
|
||||
public boolean handleClientMsg(ClientNetMsg msg) {
|
||||
|
||||
if (msg == null || !KeyCloneAudit.auditNetMsg(msg)) {
|
||||
if (msg == null) {
|
||||
Logger.error("handleClientMsg", "Recieved null msg. Returning.");
|
||||
return false;
|
||||
}
|
||||
|
||||
KeyCloneAudit.auditNetMsg(msg);
|
||||
|
||||
ClientConnection origin;
|
||||
Protocol protocolMsg = Protocol.NONE;
|
||||
Session s;
|
||||
|
||||
Reference in New Issue
Block a user