Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Security] Stop Speedhacking Once and For all
#5
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 Wink.

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
Code:
Call HackingAttempt(Index, "Position Modification")
and replace it with
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?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)