I have been working on timestamping the packets and synchronising the server & client times. Today I was able to complete.
Client and server are now able to predict more precise according to the timestamp of the packet and current action of the player&mob.
I am currently not clear about the "prediction factor" since speed of the mobiles is not constant yet depends on friction forces, force of the player etc.. But after some internet-tests I am pretty sure we'll come up with a proper factor :)
Hiç yorum yok:
Yorum Gönder