| Autor |
Mesaj |
Levy
Administrator


Data inscrierii: 27/Dec/2008 Mesaje: 70 Localitate: Arad |
|
AimBot Detection |
|
AimBot Detection v0.9b
Description This plugin detects aimbots by placing an invisible bot high in the air above the watched players freshly killed victim. The instant the watched player gets kills his victim, the bot is placed directly above the dead player. The bot remains there for [BOT_STAY_TIME (default 1.5)] seconds; if shot enough times to satisfy your body-hit point configuration, the player gets detected as having an aimbot. There is a force-shoot option, enabled by default, that will reload the watched players weapon to a full clip (to block reloading), fire 2 shots, and then set clip ammo to the previous amount. 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] time-frame, his "pass test" counter is incremented by 1 and the bot is removed. If the "pass test" counter reachs [cvar amx_aimattempts] then the watch is automatically removed. There is also an auto-watch 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.
Note By default there is no punishment. Any detections will be logged only. If you wish to punish detected players, you must select your punishment in the configuration section of the plugin before compiling.
The plugin was designed for Counter-Strike 1.6 without any other custom mods installed. Please consider this when installing the plugin as other mods may affect how players get detected. This can lead to false detections.
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.
Changelog
v0.9b
- Added block for StatusText message so when the watched player is aiming at the bot he will not see statustext. (ie. the bots name and friend\enemy text)
- Added send email option so you can now be notified via email if an aimbot is detected on your server. This can also be used to send a text msg to your cell phone; ie. to send to a verizon phone, set the email address to 9digits@vtext.com (6095551234@vtext.com) (each carrier has its own @carrier extension). You must also have a valid smtp server (usually your ISP will provide one for you) to use this option. Before compiling, specify your MAIL_TO address and SMTP server in the configuration section. Use amx_testmail to send a test email. [send email is disabled by default]
- In RemoveBot(), the bot was being kicked via name instead of ID which sometimes resulted in the bot not being kicked if another plugin changed its name. The bot is now kicked by ID. (thanks xOR)
- Adjusted the timing for auto-shoot to BOT_STAY_TIME / 3.0
- Removed reload blocking as it was believed to be causing the player to timeout during testing.
- Force shoot will now reload the watched players weapon, fire 2 shots, then restore the clip ammo to the amount prior to reloading. This will remove the need for reload blocking (reload is automatically blocked when the player has a full clip) and increase the chance of the player being detected (2 shots vs 1 shot).
- Added SHOOT_BLANKS_ID AND SHOOT_BLANKS_IP so you can now specify whether this punishment gets saved via the players SteamID or by IP address.
- Removed hits-to-shots ratio calculation for auto-watch trigger. This was removed because it can easily be avoided (usually unconsciously) by the player if he shoots off just a few random shots in the air.
- Added a server_print when detection occurs
- Auto-watch hs-kills\kills ratio now requires atleast 2 kills within a round to be considered. The ratio of hits to the head or chest vs hits to any body part requires atleast a total of 5 întreg body hits within round to be considered.
- Added calculation of shots to chest vs. all other body parts ratio for auto-watch. This could aid in detecting aimbots that are set to aim at the chest instead of head.
- Added counter variables to count kills and head-shot kills in each round for auto-watch. The previous method of using get_rstats was not working.
v0.9
- Adjusted auto-watch ratios\points
- Removed nvault module, wrote functions to manually read\write to file.
- Blocked detecting\punishing watched player if weapon used was knife
- Added calculation for determining how high in the air to spawn the bot. The bot will now get spawned at a height
relative to the distance between the killer and victim. The closer the victim and killer are together the lower
the bot will be spawned. Likewise, the further apart, the higher up the bot will be spawned. This should reduce
false detections as I think most occurred when the killer and victim were far apart making it easier for the bot
to be hit by slight recoil. In all previous releases, the bot was spawned 100 units high regardless of distance.
- Added remove_task for RemoveBot and AutoShoot so the functions will not get fired if not needed.
- Fixed bug where if watched player commited suicide the bot was being spawned over his body.
- Fixed bug where bot would sometimes remain at round end and be spawned in following round as an actual player.
- Blocked reload when bot is spawned so auto-shoot can take place if player reloads after killing a victim. The reload
player animation will still occur but the player will still be able to shoot during this reload animation.
- Made adjustment for detecting if player and victim are close together and at a different height ( v0.8 ). If they
are close together then not bot will be spawned. Previously, the distance apart used did not take into consideration
difference in height. If the one player was high up on a box and other player on ground, the height difference between
players was being counted as distance apart on the ground. There is now individual calculations for difference in height
and ground distance apart.
- Revision Changed reload blocking from FM_PlayerPreThink to FM_CmdStart
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 autentic 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 produse 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)
Download counts
v0.8 - 821
v0.9 - 883
[url=http://www.girlshare.ro/438055.2]aimbotdetect.amxx[/url]
|
|
| 28/12/2008 02:24 |
|
 |
|
|
Nu puteti crea un subiect nou in acest forum Nu puteti raspunde in subiectele acestui forum Nu puteti modifica mesajele proprii din acest forum Nu puteti sterge mesajele proprii din acest forum Nu puteti vota in chestionarele din acest forum
|
Powered by phpBB © 2001, 2005 phpBB Group Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro
|
|