Skip to content

Commit 6325d3e

Browse files
committed
fixed parsing CMSG_AUTH_SESSION for 4.4.2
1 parent f5b6341 commit 6325d3e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

WowPacketParserModule.V4_4_0_54481/Parsers/SessionHandler.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ public static void HandleAuthSession(Packet packet)
2626
packet.ReadUInt32("RegionID");
2727
packet.ReadUInt32("BattlegroupID");
2828
packet.ReadUInt32("RealmID");
29-
packet.ReadBytes("LocalChallenge", 16);
29+
30+
if (ClientVersion.AddedInVersion(ClientVersionBuild.V4_4_2_59185))
31+
packet.ReadBytes("LocalChallenge", 32);
32+
else
33+
packet.ReadBytes("LocalChallenge", 16);
34+
3035
packet.ReadBytes("Digest", 24);
3136
packet.ReadBit("UseIPv6");
3237

0 commit comments

Comments
 (0)