open.mp forum
[Server] My Server Got Restarted Without Reason - Printable Version

+- open.mp forum (https://forum.open.mp)
+-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
+--- Forum: Support (https://forum.open.mp/forumdisplay.php?fid=12)
+--- Thread: [Server] My Server Got Restarted Without Reason (/showthread.php?tid=1208)



My Server Got Restarted Without Reason - Jonies - 2020-10-04

Why do I get a Server Restarting reason, but the server is not dead and I see in server_log.txt the reason is disconnected.


RE: My Server Got Restarted Without Reason - Jonies - 2020-10-04

There's my last log before i got Lost Connection



PHP Code:
[09:40:42] [Nex-AC debug] Max ping: 500, ping: 802 [09:40:42] [Nex-AC] Terdeteksi pada ID 7. Reason code: 038 [09:40:43] [DIALOG] Alec_Rodriguez[5]: ID: 1994, RESPONSE: 1, LISTITEM: 66, INPUTTEXT: 67. Arrange riots [09:40:43] [CMD] Clay_Rodriguez[3]: anim [09:40:45] [CMD] Clay_Rodriguez[3]: anim [09:40:46] [connection] 182.2.132.150:41493 requests connection cookie. [09:40:46] [connection] incoming connection: 182.2.132.150:41493 id: 8 [09:40:46] [connection] 180.214.233.81:14407 requests connection cookie. [09:40:47] [connection] 116.206.8.25:7156 requests connection cookie. [09:40:47] [connection] 125.164.237.118:50294 requests connection cookie. [09:40:47] [CMD] Alec_Rodriguez[5]: anim [09:40:47] [connection] incoming connection: 180.214.233.81:14407 id: 8 [09:40:47] [connection] 115.178.208.46:6783 requests connection cookie. [09:40:47] [connection] incoming connection: 115.178.208.46:6783 id: 8 [09:40:48] [connection] incoming connection: 116.206.8.25:7156 id: 9 [09:40:48] [connection] 125.164.237.118:50294 requests connection cookie. [09:40:48] [connection] incoming connection: 125.164.237.118:50294 id: 10 [09:40:49] [connection] 112.215.173.223:35160 requests connection cookie. [09:40:49] [connection] incoming connection: 112.215.173.223:35160 id: 8 [09:40:49] [DIALOG] Alec_Rodriguez[5]: ID: 1994, RESPONSE: 1, LISTITEM: 10, INPUTTEXT: 11. Say goodbye [09:40:51] [CMD] Alec_Rodriguez[5]: anim [09:40:53] [Nex-AC debug] Max ping: 500, ping: 802 [09:40:53] [Nex-AC] Terdeteksi pada ID 7. Reason code: 038 [09:40:54] [connection] 36.74.41.149:17990 requests connection cookie. [09:40:55] [connection] incoming connection: 36.74.41.149:17990 id: 8 [09:40:56] Weapon Saved for Carlos_Harguera [09:40:56] Panjangnya: 616 [09:40:56] [part] Carlos_Harguera has left the server (0:0) [09:40:57] [connection] incoming connection: 180.214.233.81:14408 id: 0 [09:40:57] Weapon Saved for Arthur_Leonardo [09:40:57] Panjangnya: 614 [09:40:57] [part] Arthur_Leonardo has left the server (6:0) [09:40:59] [connection] incoming connection: 180.214.233.81:14409 id: 0 [09:40:59] [connection] 125.164.237.118:22860 requests connection cookie. [09:40:59] Weapon Saved for Youkados_Martinez [09:40:59] Panjangnya: 623 [09:40:59] [part] Youkados_Martinez has left the server (2:0) [09:40:59] Weapon Saved for Clay_Rodriguez [09:40:59] Panjangnya: 623 [09:40:59] [part] Clay_Rodriguez has left the server (3:0) [09:41:00] [connection] 125.164.237.118:22860 requests connection cookie. [09:41:00] [part] Agoy_Gustavo has left the server (7:0) [09:41:02] Weapon Saved for Bryandos_Martinez [09:41:02] Panjangnya: 616 [09:41:02] [part] Bryandos_Martinez has left the server (4:0) [09:41:02] Weapon Saved for Alec_Rodriguez [09:41:02] Panjangnya: 617 [09:41:02] [part] Alec_Rodriguez has left the server (5:0) [09:41:05] [connection] incoming connection: 36.74.41.149:23159 id: 0 [09:41:06] Weapon Saved for Adriansyah_Azhari [09:41:06] Panjangnya: 603 [09:41:06] [part] Adriansyah_Azhari has left the server (1:0)



RE: My Server Got Restarted Without Reason - Worm - 2020-10-08

Is this happening the second you try to connect to the server?



If it's like this, you can try checking what happens after the weapon gets saved " Weapon Saved for Adriansyah_Azhari " as an example.


RE: My Server Got Restarted Without Reason - Logic_ - 2020-10-08

Compile your script with the -d3 tag, and run the crashdetect plugin. Remember to include this plugin as the first in the list inside the config.