RynthCore/src/RynthCore.Engine
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Wallace 636f5d307a Engine robustness re-review follow-ups: crash-log flush ring, cast refusal, dump hold cap
- The native crash logger keeps the last 16 first-chance records in a static ring
  (pushed in the VEH: no I/O, no allocation, no loader call). A flush writes the ones
  not yet written, oldest first, each record once. Flushed from the last-chance filter
  and, through the new export RC_FlushCrashLog, from the engine's ExitProcess /
  TerminateProcess / RtlExitUserProcess / NtTerminateProcess detours on a crash code
  (raw unmanaged function pointer, resolved and primed at install). Recovers the fatal
  repeat of an address seen before, which the dedupe skips and which never reaches the
  last-chance filter when a handler terminates the process.
- EnqueueCast refuses during a world transition (CastSlot, pure) and counts the
  refusal in TransitionRejectedCount. The cast slot now owns the stop-wait note the
  cast drain keeps per cast (CastSlot.StopWaitNoted, reset by each queued cast before
  the publishing Volatile.Write of Pending), and DrainCasts reads the queue time once.
- The launcher's dump hold is capped at 15 min per client (DumpInProgressRule.Decide);
  past it the kill checks resume.
- CrashExitRule: ExitProcess(-1) (0xFFFFFFFF) is no longer a crash exit; the rest of
  the 0xC0000000-and-up range is unchanged, so CLR/C++ unhandled-exception exits
  (0xE0434352, 0xE06D7363) still skip managed work.
- The heartbeat line carries qrej=<TransitionRejectedCount>.

Tests: EngineRobustnessTests (adds CastSlot stop-wait and ActionRing.TryPeekAt checks),
CrashLogFilterTests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 17:18:00 -07:00
..
Assets/Fonts RynthCore as of 2026-10-04 (internal 843c801): RynthNav auto-travel and the navigation map, plugin API v75 (server and titles), launcher with Available plugins, download progress and the update on the front page, opt-in usage statistics, NPC names, radar colours, title-bar text size, FPS limiter, client action unlocks, release 2026.10.4.6 2026-10-04 18:34:27 -04:00
Compatibility Engine robustness re-review follow-ups: crash-log flush ring, cast refusal, dump hold cap 2026-10-12 17:18:00 -07:00
D3D9 Snapshot for release 2026.10.6.1 (internal 1cbe514) 2026-10-06 08:47:11 -04:00
Hooking RynthCore as of 2026-10-05 (internal 0d3c210): dashboard slide-outs on the left (Ranges with the selected monster, Files, Patrol), fixed draggable vital bar, click an item to add a loot rule, loot rules by WCID, chat and loot editor typing no longer leaks into the game, title-bar text size, plugin API v76 (close container), plugin exception traces, plates drawn under the game UI (in testing), launcher account passwords encrypted with Windows DPAPI (in testing), release 2026.10.5.1 2026-10-05 08:03:08 -04:00
ImGui Snapshot for release 2026.10.12.1 (internal ef4d41d) 2026-10-12 00:33:12 -04:00
Native RynthCore as of 2026-10-04 (internal 843c801): RynthNav auto-travel and the navigation map, plugin API v75 (server and titles), launcher with Available plugins, download progress and the update on the front page, opt-in usage statistics, NPC names, radar colours, title-bar text size, FPS limiter, client action unlocks, release 2026.10.4.6 2026-10-04 18:34:27 -04:00
Net Engine robustness: appraisal merge, AutoId re-eligibility, freeze pause, OOM dump, crash logger, transition gate 2026-10-12 17:17:59 -07:00
Plugins Engine robustness: appraisal merge, AutoId re-eligibility, freeze pause, OOM dump, crash logger, transition gate 2026-10-12 17:17:59 -07:00
Report Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
UI Snapshot for release 2026.10.12.1 (internal ef4d41d) 2026-10-12 00:33:12 -04:00
CrashDump.cs Engine robustness re-review follow-ups: crash-log flush ring, cast refusal, dump hold cap 2026-10-12 17:18:00 -07:00
CrashLogger.cs RynthCore as of 2026-09-05 (internal f9abab9) 2026-09-25 21:22:59 -04:00
EngineLifecycle.cs Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
EngineThreads.cs RynthCore as of 2026-10-04 (internal 843c801): RynthNav auto-travel and the navigation map, plugin API v75 (server and titles), launcher with Available plugins, download progress and the update on the front page, opt-in usage statistics, NPC names, radar colours, title-bar text size, FPS limiter, client action unlocks, release 2026.10.4.6 2026-10-04 18:34:27 -04:00
EntryPoint.cs Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
LogPaths.cs Snapshot for release 2026.10.6.1 (internal 1cbe514) 2026-10-06 08:47:11 -04:00
MainThreadFreeze.cs Engine robustness: appraisal merge, AutoId re-eligibility, freeze pause, OOM dump, crash logger, transition gate 2026-10-12 17:17:59 -07:00
MainThreadFreezeRule.cs Engine robustness review fixes: crash-log repeats, teardown reserve, mutator gate, OOM dump safety 2026-10-12 17:17:59 -07:00
MainThreadHangWatchdog.cs Engine robustness: appraisal merge, AutoId re-eligibility, freeze pause, OOM dump, crash logger, transition gate 2026-10-12 17:17:59 -07:00
ReloadCapNotice.cs Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
ReloadDeferral.cs RynthCore as of 2026-10-05 evening (internal 0a2043e): release 2026.10.5.20 - own dat reader, plugin manifests, UI/login hooks with Loot Editor drag-and-drop, server-message stream (API v78), raise attributes and skills (API v79), nameplate sizing and overlay opacity, engine reload held while a plugin is fighting, StatusAgent character sheet, world map and travel for DrakRemote 2026-10-05 14:59:43 -04:00
RynthCore.Engine.csproj Engine robustness review fixes: crash-log repeats, teardown reserve, mutator gate, OOM dump safety 2026-10-12 17:17:59 -07:00
RynthLog.cs RynthCore as of 2026-10-05 evening (internal 0a2043e): release 2026.10.5.20 - own dat reader, plugin manifests, UI/login hooks with Loot Editor drag-and-drop, server-message stream (API v78), raise attributes and skills (API v79), nameplate sizing and overlay opacity, engine reload held while a plugin is fighting, StatusAgent character sheet, world map and travel for DrakRemote 2026-10-05 14:59:43 -04:00