From 1b1e5e86d12e0026b212c2645c6d2f278fc18d6c Mon Sep 17 00:00:00 2001 From: David Cernat Date: Tue, 1 May 2018 18:19:52 +0300 Subject: [PATCH] [Client] Avoid sending CellStates to server after initialization Although b4e8560698fbe9ef30e1c5e004bf7f928e85c6a8 made players instantly able to see each other on minimalist servers that did not change their cells from the default, it created problems with the default CoreScripts where players need to be logged in before receipt of a CellStates packet from them is taken into account, with the result being that a player was recorded as having loaded their initial cells on the server's C++ side but not on the Lua side. It may simply be best to expect servers to set player cells. --- apps/openmw/mwmp/Main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/openmw/mwmp/Main.cpp b/apps/openmw/mwmp/Main.cpp index c62d297e0..42ff33970 100644 --- a/apps/openmw/mwmp/Main.cpp +++ b/apps/openmw/mwmp/Main.cpp @@ -227,7 +227,6 @@ void Main::updateWorld(float dt) const mNetworking->getPlayerPacket(ID_PLAYER_BASEINFO)->Send(); mNetworking->getPlayerPacket(ID_LOADED)->Send(); mLocalPlayer->updateStatsDynamic(true); - mLocalPlayer->sendCellStates(); get().getGUIController()->setChatVisible(true); } else