Listserver Reconnect After Lost Connection

After the Gserver loses connection to the listserver (In my case more then likely because of a dropped internet connection ) the server will continue to run but not attempt a reconnection to the listerver.

Dunno if this is a bug or was just never accounted for.

it’s supposed to reconnect. and the listserver has been taken down a couple of times during the weekend for some tests i made.

This issue’s been happening for longer than that.

Hmm, dunno then. I’ll have more specifics if/when it happens next. Then strange part is it only happens when I’m afk for long periods.

Do you mean the disconnection or the reconnection issues? Because I know there’s something wrong with reconnect, I’ve experienced it myself. I should notify Nalin about this thread.[COLOR=“Silver”]

---------- Post added at 02:53 PM ---------- Previous post was at 02:50 PM ----------

[/COLOR]Sometimes for me, the server doesn’t even try to connect to the listserver when I first start it. So I have to shut the server down, then start it again.

Pretty sure he means the combination of the two.

I don’t know why that would happen. The listserver socket will try to send a ping every 30 seconds. If you lost connection, send should fail, which should mark the socket as disconnected. The server should then try to reconnect it. Dunno what to say really.

[php]
[Wed Nov 28 19:06:29 2012] [default] Initializing player listen socket.
[Wed Nov 28 19:06:29 2012] [default] Starting UPnP discovery thread.
[Wed Nov 28 19:06:29 2012] [default] Initializing serverlist socket.
[Wed Nov 28 19:06:29 2012] [default] :: listserver - Connected.
[Wed Nov 28 19:06:32 2012] [default] :: New login: New Client (2.22+)
[Wed Nov 28 19:06:32 2012] [default] Version: GNW03014 (2.22)
[Wed Nov 28 19:06:32 2012] [default] Account: tricxta
[Wed Nov 28 19:06:35 2012] [default] :: New login: New RC (2.22+)
[Wed Nov 28 19:06:35 2012] [default] Version: GSERV025 (2.0)
[Wed Nov 28 19:06:35 2012] [default] Account: tricxta
[Wed Nov 28 19:14:27 2012] [default] :: Client disconnected: tricxta
[Wed Nov 28 21:14:24 2012] [default] :: listserver - Connected.
[Wed Nov 28 21:26:52 2012] [default] :: RC disconnected: tricxta
[Wed Nov 28 21:27:57 2012] [default] :: listserver - Connected.
[Wed Nov 28 22:05:15 2012] [default] :: New login: New RC (2.22+)
[Wed Nov 28 22:05:15 2012] [default] Version: GSERV025 (2.0)
[Wed Nov 28 22:05:15 2012] [default] Account: tricxta
[Wed Nov 28 22:38:36 2012] [default] :: RC disconnected: tricxta
[Wed Nov 28 22:42:04 2012] [default] :: listserver - Connected.
[Wed Nov 28 22:42:04 2012] [default] :: New login: New RC (2.22+)
[Wed Nov 28 22:42:04 2012] [default] Version: GSERV025 (2.0)
[Wed Nov 28 22:42:04 2012] [default] Account: tricxta
[Wed Nov 28 22:47:16 2012] [default] :: RC disconnected: tricxta
[Wed Nov 28 23:36:30 2012] [default] :: listserver - Connected.
[Wed Nov 28 23:40:50 2012] [default] :: New login: New RC (2.22+)
[Wed Nov 28 23:40:50 2012] [default] Version: GSERV025 (2.0)
[Wed Nov 28 23:40:50 2012] [default] Account: tricxta
[Thu Nov 29 00:00:23 2012] [default] :: New login: New RC (2.22+)
[Thu Nov 29 00:00:23 2012] [default] Version: GSERV025 (2.0)
[Thu Nov 29 00:00:23 2012] [default] Account: The Mollusk
[Thu Nov 29 00:01:11 2012] [default] :: New login: New Client (2.22+)
[Thu Nov 29 00:01:11 2012] [default] Version: GNW03014 (2.22)
[Thu Nov 29 00:01:11 2012] [default] Account: The Mollusk
[Thu Nov 29 00:11:47 2012] [default] :: Client disconnected: The Mollusk
[Thu Nov 29 00:39:25 2012] [default] :: New login: New Client (2.22+)
[Thu Nov 29 00:39:25 2012] [default] Version: GNW03014 (2.22)
[Thu Nov 29 00:39:25 2012] [default] Account: tricxta
[Thu Nov 29 00:39:39 2012] [default] :: Client disconnected: tricxta
[Thu Nov 29 01:01:35 2012] [default] :: RC disconnected: The Mollusk
[Thu Nov 29 01:02:36 2012] [default] :: RC disconnected: tricxta
[Thu Nov 29 01:03:39 2012] [default] :: listserver - Connected.
[Thu Nov 29 01:05:06 2012] [default] :: New login: New Client (2.22+)
[Thu Nov 29 01:05:06 2012] [default] Version: GNW03014 (2.22)
[Thu Nov 29 01:05:06 2012] [default] Account: tricxta
[Thu Nov 29 01:05:43 2012] [default] :: New login: New RC (2.22+)
[Thu Nov 29 01:05:43 2012] [default] Version: GSERV025 (2.0)
[Thu Nov 29 01:05:43 2012] [default] Account: tricxta
[/php]

After tricxta logs in for the last time is when the server lost internet connection. Thing is, it never outputs/logs the RC or Client disconnect, and never tries to reconnect to the listserver afterwards (or at least never outputs/logs the attempts).

Marking this as resolved, but I’m gonna sticky it so it’s reminded that it’s still there.