|
Description This plugin detects aimbots by placing a bot high in the air above the watched players freshly killed victim. The instant the watched player gets a kill, the bot is placed directly above the killed player. The bot remains there for [BOT_STAY_TIME] seconds, if shot enough times to satisfy your bodyhit point configuration, the player gets detected as having an aimbot. Each body zone of the bot has different point values by default, head\midbody being higher than legs. This will help to compensate for the bot possibly being shot by recoil. If [BOT_STAY_TIME] seconds passes or the player shoots a different player in the [BOT_STAY_TIME] timeframe, his "pass test" counter is incremented by 1 and the bot is removed. If the "pass test" counter reachs [amx_aimattempts] then the watch is automatically removed. There is also an autowatch option that will check each players performance statistics at the end of each round and if they are high (based on your configured ratios), a watch is automatically applied. Currently, only 1 player can be watched at a time.
Usage
amx_aimwatch <player> <0=disable | 1=enable> - Apply\Remove watch from player
amx_aimwatch (no arguments) - Returns currently watched player
CVARs
amx_aimattempts (default 3) - The number of "pass tests" required in order to have aimbot watch removed.
amx_aimautowatch (default 1) - Enable\Disable auto-watch option
amx_aimenable (default 1) - Enable\Disable plugin
Note: ghw_hacks plugin was used via /aimbot command to do testing. I recommend testing on an unsecure server.
Today while testing I noticed shoot blanks punishment was not working. The punishment gets applied but it looks like set_user_hitzones was not working for me. It was working on the previous versions so if anyone notices it not working please let me know.
Changelog
v0.8
- No check was in code for FORCE_SHOOT option so force shoot was occurring whether option was set or not. Fixed.
- Added check to see if watched player is at different height than victim and if players are close to eachother. If both conditions are met then the bot will not be spawned. This is to avoid false detections where if the watched player is standing below\above and close to the victim. An example of this is if a victim is standing on a box while the watched player is on the ground aiming up and shooting. Under this situation, the watched player would end up shooting the bot even if not using an aimbot since they would already be aiming up in the direction of the spawned bot.
- Removed kick from amxban punishment
- Added remembering of SHOOT_BLANKS punishment (using steamid for now, via nvault)
- Added LOG_ONLY as default punishment method
v0.7
- Removed log_amx when player is kicked during punishment. The only log will be to plugin log file.
- Added stomach as hitzone for bot bodyhit location; it was accidentally left out in original code.
- Added constant variables for auto watch ratio points. Plugin is now configurable entirely through constants below
- Added 2 admin access flag constants. One for notification of plugin actions and one for using amx_aimwatch command
- Added AMXBAN to punishments
- Removed usage of 1 admin (g_AdminRequest) for notification. Now notifies all online admins with NOTIFY access flag
- Added usage of command amx_aimwatch with no parameters. This will return currently watched player (if any)
- Added auto-shoot on watched player when bot is spawned. This can help catch players who are careful with the shoot button
- Result from amx_aimwatch command will now print to console instead of chat. If a watch is enabled\disabled on a player, all admins with NOTIFY flag will be notified in chat
- Fixed bug where if player was previously detected, auto-watch was still getting applied.
- Added instant detection if bot is shot with any pistol or sniper rifles (experimental)
v0.6
- Changed point values, now a little more sensitive because trying to focus on catching aimbot on first bot
- Added ban by IP punishment
- Added separate log file for aimbot detections.
- Removed cstrike module, replaced with fakemeta
- Fixed bug where player shoots bot enough to be detected but no detection or notification to admin occurs.
- Misc adjustments
v0.5
- Added variable to keep track of players who pass [amx_aimattempts] detection tests so they do not get re-watched.
This variable gets reset at map change.
- Adjusted the auto-watch detection
- Added detection of grenade damage to prevent false aimbot detection if damage inflicted via grenade
- Increased kill count at which auto-watch will begin monitoring. 5 kills if 0 deaths, otherwise 10 kills.
- Added bot hitzone check along with point system. If hits head, immediately punish. Other body parts, just add points.
if points reach 5, we punish player. Head = 5pts, mid-body = 3pts, legs = 1pt.
- If the watched player kills the detector bot there is no longer a deathmsg shown.
- Added list of random names to use. Will eventually support reading from text file so users can create their own names.
- Added variable to keep track of players who have been detected. This is really only for use if a punishment other then
kick\ban&kick is used so a player doesn't get auto-watched after already being detected as aimbotter.
- When assigning an admin to notify (for auto-watch), it will only select admin(s) that have RCON access.
- Misc fixes\adjustments
v0.4
- Added enable\disable cvar 'amx_aimenable'
- Adjusted ratios for autowatch
- Added logging if aimbot detected. [Name, SteamID, IP, Map]
- Added punishments (Kick, Kick & Ban, Shoot Blanks)
- Added multi-line kick function to provide detailed reason for being kicked\banned
v0.3
- Added disable of aimbot detection when watched player disconnects. Also, if an admin requests a watch on a player and that admin disconnects, notification gets handed off to another online admin if available.
- Added notification to admin when aimbot detected
- Made bot appear as a spectator instead of appearing on the enemy team
- Added auto player watching based on performance statistics (See AutoWatchCheck)
v0.2
- Added detection for full server
- Added enable\disable via amx_aimwatch <player> <1=enabled 0=disable>
- Added event to kick bot after 2 seconds if not shot
- Added ability for watched player to successfully pass test and have watch removed (via cvar)
原帖地址 [url=http://javascript<b></b>:external.ClickLink('buddy',' 1229535148',42,1);]http://forums.alliedmods.net/showthread.php?p=689045[/url] |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注个册吧
×
|