diff --git a/LostArkLogger/Packets/Base/PKTStatChangeOriginNotify.cs b/LostArkLogger/Packets/Base/PKTStatChangeOriginNotify.cs index a7c4dc93..9ee462e6 100644 --- a/LostArkLogger/Packets/Base/PKTStatChangeOriginNotify.cs +++ b/LostArkLogger/Packets/Base/PKTStatChangeOriginNotify.cs @@ -15,5 +15,7 @@ public PKTStatChangeOriginNotify(BitReader reader) public UInt32 u32_0; public Byte b_0; public Byte b_1; + public Byte b_2; + public Byte b_3; } } diff --git a/LostArkLogger/Packets/OpCodes_steam.cs b/LostArkLogger/Packets/OpCodes_steam.cs index cb6fed0b..10d0297b 100644 --- a/LostArkLogger/Packets/OpCodes_steam.cs +++ b/LostArkLogger/Packets/OpCodes_steam.cs @@ -21,6 +21,7 @@ public enum OpCodes_Steam : UInt16 PKTSkillDamageNotify = 0xE1A6, PKTSkillStageNotify = 0x835, PKTSkillStartNotify = 0xE9FF, + PKTStatChangeOriginNotify = 0x1F13, PKTStatusEffectAddNotify = 0xA209, PKTStatusEffectRemoveNotify = 0xA8B3, PKTTriggerBossBattleStatus = 0xE5F7, diff --git a/LostArkLogger/Packets/Steam/NpcStruct.cs b/LostArkLogger/Packets/Steam/NpcStruct.cs index 86aaaf95..990c6228 100644 --- a/LostArkLogger/Packets/Steam/NpcStruct.cs +++ b/LostArkLogger/Packets/Steam/NpcStruct.cs @@ -63,7 +63,7 @@ public void SteamDecode(BitReader reader) b_16 = reader.ReadByte(); if (b_16 == 1) b_17 = reader.ReadByte(); - skillRunes = reader.Read(); + statPair = reader.Read(); b_18 = reader.ReadByte(); if (b_18 == 1) u64_0 = reader.ReadUInt64(); diff --git a/LostArkLogger/Packets/Steam/PCStruct.cs b/LostArkLogger/Packets/Steam/PCStruct.cs index 6a0082a4..cd4238e5 100644 --- a/LostArkLogger/Packets/Steam/PCStruct.cs +++ b/LostArkLogger/Packets/Steam/PCStruct.cs @@ -7,15 +7,15 @@ public partial class PCStruct public void SteamDecode(BitReader reader) { u16_0 = reader.ReadUInt16(); - u16_1 = reader.ReadUInt16(); + ClassId = reader.ReadUInt16(); b_3 = reader.ReadByte(); EquippedItems = reader.ReadList(); - u64_1 = reader.ReadUInt64(); - u64_2 = reader.ReadUInt64(); + u64_0 = reader.ReadUInt64(); + PartyId = reader.ReadUInt64(); u32_6 = reader.ReadUInt32(); u32_7 = reader.ReadUInt32(); u32_8 = reader.ReadUInt32(); - u32_9 = reader.ReadUInt32(); + u32_2 = reader.ReadUInt32(); b_0 = reader.ReadByte(); if (b_0 == 1) bytearray_1 = reader.ReadBytes(12); @@ -23,15 +23,15 @@ public void SteamDecode(BitReader reader) str_0 = reader.ReadString(); skillRunes = reader.Read(); b_2 = reader.ReadByte(); - u64_0 = reader.ReadUInt64(); + PlayerId = reader.ReadUInt64(); u32_0 = reader.ReadUInt32(); - u16_2 = reader.ReadUInt16(); + Level = reader.ReadUInt16(); u32list_0 = reader.ReadList(); u32_1 = reader.ReadUInt32(); - u32_2 = reader.ReadUInt32(); + GearLevel = reader.ReadUInt32(); b_4 = reader.ReadByte(); - skillRunes = reader.Read(); - str_1 = reader.ReadString(); + statPair = reader.Read(); + Name = reader.ReadString(); b_5 = reader.ReadByte(); statusEffectDatas = reader.ReadList(); b_6 = reader.ReadByte(); @@ -42,11 +42,11 @@ public void SteamDecode(BitReader reader) u16_3 = reader.ReadUInt16(); b_7 = reader.ReadByte(); itemInfos = reader.ReadList(); - u16_4 = reader.ReadUInt16(); + u16_1 = reader.ReadUInt16(); b_8 = reader.ReadByte(); u32_3 = reader.ReadUInt32(); b_9 = reader.ReadByte(); - u16_5 = reader.ReadUInt16(); + u16_2 = reader.ReadUInt16(); b_10 = reader.ReadByte(); b_11 = reader.ReadByte(); u32_4 = reader.ReadUInt32(); diff --git a/LostArkLogger/Packets/Steam/PKTInitPC.cs b/LostArkLogger/Packets/Steam/PKTInitPC.cs index 71c12d3f..d56ee17d 100644 --- a/LostArkLogger/Packets/Steam/PKTInitPC.cs +++ b/LostArkLogger/Packets/Steam/PKTInitPC.cs @@ -37,7 +37,7 @@ public void SteamDecode(BitReader reader) u32_5 = reader.ReadUInt32(); bytearray_2 = reader.ReadBytes(35); b_7 = reader.ReadByte(); - skillRunes = reader.Read(); + statPair = reader.Read(); u64_2 = reader.ReadUInt64(); b_9 = reader.ReadByte(); b_10 = reader.ReadByte(); diff --git a/LostArkLogger/Packets/Steam/PKTStatChangeOriginNotify.cs b/LostArkLogger/Packets/Steam/PKTStatChangeOriginNotify.cs index b14b372b..0d138d93 100644 --- a/LostArkLogger/Packets/Steam/PKTStatChangeOriginNotify.cs +++ b/LostArkLogger/Packets/Steam/PKTStatChangeOriginNotify.cs @@ -6,13 +6,15 @@ public partial class PKTStatChangeOriginNotify { public void SteamDecode(BitReader reader) { - StatPairChangedList = reader.Read(); + ObjectId = reader.ReadUInt64(); StatPairList = reader.Read(); + b_1 = reader.ReadByte(); + StatPairChangedList = reader.Read(); + b_2 = reader.ReadByte(); b_0 = reader.ReadByte(); if (b_0 == 1) u32_0 = reader.ReadUInt32(); - ObjectId = reader.ReadUInt64(); - b_1 = reader.ReadByte(); + b_3 = reader.ReadByte(); } } }