SA-MP Forums Archive
When I Restart the Server, Server Crashes - 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: When I Restart the Server, Server Crashes (/showthread.php?tid=452930)



When I Restart the Server, Server Crashes - Dobroski - 23.07.2013

Hello,

Like many of roleplay scripts, my gamemode also has a /gmx command to restart the server.

But there is a problem whenever I use this command. My server crashes and close. Normally, it should restart my server but crashing. This is the photo of crashing:



It's in Turkish but I am sure you know this situation. It says, "End now"

I don't know what can I do. It is a mysql script also. Everything working fine except this situation.

Plus, If I try to close my gamemode by clicking the cross of panel, it also gives same thing.

Please help me out!



Re: When I Restart the Server, Server Crashes - Aerotactics - 23.07.2013

One thing you could do is open a new text document, and paste this bit in it:
Quote:

:main
samp-server.exe
goto main

Save it as Server.bat or whatever you want to name it, it must end in .bat then just run that instead of the server. Any time the server crashes it will automatically restart.


Re: When I Restart the Server, Server Crashes - Dobroski - 23.07.2013

Quote:
Originally Posted by Aerotactics
Посмотреть сообщение
One thing you could do is open a new text document, and paste this bit in it:


Save it as Server.bat or whatever you want to name it, it must end in .bat then just run that instead of the server. Any time the server crashes it will automatically restart.
Thanks but I don't think it solve this problem. ?


Re: When I Restart the Server, Server Crashes - Dobroski - 23.07.2013

Any helps?