English Anti speedhack lua (improved) icon

7 comments
17.01.13 03:03:42 am
like 3 like it!
994 b, 193 Downloads
gotya2
GAME BANNED
Offline Off
Anti speedhack lua.
Based on wotan's script, but improved. Distance should be measured in real distance not manhattan distance. Accouting for 'setpos' commands. Better accounting for teleports. Improved formula for speed w.r.t speedmod. less false positive detections, included tolerance for people with high ping and lagging.

u can edit the values for the tolerance if your server is not running at 50 fps.
image
ok This file has been reviewed and approved by Fraizeraust (29.04.16 05:46:52 pm)

Comments

7 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
23.01.13 08:02:06 am
Up
MikuAuahDark
User
Offline Off
user gotya2 has written:
Code:
1
parse("speedmod "..id.." "..player(id,"speedmod"))

in his script is pretty smart: most hacks change the speedmod value clientside in order to achieve bigger speed. However, some hacks might send movement packets at a faster rate, in which case this line has no effect.
it has effect on speedhack(tested) that use a clientside speedmod, well the movement packets at faster rate will not work.
bdw i don't say you stole it from me, just user Hatsune Miku said that
user gotya2 has written:
1. REAL distance, not manhattan distance.
Since players can walk diagonally, this is better than checking on x and y.

on v3 it uses math.sqrt, im gonna upload it later.
user gotya2 has written:
2. his function checks every second that you step on a tile with teleport, this might not be sufficient.

yes i use second because using always or ms100 can cause lags.

bdw is your script not detect player that use serverside speedmod?
and is your script only check player when alive?
19.01.13 05:38:46 pm
Up
gotya2
GAME BANNED
Offline Off
@user MikuAuahDark: and @user Hatsune Miku:

Not stolen,

It uses the same idea ( distrance travelled per second). But my scripted improves in the following way:
1. REAL distance, not manhattan distance.
Since players can walk diagonally, this is better than checking on x and y.
2. his function checks every second that you step on a tile with teleport, this might not be sufficient.
3. My script allows other people to use 'setpos' without triggering a speedhack. Now other scripts that use setpos can be used.
4. My script has easy to configure tolerance, so that you can configure it for your server easily.

What is missing is the teleport based on a portal. This might come in v2...
I was completely unaware of Iluminati's solution when writing the script. His script allows for betting configuration on what happens when speedhack is detected. Also the seemingly 'no-effect' line
Code:
1
parse("speedmod "..id.." "..player(id,"speedmod"))
in his script is pretty smart: most hacks change the speedmod value clientside in order to achieve bigger speed. However, some hacks might send movement packets at a faster rate, in which case this line has no effect.

Speedhack detection based on packet rate is non-trivial: players might burst UDP packets, leading to false positives.
18.01.13 11:25:18 am
Up
Hatsune Miku
User
Offline Off
Stoled From Ilmuminati
17.01.13 02:38:56 pm
like I like it!
Up
Chingy
User
Offline Off
Now this is better than all the other antispeedhack scripts.
17.01.13 11:48:08 am
Up
MikuAuahDark
User
Offline Off
Wait, it looks like same as mine. but at least it's not
Code:
1
if player(id,"speedmod") >0 then
17.01.13 09:23:05 am
like I like it!
Up
G3tWr3ck3d
User
Offline Off
Nicely done !
17.01.13 03:09:59 am
like I like it!
Up
KimKat
GAME BANNED
Offline Off
It detects adequately even though you need to adjust the tolerance level for different kind of profiles. But this one works for me since I've got a slow internet connection and it doesn't give me a false warning such as "Speedhack KimKat" whenever I try to walk. This is a great anti speedhack user gotya2, keep up the good work.
To the start Previous 1 Next To the start