Position prediction, anti lag and high ping delay
#5

Quote:
Originally Posted by RealCop228
View Post
Have you tried using TogglePlayerControllable to freeze those players with a high ping? Even if you did it for just a second, is that still an issue?
TogglePlayerControllable does not freeze the vehicle in air and the vehicle falls down (Note: it's a race server), and even if it did, this wouldn't solve anything because OnPlayerEnterDynamicArea has a small delay if you have a high ping, so the car would be frozen in the wrong position.


Quote:
Originally Posted by Schurman
View Post
I don't believe this is possible. Latency is very hard to work around.
It is actually, I saw it on a server, I can give you the IP in a Private Message if you don't believe me. They use it for the exact same purpose as I want, velocity pickups.

And for doing this I was thinking about a fromula, that calculates the point where the vehicle will be in the next 100ms or so depending on the vehicle's speed. So if the vehicle is approaching directlly to a velocity pickup, the time that he need to travel to that point is calculated and a timer is set so that he does not have any delay when he gets in the area, but I doubt that is the right way to do it.
Reply


Messages In This Thread
Position prediction, anti lag and high ping delay - by ShOoBy - 06.02.2013, 16:50
Re: Position prediction, anti lag and high ping delay - by Scenario - 06.02.2013, 16:53
Re: Position prediction, anti lag and high ping delay - by SchurmanCQC - 06.02.2013, 17:01
Re: Position prediction, anti lag and high ping delay - by fubar - 06.02.2013, 17:25
Re: Position prediction, anti lag and high ping delay - by ShOoBy - 06.02.2013, 17:25
Re: Position prediction, anti lag and high ping delay - by ShOoBy - 06.02.2013, 19:58
Re: Position prediction, anti lag and high ping delay - by Sinner - 06.02.2013, 20:33

Forum Jump:


Users browsing this thread: 5 Guest(s)