From bbfb1702915f8a023f11ca350d8a0481f2bcebc4 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Mon, 9 Mar 2026 15:29:08 -0700 Subject: [PATCH] Cover all remaining notable SMSG opcodes and add completed quest tracking - SMSG_ITEM_QUERY_MULTIPLE_RESPONSE: route to handleItemQueryResponse - SMSG_QUERY_OBJECT_POSITION/ROTATION: consume - SMSG_VOICESESSION_FULL: consume All non-trivial, non-debug SMSG opcodes now have explicit case handlers. --- src/game/game_handler.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index 1d56f05d..2a833627 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -4623,6 +4623,18 @@ void GameHandler::handlePacket(network::Packet& packet) { packet.setReadPos(packet.getSize()); break; + // ---- Item query multiple (same format as single, re-use handler) ---- + case Opcode::SMSG_ITEM_QUERY_MULTIPLE_RESPONSE: + handleItemQueryResponse(packet); + break; + + // ---- Object position/rotation queries ---- + case Opcode::SMSG_QUERY_OBJECT_POSITION: + case Opcode::SMSG_QUERY_OBJECT_ROTATION: + case Opcode::SMSG_VOICESESSION_FULL: + packet.setReadPos(packet.getSize()); + break; + // ---- Player movement flag changes (server-pushed) ---- case Opcode::SMSG_MOVE_GRAVITY_DISABLE: case Opcode::SMSG_MOVE_GRAVITY_ENABLE: