From bc1c17fde94aba9260b4ce216026fa3ceec6c7c5 Mon Sep 17 00:00:00 2001 From: fagoatse Date: Wed, 20 Jun 2018 23:15:50 +0200 Subject: [PATCH] Core/PacketIO: Fixed SMSG_AUTH_RESPONSE structure after recent hotfix (#21) just syncing with TC --- Source/Game/Network/Packets/AuthenticationPackets.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Game/Network/Packets/AuthenticationPackets.cs b/Source/Game/Network/Packets/AuthenticationPackets.cs index a08d9f4e8..45604018c 100644 --- a/Source/Game/Network/Packets/AuthenticationPackets.cs +++ b/Source/Game/Network/Packets/AuthenticationPackets.cs @@ -150,6 +150,7 @@ namespace Game.Network.Packets { _worldPacket.WriteUInt32(SuccessInfo.Value.Billing.BillingPlan); _worldPacket.WriteUInt32(SuccessInfo.Value.Billing.TimeRemain); + _worldPacket.WriteUInt32(SuccessInfo.Value.Billing.Unknown735); // 3x same bit is not a mistake - preserves legacy client behavior of BillingPlanFlags::SESSION_IGR _worldPacket.WriteBit(SuccessInfo.Value.Billing.InGameRoom); // inGameRoom check in function checking which lua event to fire when remaining time is near end - BILLING_NAG_DIALOG vs IGR_BILLING_NAG_DIALOG _worldPacket.WriteBit(SuccessInfo.Value.Billing.InGameRoom); // inGameRoom lua return from Script_GetBillingPlan @@ -220,6 +221,7 @@ namespace Game.Network.Packets { public uint BillingPlan; public uint TimeRemain; + public uint Unknown735; public bool InGameRoom; } } @@ -431,4 +433,4 @@ namespace Game.Network.Packets public uint RealmAddress; // the virtual address of this realm, constructed as RealmHandle::Region << 24 | RealmHandle::Battlegroup << 16 | RealmHandle::Index public VirtualRealmNameInfo RealmNameInfo; } -} \ No newline at end of file +}