mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Fix inspect spam and emote text lookup for other players
Two bugs fixed: 1. SMSG_INSPECT_RESULTS (0x115) was falling through to the inspect handler, but this opcode is not the real inspect response. Removed the case so only SMSG_INSPECT_TALENT (0x3F4) triggers the handler. 2. EmotesText DBC layout was missing "ID" field in all 4 expansion JSON files, causing operator[] to return 0xFFFFFFFF instead of 0. This broke the dbcId reverse lookup, so other players' emotes always fell back to generic "performs an emote" text. Added ID and OthersTargetTextID/OthersNoTargetTextID to all layouts.
This commit is contained in:
parent
9c61d7ecad
commit
58d8b88721
6 changed files with 13 additions and 10 deletions
|
|
@ -801,7 +801,6 @@ void GameHandler::handlePacket(network::Packet& packet) {
|
|||
handleItemQueryResponse(packet);
|
||||
break;
|
||||
|
||||
case Opcode::SMSG_INSPECT_RESULTS:
|
||||
case Opcode::SMSG_INSPECT_TALENT:
|
||||
handleInspectResults(packet);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue