mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Fix gossip message parsing for Vanilla/Turtle (flight master hang)
Classic gossip packets lack the menuId field and quest items don't have questFlags/isRepeatable, causing the WotLK parser to read garbage counts (541M quests) and hang. Added ClassicPacketParsers::parseGossipMessage override with the correct vanilla format.
This commit is contained in:
parent
a96dc4ebcc
commit
cbb3035313
3 changed files with 60 additions and 1 deletions
|
|
@ -7655,7 +7655,9 @@ void GameHandler::handleLootRemoved(network::Packet& packet) {
|
|||
}
|
||||
|
||||
void GameHandler::handleGossipMessage(network::Packet& packet) {
|
||||
if (!GossipMessageParser::parse(packet, currentGossip)) return;
|
||||
bool ok = packetParsers_ ? packetParsers_->parseGossipMessage(packet, currentGossip)
|
||||
: GossipMessageParser::parse(packet, currentGossip);
|
||||
if (!ok) return;
|
||||
if (questDetailsOpen) return; // Don't reopen gossip while viewing quest
|
||||
gossipWindowOpen = true;
|
||||
vendorWindowOpen = false; // Close vendor if gossip opens
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue