Raised This Month: $ Target: $400
 0% 

Server hangs on mapchange :(


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Gizmo
Senior Member
Join Date: May 2006
Location: Sweden
Old 06-02-2006 , 08:28  
Reply With Quote #2

I found the problem.
As you can see i have a regular query at plugin_end for saving ppl at mapchange and another threaded query at client_disconnect.

The problem was that at plugin_end also client_disconnect is run so the query at plugin_end is unnecessary but even when i toke away the query at plugin_end the server still hangs at mapchange.
That was because if you run a threaded query on client_disconnect that is also run at plugin_end and that makes the server hang, probably because
the threaded query takes some time to finish and at plugin_end there is not time for that.

Im no expert at this but when i toke away the query at plugin_end and made the client_disconnect a regular query it works fine and saves the players excactly as i want it to.
__________________
Gizmo is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode