Skip to content

Commit

Permalink
update Lost Ark version
Browse files Browse the repository at this point in the history
couple struct fixes
  • Loading branch information
9451589 committed Nov 20, 2022
1 parent 5296757 commit 4da88b8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions LostArkLogger/Packets/Steam/PKTPartyStatusEffectAddNotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<StatusEffectData>();
u64_0 = reader.ReadUInt64();
PlayerIdOnRefresh = reader.ReadUInt64();
PartyId = reader.ReadUInt64();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ public void SteamDecode(BitReader reader)
{
StatusEffectIds = reader.ReadList<UInt32>();
b_0 = reader.ReadByte();
PartyId = reader.ReadUInt64();
u64_0 = reader.ReadUInt64();
PartyId = reader.ReadUInt64();
}
}
}
2 changes: 1 addition & 1 deletion LostArkLogger/Packets/Steam/StatPair.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions LostArkLogger/Packets/Steam/StatusEffectData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Byte[]>(7);
}
Expand Down
2 changes: 1 addition & 1 deletion LostArkLogger/Utilities/VersionCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 4da88b8

Please sign in to comment.