Position prediction, anti lag and high ping delay
#1

Hey,

I made some kind of Race&Derby server for SAMP, and on this kind of server there are 'race pickups'. The best solution to make those was to use CreateDynamicSphere (from Incognito's Streamer) and then assign a variable with a number to every area we create. For example for a nitro pickup we have 'PickupInfo[areaid] == 1', 2 for a repair pickup and if the number is bigger than 2 it's a vehicle pickup (where the number is the vehicle model).

But, we also have some accurate maps that require some kind of 'skilled driving', and in thise maps we have velocity pickups. But, because those maps are very accurate if your velocity is set a little bit after you enter the area , you will fail and probablly end by hitting something.

Well when a player with a high ping enters a area, there is a small delay (under a second, but here even 100 miliseconds count) so he fails. I was thinking about some kind of position prediction system so that when he enters the area the velocity is set imediatelly, without any delay. (I know it can be done and saw Y_Less talking in some topic about that)

Can anybody give me a clue how to do that?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)