From c2d1bd78dfe251b1142289de8fba4c7a0918cbe7 Mon Sep 17 00:00:00 2001 From: dingo Date: Fri, 30 Jan 2026 11:31:58 -0500 Subject: [PATCH] Bug fixin --- Game/Dungeon/DungeonHandler.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Game/Dungeon/DungeonHandler.cs b/Game/Dungeon/DungeonHandler.cs index 163a184..f09d70b 100644 --- a/Game/Dungeon/DungeonHandler.cs +++ b/Game/Dungeon/DungeonHandler.cs @@ -159,15 +159,16 @@ public sealed partial class DungeonHandler : IClientMessageHandler return; } // All dungeon operations require authentication - if (!_sessions.TryGet(connection.Id, out var accountId, out _) && opCode != DungeonOpCodes.ASSET_MANIFEST_REQUEST) + if (!_sessions.TryGet(connection.Id, out var accountId, out _) && opCode != DungeonOpCodes.ASSET_MANIFEST_REQUEST && opCode != OpCodes.PONG) { await SendErrorAsync(connection, $"auth_required for packet: {opCode}", ct); return; } // Get or create player session + var session = await GetOrCreateSessionAsync(connection, accountId, ct); - if (session == null) + if (session == null && opCode != OpCodes.PONG) { await SendErrorAsync(connection, "no_character", ct); return;