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
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 @ 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