Kelsidavis-WoWee/include
Kelsi cb044e3985 Combat fix: restore reliable melee hits via movement/state sync
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.
2026-02-20 03:14:48 -08:00
..
audio Add combat sounds, melee ability animations, and player vocalizations 2026-02-19 21:31:37 -08:00
auth Vanilla/Turtle WoW support: M2 loading, bone parsing, textures, auth 2026-02-13 16:53:28 -08:00
core Opcode tables: sync Classic/WotLK to canonical headers and expand logical mapping coverage 2026-02-20 02:50:59 -08:00
game Combat fix: restore reliable melee hits via movement/state sync 2026-02-20 03:14:48 -08:00
network Fix two more Windows/MinGW compile errors 2026-02-18 17:59:11 -08:00
pipeline Prefer canonical case-resolved files for Warden MPQ hash checks 2026-02-20 01:49:43 -08:00
platform Fix three Windows-specific compile errors 2026-02-18 17:52:28 -08:00
rendering Fix combat vocalizations with correct MPQ paths, add combat idle stance 2026-02-19 21:50:32 -08:00
ui Add bag bar drag-to-reorder, fix three wrong WotLK opcodes 2026-02-19 22:34:22 -08:00