| Description | Diagnostics for the MSA server:
- captures all Lua errors/warnings, deduplicated and attributed to the causing mod
- registers which mod patches which base game functions
- traces join sync objects (freeze diagnosis) with size summary
- writes a structured report to modSettings/FS25_0_MSA_JoinDebug/report.xml
- full garbage collection right before every savegame write (reduces save freezes)
- measures day and period (month) changes: frame time and heap cost of the growth tick
- v2.8: all marker distances now use the wall clock (g_time is capped by the engine dt),
measures pathfinder runs (duration, heap, iterations, collision checks), splits each frame
into engine time vs. Lua mod time, and runs a CPU canary to tell "Lua is computing" apart
from "the process gets no CPU"
Console: msaDiagReport (write report), msaDiagStatus (short status) |