Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spodi, about Double Tick Count
#9
supermatthew Wrote:to counter speed hacks, i would do something like this.

Although i work with .net, which has threading support, and would make it easier.

in some form of server loop(a seprate thread in vb.net, maby part of the server loop/another timer):
10 second delay, or even longer
send request to all clients for time

Client responce:
it includes seconds and minutes, and hours maby?
Do a check from last request to get difference, allowing for rollover, like 55 seconds, 2 min was last, and now its 25 sec, 3 min, a 30 second difference, now you take this difference, and something like

TimeDifference = (CurrentReponceDiff / DelayTime) * 100
which would be 300%
and lets say you want there to be a 150% maximum, for lag and such, anything higher and client would be banned.

lot less work with server, cause your not checking everytime they move.

No, but at a fixed time, you're sending a shit load of packets back and forth. Not very bright, imo.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)