mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-03 08:03:50 +00:00
tbc: fix gossip message quest parsing for TBC 2.4.3
SMSG_GOSSIP_MESSAGE quest entries in TBC 2.4.3 do not include questFlags(u32) or isRepeatable(u8) that WotLK 3.3.5a added. The WotLK default parser reads these 5 bytes, causing all quest titles in gossip dialogs to be shifted/corrupted on TBC servers. Add TbcPacketParsers::parseGossipMessage() which parses quest entries without those fields, fixing NPC quest list display.
This commit is contained in:
parent
38333df260
commit
8561d5c58c
2 changed files with 49 additions and 0 deletions
|
|
@ -293,6 +293,8 @@ public:
|
|||
network::Packet buildUseItem(uint8_t bagIndex, uint8_t slotIndex, uint64_t itemGuid, uint32_t spellId = 0) override;
|
||||
// TBC 2.4.3 SMSG_MONSTER_MOVE has no unk byte after packed GUID (WotLK added it)
|
||||
bool parseMonsterMove(network::Packet& packet, MonsterMoveData& data) override;
|
||||
// TBC 2.4.3 SMSG_GOSSIP_MESSAGE quests lack questFlags(u32)+isRepeatable(u8) (WotLK added them)
|
||||
bool parseGossipMessage(network::Packet& packet, GossipMessageData& data) override;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue