Raised This Month: $32 Target: $400
 8% 

Block Speedhack v3 [All]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay        Approver:   ConnorMcLeod (74)
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 02-24-2011 , 12:40   Block Speedhack v3 [All]
Reply With Quote #1


Description:
This plugin blocks packets sent from the 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_limit 120 // The minimum number of counts to ban a player. Do not set this under 110!
spd_loss_add 3 // How spd_limit cvar will increase if clients experience loss.
//The formula works this way: (3 * lost_packets) + spd_limit .
//This is made specially for users with lame connection. If these clients experience "stuck" effect you need to increase this value!

Changelog:
PHP Code:
3.0  changed the plugin to block speedhack
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 (block_speedhack.sma - 5425 views - 5.8 KB)
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 02-24-2011 at 12:47.
ot_207 is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 02-24-2011 , 13:39   Re: Block Speedhack v3 [All]
Reply With Quote #2

another hack detector by Oct.T! good job. the code is short and interesting!
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 02-24-2011 , 15:44   Re: Block Speedhack v3 [All]
Reply With Quote #3

Thanks! Waiting for feedback! I tested it myself and it worked ok.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 02-24-2011 , 16:31   Re: Block Speedhack v3 [All]
Reply With Quote #4

PHP Code:
 Formatright (C2009 OT 
a little bit outdated
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 02-24-2011 , 16:53   Re: Block Speedhack v3 [All]
Reply With Quote #5

Don't matter.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
sb123
Senior Member
Join Date: Jan 2007
Old 02-25-2011 , 05:01   Re: Block Speedhack v3 [All]
Reply With Quote #6

using chicken Plugins, you can immune?
http://forums.alliedmods.net/showthread.php?p=79274
__________________
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 02-25-2011 , 06:18   Re: Block Speedhack v3 [All]
Reply With Quote #7

Congratulations! I hope it will get approved!
dark_style is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 02-25-2011 , 06:37   Re: Block Speedhack v3 [All]
Reply With Quote #8

Quote:
Originally Posted by sb123 View Post
using chicken Plugins, you can immune?
http://forums.alliedmods.net/showthread.php?p=79274
The plugin should work fine with any mods installed.
Please test it and post here the results.
This will help me improve it.

Quote:
Originally Posted by dark_style View Post
Congratulations! I hope it will get approved!
Thanks but I am interested in some test results. Please test and report back since it will help improve the plugin.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 02-25-2011 , 15:42   Re: Block Speedhack v3 [All]
Reply With Quote #9

Tested it today on soccerjam server. For my luck, a speedhack came to server. The spd_limit value was set to 120. It was clear that the cheater had a hard time using the speedhack. As I decreased the spd_limit, the cheater "running" distances lowered a bit, as I increased the value, an oposite effect was seen. The lowest value that I tryed was 90 (though you said it shouldn't be lower than 110), but the speedhack still hasn't been fully blocked, so atleast from what I saw I can tell that the plugin is far from perfect.

p.s. his ping was low - about 11, so I guess his connection was fine, if that helps in any way...

Last edited by BeasT; 02-25-2011 at 15:45.
BeasT is offline
Send a message via Skype™ to BeasT
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 02-26-2011 , 06:17   Re: Block Speedhack v3 [All]
Reply With Quote #10

Quote:
Originally Posted by BeasT View Post
Tested it today on soccerjam server. For my luck, a speedhack came to server. The spd_limit value was set to 120. It was clear that the cheater had a hard time using the speedhack. As I decreased the spd_limit, the cheater "running" distances lowered a bit, as I increased the value, an oposite effect was seen. The lowest value that I tryed was 90 (though you said it shouldn't be lower than 110), but the speedhack still hasn't been fully blocked, so atleast from what I saw I can tell that the plugin is far from perfect.

p.s. his ping was low - about 11, so I guess his connection was fine, if that helps in any way...
Ok. Thanks a lot for the info. About the way that the plugin works, it will detect when the player has too much server cmd requests and after that it will block the movement of him. After one second it will refresh the settings meaning that it will allow a speedhacker to do his job in any way he wants to. Basically a speedhacker will be able to run but not continuously.
Is that what happened?
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 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 14:11.


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