It just have 49lines of code so it should not laggy
How To Install:
extract antispeedhack.txt at sys/lua folder to <cs2ddir>/sys/lua
open server.lua and write this at end of server.lua
1
dofile("sys/lua/antispeedhack.txt")
How To Configure:
first ,double click the antispeedhack.txt at <cs2ddir>/sys/lua
on there you can configure this:
posbetween - the distance that should travelled every seconds(200 by default)
pinglag - to avoid false detection his ping will checked: if his ping is 500(by default) and more and server detect his speedhack, and client doesn't, it not detect player. it 550 by default
action - if 0 it means only show message. 1 = kick. 2 = ban ip. 3 = ban usgn. 4 = number 2 and 3. it 0 by default
Hooks:
second
Notes:
there 10%(i think) chance to false detection
if you found bug please tell me on comments
write comment if you ask something
it not detect you if you use portal/teleporter
if your speedmod is change the posbetween change too so it doesn't detect you if use speedmod
changed action 0 because you can set speedhacker speedmod so his speed will normalized when detected
Rights:
Use it at your server
Edit it w/o my permission but don't reupload
Reupload on another site. you must upload a unedited version and put me at credits
Say MikuAuahDark made it
Say this lua is yours
Steal
Reupload at unrealsoftware
Known bugs:
sometimes you are detected when go to teleport entity or by using portal(well i want to make the anti-speedhack no lags)
edited 8×, last 23.01.13 08:28:50 am
Approved by Seekay
Download
909 b, 745 Downloads