some handlers, dh pubkey negative problem still not solved...

This commit is contained in:
raphaeIl
2025-01-13 09:11:16 -05:00
parent aae2dc6b55
commit ab8953908e
13 changed files with 19796 additions and 4447 deletions

View File

@@ -7,6 +7,18 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<None Remove="all_mainmenu_packets.json" />
</ItemGroup>
<ItemGroup>
<Content Include="all_mainmenu_packets.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<ProjectReference Include="..\Novaria.Common\Novaria.Common.csproj" />

View File

@@ -81,7 +81,8 @@ namespace Novaria.PcapParser
Method = packet.type,
Packet = Convert.ChangeType(decodedPayload, requestType),
MsgId = msgid,
ClassType = NetMsgIdToNameMappings[(short)msgid]
ClassType = NetMsgIdToNameMappings[(short)msgid],
MsgIdName = Enum.GetName(typeof(NetMsgId), msgid)
});
}
}
@@ -682,6 +683,7 @@ namespace Novaria.PcapParser
public object Packet { get; set; }
public string ClassType { get; set; }
public NetMsgId MsgId { get; set; }
public string MsgIdName { get; set; }
}
}

View File

@@ -4,7 +4,7 @@
{
public static void Main(string[] args)
{
PcapParser.Instance.Parse("first_instant_join.json");
PcapParser.Instance.Parse("all_mainmenu_packets.json");
PcapParser.Instance.SavePackets("parsed_packets.json");
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff