From f15b716ea79d0ce8f36b648d1576fa2efa2d3cd3 Mon Sep 17 00:00:00 2001 From: Jett <55758076+Jettford@users.noreply.github.com> Date: Fri, 31 Dec 2021 02:52:35 +0000 Subject: [PATCH 1/2] Implement master server fix --- dNet/dServer.cpp | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/dNet/dServer.cpp b/dNet/dServer.cpp index 2a9a612e..9b01ed8c 100644 --- a/dNet/dServer.cpp +++ b/dNet/dServer.cpp @@ -126,28 +126,9 @@ Packet* dServer::ReceiveFromMaster() { } //When we handle these packets in World instead dServer, we just return the packet's pointer. - case MSG_MASTER_REQUEST_PERSISTENT_ID_RESPONSE: { - return packet; - break; - } - - case MSG_MASTER_SESSION_KEY_RESPONSE: { - return packet; - break; - } - - case MSG_MASTER_SHUTDOWN : { - return packet; - break; - } - - case MSG_MASTER_AFFIRM_TRANSFER_REQUEST: { - return packet; - break; - } - default: mLogger->Log("Server", "Unknown packet ID from master: %i\n", packet->data[3]); + return packet; } } } From 2d5d5b273a0e204e0b4fb0fbbda6e6dce58d76a5 Mon Sep 17 00:00:00 2001 From: Jett <55758076+Jettford@users.noreply.github.com> Date: Fri, 31 Dec 2021 15:07:20 +0000 Subject: [PATCH 2/2] remove unneeded log --- dNet/dServer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/dNet/dServer.cpp b/dNet/dServer.cpp index 9b01ed8c..df366955 100644 --- a/dNet/dServer.cpp +++ b/dNet/dServer.cpp @@ -127,7 +127,6 @@ Packet* dServer::ReceiveFromMaster() { //When we handle these packets in World instead dServer, we just return the packet's pointer. default: - mLogger->Log("Server", "Unknown packet ID from master: %i\n", packet->data[3]); return packet; } }