09-04-2009, 02:18 PM
Labmonkey Wrote:Yes.
Ok, so before you test this and say it doesn't work, let me explain what the results should look like.
If a person is speedhacking, it will look like to them they are speedhacking! But if you log on twice to the server, the other person (not speedhacking) will see the person moving normally. If you walk in front of someone speedhacking, they will probably also get booted for position modification.
Currently there is a problem where some people also get booted while running. I am fixing it currently.
EDIT: Ok, for everyone that wants to use this here is a temporary (maybe permanent) fix.
Find
and replace it withCode:Call HackingAttempt(Index, "Position Modification")
Code:Call PlayerWarp(Index, GetPlayerMap(Index), GetPlayerX(Index), GetPlayerY(Index))
PlayerWarp is a cheap fix. Set up a new function that sets the client's position without re-sending all the data to everyone. If that's your idea of a 'permanent fix' then you're very silly.
You should edit the server timer to take into account the obvious fluctations in connection speed and reliability.
Also, moved to the tutorial section.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?