[TF2] Anti-NameHack
2 Attachment(s)
Description:
A plugin to add basic protection against hackers that use namestealers or players that spam name changes to avoid admins. Info: The detection methods that i use are the most common that i have seen used on the servers i have tested it on. This plugin at the time of posting is based on detections in 5 minute increments and the default value of the "sv_namechange_cooldown_seconds" which is 20 seconds. ex, 10 name changes in 5 minutes will result in a ban, or 4 name steals in 5 minutes will result in a ban. The name change detections are reset every 5 minutes and the name steal detections are reset every 5 minutes with the condition that they haven't changed their name in the last 5 minute period. Any player banned for name stealing is also ip banned. Has support for sourcebans. Cvars: sm_anh_version ; Version Cvar. sm_anh_changes "10" ; Number of name changes before a player is banned. Default is 10 sm_anh_matches "4" ; Number of name matches before a player is banned. Default is 4 Ban Messages: If the plugin detects name change spamming it will ban with this message, "[Auto]Detected Namehacking #1-<name changes>-<name matches>" ex, "[Auto]Detected Namehacking #1-10-0" If the plugin detects name stealing it will ban with this message, "[Auto]Detected Namehacking #2-<name changes>-<name matches>" ex, "[Auto]Detected Namehacking #2-4-4" Commands: None Installation: Place AntiNameHack.smx into the addons/sourcemod/plugins/ folder. Versions: 1.1, Initial release; |
Re: [TF2] Anti-NameHack
Have you considered intergrating it to a smac module?
|
Re: [TF2] Anti-NameHack
Thank you for putting in sourcebans compatibility too.. most banning plugins forget this for some reasons
|
Re: [TF2] Anti-NameHack
aw yes this is great. I hate when you mute someone for mic spamming then they turn to chat spam then once you gag them they turn to changing their name repeatedly, like your not going to ban them or something... anyways this does it automatically, which is great!
|
Re: [TF2] Anti-NameHack
Quote:
|
Re: [TF2] Anti-NameHack
I posted this in SMAC thread - the name changers I'm seeing is using ASCII symbols to circumvent name changes but not identical. I'm going to use this for the time being see how well it works and let everyone else know the ID of the most recent I've banned for this:
Code:
/13/2013 - 17:48:54: [smac_eyetest.smx | 0.8.4.0] [‎F2P]orignalgiratina (ID: STEAM_0:0:58067263 | IP: 69.124.178.145) is suspected of reusing old movement commands. CmdNum: 1832064818 PrevCmdNum: 1833831387 | [268435455:268435455:2800308] Also these few for same thing: STEAM_0:0:58858796 STEAM_0:0:62467339 |
Re: [TF2] Anti-NameHack
Quote:
|
Re: [TF2] Anti-NameHack
Quote:
|
Re: [TF2] Anti-NameHack
Quote:
Errrrrrryday |
Re: [TF2] Anti-NameHack
One problem I see with this is that you're formatting/copying all the player's names while checking. An easier way to do this would be to remove all characters which allow name stealing (space and % at the start/end of names) by using a custom "TrimString", then compare the names to unmodified player names instead. If this is the case it shouldn't have to format both the player's name and the other players' names to check against for every player.
Otherwise, this is an awesome idea :) It should stop 99% of hackers in TF2 (Most of them use the same 'hack') |
All times are GMT -4. The time now is 19:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.