From a007aa85d0674040e9bdcc67c66653f98293fa3b Mon Sep 17 00:00:00 2001 From: DrSocalkwe3n Date: Tue, 18 Feb 2025 16:54:39 +0600 Subject: [PATCH] =?UTF-8?q?=D0=9D=D1=83=D0=B6=D0=BD=D0=BE=20=D0=B8=D0=B7?= =?UTF-8?q?=D0=B1=D0=B0=D0=B2=D0=B8=D1=82=D1=81=D1=8F=20=D0=BE=D1=82=20std?= =?UTF-8?q?::atomic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Client/ServerSession.cpp | 2 -- Src/Server/RemoteClient.cpp | 3 --- Src/TOSLib.hpp | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Src/Client/ServerSession.cpp b/Src/Client/ServerSession.cpp index ac00f28..94ac37d 100644 --- a/Src/Client/ServerSession.cpp +++ b/Src/Client/ServerSession.cpp @@ -527,8 +527,6 @@ coro<> ServerSession::rP_Content(Net::AsyncSocket &sock) { while(!NetInputPackets.push(packet)); - LOG.info() << "Приняты воксели чанка " << int(wcId) << " / " << pos.X << ":" << pos.Y << ":" << pos.Z << " Вокселей " << debugCubesCount; - co_return; } diff --git a/Src/Server/RemoteClient.cpp b/Src/Server/RemoteClient.cpp index a4e4b8d..59f82c5 100644 --- a/Src/Server/RemoteClient.cpp +++ b/Src/Server/RemoteClient.cpp @@ -122,8 +122,6 @@ void RemoteClient::prepareChunkUpdate_Voxels(WorldId_t worldId, Pos::GlobalChunk prevSet = std::move(nextSet); } - LOG.debug() << "Воксели чанка: " << worldId << " / " << chunkPos.X << ":" << chunkPos.Y << ":" << chunkPos.Z; - checkPacketBorder(voxels.size()*(2+6)+16); NextPacket << (uint8_t) ToClient::L1::Content @@ -165,7 +163,6 @@ void RemoteClient::prepareChunkRemove(WorldId_t worldId, Pos::GlobalChunk chunkP } } - LOG.debug() << "Чанк потерян: " << worldId << " / " << chunkPos.X << ":" << chunkPos.Y << ":" << chunkPos.Z; WorldId_c cwId = worldId ? ResRemap.Worlds.toClient(worldId) : worldId; checkPacketBorder(16); diff --git a/Src/TOSLib.hpp b/Src/TOSLib.hpp index 0fa7e9d..f2416aa 100644 --- a/Src/TOSLib.hpp +++ b/Src/TOSLib.hpp @@ -588,4 +588,4 @@ public: } -#define MAKE_ERROR(arg) throw std::runtime_error(static_cast(std::ostringstream() << arg).str()) +#define MAKE_ERROR(arg) throw std::runtime_error((std::ostringstream() << arg).str())