OnPlayerUpdate Randomly Stop Working
#7

Quote:
Originally Posted by ******
Посмотреть сообщение
If you have narrowed the problem down the OnPlayerUpdate you need to add print statements through the callback to see what is and isn't being run. It sounds like something is crashing (often an array-out-of-bounds problem, try the crash plugin), causing the callback to end prematurely and return the default value of 0. OnPlayerUpdate returning 0 tells the server to not sync that packet to other players (i.e. desyncs).
Thats what I thought but I actually commented out all the data inside and it appears to not be OnPlayerUpdate anymore. I'll give the crash plugins / profiler plugins a try to see if I can narrow down the issue but I commented out my speedometer and have yet to experience a desync yet but I am still testing it. If it is the speedometer I'll probably post the code here for further assistance.

It doesn't actually crash though.. The client just.. looses connection in different ways. Either objects stop loading.. text appears to "lag" (however other players see ir normally) they stop moving around on other players screen and become unfreezeable soemtimes they sync back partially but never fully (the clock freezing up is one sign.. If your desynced your time is always off - I use a custom clock I should note)
Reply


Messages In This Thread
Desync Issue - I've looked everywhere and would appreciate help - by MisterTickle - 15.07.2011, 02:40
Re: OnPlayerUpdate Randomly Stop Working - by Calgon - 15.07.2011, 02:52
Re: OnPlayerUpdate Randomly Stop Working - by DRIFT_HUNTER - 15.07.2011, 03:06
Re: OnPlayerUpdate Randomly Stop Working - by MisterTickle - 29.09.2011, 12:40
Re: OnPlayerUpdate Randomly Stop Working - by [L3th4l] - 29.09.2011, 13:49
Re: OnPlayerUpdate Randomly Stop Working - by MisterTickle - 29.09.2011, 14:05
Re: OnPlayerUpdate Randomly Stop Working - by MisterTickle - 29.09.2011, 14:17
Re: OnPlayerUpdate Randomly Stop Working - by MisterTickle - 29.09.2011, 14:27
Re: OnPlayerUpdate Randomly Stop Working - by MisterTickle - 07.10.2011, 05:29

Forum Jump:


Users browsing this thread: 1 Guest(s)