MySQL
How can I close the connection when map change?
|
Re: MySQL
http://www.amxmodx.org/funcwiki.php?go=func&id=1097
or if youre using dbi http://www.amxmodx.org/funcwiki.php?go=func&id=414 use them in public plugin_end () |
Re: MySQL
Ok, thanks! But its possible pause the plugin when map change and unpause after?
|
Re: MySQL
Show your code. You could have some connections slowing it down.
|
Re: MySQL
The plugin is the advanced bans sql
This problem start occurring when I change my website to other country, with slow connection How can I solve this problem? |
Re: MySQL
It's probably hanging until it connects to that server.
|
Re: MySQL
But have soluction to solve this? Or pause the plugin when map change
|
Re: MySQL
Does really ( Handle: g_hSQLTuple = SQL_MakeDbTuple( ... ) ) should be freed on plugin_end?
I don't know if is really needed. I want to avoid server crashes while changing level. What do you think about? Does it better to free it? |
Re: MySQL
Code:
Quote:
|
Re: MySQL
I tried put the timeout in 5, but the server crash when change map, is not all times, but some times the server crash
|
| All times are GMT -4. The time now is 06:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.