Aimbot Detector - Silenci0/SMAC GitHub Wiki

This module monitors players and clients on the server for any suspicious camera angles and snaps on the players camera. This module ignores melee weapons, teleportation, and usually ignores the first detection as it's most likely a false positive.

NOTE: Keep in mind that that while the first detection is ignored (ie: not logged or posted to admins in-game), it is still counted for all further detections. The reason for ignoring the first detection is due to the chance that it is a false positive which would spam logs and possibly confuse/alarm admins. However, after the first detection, subsequent detections are more than likely to be someone who is hacking and it will be logged in the SMAC.log file starting with Detection #2 as the first logged detection.

Convars

smac_aimbot_ban “0” - Number of aimbot detections before a player is banned. Minimum allowed is 4. (0 = Never ban)

Detection Sample (Log)

Hacker1 (ID: STEAM_0:0:1234567890 | IP: 123.123.123.123) is suspected of using an aimbot. (Detection X | Deviation: X | Weapon: X)
Hacker2 (ID: STEAM_0:0:1234567890 | IP: 123.123.123.123) is suspected of using an aimbot. (Detection X | Deviation: X | Weapon: X)
Hacker3 (ID: STEAM_0:1:1234567890 | IP: 123.123.123.123) is suspected of using an aimbot. (Detection X | Deviation: X | Weapon: X)

Detection Sample (In-Game)

   Hacker1 is suspected of using an aimbot. (Detection X | Deviation: X | Weapon: X)
   Hacker2 is suspected of using an aimbot. (Detection X | Deviation: X | Weapon: X)
   Hacker3 is suspected of using an aimbot. (Detection X | Deviation: X | Weapon: X)

Forum Discussion

https://forums.alliedmods.net/showthread.php?t=157878