AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SQL] Multiple SQL Plugins crash Server at mapchange. (https://forums.alliedmods.net/showthread.php?t=228766)

Kia 10-26-2013 14:43

[SQL] Multiple SQL Plugins crash Server at mapchange.
 
Hello everyone,

I'm currently running 5-6 plugins using SQL and connecting to the same server, the problem is that after the first mapchange after the server started the Server is crashing (HLDS.exe is no longer responding).
When I remove two plugins, it works.
The Crash Screen from Windows tells me that the SQL module is evolved in the crashes.
So, my question is, is there a limit of sql connections at the same time or what else could cause the crash?

^SmileY 10-26-2013 23:36

Re: [SQL] Multiple SQL Plugins crash Server at mapchange.
 
I Think it is the method used in connections. Or all maybe some 2~3 plugins still used save / load on some events.

Kia 10-27-2013 02:12

AW: Re: [SQL] Multiple SQL Plugins crash Server at mapchange.
 
Quote:

Originally Posted by ^SmileY (Post 2053347)
I Think it is the method used in connections. Or all maybe some 2~3 plugins still used save / load on some events.

All plugins are only getting data when a player connects, but the server crashes even if nobody is connected at mapchange.

^SmileY 10-27-2013 04:15

Re: [SQL] Multiple SQL Plugins crash Server at mapchange.
 
Any plugin have the plugin_end() function? Closing SQL Connection??

Kia 10-27-2013 04:28

Re: [SQL] Multiple SQL Plugins crash Server at mapchange.
 
All of them have this :

PHP Code:

public plugin_end()
{
    if(
g_SqlConnection != Empty_Handle)
    {
        
SQL_FreeHandle(g_SqlConnection//free connection handle here
    
}




All times are GMT -4. The time now is 23:15.

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