open.mp forum
[Pawn] Got Restarting Reason But Server not Down - Printable Version

+- open.mp forum (https://forum.open.mp)
+-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
+--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
+--- Thread: [Pawn] Got Restarting Reason But Server not Down (/showthread.php?tid=1207)



Got Restarting Reason But Server not Down - 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: Got Restarting Reason But Server not Down - BoNNe - 2020-10-04

Can you post the last 1-2 minutes from server_log.txt here? or last 10-20 rows


RE: Got Restarting Reason But Server not Down - Jonies - 2020-10-04

There

1:0 = ID 1 got Disconnect
1:1 = ID 1 Exit (/q)
1:2 = ID 1 Got Kicked or Banned
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: Got Restarting Reason But Server not Down - Kwarde - 2020-10-04

It says in-game the server is restarting? That'd be something in your script. And if it happens when someone disconnects, that'd be under OnPlayerDisconnect()


RE: Got Restarting Reason But Server not Down - Jonies - 2020-10-04

It's not like that, so when there is 1 person who disconnects, then everything will disconnect with the same reason as Lost Connection


RE: Got Restarting Reason But Server not Down - Jonies - 2020-10-04

Move To https://www.burgershot.gg/showthread.php?tid=1208