diff --git a/LostArkLogger/Packets/Steam/PKTPartyStatusEffectAddNotify.cs b/LostArkLogger/Packets/Steam/PKTPartyStatusEffectAddNotify.cs index 302e5a9b..87b57bde 100644 --- a/LostArkLogger/Packets/Steam/PKTPartyStatusEffectAddNotify.cs +++ b/LostArkLogger/Packets/Steam/PKTPartyStatusEffectAddNotify.cs @@ -7,10 +7,10 @@ public partial class PKTPartyStatusEffectAddNotify public void SteamDecode(BitReader reader) { b_0 = reader.ReadByte(); - u64_0 = reader.ReadUInt64(); + PartyId = reader.ReadUInt64(); statusEffectDatas = reader.ReadList(); + u64_0 = reader.ReadUInt64(); PlayerIdOnRefresh = reader.ReadUInt64(); - PartyId = reader.ReadUInt64(); } } } diff --git a/LostArkLogger/Packets/Steam/PKTPartyStatusEffectRemoveNotify.cs b/LostArkLogger/Packets/Steam/PKTPartyStatusEffectRemoveNotify.cs index 5313e395..d41ee0de 100644 --- a/LostArkLogger/Packets/Steam/PKTPartyStatusEffectRemoveNotify.cs +++ b/LostArkLogger/Packets/Steam/PKTPartyStatusEffectRemoveNotify.cs @@ -8,8 +8,8 @@ public void SteamDecode(BitReader reader) { StatusEffectIds = reader.ReadList(); b_0 = reader.ReadByte(); - PartyId = reader.ReadUInt64(); u64_0 = reader.ReadUInt64(); + PartyId = reader.ReadUInt64(); } } } diff --git a/LostArkLogger/Packets/Steam/StatPair.cs b/LostArkLogger/Packets/Steam/StatPair.cs index 306202f9..cf7f3049 100644 --- a/LostArkLogger/Packets/Steam/StatPair.cs +++ b/LostArkLogger/Packets/Steam/StatPair.cs @@ -9,8 +9,8 @@ public void SteamDecode(BitReader reader) num = reader.ReadUInt16(); for(var i = 0; i < num; i++) { - StatType.Add(reader.ReadByte()); Value.Add(reader.ReadPackedInt()); + StatType.Add(reader.ReadByte()); } } } diff --git a/LostArkLogger/Packets/Steam/StatusEffectData.cs b/LostArkLogger/Packets/Steam/StatusEffectData.cs index 769c502c..3b50cc35 100644 --- a/LostArkLogger/Packets/Steam/StatusEffectData.cs +++ b/LostArkLogger/Packets/Steam/StatusEffectData.cs @@ -9,16 +9,16 @@ public void SteamDecode(BitReader reader) hasValue = reader.ReadByte(); if (hasValue == 1) Value = reader.ReadBytes(16); - InstanceId = reader.ReadUInt64(); + SourceId = reader.ReadUInt64(); EffectInstanceId = reader.ReadUInt32(); - b_0 = reader.ReadByte(); + SkillLevel = reader.ReadByte(); StatusEffectId = reader.ReadUInt32(); s64_0 = reader.ReadSimpleInt(); - SourceId = reader.ReadUInt64(); + InstanceId = reader.ReadUInt64(); b_1 = reader.ReadByte(); if (b_1 == 1) s64_1 = reader.ReadUInt64(); - SkillLevel = reader.ReadByte(); + b_0 = reader.ReadByte(); u32_0 = reader.ReadUInt32(); bytearraylist_0 = reader.ReadList(7); } diff --git a/LostArkLogger/Utilities/VersionCheck.cs b/LostArkLogger/Utilities/VersionCheck.cs index 8d77004e..ea53b0ec 100644 --- a/LostArkLogger/Utilities/VersionCheck.cs +++ b/LostArkLogger/Utilities/VersionCheck.cs @@ -14,7 +14,7 @@ public static class VersionCheck { [DllImport("kernel32")] public static extern bool QueryFullProcessImageName([In] IntPtr hProcess, [In] int dwFlags, [Out] StringBuilder lpExeName, ref int lpdwSize); - public static Version SupportedSteamVersion = new Version("1.38.63.1883515"); + public static Version SupportedSteamVersion = new Version("1.40.68.1930104"); public static Version SupportedKoreaVersion = new Version("1.253.481.1841119"); public static (Region, Version) GetLostArkVersion() {