07.06.2009, 14:20
Quote:
Originally Posted by cyber_punk
Chances are you have some code executing OnPlayerUpdate causing your server to lag (extremely) or you have to many timers going off at the same time, you also mention that you are adding objects, what streamer do you use as they are all not the same and some perform WAY BETTER than others.
[EDIT] Didn't you post this a while back saying you were using an edited Godfather script? or am I thinking of someone else? If that was you I posted the likely solution to your problem, change the OnPlayerUpdate on the Godfather to something like OnPlayerStatsUpdate. If that wasn't you please provide more info, as the reason this is happening is your script is creating a HUGE lag spike causing the players to never get in sync.... [EDIT2] P.s I know this from experience as some code I gotten of the forums here used OnPlayerUpdate to execute, when I had the same effect you describe, I took the code out and all was back to normal. |
I writed anothe thread where i mentioned that i didnt actually understand how to do it or how it works. (The OnPlayerStatsUpdate oe w/e)
I really dont think its because of streamer, because i didnt use any before i was the bug first time. (Im using Double O Stream) About that timer, you might be right. How i could check all my timers? Should i show you my timers?
Thank you for reply.
EDIT: About that OnPLayerUpdate. So i just change the NAME forward OnPlayer Update and OnPlayerUpdate to OnPlayerStatsUpdate and forward OnPlayerStatsUpdate ? How or Why its should help?