PDA

View Full Version : When is OnClientDisconnect called during the map change?


dilalmon
04-08-2015, 12:42
My server has been suffering from 30 second freezes on map changes randomly and I've yet to figure out the cause for a month now.

After searching and searching for weeks, I found an old post saying "bad things happen" when you use threaded on map change.

One of my plugins run threaded queries OnClientDisconnect so I was thinking of changing it to non-threaded.
Before I do that, I need to know when the forward is called during the map change.

Is that between OnMapEnd and OnMapStart?
Also, what other forwards are called for client reconnection (OnClientPostAdminCheck, OnClientconnect, etc.) during the map change?

8guawong
04-08-2015, 13:08
why don't you unload the plugin in question and see if it still freezes first?