Skip to content

Commit

Permalink
Fixes care of escape
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirryn committed Nov 20, 2022
1 parent 39321fd commit 5296757
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 16 deletions.
2 changes: 2 additions & 0 deletions LostArkLogger/Packets/Base/PKTStatChangeOriginNotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
1 change: 1 addition & 0 deletions LostArkLogger/Packets/OpCodes_steam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public enum OpCodes_Steam : UInt16
PKTSkillDamageNotify = 0xE1A6,
PKTSkillStageNotify = 0x835,
PKTSkillStartNotify = 0xE9FF,
PKTStatChangeOriginNotify = 0x1F13,
PKTStatusEffectAddNotify = 0xA209,
PKTStatusEffectRemoveNotify = 0xA8B3,
PKTTriggerBossBattleStatus = 0xE5F7,
Expand Down
2 changes: 1 addition & 1 deletion LostArkLogger/Packets/Steam/NpcStruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void SteamDecode(BitReader reader)
b_16 = reader.ReadByte();
if (b_16 == 1)
b_17 = reader.ReadByte();
skillRunes = reader.Read<SkillRunes>();
statPair = reader.Read<StatPair>();
b_18 = reader.ReadByte();
if (b_18 == 1)
u64_0 = reader.ReadUInt64();
Expand Down
22 changes: 11 additions & 11 deletions LostArkLogger/Packets/Steam/PCStruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,31 @@ 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<ItemInfo>();
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);
b_1 = reader.ReadByte();
str_0 = reader.ReadString();
skillRunes = reader.Read<SkillRunes>();
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<UInt32>();
u32_1 = reader.ReadUInt32();
u32_2 = reader.ReadUInt32();
GearLevel = reader.ReadUInt32();
b_4 = reader.ReadByte();
skillRunes = reader.Read<SkillRunes>();
str_1 = reader.ReadString();
statPair = reader.Read<StatPair>();
Name = reader.ReadString();
b_5 = reader.ReadByte();
statusEffectDatas = reader.ReadList<StatusEffectData>();
b_6 = reader.ReadByte();
Expand All @@ -42,11 +42,11 @@ public void SteamDecode(BitReader reader)
u16_3 = reader.ReadUInt16();
b_7 = reader.ReadByte();
itemInfos = reader.ReadList<ItemInfo>();
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();
Expand Down
2 changes: 1 addition & 1 deletion LostArkLogger/Packets/Steam/PKTInitPC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<SkillRunes>();
statPair = reader.Read<StatPair>();
u64_2 = reader.ReadUInt64();
b_9 = reader.ReadByte();
b_10 = reader.ReadByte();
Expand Down
8 changes: 5 additions & 3 deletions LostArkLogger/Packets/Steam/PKTStatChangeOriginNotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ public partial class PKTStatChangeOriginNotify
{
public void SteamDecode(BitReader reader)
{
StatPairChangedList = reader.Read<StatPair>();
ObjectId = reader.ReadUInt64();
StatPairList = reader.Read<StatPair>();
b_1 = reader.ReadByte();
StatPairChangedList = reader.Read<StatPair>();
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();
}
}
}

0 comments on commit 5296757

Please sign in to comment.