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 ? |
Quote:
|
It does not realy matter anyway since im not using any of the data in question :wink:
Its just there to make sure that the client is firing, not realoading or something like that |
I really liked the sound of this plugin so put it on my server straight away. I noticed a lot of people were getting banned so I tested it myself, shot a full clip into someones head from point blank with an M4 and bam! I was banned from my own server. This is a great idea so please keep working on it but at the moment its unsafe for my server.
|
Quote:
You can however reglate the sensetivety of the rate of fire by "amx_af_max" whitch is by deffault 16, try increasing it to something closer then 20 and those problems should go away. Sorry about your bans and thanks for the feedback. |
I recommend making an advisory mode where it will display information to admins only about possible* cheating. This would be a separate mode but it could be permanent, as many ppl don't like leaving everything automated but don't mind some automation.
|
Quote:
It will be done in the merged version though, i dont think i will evolve this any futher. |
Using mouse wheel for firing is counted as cheating that's why HLGuard bans people for it :!:
It gives an unfair advantage to the player using it :!: |
Yea, simply dont do it :P
Anyway, i belive you can check the firingrate against number of times klicked on +fire for the dual pistols if you for some reason want people to be allowed to bind mwhelup/down to +fire. |
What i must change to use it with amx bans?
|
Re: Anti FastFire v1.1
Try this.
Find server_cmd("banid 0.0 %s",Authid) and replace with server_cmd("amx_ban 0 %s FastFire hack detected",Authid) |
Re: Anti FastFire v1.1
I've tried your previous plugin anti speedhack, and there was some problems with fy_* aim_* maps, those where is teleport. (like simpsons) or those where is like car, or bike which user can drive. And especially for chickens :mrgreen: As I'm using chicken plugin.
Will this plugin have the same problem, or it's fixing , or allready fixed. P.S. You're doing very good job creating such a anti cheat plugins. :up: |
Re: Anti FastFire v1.1
Quote:
Quote:
Quote:
Id recomend using the pest spray plugin rather over the anti speedhack plugin, once it reaches a stable release. The speedhack detection stuff has been updated in PS. Quote:
|
Re: Anti FastFire v1.1
I'm using ATAC, with chicken plugin, and user punishing for killing them, it fun when everybody is catching that damn chichken :) And sometimes just I'm doing chicken war on the last round of map :twisted:
P.S. With the maps problem, maybe it's possible to make and exception, not to run this plugin with aim_* fy_* maps ..... :) |
Re: Anti FastFire v1.1
What about amxbans support?
|
Re: Anti FastFire v1.1
Quote:
|
Re: Anti FastFire v1.1
Will your next version support it?
|
Re: Anti FastFire v1.1
Quote:
This plugin is now final, and will be unsuported, and futher revisions and updates will be avaiable only in the pest spray plugin. Cheers |
Re: Anti FastFire v1.2
Hey Hey,
I have a problem with this plugin. This plugin detects the cheaters but he doesn't want ban the cheaters. Here is copy from my log: Code:
L 11/19/2006 - 11:50:19: [anti_fastfire.amxx] [Anti FastFire 19/11-2006 - 11:50:19 - cs_office_gold] hack<STEAM_0:0:7485536> using FastFire type of cheat (Ping: 100 ) And that is in my amxx.cfg Code:
amx_af_amxban "1" |
Re: Anti FastFire v1.2
Replace
Code:
server_cmd("amx_ban %i %s Banned for cheating", get_cvar_num("amx_af_bantime"), i) Code:
server_cmd("amx_ban 0 #%d ^"FastFire Detected^"",get_user_userid(i)) |
Re: Anti FastFire v1.2
Thanks. I test it.
|
Re: Anti FastFire v1.2
Hello,
very reliable Plugin..but for some reason somehow it won't ban: only this message in the console appears: L 03/21/2007 - 08:51:40: [anti_fastfire.amxx] [Anti FastFire 21/03-2007 - 08:51: 40 - de_dust] XXXX <STEAM_0:1:XXXX> using FastFire type of cheat (Ping : 0 ) Client with that name or userid not found I edited out the player name and steam id with "X" |
Re: Anti FastFire v1.2
same error for me:down:. I tryed what Dzyzus sayd but that dident work.
|
Re: Anti FastFire v1.2
this plugins ban STEAM ID only, no IP suppot !
|
Re: Anti FastFire v1.2
so no one can help? This plugin is really reliable (It always works. It catches even speedhackers!) and immensly usefull. Unfortunately for some reason it won't ban. Look my post above for the error message.
|
Re: Anti FastFire v1.2
are you using amx bans or something like that?
|
Re: Anti FastFire v1.2
no, just a regular ban
|
Re: Anti FastFire v1.2
Quote:
AMXBans is supported. Quote:
|
Re: Anti FastFire v1.2
so plz any1 can tell how to make it ban via ip?
|
Re: Anti FastFire v1.2
Is the 14bp/s just a guesstimate on how a human can click the mouse?
|
Re: Anti FastFire v1.2
Quote:
|
All times are GMT -4. The time now is 02:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.