Files

> > CS2D > Lua Scripts > Anti-Speedhack v3
Files overviewCS2D overviewLua Scripts overview

English Anti-Speedhack v3 >

29 comments909 b, 697 Downloads

old Anti-Speedhack v3

MikuAuahDark
User Off Offline

Anti-speedhack v3 with setpos fixed(inspired by file cs2d Anti speedhack lua (improved) ) 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
1
dofile("sys/lua/antispeedhack.txt")
• 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:
• cs2d lua hook 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 user 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 Download

909 b, 697 Downloads

Comments

29 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Pickabu
BANNED Off Offline

well, fck u, I got banned for the speed hack, while i didn't have it.

old

Xirot
User Off Offline

Well , go to the antispeedhack.txt change the extension to antispeedhack.lua.
That's simple.

old Why .txt?

Ghost101
User Off Offline

isnt it supposed to be antispeedhack.lua not .txt
(Someone please help)

old

iLkeR
User Off Offline

It doesn't work. It says "sys/lua/antispeedhack.txt:47: ')' expected (to close '(' at line 46) near 'end' . You must fix it.

IMG:https://img191.imageshack.us/img191/5678/adszhnu.png

old

EndDead
User Off Offline

@user MikuAuahDark: Didn't notice. You should put something into the description to make us notice (For who did not know about V1)
I like it!

old

MikuAuahDark
User Off Offline

user EndDead has written
why is it pushed? (Marked as new)
because V2 update

old

IPC CS2D
User Off Offline

good lua! indonesian scripter.
I Like it.
I like it!

old

EndDead
User Off Offline

Erm, Looks nice... but why is it pushed? (Marked as new), Nvm, we may need that
I like it!

old

Zero13
User Off Offline

OMG, this lua works.
I like it!

old

DreyLiky
User Off Offline

OMG .txt! You print lua through notepad ++

old

MikuAuahDark
User Off Offline

it's not use speedmod, it uses calculation
x1-x2 = player(id,"x")-pos[id][1]
bdw can i see your script?

old

SkullzOrig
User Off Offline

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.
More >

old

Suprise
BANNED Off Offline

oh sorry didnt saw
I like it!

old

MikuAuahDark
User Off Offline

user Suprise has written
I think make autokick if he used speedhack.
user MikuAuahDark 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

old

Suprise
BANNED Off Offline

Not bad but the 'Player use speedhack' is spamable stuff. I think make autokick if he used speedhack.
I like it!

old

Obviously Exactly Myself
User Off Offline

Awesome, unlike those idiots making anti-speedmod instead of anti-speedhack.
I like it!

old

MikuAuahDark
User Off Offline

@user TimeQuesT: oh no i forgot that. i will fix it soon
Edit: it has been fixed, just redownload it
edited 1×, last 18.06.12 07:05:15 am

old

oxytamine
User Off Offline

Why are you bother asking if script does not operate properly.
I like it!

old

TimeQuesT
User Off Offline

What about portals?
Does it detects the player when he uses a portal?
To the start Previous 1 2 Next To the start