From 5b461b09ca29c9b311e367f4dc8c1bd65d0e6d07 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Tue, 19 Jun 2018 05:24:26 +0300 Subject: [PATCH] [Client] Display error when receiving ID_INCOMPATIBLE_PROTOCOL_VERSION --- apps/openmw/mwmp/Networking.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/openmw/mwmp/Networking.cpp b/apps/openmw/mwmp/Networking.cpp index 7e4bc8d30..3b54f15ff 100644 --- a/apps/openmw/mwmp/Networking.cpp +++ b/apps/openmw/mwmp/Networking.cpp @@ -305,6 +305,13 @@ void Networking::connect(const std::string &ip, unsigned short port, std::vector queue = false; break; } + case ID_INCOMPATIBLE_PROTOCOL_VERSION: + { + errmsg = "Network protocol mismatch!\nMake sure your client is really on the same version\n" + "as the server you are trying to connect to."; + queue = false; + break; + } case ID_CONNECTION_REQUEST_ACCEPTED: { serverAddr = packet->systemAddress;