SA-MP Forums Archive
Player desync - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Player desync (/showthread.php?tid=560083)



Player desync - KubiPL - 26.01.2015

My friend teleported to me when I was on pause menu. I noticed that he had desynced position for me, but he could sending commands, saying etc. Sync had came after I did 2 times spectate command on him.

Some ss:
me:

him:



Re: Player desync - Abagail - 26.01.2015

Have you tried replicating the issue on versions such as 0.3z? I don't believe anything sync related was modified(correct me if I'm wrong) within this RC.


Re: Player desync - BloodMaster - 26.01.2015

Do you maybe have "return 0;" somewhere in your OnPlayerUpdate callback?
It can also be like "return false;" or "return (false);" or it can use some other definition that is zero.


Re: Player desync - KubiPL - 27.01.2015

I don't have. It's rare.. This isn't happend every time, maybe only when player was synced per client, then client entered pause menu then that player teleported somewhere and came back again, I don't really know.


Re: Player desync - SimonItaly - 27.01.2015

This happens sometimes when I use too much upload bandwidth while I'm playing SA:MP.
I can still send messages to the server, but the client is somehow desynced and I need to reconnect.