Skip to content

Commit

Permalink
1852897
Browse files Browse the repository at this point in the history
1852897
PCStruct PartyId failure
PKTCounterAttack TargetId failure
  • Loading branch information
shalzuth committed Sep 8, 2022
1 parent f7451b7 commit bba4b57
Show file tree
Hide file tree
Showing 33 changed files with 267 additions and 259 deletions.
46 changes: 23 additions & 23 deletions LostArkLogger/Packets/OpCodes_steam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ namespace LostArkLogger
{
public enum OpCodes_Steam : UInt16
{
PKTAuthTokenResult = 0x67F6,
PKTCounterAttackNotify = 0x5149,
PKTDeathNotify = 0xB4BF,
PKTInitEnv = 0x7F6A,
PKTInitPC = 0xDC91,
PKTNewNpc = 0x6155,
PKTNewNpcSummon = 0xB3BA,
PKTNewPC = 0xB1FA,
PKTNewProjectile = 0xBF3F,
PKTPartyStatusEffectAddNotify = 0xD7A0,
PKTPartyStatusEffectRemoveNotify = 0x9E74,
PKTRaidBossKillNotify = 0xC24A,
PKTRaidResult = 0x6741,
PKTRemoveObject = 0x57E4,
PKTSkillDamageAbnormalMoveNotify = 0x7BD1,
PKTSkillDamageNotify = 0xC45,
PKTSkillStageNotify = 0x58F5,
PKTSkillStartNotify = 0x9C88,
PKTStatChangeOriginNotify = 0x5B82,
PKTStatusEffectAddNotify = 0x6154,
PKTStatusEffectRemoveNotify = 0xB6A9,
PKTTriggerBossBattleStatus = 0x1395,
PKTTriggerStartNotify = 0x5601,
PKTAuthTokenResult = 0x1636,
PKTCounterAttackNotify = 0x996B,
PKTDeathNotify = 0x43B5,
PKTInitEnv = 0xA108,
PKTInitPC = 0xB3F8,
PKTNewNpc = 0x4217,
PKTNewNpcSummon = 0xC844,
PKTNewPC = 0x2A3,
PKTNewProjectile = 0x5849,
PKTPartyStatusEffectAddNotify = 0x5C7E,
PKTPartyStatusEffectRemoveNotify = 0xD5B,
PKTRaidBossKillNotify = 0xCA8D,
PKTRaidResult = 0x3AFA,
PKTRemoveObject = 0xB4A,
PKTSkillDamageAbnormalMoveNotify = 0xBC8D,
PKTSkillDamageNotify = 0xB14C,
PKTSkillStageNotify = 0x33DB,
PKTSkillStartNotify = 0x125A,
PKTStatChangeOriginNotify = 0xD99E,
PKTStatusEffectAddNotify = 0x683C,
PKTStatusEffectRemoveNotify = 0x2542,
PKTTriggerBossBattleStatus = 0x1DEB,
PKTTriggerStartNotify = 0x1A87,
}
}
8 changes: 4 additions & 4 deletions LostArkLogger/Packets/Steam/ItemInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ public partial class ItemInfo
{
public void SteamDecode(BitReader reader)
{
Level = reader.ReadUInt16();
u16_0 = reader.ReadUInt16();
bytearraylist_0 = reader.ReadList<Byte[]>(14);
s64_0 = reader.ReadSimpleInt();
u32_0 = reader.ReadUInt32();
bytearraylist_0 = reader.ReadList<Byte[]>(14);
b_0 = reader.ReadByte();
if (b_0 == 1)
b_1 = reader.ReadByte();
Level = reader.ReadUInt16();
s64_0 = reader.ReadSimpleInt();
u16_0 = reader.ReadUInt16();
}
}
}
82 changes: 41 additions & 41 deletions LostArkLogger/Packets/Steam/NpcStruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,75 +6,75 @@ public partial class NpcStruct
{
public void SteamDecode(BitReader reader)
{
u32_0 = reader.ReadUInt32();
b_0 = reader.ReadByte();
b_12 = reader.ReadByte();
statusEffectDatas = reader.ReadList<StatusEffectData>();
b_25 = reader.ReadByte();
if (b_25 == 1)
b_26 = reader.ReadByte();
b_1 = reader.ReadByte();
if (b_1 == 1)
u64_0 = reader.ReadUInt64();
b_11 = reader.ReadByte();
if (b_11 == 1)
b_12 = reader.ReadByte();
b_21 = reader.ReadByte();
b_24 = reader.ReadByte();
if (b_24 == 1)
b_25 = reader.ReadByte();
b_26 = reader.ReadByte();
if (b_26 == 1)
u64list_0 = reader.ReadList<UInt64>();
b_27 = reader.ReadByte();
if (b_27 == 1)
u32_4 = reader.ReadUInt32();
b_28 = reader.ReadByte();
if (b_28 == 1)
u32_5 = reader.ReadUInt32();
NpcType = reader.ReadUInt32();
u16_3 = reader.ReadUInt16();
b_29 = reader.ReadByte();
if (b_29 == 1)
u64list_0 = reader.ReadList<UInt64>();
b_30 = reader.ReadByte();
if (b_30 == 1)
u16_3 = reader.ReadUInt16();
b_1 = reader.ReadByte();
if (b_1 == 1)
u64_0 = reader.ReadUInt64();
b_30 = reader.ReadByte();
b_2 = reader.ReadByte();
if (b_2 == 1)
b_3 = reader.ReadByte();
NpcId = reader.ReadUInt64();
u16_0 = reader.ReadUInt16();
b_3 = reader.ReadByte();
if (b_3 == 1)
u32_0 = reader.ReadUInt32();
NpcType = reader.ReadUInt32();
b_4 = reader.ReadByte();
b_5 = reader.ReadByte();
if (b_4 == 1)
b_5 = reader.ReadByte();
u32_1 = reader.ReadUInt32();
NpcId = reader.ReadUInt64();
b_6 = reader.ReadByte();
if (b_6 == 1)
subPKTNewNpc66 = reader.Read<subPKTNewNpc66>();
u16_0 = reader.ReadUInt16();
b_7 = reader.ReadByte();
if (b_7 == 1)
b_8 = reader.ReadByte();
b_7 = reader.ReadByte();
b_8 = reader.ReadByte();
if (b_8 == 1)
u16_1 = reader.ReadUInt16();
b_9 = reader.ReadByte();
if (b_9 == 1)
u16_1 = reader.ReadUInt16();
b_10 = reader.ReadByte();
if (b_10 == 1)
b_11 = reader.ReadByte();
b_10 = reader.ReadByte();
statusEffectDatas = reader.ReadList<StatusEffectData>();
b_13 = reader.ReadByte();
if (b_13 == 1)
u32_1 = reader.ReadUInt32();
b_14 = reader.ReadByte();
if (b_14 == 1)
u32_2 = reader.ReadUInt32();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
b_14 = reader.ReadByte();
b_15 = reader.ReadByte();
if (b_15 == 1)
u32_3 = reader.ReadUInt32();
b_16 = reader.ReadByte();
if (b_16 == 1)
bytearraylist_0 = reader.ReadList<Byte[]>(12);
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
u16_2 = reader.ReadUInt16();
statPair = reader.Read<StatPair>();
b_17 = reader.ReadByte();
if (b_17 == 1)
b_18 = reader.ReadByte();
b_19 = reader.ReadByte();
if (b_19 == 1)
b_20 = reader.ReadByte();
b_21 = reader.ReadByte();
if (b_21 == 1)
u32_3 = reader.ReadUInt32();
b_20 = reader.ReadByte();
b_22 = reader.ReadByte();
if (b_22 == 1)
bytearraylist_0 = reader.ReadList<Byte[]>(12);
u64_1 = reader.ReadUInt64();
u16_2 = reader.ReadUInt16();
subPKTNewNpc66 = reader.Read<subPKTNewNpc66>();
b_23 = reader.ReadByte();
if (b_23 == 1)
b_24 = reader.ReadByte();
statPair = reader.Read<StatPair>();
u64_1 = reader.ReadUInt64();
}
}
}
66 changes: 33 additions & 33 deletions LostArkLogger/Packets/Steam/PCStruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,52 @@ public partial class PCStruct
{
public void SteamDecode(BitReader reader)
{
EquippedItems = reader.ReadList<ItemInfo>();
u32_0 = reader.ReadUInt32();
b_3 = reader.ReadByte();
b_7 = reader.ReadByte();
b_11 = reader.ReadByte();
if (b_11 == 1)
bytearray_1 = reader.ReadBytes(12);
u16_3 = reader.ReadUInt16();
u32_8 = reader.ReadUInt32();
ClassId = reader.ReadUInt16();
u64_0 = reader.ReadUInt64();
bytearray_2 = reader.ReadBytes(5);
str_0 = reader.ReadString();
b_0 = reader.ReadByte();
PartyId = reader.ReadUInt64();
u32_1 = reader.ReadUInt32();
u32_2 = reader.ReadUInt32();
if (b_0 == 1)
bytearray_2 = reader.ReadBytes(12);
b_3 = reader.ReadByte();
Name = reader.ReadString();
bytearray_0 = reader.ReadBytes(25);
EquippedItems = reader.ReadList<ItemInfo>();
u16_3 = reader.ReadUInt16();
b_12 = reader.ReadByte();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
GearLevel = reader.ReadUInt32();
Level = reader.ReadUInt16();
b_1 = reader.ReadByte();
ClassId = reader.ReadUInt16();
u32_0 = reader.ReadUInt32();
b_2 = reader.ReadByte();
u32_3 = reader.ReadUInt32();
u32_4 = reader.ReadUInt32();
GearLevel = reader.ReadUInt32();
skillRunes = reader.Read<SkillRunes>();
statusEffectDatas = reader.ReadList<StatusEffectData>();
u16_0 = reader.ReadUInt16();
u32_1 = reader.ReadUInt32();
bytearray_1 = reader.ReadBytes(5);
itemInfos = reader.ReadList<ItemInfo>();
b_4 = reader.ReadByte();
subPKTNewNpc5 = reader.Read<subPKTNewNpc5>();
u16_1 = reader.ReadUInt16();
b_5 = reader.ReadByte();
statusEffectDatas = reader.ReadList<StatusEffectData>();
Name = reader.ReadString();
statPair = reader.Read<StatPair>();
b_6 = reader.ReadByte();
b_8 = reader.ReadByte();
u32list_0 = reader.ReadList<UInt32>();
skillRunes = reader.Read<SkillRunes>();
u32_2 = reader.ReadUInt32();
PlayerId = reader.ReadUInt64();
u32_3 = reader.ReadUInt32();
u16_1 = reader.ReadUInt16();
u32_4 = reader.ReadUInt32();
statPair = reader.Read<StatPair>();
b_7 = reader.ReadByte();
u32_5 = reader.ReadUInt32();
u32_6 = reader.ReadUInt32();
subPKTNewNpc5 = reader.Read<subPKTNewNpc5>();
b_8 = reader.ReadByte();
b_9 = reader.ReadByte();
itemInfos = reader.ReadList<ItemInfo>();
u16_2 = reader.ReadUInt16();
b_10 = reader.ReadByte();
PlayerId = reader.ReadUInt64();
u32_6 = reader.ReadUInt32();
Level = reader.ReadUInt16();
b_12 = reader.ReadByte();
u32_7 = reader.ReadUInt32();
bytearray_0 = reader.ReadBytes(25);
u16_2 = reader.ReadUInt16();
PartyId = reader.ReadUInt64();
str_0 = reader.ReadString();
u32_8 = reader.ReadUInt32();
b_11 = reader.ReadByte();
u32list_0 = reader.ReadList<UInt32>();
}
}
}
4 changes: 2 additions & 2 deletions LostArkLogger/Packets/Steam/PKTCounterAttackNotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ public partial class PKTCounterAttackNotify
{
public void SteamDecode(BitReader reader)
{
bytearray_1 = reader.ReadBytes(1);
bytearray_1 = reader.ReadBytes(0);
SourceId = reader.ReadUInt64();
bytearray_2 = reader.ReadBytes(0);
TargetId = reader.ReadUInt64();
bytearray_0 = reader.ReadBytes(6);
bytearray_0 = reader.ReadBytes(5);
}
}
}
22 changes: 11 additions & 11 deletions LostArkLogger/Packets/Steam/PKTDeathNotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ public partial class PKTDeathNotify
{
public void SteamDecode(BitReader reader)
{
u64_0 = reader.ReadUInt64();
b_0 = reader.ReadByte();
if (b_0 == 1)
b_1 = reader.ReadByte();
b_1 = reader.ReadByte();
if (b_1 == 1)
b_2 = reader.ReadByte();
b_3 = reader.ReadByte();
if (b_3 == 1)
b_4 = reader.ReadByte();
u16_0 = reader.ReadUInt16();
SourceId = reader.ReadUInt64();
u32_0 = reader.ReadUInt32();
b_2 = reader.ReadByte();
if (b_2 == 1)
b_3 = reader.ReadByte();
b_4 = reader.ReadByte();
if (b_4 == 1)
b_5 = reader.ReadByte();
TargetId = reader.ReadUInt64();
b_6 = reader.ReadByte();
SourceId = reader.ReadUInt64();
b_5 = reader.ReadByte();
if (b_5 == 1)
b_6 = reader.ReadByte();
u64_0 = reader.ReadUInt64();
}
}
}
8 changes: 4 additions & 4 deletions LostArkLogger/Packets/Steam/PKTInitEnv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ public partial class PKTInitEnv
{
public void SteamDecode(BitReader reader)
{
u32_0 = reader.ReadUInt32();
s64_1 = reader.ReadUInt64();
b_0 = reader.ReadByte();
subPKTInitEnv8 = reader.Read<subPKTInitEnv8>();
PlayerId = reader.ReadUInt64();
u32_0 = reader.ReadUInt32();
u16list_0 = reader.ReadList<UInt16>();
PlayerId = reader.ReadUInt64();
u32_1 = reader.ReadUInt32();
subPKTInitEnv8 = reader.Read<subPKTInitEnv8>();
s64_1 = reader.ReadUInt64();
s64_0 = reader.ReadSimpleInt();
}
}
Expand Down
Loading

0 comments on commit bba4b57

Please sign in to comment.