mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
Fix guild roster, /who, /inspect, and character preview bugs
Guild O tab: fallback to character guildId when guildName_ not yet queried, re-query guild info on roster open. /who: add missing stringCount field and fix maxLevel default (0→100). /inspect: add SMSG_INSPECT_TALENT opcode (0x3F4) and rewrite parser for WotLK PackedGUID+talent format. Character preview: reset all tracking variables in setAssetManager() to force model reload on login.
This commit is contained in:
parent
be425c94dc
commit
a90c130d6e
12 changed files with 108 additions and 65 deletions
|
|
@ -1431,7 +1431,10 @@ network::Packet WhoPacket::build(uint32_t minLevel, uint32_t maxLevel,
|
|||
packet.writeString(guildName);
|
||||
packet.writeUInt32(raceMask);
|
||||
packet.writeUInt32(classMask);
|
||||
packet.writeUInt32(zones); // Number of zones
|
||||
packet.writeUInt32(zones); // Number of zone IDs (0 = no zone filter)
|
||||
// Zone ID array would go here if zones > 0
|
||||
packet.writeUInt32(0); // stringCount (number of search strings)
|
||||
// String array would go here if stringCount > 0
|
||||
LOG_DEBUG("Built CMSG_WHO: player=", playerName);
|
||||
return packet;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue