Server Crashing - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server Crashing (
/showthread.php?tid=518047)
Server Crashing -
Naresh - 08.06.2014
Guys my server keeps crashing i dont know y
My Friend told its the warnings u get also crash
i have alot of warning of the Loose Intention
Plz help is this due to the extra space or wat ?
Ty
Re: Server Crashing -
Brezon - 08.06.2014
It could be caused by warnings or if you have some outdated plugins/include files
Re: Server Crashing -
Laure - 08.06.2014
What warnings do you get.
Re: Server Crashing -
Naresh - 08.06.2014
Loose Intention...
It is alot while compiling and while running the server it crashs and re-boots /starts and same takes like a loop action
Re: Server Crashing -
Konstantinos - 08.06.2014
Warnings about loosing indentation wouldn't cause the crash though you need to learn to indent your code properly so it can be easily readable in parts with a lot of code.
Anyways, about the crash you should load crashdetect plugin:
https://sampforum.blast.hk/showthread.php?tid=262796
Compile with debug info:
https://github.com/Zeex/samp-plugin-...ith-debug-info
After another server crash, post the server log.
Re: Server Crashing -
Naresh - 08.06.2014
Well ty for telling the info + CrashDetect plugin - Reports the crash or wat ? like bloocks it ?
Re: Server Crashing -
Konstantinos - 08.06.2014
It prints information with [debug] prefix about server crashes, run time errors etc. It doesn't block it, but it informs you what caused it so you can be able to fix it.
Re: Server Crashing -
Naresh - 08.06.2014
i found it my server crashs when some one Leaves... wat is this LOL !
Re: Server Crashing -
PrivatioBoni - 08.06.2014
Quote:
Originally Posted by Naresh
i found it my server crashs when some one Leaves... wat is this LOL !
|
Do what Konst said, also show your OnPlayerDisconnect.
Re: Server Crashing -
Camataru7 - 09.06.2014
Quote:
Originally Posted by Naresh
i found it my server crashs when some one Leaves... wat is this LOL !
|
Here in this: public OnPlayerDisconnect you have something work wrong.Show me your OnPlayerDisconnect