Weird MySQL on GMX bug. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Weird MySQL on GMX bug. (
/showthread.php?tid=445844)
Weird MySQL on GMX bug. -
Boooth - 23.06.2013
I have been having this issue for a while now, although it is not much of an issue, I can be quite irritating having to load putty up just because it has crashed it.
This bug only occurs every once in a while and I can't for the life of me figure it out.
So I have a Custom GMX command, upon use the server will restart fine but on the gamemode reloading sometimes this occurs:
When this should be occuring:
I have ran MySQL debugs and have found this occuring around the point of the restart.
IF you have any ideas, I would love to hear them.
Re: Weird MySQL on GMX bug. -
Macluawn - 23.06.2013
You took screenshot of a picture?
And make sure you are actually connecting to a database.
Re: Weird MySQL on GMX bug. -
Boooth - 23.06.2013
I saw something about mysql_close being called in the custom gmx command rather than OnGameModeExit.
It is called when the GMX is initiated but this bug occurs at random, I can go through 30 GMXs in a day then this happens.
Re: Weird MySQL on GMX bug. -
Boooth - 23.06.2013
Sorry for the slow reply,
I do use threaded queries and I am using the r21 MySQL Plugin for Linux.
I'm just confused on why this would occur only every now and again.
Re: Weird MySQL on GMX bug. -
Boooth - 23.06.2013
Hmm... Any proposed fixes?
I would need to make sure all queries have been passed before the RCON command is called, right?
EDIT: I use BlueG's Plugin