Anti FastFire v1.2
3 Attachment(s)
IS THIS SCRIPT SAFE FOR ME?
Due to many peope being worried that this plugin might be hazardus for their server since it easely will ban people that might not have cheated, i will clarify this: This anti-cheat plugin is developed to be used for normal servers - not funservers. For those servers who not always have admins online, hosting normal cs servers using normal maps and who dont want their users abusued by speedhackers or rapidfirers - this is theirs plugin. Use this on funservers at own risk. Anti FastFire v1.1 This pluggin will detect and ban people that uses any external application that speeds up counter-strike either through the get_tick function or even through an application such as !xSpeedPro (http://www.foredu.com/speed_up) Sorry if i am offending anybody by posting a link to a application that may be used as a cheat in counter-strike, but its better to deal with a problem insteand of pretending it doesnt exist - right? Like my previous plugin, anti speedhack, this one is equaly simple. It measures the players active Bp/S - fired Bullets per Second. Normaly, a player is unable to fire (with normal weapons) more than MAXIMUM 14 bullets over a period of 1 second - where awm goes as low as about 0.6Bp/S to most rifles which i have mesured at max of 13Bp/S. Simple enough, if anyone is firing a weapon faster than a cerain Bp/S you have a dirty cheater on your hands ;) Modules: None required / default libraries Instructions By a controllable cvar you can turn this plugin on/off; "amx_af" | 1=on, 0=off - Default value = 1-on Another cvar adjusts the sensetivety; "amx_af_max" | Default value = 16 - Max Bp/S allowed before ban New in v1.2: "amx_af_amxban" | def.val=0 - Use amxbans? (requires amxbans plugin) 1=On ; 0=Off "amx_af_bantime" | def.val=30 - Ban users for how long? (requires amxbans plugin) Read the full included ReadME file before downloading the plugin! Credits XxAvalanchexX and xeroblood - For posting most of what i made my codebase (http://forums.alliedmods.net/showthread.php?t=16877) ... and your truly, DarkSnow Please send me any feedback, questions ect either on amxx forums (http://www.amxmodx.org/forums) or; [email protected] - msn Version history v1.2 ] Added amxbans support v1.1 ] Dissabled the debug text Quote:
In the readme.zip, you will find 2 documents - one is the complete readme and the other is the Bp/S table for all weapons in normal CS. Read the readme file and if you have any questions regarding Bp/S take a look at the document files. License Model The license form of this plugin is released open source under the terms of the GPL v2 which can be found here - http://www.gnu.org/licenses/gpl.html COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. Version 1.2 - Final Legal: From v1.2, this plugin is OSI certified free software, meaning that it may be used even in commercial services, which were not allowed in previous versions. Version difference: From v1.2, amxbans support has been added. Read more information above. Software status: This plugin version is final, and will be unsuported futher on. For later updates on this plugin, lookup the pest spray plugin at darkdreams studios. Thank you |
What's about amxbans-support? Would be nice! ;-)
Cheers, Curry |
Quote:
Oh, and the code posted above generates a highly annoying text per second used for debugging. Im revising to v1.1. |
so would this accuse people who use powers on my server hackers???
|
Its nice to see other ppl try to make anti cheat plugins. But i noticed one thing.
Your allways checking against a set max rounds pr second. And the diffrent weapons have diffrent rate of fire. Perhaps have a diffrent "Max" on the diffrent weapons |
Quote:
|
Which is why it wont work till you test around and see how many bullets you can fire a second with each gun. And please test with using mouse wheel as firing because you do shoot faster with it especially using dualies.
|
Quote:
Surely i could add support for individual max rates for all weapons (and i probbably will to) but imo 16Bp/S is a gool max value for starters. P.S to my knowlege in some servers/leagues - binding mwheelup/down to +fire equals cheating |
Quote:
Your topic is fuzzy, and i will assume that you are reffering to superhero mod or warcraft mod. To clarify, if any person successfully fires a weapon at a speed of more then 16 bullets per second - just over 3Bp/S above normal (adjustable by cvar) - that person will be banned. If you are running any funmod script/server that makes people shoot faster they will all get banned if their Bp/S exeeds cvar defined max. |
I'm a bit confused, Would this not register data to the wrong slot ?
Code:
E.g. Player in slot 14 has fired, but data is registered to a player in slot 13 ? |
All times are GMT -4. The time now is 07:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.