more handler, unfinished excel dump, added proxy alternative

This commit is contained in:
ArkanDash
2025-03-03 20:14:51 +07:00
parent f269800704
commit 54bb351e5b
10 changed files with 837 additions and 12 deletions

View File

@@ -3,6 +3,7 @@ using Microsoft.AspNetCore.Server.Kestrel.Core;
using Serilog;
using Novaria.GameServer.Controllers.Api.ProtocolHandlers;
using Novaria.Common.Crypto;
namespace Novaria.GameServer
{
@@ -11,6 +12,19 @@ namespace Novaria.GameServer
public static void Main(string[] args)
{
PcapParser.PcapParser.Instance.LoadAllPackets(); // turn this off after real handlers are finished
// IDK how to dump
/*Log.Warning("Dumping Data.....");
var tables = Assembly.GetExecutingAssembly()
.GetTypes()
.Where(t => t.Name.StartsWith("table_"));
foreach (var file in Directory.GetFiles("../Novaria.Common/dataBin/"))
{
Log.Information(file);
var data = new GameDataExtraction().LoadCommonBinData(file);
Log.Information(data.ToString());
}*/
Log.Information("Starting SDK Server...");
try