RynthCore/tools
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Wallace 8c7201dc25 Engine robustness review fixes: crash-log repeats, teardown reserve, mutator gate, OOM dump safety
Native crash logger
- Per-address slots keep hit counts and a last-write tick; a repeat relogs at powers of
  two, after 30 s, or for any non-AV code. The oldest noise slot is evicted when the
  table is full.
- The logger checks its dedupe first, caches the module table, and opens the log
  handle once at install. Managed-noise bucket (coreclr, clrjit, System.Private.CoreLib).

Main-thread queue
- The action ring (ActionRing) rejects non-teardown work during a world transition and
  reserves its top 32 slots for teardown, so a stop is never lost behind held work.
  IsTeardownKind is shared by the enqueue and drain sides. ActionRing.TryPeekAt lets the
  cast drain's StopQueuedAtOrBefore walk the ring it no longer owns directly; the walk
  now checks every queued entry, since an entry's time is taken before the ring's lock.
- MutatorGate: every AC-mutating helper opens with the same gate,
  AcMainThreadQueue.MustQueue(teardown: X); IsDraining and ShouldDefer added; teardown
  helpers are exempt from the hold. tools\check_offthread_mutators.py accepts MustQueue
  as the gate (it asks MainThreadGuard.IsOnMainThread itself).
- MasteryFeed and VaultFeed pause during a transition. The heading slot drops a stale
  heading; the overlay select is kept.
- RequestId never merges into an entry queued at or before the last transition hold;
  EnqueueRequestId returns false during a transition.
- 0xF751 PlayerTeleport starts the 5 s settle window.
- Cast slot: the queue time and Pending are published with Volatile.Write (a plain 64-bit
  store can tear on x86 and the drain reads both without the lock); the stop-wait flag is
  reset before the publishing store.

Appraisals
- Appraisal data survives a client release for 10 min (bounded at 4096); evicted on
  server delete (0xF747) and at session clear. 0xF747 is detected in SmartBox dispatch,
  independent of capture.

Dumps
- Dump start/end markers in the log; the launcher holds its wedge kill while a dump is
  in progress (DumpInProgressRule). The in-progress flag is cleared only when the writer
  thread exits.
- The OOM dump triggers only on the main thread with AC's exact text, before stacks are
  built. Dumps are pruned only after a successful write, and other live clients' dumps
  are kept. CrashDump reads the file length before Delete.
- ExitProcess/RtlExitUserProcess detours forward crash codes first.
- The message box count is decremented first in a finally; 30 s safety reset when no box
  is visible on the main thread.
- UsageStats counts the loader's CoreCLR fatal-error dumps (Logs\dumps\clr_*.dmp) as
  crashes alongside crash_*.dmp.

Tests: EngineRobustnessTests, CrashLogFilterTests, UsageStatsTests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-12 17:17:59 -07:00
..
AcMouseOverTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
AelrynthTests 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
AlcRoots 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
CharacterTitlesTests 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
ChatCoordTests 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
ChatDiscordTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
ChatFilterTests Snapshot for release 2026.10.9.3 (internal 3bc5f9f) 2026-10-09 21:42:39 -04:00
ChatHistoryBench Snapshot for release 2026.10.12.1 (internal ef4d41d) 2026-10-12 00:33:12 -04:00
ChatHoldTests 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
ChatTellTests Snapshot for release 2026.10.8.1 (internal e654aa5) 2026-10-08 17:29:52 -04:00
CreatureSizes Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
CreatureSizesTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
DatReaderCheck 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
DecalBridgeCheckTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
DecalBridgeProtocolTests 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
DecalBridgeRepair 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
DisconnectCloseTests Snapshot for release 2026.10.12.1 (internal ef4d41d) 2026-10-12 00:33:12 -04:00
EngineRobustnessTests Engine robustness review fixes: crash-log repeats, teardown reserve, mutator gate, OOM dump safety 2026-10-12 17:17:59 -07:00
EngineSettingsTests Snapshot for release 2026.10.12.1 (internal ef4d41d) 2026-10-12 00:33:12 -04:00
FlightRecorderTests Snapshot for release 2026.10.6.1 (internal 1cbe514) 2026-10-06 08:47:11 -04:00
FloodProbeBench 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
HookResolver.Core RynthCore as of 2026-09-05 (internal f9abab9) 2026-09-25 21:22:59 -04:00
HookResolver.SmokeTest RynthCore as of 2026-09-05 (internal f9abab9) 2026-09-25 21:22:59 -04:00
HookResolver.UI Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
IltTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
InstallPathsTests Snapshot for release 2026.10.6.1 (internal 1cbe514) 2026-10-06 08:47:11 -04:00
ItemHudTests Snapshot for release 2026.10.6.1 (internal 1cbe514) 2026-10-06 08:47:11 -04:00
LargeAddressAlignmentTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
LauncherSettingsTests 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
LauncherUpdateTests Snapshot for release 2026.10.6.1 (internal 1cbe514) 2026-10-06 08:47:11 -04:00
LoaderReloadCapTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
LoaderStagingTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
MetaEditTests Snapshot for release 2026.10.12.1 (internal ef4d41d) 2026-10-12 00:33:12 -04:00
navdata 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
NavDataUpdateTests Snapshot for release 2026.10.6.1 (internal 1cbe514) 2026-10-06 08:47:11 -04:00
NetMessageProbe 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
NetMessageTests Snapshot for release 2026.10.9.3 (internal 3bc5f9f) 2026-10-09 21:42:39 -04:00
PanelTextScaleTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
PanelWindowTests Snapshot for release 2026.10.6.1 (internal 1cbe514) 2026-10-06 08:47:11 -04:00
PlateSizingTests 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
PluginManifestTests Snapshot for release 2026.10.12.1 (internal ef4d41d) 2026-10-12 00:33:12 -04:00
PreCastStopTests Snapshot for release 2026.10.12.1 (internal ef4d41d) 2026-10-12 00:33:12 -04:00
ProblemReportTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
PropertyWireTests 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
ReloadCapTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
ReloadDeferralTests 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
StatusAgentTests Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
TestClient 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
TrainingCostTests 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
UsageStatsTests Engine robustness review fixes: crash-log repeats, teardown reserve, mutator gate, OOM dump safety 2026-10-12 17:17:59 -07:00
VideoPatchTests Snapshot for release 2026.10.6.1 (internal 1cbe514) 2026-10-06 08:47:11 -04:00
VTankWatchTests 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
check-patterns.ps1 RynthCore as of 2026-09-05 (internal f9abab9) 2026-09-25 21:22:59 -04:00
check_imgui_calls.py 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
check_offthread_mutators.py Engine robustness review fixes: crash-log repeats, teardown reserve, mutator gate, OOM dump safety 2026-10-12 17:17:59 -07:00
check_phosphor_icons.py 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
pe_pattern.py Snapshot for release 2026.10.6.1 (internal 1cbe514) 2026-10-06 08:47:11 -04:00
ProcPatchDiff.py 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
soak_scorecard.py RynthCore as of 2026-09-05 (internal f9abab9) 2026-09-25 21:22:59 -04:00
symbolicate.ps1 RynthCore as of 2026-09-05 (internal f9abab9) 2026-09-25 21:22:59 -04:00
symbolicate.py RynthCore as of 2026-09-05 (internal f9abab9) 2026-09-25 21:22:59 -04:00
train_senders_check.py 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
ui_hooks_check.py Snapshot for release 2026.10.11.1 (internal 4eca83a) 2026-10-11 15:00:53 -04:00
WatchPatch.py 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