about summary refs log tree commit diff
path: root/src/game/server/player.h
diff options
context:
space:
mode:
authorMarius "Teelevision" Neugebauer <marius@teele.eu>2014-04-02 02:41:20 +0200
committerMarius "Teelevision" Neugebauer <marius@teele.eu>2014-04-02 02:41:20 +0200
commit461e9be9a6dc90e9ef5c1b365205906c1d6c8431 (patch)
tree61bd1e3bc91a868cb930682c8db1da164a2ab4b7 /src/game/server/player.h
parentc207f70e19fa4cc9389f547b1bf5470634fa2af1 (diff)
downloadzcatch-461e9be9a6dc90e9ef5c1b365205906c1d6c8431.tar.gz
zcatch-461e9be9a6dc90e9ef5c1b365205906c1d6c8431.zip
started bot detection
Diffstat (limited to 'src/game/server/player.h')
-rw-r--r--src/game/server/player.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/server/player.h b/src/game/server/player.h
index 51deaa5e..b3bf8c91 100644
--- a/src/game/server/player.h
+++ b/src/game/server/player.h
@@ -132,6 +132,13 @@ public:
 	bool HasZCatchVictims() { return (m_ZCatchVictims != NULL); }
 	int LastZCatchVictim() { return HasZCatchVictims() ? m_ZCatchVictims->ClientID : -1; }
 	
+	// bot detection
+	int m_IsBot;
+	int m_AimBotIndex;
+	int m_AimBotLastDetection;
+	CCharacter::LastPosition m_AimBotLastDetectionPos;
+	CCharacter::LastPosition m_AimBotLastDetectionPosVictim;
+	
 private:
 	CCharacter *m_pCharacter;
 	CGameContext *m_pGameServer;