Forum

> > CS2D > Scripts > Anti-Speed Hacker Prevent Script?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Anti-Speed Hacker Prevent Script?

3 replies
To the start Previous 1 Next To the start

old Anti-Speed Hacker Prevent Script?

Man Of Steel
User Off Offline

Quote
Hello Guys,

I needed an script that we can prevent Speed hackers,
I were thinking that it is possible maybe,

When Anyone can got much more speed compare his normal game speed for speed hack,

Maybe its possible When speed hacker enter server and he on speed hack so its speed go upper then his normal speed. we can prevent him and banned him

Look at that has written
function initArray(m)
local array = {}
for i = 1, m
do array[i]=0
end
return array
end
doistile=initArray(32)
tempoa=initArray(32)
addhook("movetile","antihack")
function antihack(id,x,y)
doistile[id] = doistile[id]+1
if doistile[id] > 100 then
if tempoa[id] > 1 then
tempoa[id] = 0
doistile[id] = 0
elseif player(id,"ping") < 100 then
msg("©255000000"..player(id,"name").." Seems to be a speedhacker! (banned)")
parse("banname "..id.." \"Speedhack Detected!\"")
end
end
end
,

When speed hacker move from his tile and if he had mora speed compare his normal speed he got banned,

It was a @user pbeloto: Script,

But he has bugs who i were found him,
Bugs are that when everyone move from his position whether he is his normal game speed he got Banned so guys please correct it

when anybody has speed against his normal speed so he when ban,

Its very useful,
I know anyone can do it

Sorry For my Sucks English

Good Luck and Thanks for attention

old Re: Anti-Speed Hacker Prevent Script?

Gaios
Reviewer Off Offline

Quote
There are also lags. Anyway it's possible to calculate lags 1000 ping = 1000ms delay = 1s delay. You need to find out player speed by pixels in ~50 ping.

old Re: Anti-Speed Hacker Prevent Script?

Yates
Reviewer Off Offline

Quote
A player can trigger cs2d lua hook move 12 times max at normal speed with normal ping every second. Unless things have changed.

I can't check this right now, so if someone else would that would be great.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview