gearfox 发表于 2008-10-6 12:41:31

【081020】AimBot Detection v0.8

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 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 seconds passes or the player shoots a different player in the timeframe, his "pass test" counter is incremented by 1 and the bot is removed. If the "pass test" counter reachs 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 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.
- 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)

原帖地址 http://forums.alliedmods.net/showthread.php?p=689045

Cr@zyTreE 发表于 2008-10-6 14:16:07

回复: 【081006】AimBot Detection v0.7

:cool: :super:

外置猫 发表于 2008-10-6 18:41:30

回复: 【081006】AimBot Detection v0.7

具体效果怎么样?能防得住很多自瞄作弊器?

oyoaiyo 发表于 2008-10-6 21:54:37

回复: 【081006】AimBot Detection v0.7

我是文盲看不懂洋文我是文盲看不懂洋文

ty00dy00 发表于 2008-10-7 12:38:16

回复: 【081006】AimBot Detection v0.7

期待有测试朋友给的答案

能不能防住 激光作弊器

76233386 发表于 2008-10-8 09:54:54

回复: 【081006】AimBot Detection v0.7

不知效果如何   挂上试试。

airflytosky 发表于 2008-10-9 03:49:30

回复: 【081006】AimBot Detection v0.7

最近感觉我的服务器里一下子作弊的就那么多出来了...挂上这个看看,谢谢楼主.

ok71520 发表于 2008-10-9 05:40:15

回复: 【081006】AimBot Detection v0.7

我看了半天好象只是以时间来定位:sweat:

jy02489984 发表于 2008-10-9 12:21:04

回复: 【081006】AimBot Detection v0.7

有没有用过的兄弟?用过的都说说效果什么的啊。俺是粗人,不懂洋文啊,到底是干什么的,请达人们指点指点。谢谢

ttbs123 发表于 2008-10-9 20:20:50

回复: 【081006】AimBot Detection v0.7

看不懂在说什么:sexy_girl
页: [1] 2 3 4
查看完整版本: 【081020】AimBot Detection v0.8