diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index edbe8229..058f5287 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -4104,7 +4104,8 @@ void GameHandler::handlePacket(network::Packet& packet) { ++wardenPacketsAfterGate_; } if (preLogicalOp && isAuthCharPipelineOpcode(*preLogicalOp)) { - LOG_DEBUG("AUTH/CHAR RX opcode=0x", std::hex, opcode, std::dec, + LOG_WARNING("AUTH/CHAR RX opcode=0x", std::hex, opcode, std::dec, + " logical=", static_cast(*preLogicalOp), " state=", worldStateName(state), " size=", packet.getSize()); } @@ -4385,7 +4386,7 @@ void GameHandler::sendAuthSession() { } void GameHandler::handleAuthResponse(network::Packet& packet) { - LOG_INFO("Handling SMSG_AUTH_RESPONSE"); + LOG_WARNING("Handling SMSG_AUTH_RESPONSE, size=", packet.getSize()); AuthResponseData response; if (!AuthResponseParser::parse(packet, response)) { diff --git a/src/game/warden_handler.cpp b/src/game/warden_handler.cpp index 3512a2f3..dea30bf6 100644 --- a/src/game/warden_handler.cpp +++ b/src/game/warden_handler.cpp @@ -380,7 +380,7 @@ void WardenHandler::handleWardenData(network::Packet& packet) { std::vector resp = { 0x00 }; // WARDEN_CMSG_MODULE_MISSING sendWardenResponse(resp); wardenState_ = WardenState::WAIT_MODULE_CACHE; - LOG_DEBUG("Warden: Sent MODULE_MISSING, waiting for module data chunks"); + LOG_WARNING("Warden: Sent MODULE_MISSING for module size=", wardenModuleSize_, ", waiting for data chunks"); break; } @@ -404,7 +404,7 @@ void WardenHandler::handleWardenData(network::Packet& packet) { decrypted.begin() + 3, decrypted.begin() + 3 + chunkSize); - LOG_DEBUG("Warden: MODULE_CACHE chunk ", chunkSize, " bytes, total ", + LOG_WARNING("Warden: MODULE_CACHE chunk ", chunkSize, " bytes, total ", wardenModuleData_.size(), "/", wardenModuleSize_); // Check if module download is complete diff --git a/src/network/world_socket.cpp b/src/network/world_socket.cpp index 6ad5a008..08d69b61 100644 --- a/src/network/world_socket.cpp +++ b/src/network/world_socket.cpp @@ -15,10 +15,10 @@ namespace { constexpr size_t kMaxReceiveBufferBytes = 8 * 1024 * 1024; -constexpr int kDefaultMaxParsedPacketsPerUpdate = 16; +constexpr int kDefaultMaxParsedPacketsPerUpdate = 64; constexpr int kAbsoluteMaxParsedPacketsPerUpdate = 220; constexpr int kMinParsedPacketsPerUpdate = 8; -constexpr int kDefaultMaxPacketCallbacksPerUpdate = 6; +constexpr int kDefaultMaxPacketCallbacksPerUpdate = 48; constexpr int kAbsoluteMaxPacketCallbacksPerUpdate = 64; constexpr int kMinPacketCallbacksPerUpdate = 1; constexpr int kMaxRecvCallsPerUpdate = 64;