Antispeed hack measures
48 replies oh sorry, my mistake
change
to
@
Apache uwu: Actually, the console can revert
@
Anders4000: I forgot the tab, after I solve this

change
Code:
1
player(id,"speed")
to
Code:
1
player(id,"speedmod")
@


@




@
sheeL: Waw, let me rewrite that code.
Remember using tabbing.

Remember using tabbing.

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
addhook("movetile","antihack")
addhook("startround","a")
function antihack(id)
if (player(id,"speed")>3) then
parse("speedmod "..id.." 0")
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
function a()
msg(id,"Welcome")
end
addhook("startround","a")
function antihack(id)
if (player(id,"speed")>3) then
parse("speedmod "..id.." 0")
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
function a()
msg(id,"Welcome")
end
No such parameter as
Code:
exists for the player function. It will be 1
player(id,"speed")
Code:
1
player(id,"speedmod")
look enginer
here is player(id,"speed") :$
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
addhook("movetile","antihack")
function antihack(id)
if (player(id,"speed")>3) then
parse("speedmod "..id.." 0")
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
_player = player
function player(id,value)
if value=="speed" then
return player(id,"speedmod")
else
return _player(id,value)
end
end
function antihack(id)
if (player(id,"speed")>3) then
parse("speedmod "..id.." 0")
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
_player = player
function player(id,value)
if value=="speed" then
return player(id,"speedmod")
else
return _player(id,value)
end
end
@
blood2d: Err, are you stupid? The argument to the player function in that code is 'speedmod', which proves that the argument 'speed' is non-existent for that function.

I code, therefore I exist.
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
addhook("movetile","antihack")
function antihack(id)
if (player(id,"speedmod")>3) then -- Fixed
parse("speedmod "..id.." 0") -- Fixed
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
_player = player
function player(id,value)
if value=="speedmod" then
return player(id,"speedmod")
else
return _player(id,value)
end
end
function antihack(id)
if (player(id,"speedmod")>3) then -- Fixed
parse("speedmod "..id.." 0") -- Fixed
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
_player = player
function player(id,value)
if value=="speedmod" then
return player(id,"speedmod")
else
return _player(id,value)
end
end
wtf?
speed = fail '_'
use speedmod
@


@
sheeL: Congratulations! You just made an edit that will send the function in an endless loop and end up in either a stack overflow or a crash.
@
blood2d: I was being stupid, sorry, the code is correct, if not a little strange.

@

edited 1×, last 28.02.12 04:28:13 pm
I code, therefore I exist.
Yeah this is work!
But edit:
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
addhook("movetile","antihack")
function antihack(id)
if (player(id,"speed")>3) then
parse("speedmod "..id.." 0")
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
_player = player
function player(id,value)
if value=="speed" then
return player(id,"speedmod")
else
return _player(id,value)
end
end
function antihack(id)
if (player(id,"speed")>3) then
parse("speedmod "..id.." 0")
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
_player = player
function player(id,value)
if value=="speed" then
return player(id,"speedmod")
else
return _player(id,value)
end
end
But edit:
Code:
1
parse("kick "..id) OR ban :D
When a player speedhacks they change their "speedmod" client-side, player(id,"speedmod") is unchanged!!
@
Suprise: Fixed

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
addhook("movetile","_movetile")
function _movetile(id)
if (player(id,"speed")>3) then
parse("speedmod "..id.." 0")
parse("banusgn "..id)
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
_player = player
function player(id,value)
if value=="speed" then
return player(id,"speedmod")
else
return _player(id,value)
end
end
function _movetile(id)
if (player(id,"speed")>3) then
parse("speedmod "..id.." 0")
parse("banusgn "..id)
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
_player = player
function player(id,value)
if value=="speed" then
return player(id,"speedmod")
else
return _player(id,value)
end
end

Yeah, we know, I don't know why people post this code though.
Can't you tell them one last time and close the thread?

@
Suprise: Fixed

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
addhook("movetile","_movetile")
function _movetile(id)
if (player(id,"speed")>3) then
parse("speedmod "..id.." 0")
parse("banusgn "..id)
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
_player = player
function player(id,value)
if value=="speed" then
return player(id,"speedmod")
else
return _player(id,value)
end
end
function _movetile(id)
if (player(id,"speed")>3) then
parse("speedmod "..id.." 0")
parse("banusgn "..id)
msg(player(id,"name").." Used Speed Hacker! @C")
end
end
_player = player
function player(id,value)
if value=="speed" then
return player(id,"speedmod")
else
return _player(id,value)
end
end
Are you idiots? It's not speedmod.
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV
Factis, they won't listen. They seem to be in a world where stopping hackers is easy. Let it be.
If someone really wanted to make an anti-speedhack. Measure the distance the player travels.
If someone really wanted to make an anti-speedhack. Measure the distance the player travels.

If someone really wanted to make an anti-speedhack. Measure the distance the player travels.
This.
Basing yourself in speedmod can kick innocent people due to lags, and that's classic.

Basing yourself in speedmod can kick [...]
If it would work, then the speed would be the same (0). But it's clientside and can't be changed serverside, you would need to use console. Lua won't do the trick, otherwise DC would have LONG done that. But I'm fine with the anti-shit uP's making for me (Many thanks to him) so I don't really need all this.
Yep, need somehow detect client side stuffs
Impossible with Lua though.

Impossible with Lua though.
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV

Yep, need somehow detect client side stuffs
Impossible with Lua though.

Impossible with Lua though.
Erm, uprate6 makes his anti-hacks with Lua, as far as I know.
zugcxdxtczgvhioj