Raised This Month: $12 Target: $400
 3% 

SpeedHack Detector v2 [All]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay       
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 07-02-2010 , 09:39   SpeedHack Detector v2 [All]
Reply With Quote #1


Description:
This plugin bans player if it detects more "CommandStarts" than necessary.
Read all the info before installing the plugin!
If there is something that you have not understood ask questions or do not use the plugin!

Questions that are answered here will be ignored!
Do not use this plugin on surf and kz servers!

Important note:
I suggest testing the plugin before enabling the punishment so that you are sure that it works correctly.
I have tested it, however I do not know how the plugin behaves when the server is full or the clients experience LAG, that is why I need confirmations that it works!
Please post the cheats that this plugin does not detect so that I can test and try to find better methods and also post the false bans of the plugin, use set the logging cvar to 1 and post them here for improvements.
I now have added a new cvar that sets the limit of counts for the ban decision. Please try as many values as possible. The cvar is spd_limit, please post your server type (BH, ZP, Soccer, etc.) and also the value that is good for your server!

Cvars:
spd_enable 1 // If the plugin is enabled or not (do not pause it!)
spd_bantime 0 // The ban time 0 means that the ban is permanent, other values mean time in minutes
spd_adminonly 1 // Print the chat messages to admins only!
spd_logbans 1 // If you want the plugin to create a list of the bans, you can find this list in "addons/amxmodx/logs/shd_bans.log"

// If you make the value less you increase the possibility of amount of false bans. If you make it bigger the plugin will not manage to detect cheaters.
spd_limit 150 // The minimum number of counts to ban a player. Do not set this under 130!

spd_punishtype 0 // Punish method see available options below
  • 0: Just show a message (for test purposes!)
  • 1: Ban with AMXBANS. (new command type)
  • 2: Ban with command amx_ban.
  • 3: Same as previous, but without extern plugin support.
  • 4: Ban with command amx_banip.

Useful Links:
Servers using this plugin

Changelog:
PHP Code:
2.0  fixed everythingperfected the detection methodfixed the server lag issue that would ban playersFixed cvar detections and added clockwindow detection
1.6  fixed a problem where the plugin would not detect the developer cvar
1.5  added cvar for limitimproved logging
1.4  added developer cvar kick
1.3  improved loggingincreaced tolerance
1.2  added more cvars for customization
1.1  added one more option to punishtype cvar
1.0  initial release 
Credits:
Code:
Empower - posted all the false bans, suggested improvements, server lag false detection problem, clockwindow information
Connor  - info about corectly detecting developer cvar
Attached Files
File Type: sma Get Plugin or Get Source (speedhack_detector.sma - 5699 views - 10.9 KB)
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 09-22-2010 at 10:28. Reason: v2 released!
ot_207 is offline
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 07-02-2010 , 10:01   Re: SpeedHack Detector [All]
Reply With Quote #2

Thanks for making a working version of my old plugin

Just a couple of things you can change:
PHP Code:
is_valid_map()
{
    static 
mapname[32]
    
get_mapname(mapname31)

    if (
containi(mapname"kz") != -|| containi(mapname"surf") != -1)
    {
        
set_fail_state("SHD does not work on Kreedz / Surf maps.")
        return 
false;
    }
    return 
true;

I don't think such function is still needed, but if you think so you can change static to new since there is no purpose of using static variables there (this goes also to the punish_player(id) function).
__________________
"There is no knowledge, that is not power"
fezh is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 07-02-2010 , 10:18   Re: SpeedHack Detector [All]
Reply With Quote #3

- client_connect is not necessary, you got these stuffs in disconnect
- returns in client_* aren't needed (not a big deal)
- is_valid_map is not really a good solution, because a lot of maps has different map prefixes
- static aren't needed

[off]
Quote:
Originally Posted by Hawk552 View Post
Code:
public server_frame()
{
    new i[4096], am[4096], cool[4096], because[4096], I[4096], understand[4096], how[4096], static[4096], works[4096], and[4096], want[4096], to[4096], show[4096], the[4096], world[4096], despite[4096], using[4096], it[4096], completely[4096], wrong[4096]
}
__________________
xPaw is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 07-02-2010 , 10:55   Re: SpeedHack Detector [All]
Reply With Quote #4

Updated it!
Have not changed the version since these improvements do not affect the plugin functionality.

Quote:
Originally Posted by fezh View Post
Thanks for making a working version of my old plugin
You're welcome. Have you tested it?
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 07-02-2010 at 10:58.
ot_207 is offline
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 07-02-2010 , 11:02   Re: SpeedHack Detector [All]
Reply With Quote #5

[en]
Is there any false bans ?

[ru]
Бывают ли ложные баны?
Empowers is offline
Send a message via ICQ to Empowers
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 07-02-2010 , 11:54   Re: SpeedHack Detector [All]
Reply With Quote #6

Quote:
Originally Posted by Empowers View Post
[en]
Is there any false bans ?

[ru]
Бывают ли ложные баны?
First of all, I am not russian. Secondly read the description.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 07-02-2010 , 12:00   Re: SpeedHack Detector [All]
Reply With Quote #7

Quote:
Originally Posted by ot_207 View Post
First of all, I am not russian.
Epic.
__________________
"There is no knowledge, that is not power"
fezh is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 07-02-2010 , 12:12   Re: SpeedHack Detector [All]
Reply With Quote #8

This + Block Wallhack (with less cpu usage) = cool security
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 07-02-2010 , 12:21   Re: SpeedHack Detector [All]
Reply With Quote #9

Quote:
Originally Posted by Alucard^ View Post
This + Block Wallhack (with less cpu usage) = cool security
Just wait Block Wallhack in v6 will use a modified engine module that I will make, so everything will work with less cpu.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 07-02-2010 at 12:25.
ot_207 is offline
Xyliance
Junior Member
Join Date: May 2010
Old 07-02-2010 , 13:29   Re: SpeedHack Detector [All]
Reply With Quote #10

doesnt work on amxbans

[AMXBANS] amx_ban <Time> <steamID | Name> <Reason>
[AMXBANS] amx_ban <Time> <steamID | Name> <Reason>

[SHD] Player test was permanently banned due using speed hack
Xyliance is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode