SA-MP Forums Archive
Server crashes with use of gmx - 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: Server crashes with use of gmx (/showthread.php?tid=414129)



Server crashes with use of gmx - DrDoom151 - 08.02.2013

Hey guys,

So since a while back I have the problem that, whenever I try to restart the server, it crashes the server.
I just tested the back-up from my gamemode (which was before I started working on the interior/business-system) and it works just fine then. However when I try to restart the server running my latest gamemode, it simply crashes without any errors. I've pretty much only added the "LoadAllBusinesses" and "LoadAllInteriors" functions to my OnGameModeInit and "SaveAllBusinesses" to OnGameModeExit.

It's weird, because it works properly when I just start the server. It loads all Businesses and Interiors properly, but with a restart is just crashes. I already tried removing those three functions, but it still crashes.

I've attached the serverlog and I'm hoping you can help me.


Re: Server crashes with use of gmx - DrDoom151 - 08.02.2013

Yes, they all use MySQL. It loads and saves the variables from the enums such as position and owner.


Re: Server crashes with use of gmx - DrDoom151 - 08.02.2013

Is that the case with every MySQL-plugin? If so, would you recommend a certain way to script a manual restart?


Re: Server crashes with use of gmx - DrDoom151 - 08.02.2013

bump. Would anyone recommend a certain way to create a manual restart function?