Thread
:
Autoban on SpinHack detections
View Single Post
allienaded
AlliedModders Donor
Join Date: Feb 2013
10-05-2016 , 10:21 Re: Autoban on SpinHack detections
#
18
So since this thread got bumped and I'm a little more experienced now I decided to give this a second shot. I haven't extensively tested this but I did carefully analyze all the code and it should work as expected. I took my old modified code and with a little help from smac_aimbot.sp added the ability to ban after X amount of detections (default being 4, configurable with the cvar
smac_spinhack_ban
). Also the detections expire (one by one) after 2.5 minutes meaning you'd have to get 5 detections in total after 2.5 minutes from the first detection has passed, 6 detections in total after 5 minutes etc. Disconnecting from the server resets the detection count back to zero. This modified smac_spinhack.sp also is not compatible and should not be ran together with War3Evo's plugin since they both use the same cvar to configure the amount of bans.
The .smx has been compiled with a clean install of Sourcemod 1.8 build 5933 and the latest SMAC development version (0.8.6.0 b244c49794c6)
Attached Files
Get Plugin
or
Get Source
(smac_spinhack.sp - 152 views - 4.0 KB)
smac_spinhack.smx
(5.7 KB, 228 views)
Last edited by allienaded; 10-05-2016 at
10:29
. Reason: typo
allienaded
View Public Profile
Send a private message to allienaded
Visit allienaded's homepage!
Find More Posts by allienaded