From 417a1a7485d7e724676f4f0681b56cddaf6aa312 Mon Sep 17 00:00:00 2001 From: Xiphoseer Date: Mon, 7 Feb 2022 10:19:16 +0100 Subject: [PATCH] Improve logging Log when a WorldServer initiates shutdown because the master server connection went missing or wasn't established in the first place. --- dWorldServer/WorldServer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dWorldServer/WorldServer.cpp b/dWorldServer/WorldServer.cpp index 48d3e33a..bc7e1418 100644 --- a/dWorldServer/WorldServer.cpp +++ b/dWorldServer/WorldServer.cpp @@ -314,6 +314,7 @@ int main(int argc, char** argv) { framesSinceMasterDisconnect++; if (framesSinceMasterDisconnect >= 30) { + Game::logger->Log("WorldServer", "Game loop running but no connection to master for 30 frames, shutting down"); worldShutdownSequenceStarted = true; } }