Anti-Speedhack v3 
26 comments Anti-speedhack v3 with setpos fixed(inspired by
Anti speedhack lua (improved) (3)) and with math.sqrt
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
close and save server.lua and the lua has been installed
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
Ilmuminati 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)
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.luaCode:
1
dofile("sys/lua/antispeedhack.txt")
close and save server.lua and the lua has been installedHow 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 defaultHooks:
secondNotes:
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 detectedRights:
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
Ilmuminati made it
Say this lua is yours
Steal
Reupload at unrealsoftwareKnown 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
Comments
26 commentsLog in!
You need to log in to be able to write comments!Log in
It doesn't work. It says "sys/lua/antispeedhack.txt:47: ')' expected (to close '(' at line 46) near 'end' . You must fix it.
I like it! @
Ilmuminati: Didn't notice. You should put something into the description to make us notice (For who did not know about V1)
Ilmuminati: Didn't notice. You should put something into the description to make us notice (For who did not know about V1)
EndDead has written:why is it pushed? (Marked as new)
it's not use speedmod, it uses calculation
Code:
bdw can i see your script? x1-x2 = player(id,"x")-pos[id][1]
I made a script that locks the players movement that it is set to.
Ex. If the player movement is set to 0, it will not increase nor decrease. The lock is enabled when they spawn. And i also added a timeset to it, so when or if they do somehow increase there speed, then every 10 seconds it will set the speed to 0.
My lua is not meant for use with other lua scripts that include any type of speed change. I have tested my script. It works but not with others including any type of speedmod, it will cause a bug.
Ex. If the player movement is set to 0, it will not increase nor decrease. The lock is enabled when they spawn. And i also added a timeset to it, so when or if they do somehow increase there speed, then every 10 seconds it will set the speed to 0.
My lua is not meant for use with other lua scripts that include any type of speed change. I have tested my script. It works but not with others including any type of speedmod, it will cause a bug.
Blau Burger has written:I think make autokick if he used speedhack.
Ilmuminati has written:
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
I like it! Not bad but the 'Player use speedhack' is spamable stuff. I think make autokick if he used speedhack.
@
TimeQuesT: oh no i forgot that. i will fix it soon
Edit: it has been fixed, just redownload it
TimeQuesT: oh no i forgot that. i will fix it soonEdit: it has been fixed, just redownload it
edited 1×, last 18.06.12 07:05:15 am







Anti-Speedhack v3


1 

