From 1d86acdf27e6c546c4da5bb6b121c4502d65fe32 Mon Sep 17 00:00:00 2001 From: Tom Bohar Date: Tue, 13 Oct 2026 14:25:48 -0400 Subject: [PATCH] Snapshot for release 2026.10.13.1 (internal 90a2f4a) --- .../2026-10-11-character-and-server-menus.md | 45 ++ .../2026-10-11-gametick-chatclient-guard.md | 46 ++ ...10-11-inventory-attribute-filter-charms.md | 72 ++ .../2026-10-11-inventory-multi-select.md | 84 ++ Changelog/2026-10-11-items-remove-missing.md | 16 + ...026-10-11-mini-remote-ilt-tabs-guardian.md | 47 ++ Changelog/2026-10-11-mini-remote-merge.md | 40 + ...2026-10-11-nav-closest-waypoint-setting.md | 19 + Changelog/2026-10-11-popout-embed-crash.md | 43 + .../2026-10-11-recall-on-death-setting.md | 20 + ...2026-10-11-sk-engine-work-through-10-10.md | 90 +++ Changelog/2026-10-11-tracker-lum5m-passup.md | 44 ++ Changelog/2026-10-11-universal-quests-pets.md | 29 + .../2026-10-12-dungeon-patrol-settings.md | 19 + Changelog/2026-10-13-characters-panel.md | 74 ++ RynthCore.sln | 15 + installer/Build-Installer.ps1 | 7 + installer/Publish-Update.ps1 | 6 +- installer/RynthCore.iss | 40 +- native/SehTrampoline/Build-SehTrampoline.ps1 | 4 + native/SehTrampoline/CrashLogFilter.h | 277 +++++++ native/SehTrampoline/SehTrampoline.c | 741 +++++++++++++++--- .../SehTrampoline/tests/CrashLogFilterTests.c | 241 ++++++ .../tests/Run-CrashLogFilterTests.ps1 | 28 + scripts/Publish-EngineCoreClr.ps1 | 20 +- src/RynthCore.App.Avalonia/App.axaml.cs | 14 + src/RynthCore.App.Avalonia/EngineJsonStore.cs | 15 + .../InstallerHandoff.cs | 29 + src/RynthCore.App.Avalonia/LauncherDiag.cs | 1 + .../LauncherHostDiagnostics.cs | 110 +++ .../LoggingSettingsStore.cs | 192 +++++ .../MainWindow.FolderAccess.cs | 173 ++++ .../MainWindow.Logging.cs | 153 ++++ src/RynthCore.App.Avalonia/MainWindow.axaml | 52 +- .../MainWindow.axaml.cs | 202 ++++- src/RynthCore.App.Avalonia/Program.cs | 20 + .../RynthCore.App.Avalonia.csproj | 16 +- src/RynthCore.App.Avalonia/UsageStats.cs | 25 +- src/RynthCore.App/AppSettings.cs | 10 + src/RynthCore.App/FolderAccess.cs | 532 +++++++++++++ src/RynthCore.DesktopLog/DesktopRollingLog.cs | 130 +++ .../NetDesktopX64Prerequisite.cs | 105 +++ .../RynthCore.DesktopLog.csproj | 10 + .../Compatibility/AcKeyboardFocus.cs | 74 ++ .../Compatibility/AcMainThreadQueue.cs | 395 +++++++--- .../Compatibility/ActionRing.cs | 123 +++ .../Compatibility/AddressSpace.cs | 87 ++ .../Compatibility/AppraisalHooks.cs | 65 +- .../Compatibility/AutoIdDrain.cs | 319 ++++++++ .../Compatibility/AutoIdEligibility.cs | 191 +++++ .../Compatibility/AutoIdPolicy.cs | 233 ++++++ .../Compatibility/AutoIdService.cs | 408 ++++++++-- .../Compatibility/CastSlot.cs | 59 ++ .../Compatibility/CastStopRules.cs | 38 + .../Compatibility/CharacterCaptureHooks.cs | 81 +- .../Compatibility/ClientCombatHooks.cs | 2 +- .../Compatibility/ClientHelperHooks.cs | 212 ++++- .../Compatibility/ClientObjectHooks.cs | 190 ++++- .../Compatibility/CombatActionHooks.cs | 59 +- .../Compatibility/CommandInterpreterHooks.cs | 14 +- .../Compatibility/CrashExitRule.cs | 24 + .../Compatibility/CreateObjectHooks.cs | 3 + .../Compatibility/DecalBridgeHost.cs | 2 +- .../Compatibility/DeleteObjectHooks.cs | 81 +- .../Compatibility/DragDropHooks.cs | 110 +++ .../Compatibility/EngineStatusMetrics.cs | 9 + .../Compatibility/GameTickHooks.cs | 98 ++- .../Compatibility/HeartbeatLogger.cs | 37 +- .../Compatibility/InventoryAttributeFilter.cs | 527 +++++++++++++ .../Compatibility/InventoryFilterFacts.cs | 112 +++ .../Compatibility/InventoryModel.Batch.cs | 259 ++++++ .../Compatibility/InventoryModel.cs | 84 +- .../Compatibility/LoginLifecycleHooks.cs | 7 + .../Compatibility/LogoffOriginProbe.cs | 12 + .../Compatibility/MainThreadSnapshots.cs | 24 +- .../Compatibility/MergeStackResults.cs | 77 ++ .../Compatibility/MessageBoxHooks.cs | 171 +++- .../Compatibility/MovementActionHooks.cs | 8 +- .../Compatibility/MutatorGate.cs | 28 + .../Compatibility/ObjectFreshness.cs | 74 ++ .../Compatibility/PendingIdQueue.cs | 115 +++ .../Compatibility/PlayerLifecycleLog.cs | 132 ++-- .../Compatibility/PlayerPhysicsHooks.cs | 4 +- .../Compatibility/PlayerTrade.cs | 12 +- .../Compatibility/PlayerTraining.cs | 2 +- .../Compatibility/ProcessExitHooks.cs | 217 +---- .../Compatibility/PropertyUpdateHooks.cs | 4 +- .../Compatibility/ReleasedObjectRetention.cs | 77 ++ .../Compatibility/RynthCoreChatCommands.cs | 186 ++++- .../Compatibility/SehTrampoline.cs | 165 +++- .../Compatibility/SmartBoxHooks.cs | 31 +- .../Compatibility/WorldTransitionState.cs | 146 ++++ src/RynthCore.Engine/CrashDump.cs | 261 +++++- src/RynthCore.Engine/D3D9/EndSceneHook.cs | 5 + src/RynthCore.Engine/EngineLifecycle.cs | 2 + src/RynthCore.Engine/EntryPoint.cs | 161 +++- src/RynthCore.Engine/Hotkeys/HotkeyModel.cs | 709 +++++++++++++++++ src/RynthCore.Engine/Hotkeys/HotkeyService.cs | 487 ++++++++++++ .../ImGui/EngineFrameController.cs | 187 ++++- src/RynthCore.Engine/ImGui/ImGuiBar.cs | 23 +- src/RynthCore.Engine/ImGui/ImGuiPanelHost.cs | 191 ++++- src/RynthCore.Engine/ImGui/ItemDragBridge.cs | 251 ++++++ .../ImGui/MonsterHud/CleaveHealth.cs | 76 ++ .../ImGui/MonsterHud/HudFeed.cs | 10 +- .../ImGui/MonsterHud/MonsterHud.cs | 61 ++ .../ImGui/MonsterHud/MonsterHudData.cs | 17 +- .../ImGui/Panels/CharactersFace.cs | 401 ++++++++++ .../ImGui/Panels/ChatFiltersFace.cs | 60 +- .../ImGui/Panels/DashboardDrawers.cs | 4 +- .../ImGui/Panels/DungeonMapFace.cs | 633 +++++++++++++-- .../ImGui/Panels/GuardianFace.cs | 78 ++ .../ImGui/Panels/HotkeysSettingsUi.cs | 452 +++++++++++ .../ImGui/Panels/InventoryFace.AttrFilter.cs | 403 ++++++++++ .../ImGui/Panels/InventoryFace.Classic.cs | 38 +- .../ImGui/Panels/InventoryFace.MultiSelect.cs | 373 +++++++++ .../ImGui/Panels/InventoryFace.cs | 183 ++++- .../ImGui/Panels/InventorySelection.cs | 129 +++ .../ImGui/Panels/ItemsFace.cs | 10 +- .../ImGui/Panels/MiniRemoteFace.cs | 196 ++++- src/RynthCore.Engine/ImGui/Panels/NavFace.cs | 317 +++++++- src/RynthCore.Engine/ImGui/Panels/P1Faces.cs | 6 +- .../ImGui/Panels/RadarFace.cs | 32 +- .../ImGui/Panels/RynthAiFace.Drawers.cs | 101 ++- .../ImGui/Panels/RynthAiFace.cs | 558 +++++++++---- .../ImGui/Panels/SettingsFace.cs | 150 +++- .../ImGui/Panels/SkillsFace.Progression.cs | 693 ++++++++++++++++ .../ImGui/Panels/SkillsFace.cs | 27 +- src/RynthCore.Engine/ImGui/PhosphorIcons.cs | 3 +- src/RynthCore.Engine/ImGui/Win32Backend.cs | 53 +- src/RynthCore.Engine/LogPaths.cs | 1 + src/RynthCore.Engine/LogSettings.cs | 245 ++++++ src/RynthCore.Engine/MainThreadFreeze.cs | 87 ++ src/RynthCore.Engine/MainThreadFreezeRule.cs | 96 +++ .../MainThreadHangWatchdog.cs | 27 +- src/RynthCore.Engine/Net/FlightCapture.cs | 80 +- src/RynthCore.Engine/Net/FlightFormat.cs | 10 +- src/RynthCore.Engine/Net/FlightRecorder.cs | 29 + src/RynthCore.Engine/Net/FlightRing.cs | 7 +- src/RynthCore.Engine/Net/IdRequester.cs | 116 +++ .../Net/ServerMessageStream.cs | 8 + .../Plugins/EngineSettings.cs | 73 +- src/RynthCore.Engine/Plugins/LoadedPlugin.cs | 53 ++ .../Plugins/ManagedPlugins.cs | 5 +- .../Plugins/PluginContract.cs | 62 +- .../Plugins/PluginContractVersion.cs | 5 +- src/RynthCore.Engine/Plugins/PluginLoader.cs | 10 + src/RynthCore.Engine/Plugins/PluginManager.cs | 420 +++++++++- src/RynthCore.Engine/Plugins/PumpGuards.cs | 84 ++ src/RynthCore.Engine/RynthCore.Engine.csproj | 8 +- src/RynthCore.Engine/RynthLog.cs | 97 ++- .../UI/Data/CharactersData.cs | 349 +++++++++ .../UI/Data/CharactersModel.cs | 308 ++++++++ src/RynthCore.Engine/UI/Data/ChatData.cs | 23 + src/RynthCore.Engine/UI/Data/ChatRouting.cs | 27 +- .../UI/Data/ChatSettingsDto.cs | 10 + .../UI/Data/DungeonMapMath.cs | 179 +++++ src/RynthCore.Engine/UI/Data/ItemHudModel.cs | 37 +- src/RynthCore.Engine/UI/Data/ItemsData.cs | 31 +- src/RynthCore.Engine/UI/Data/NavData.cs | 36 + src/RynthCore.Engine/UI/Data/PanelSources.cs | 13 +- .../UI/Data/ProgressionData.cs | 206 +++++ src/RynthCore.Engine/UI/Data/RadarData.cs | 7 +- src/RynthCore.Engine/UI/Data/RynthAiData.cs | 54 ++ .../UI/Data/RynthNavAtlasData.cs | 38 + src/RynthCore.Engine/UI/Data/RynthSortData.cs | 95 +++ src/RynthCore.Engine/UI/Data/SenseData.cs | 5 +- src/RynthCore.Engine/UI/Data/SettingsData.cs | 242 +++++- src/RynthCore.Engine/UI/Data/UiSources.cs | 6 + src/RynthCore.Engine/UI/LayeredWindow.cs | 78 +- src/RynthCore.Engine/UI/OverlayFrameBuffer.cs | 72 ++ src/RynthCore.Engine/UI/Panels/ItemsPanel.cs | 158 +++- src/RynthCore.Engine/UI/Panels/NavPanel.cs | 38 +- src/RynthCore.Engine/UI/Panels/RadarPanel.cs | 200 ----- .../UI/Panels/RadarSettingsStore.cs | 220 ++++++ .../UI/Panels/RynthAiPanel.cs | 48 +- .../UI/Panels/RynthChatFiltersPanel.cs | 117 ++- .../UI/Panels/RynthChatPresets.cs | 250 ++++++ .../UI/Panels/SettingsPanel.cs | 156 ++++ .../UI/RynthAiDashboardState.cs | 21 +- src/RynthCore.Engine/UI/ServerMenus.cs | 214 +++++ src/RynthCore.Injector/LaunchCommand.cs | 3 +- src/RynthCore.Injector/Program.cs | 1 + src/RynthCore.Loader/EntryPoint.cs | 1 + src/RynthCore.PluginSdk/RynthCoreApiNative.cs | 7 + src/RynthCore.PluginSdk/RynthCoreHost.cs | 94 +++ .../build/RynthCore.PluginSdk.targets | 2 +- src/RynthCore.StatusAgent/AgentConfig.cs | 1 + src/RynthCore.StatusAgent/Program.cs | 17 +- src/Shared/DumpInProgressRule.cs | 76 ++ .../CharactersPanelTests.csproj | 23 + tools/CharactersPanelTests/Program.cs | 251 ++++++ .../CleaveGhostTests/CleaveGhostTests.csproj | 28 + tools/CleaveGhostTests/Program.cs | 112 +++ tools/ClrFatalTriage/clr_fatal_triage.py | 288 +++++++ .../DungeonMapNavTests.csproj | 22 + tools/DungeonMapNavTests/Program.cs | 181 +++++ .../EngineRobustnessTests/AutoIdDrainTests.cs | 298 +++++++ .../EngineRobustnessTests/AutoIdLimitTests.cs | 347 ++++++++ .../EngineRobustnessTests.csproj | 55 ++ tools/EngineRobustnessTests/Program.cs | 417 ++++++++++ tools/EngineRobustnessTests/PumpGuardTests.cs | 89 +++ .../EngineRobustnessTests/RingAndGateTests.cs | 470 +++++++++++ .../EngineSettingsTests.csproj | 1 + tools/EngineSettingsTests/Program.cs | 33 + .../FlightRecorderTests.csproj | 1 + tools/FlightRecorderTests/Program.cs | 95 ++- .../FolderAccessTests.csproj | 24 + tools/FolderAccessTests/Program.cs | 303 +++++++ tools/HotkeyTests/HotkeyTests.csproj | 26 + tools/HotkeyTests/Program.cs | 467 +++++++++++ .../InventorySelectionTests.csproj | 23 + tools/InventorySelectionTests/Program.cs | 206 +++++ tools/ItemHudTests/Program.cs | 31 + tools/PluginManifestTests/Program.cs | 31 +- tools/RadarSettingsTests/Program.cs | 159 ++++ .../RadarSettingsTests.csproj | 27 + tools/UsageStatsTests/Program.cs | 12 + tools/check_offthread_mutators.py | 12 +- 218 files changed, 24041 insertions(+), 1539 deletions(-) create mode 100644 Changelog/2026-10-11-character-and-server-menus.md create mode 100644 Changelog/2026-10-11-gametick-chatclient-guard.md create mode 100644 Changelog/2026-10-11-inventory-attribute-filter-charms.md create mode 100644 Changelog/2026-10-11-inventory-multi-select.md create mode 100644 Changelog/2026-10-11-items-remove-missing.md create mode 100644 Changelog/2026-10-11-mini-remote-ilt-tabs-guardian.md create mode 100644 Changelog/2026-10-11-mini-remote-merge.md create mode 100644 Changelog/2026-10-11-nav-closest-waypoint-setting.md create mode 100644 Changelog/2026-10-11-popout-embed-crash.md create mode 100644 Changelog/2026-10-11-recall-on-death-setting.md create mode 100644 Changelog/2026-10-11-sk-engine-work-through-10-10.md create mode 100644 Changelog/2026-10-11-tracker-lum5m-passup.md create mode 100644 Changelog/2026-10-11-universal-quests-pets.md create mode 100644 Changelog/2026-10-12-dungeon-patrol-settings.md create mode 100644 Changelog/2026-10-13-characters-panel.md create mode 100644 native/SehTrampoline/CrashLogFilter.h create mode 100644 native/SehTrampoline/tests/CrashLogFilterTests.c create mode 100644 native/SehTrampoline/tests/Run-CrashLogFilterTests.ps1 create mode 100644 src/RynthCore.App.Avalonia/InstallerHandoff.cs create mode 100644 src/RynthCore.App.Avalonia/LauncherHostDiagnostics.cs create mode 100644 src/RynthCore.App.Avalonia/LoggingSettingsStore.cs create mode 100644 src/RynthCore.App.Avalonia/MainWindow.FolderAccess.cs create mode 100644 src/RynthCore.App.Avalonia/MainWindow.Logging.cs create mode 100644 src/RynthCore.App/FolderAccess.cs create mode 100644 src/RynthCore.DesktopLog/DesktopRollingLog.cs create mode 100644 src/RynthCore.DesktopLog/NetDesktopX64Prerequisite.cs create mode 100644 src/RynthCore.DesktopLog/RynthCore.DesktopLog.csproj create mode 100644 src/RynthCore.Engine/Compatibility/AcKeyboardFocus.cs create mode 100644 src/RynthCore.Engine/Compatibility/ActionRing.cs create mode 100644 src/RynthCore.Engine/Compatibility/AddressSpace.cs create mode 100644 src/RynthCore.Engine/Compatibility/AutoIdDrain.cs create mode 100644 src/RynthCore.Engine/Compatibility/AutoIdEligibility.cs create mode 100644 src/RynthCore.Engine/Compatibility/AutoIdPolicy.cs create mode 100644 src/RynthCore.Engine/Compatibility/CastSlot.cs create mode 100644 src/RynthCore.Engine/Compatibility/CastStopRules.cs create mode 100644 src/RynthCore.Engine/Compatibility/CrashExitRule.cs create mode 100644 src/RynthCore.Engine/Compatibility/DragDropHooks.cs create mode 100644 src/RynthCore.Engine/Compatibility/InventoryAttributeFilter.cs create mode 100644 src/RynthCore.Engine/Compatibility/InventoryFilterFacts.cs create mode 100644 src/RynthCore.Engine/Compatibility/InventoryModel.Batch.cs create mode 100644 src/RynthCore.Engine/Compatibility/MergeStackResults.cs create mode 100644 src/RynthCore.Engine/Compatibility/MutatorGate.cs create mode 100644 src/RynthCore.Engine/Compatibility/ObjectFreshness.cs create mode 100644 src/RynthCore.Engine/Compatibility/PendingIdQueue.cs create mode 100644 src/RynthCore.Engine/Compatibility/ReleasedObjectRetention.cs create mode 100644 src/RynthCore.Engine/Compatibility/WorldTransitionState.cs create mode 100644 src/RynthCore.Engine/Hotkeys/HotkeyModel.cs create mode 100644 src/RynthCore.Engine/Hotkeys/HotkeyService.cs create mode 100644 src/RynthCore.Engine/ImGui/ItemDragBridge.cs create mode 100644 src/RynthCore.Engine/ImGui/MonsterHud/CleaveHealth.cs create mode 100644 src/RynthCore.Engine/ImGui/Panels/CharactersFace.cs create mode 100644 src/RynthCore.Engine/ImGui/Panels/GuardianFace.cs create mode 100644 src/RynthCore.Engine/ImGui/Panels/HotkeysSettingsUi.cs create mode 100644 src/RynthCore.Engine/ImGui/Panels/InventoryFace.AttrFilter.cs create mode 100644 src/RynthCore.Engine/ImGui/Panels/InventoryFace.MultiSelect.cs create mode 100644 src/RynthCore.Engine/ImGui/Panels/InventorySelection.cs create mode 100644 src/RynthCore.Engine/ImGui/Panels/SkillsFace.Progression.cs create mode 100644 src/RynthCore.Engine/LogSettings.cs create mode 100644 src/RynthCore.Engine/MainThreadFreeze.cs create mode 100644 src/RynthCore.Engine/MainThreadFreezeRule.cs create mode 100644 src/RynthCore.Engine/Net/IdRequester.cs create mode 100644 src/RynthCore.Engine/Plugins/PumpGuards.cs create mode 100644 src/RynthCore.Engine/UI/Data/CharactersData.cs create mode 100644 src/RynthCore.Engine/UI/Data/CharactersModel.cs create mode 100644 src/RynthCore.Engine/UI/Data/DungeonMapMath.cs create mode 100644 src/RynthCore.Engine/UI/Data/ProgressionData.cs create mode 100644 src/RynthCore.Engine/UI/Data/RynthSortData.cs create mode 100644 src/RynthCore.Engine/UI/OverlayFrameBuffer.cs create mode 100644 src/RynthCore.Engine/UI/Panels/RadarSettingsStore.cs create mode 100644 src/RynthCore.Engine/UI/Panels/RynthChatPresets.cs create mode 100644 src/RynthCore.Engine/UI/ServerMenus.cs create mode 100644 src/Shared/DumpInProgressRule.cs create mode 100644 tools/CharactersPanelTests/CharactersPanelTests.csproj create mode 100644 tools/CharactersPanelTests/Program.cs create mode 100644 tools/CleaveGhostTests/CleaveGhostTests.csproj create mode 100644 tools/CleaveGhostTests/Program.cs create mode 100644 tools/ClrFatalTriage/clr_fatal_triage.py create mode 100644 tools/DungeonMapNavTests/DungeonMapNavTests.csproj create mode 100644 tools/DungeonMapNavTests/Program.cs create mode 100644 tools/EngineRobustnessTests/AutoIdDrainTests.cs create mode 100644 tools/EngineRobustnessTests/AutoIdLimitTests.cs create mode 100644 tools/EngineRobustnessTests/EngineRobustnessTests.csproj create mode 100644 tools/EngineRobustnessTests/Program.cs create mode 100644 tools/EngineRobustnessTests/PumpGuardTests.cs create mode 100644 tools/EngineRobustnessTests/RingAndGateTests.cs create mode 100644 tools/FolderAccessTests/FolderAccessTests.csproj create mode 100644 tools/FolderAccessTests/Program.cs create mode 100644 tools/HotkeyTests/HotkeyTests.csproj create mode 100644 tools/HotkeyTests/Program.cs create mode 100644 tools/InventorySelectionTests/InventorySelectionTests.csproj create mode 100644 tools/InventorySelectionTests/Program.cs create mode 100644 tools/RadarSettingsTests/Program.cs create mode 100644 tools/RadarSettingsTests/RadarSettingsTests.csproj diff --git a/Changelog/2026-10-11-character-and-server-menus.md b/Changelog/2026-10-11-character-and-server-menus.md new file mode 100644 index 0000000..9caa201 --- /dev/null +++ b/Changelog/2026-10-11-character-and-server-menus.md @@ -0,0 +1,45 @@ +# Char and Mini Remote menus: Character on top, server plugin windows below + +## What changed + +- **New server-section registry** (`UI/ServerMenus.cs`). + - Each server is defined once, with how to detect it and the command that forces it. + - Each installed plugin with windows for that server adds its items. + - A section shows only while its server is detected or forced, and only when it has at least + one item. So it appears exactly when you're on that server with one of its plugins + installed. + - Infinite Leaftide is registered in `EntryPoint.RegisterServerMenus`: + - detection: `IltInfo.IsIlt`; + - force: `/rc ilt on`; + - with RynthAi installed: the Mini Remote's Character, Quests, Pets, Banking, Gear and Games + tabs, Guardian, and Progression; + - with RynthILT installed: Bounties. + - Items are `/rc` commands, so the engine and RynthAi run the same thing. + - The engine pushes the sections to RynthAi as the `"servermenu"` remote command. It sends them + whenever they change (checked once a second from the bar's draw) and again every 30 s. +- **RynthAi dashboard, Char right-click menu:** + - Top, **Character**: Mini Remote, Spells, Skills, Inventory and Item Count. + - Bottom: the active server sections (`ServerMenus.DrawImGuiMenu`). + - When server plugins are installed but none matches the world, the bottom half shows a note + and "Treat this world as ". + - The menu's fixed list of ILT tabs, Guardian and Progression is replaced by the registry. +- **New and extended `/rc` commands:** + - `/rc spells [show|hide|toggle]`: RynthAi's Spells window. + - `/rc skills [show|hide|toggle]`: the Skills panel. + - `/rc progression`: the Skills panel on its Progression tab. + - `/rc miniremote tab `: opens the Mini Remote window on one of RynthAi's tabs. + +## Files + +- `src/RynthCore.Engine/UI/ServerMenus.cs`: new. +- `src/RynthCore.Engine/EntryPoint.cs`: `RegisterServerMenus`. +- `src/RynthCore.Engine/ImGui/ImGuiBar.cs`: calls `ServerMenus.Tick()` each frame. +- `src/RynthCore.Engine/ImGui/Panels/RynthAiFace.cs`: the Char menu (`CharMenu`, + `PanelMenuItem`) and the launcher tooltip. +- `src/RynthCore.Engine/Compatibility/RynthCoreChatCommands.cs`: `/rc spells`, `/rc skills`, + `/rc progression` and `/rc miniremote tab`. + +## Testing + +- The engine builds in Release, and ItemHudTests pass. +- In-game checks are listed in the matching RynthSuite changelog. diff --git a/Changelog/2026-10-11-gametick-chatclient-guard.md b/Changelog/2026-10-11-gametick-chatclient-guard.md new file mode 100644 index 0000000..39a980b --- /dev/null +++ b/Changelog/2026-10-11-gametick-chatclient-guard.md @@ -0,0 +1,46 @@ +# Game-tick crash guard (chatclient.dll null read) + +RynthCore.SehTrampoline.dll native version 4 (previous: 3). + +## The crash + +On 2026-10-11 two idle clients died in the same second. Both CoreCLR dumps show the same fault on +AC's main thread: + +- AC's `Client::UseTime` called into `chatclient.dll` (Turbine's chat client in the AC folder). + Three calls in, a `rep movsd` copy of about 2 MB read from address 0 + (`chatclient.dll+0x1050`, read of 0x00000000). +- Both clients at once, both idle: most likely a bad or oversized message from the chat server. +- The fault unwound into the engine's managed `UseTime` detour. CoreCLR treats a native access + violation there as an unhandled exception and ends the process, so AC's own handlers never ran. + Windows reported the follow-on fault in `coreclr.dll+0x2c27ae`, which is the runtime's fail-fast + path, not the cause. +- `native-crash.log` had no record: a null read is held back until the process exits normally, + and the fail-fast skipped that. + +## The fix + +- `native/SehTrampoline/SehTrampoline.c`: new export `SEH_GameTickThiscall` calls + `int __thiscall fn(this)` under `__try`. On an access violation it returns 0 with the faulting + address (module-relative), the data address and the module name, and writes a full record + (registers and stack sweep) to `native-crash.log`, at most 16 per process. +- `Compatibility/GameTickHooks.cs`: AC's original `UseTime` goes through that wrapper when the + loaded trampoline is version 4 or later. A caught fault drops that one tick, logs an `[ERR]` + line, and returns 1 so AC's game loop keeps running (0 would make AC shut down). After 5 faults + within 30 seconds the guard turns itself off for the session, so a client whose state is + really broken still ends instead of spinning. +- `Compatibility/SehTrampoline.cs`: the P/Invoke, and `NativeVersion` (cached). A running client + keeps the trampoline DLL it started with, so a hot-reloaded engine meeting a v3 DLL logs + "native AV guard OFF" and calls `UseTime` directly, as before. +- `native/SehTrampoline/Build-SehTrampoline.ps1`: `-NoDeploy` builds into `bin\` without + copying to the runtime folder. +- `scripts/Publish-EngineCoreClr.ps1`: a trampoline DLL held by a running client is now moved + aside (`.old-