SA-MP Forums Archive
Server lags but doesnt crash correctly - 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 lags but doesnt crash correctly (/showthread.php?tid=628175)



Server lags but doesnt crash correctly - czop1223 - 06.02.2017

hello, i have encountered a weird problem

whenever my server should crash (runtime error y' know, like array out of bounds error shown by crashdetect), my server, instead of just crashing out, takes a freeze when i cant do anything and all new connects are declined with error:

Kicking ip.ip.ip.ip because they didn't logon to the game.

Weird nuff, the server is still shown as online with players, even if they disconnect they are shown as online


Re: Server lags but doesnt crash correctly - X337 - 07.02.2017

There must be an infinite loop inside your gamemode.


Re: Server lags but doesnt crash correctly - JesterlJoker - 07.02.2017

Quote:
Originally Posted by X337
Посмотреть сообщение
There must be an infinite loop inside your gamemode.
This guy is saying something and maybe your using a limited ram host or something is using up your ram to 100% which would not let players connect. Search for a loop that doesn't stop or mistakenly made.. Check the mysql logs and use -d3 to know where the problem.