mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-21 14:48:10 -04:00
Resolved a melee desync where attacks could fail unless constantly moving through target. Movement opcode handling: - In 0x006B compatibility path, prefer compressed-move batch detection before weather alias routing. - Route 0x006B payloads shaped like SMSG_COMPRESSED_MOVES sub-packets to handleCompressedMoves(). Root/unroot state synchronization: - Added handling for SMSG_FORCE_MOVE_ROOT and SMSG_FORCE_MOVE_UNROOT. - Added handleForceMoveRootState() to apply server-authoritative ROOT flag locally. - Send CMSG_FORCE_MOVE_ROOT_ACK / CMSG_FORCE_MOVE_UNROOT_ACK with current movement payload and counter. Melee facing stability: - Added periodic facing sync during auto-attack (MSG_MOVE_SET_FACING) when angular drift to target exceeds threshold. - Keeps server front-arc/facing checks aligned while stationary meleeing. Noise reduction / stream hygiene: - Consume optional legacy/system packets safely: SMSG_FRIEND_LIST, SMSG_IGNORE_LIST, SMSG_ADDON_INFO, SMSG_EXPECTED_SPAM_RECORDS. Validation: - Rebuilt successfully with cmake --build build -j32.