From 20e0d0ee53d9baf55975eb416bbf6b7c23ac11ed Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 5 Jul 2024 15:56:07 +0200 Subject: [PATCH] Client: add note for reconnect logic Potential engine bug that needs to be fixed to allow reconnecting to listen server without killing it. --- src/engine/client/clientstate.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/client/clientstate.cpp b/src/engine/client/clientstate.cpp index 08cdf08a..777c6b10 100644 --- a/src/engine/client/clientstate.cpp +++ b/src/engine/client/clientstate.cpp @@ -475,6 +475,10 @@ void CClientState::Reconnect() const netadr_t& remoteAdr = m_NetChannel->GetRemoteAddress(); + // NOTE: technically the engine supports running "connect localhost" to + // reconnect to the listen server without killing it, however when running + // this, an engine error occurs "Couldn't create a world static vertex buffer\n" + // Needs investigation. if (remoteAdr.IsLoopback() || NET_IsRemoteLocal(remoteAdr)) { Warning(eDLL_T::CLIENT, "Reconnecting to a listen server isn't supported, use \"reload\" instead.\n");