Troubleshoot ACE server log warnings/errors. Use when the user types /ace-log, mentions Ace_Log.txt, startup crashes, "Missing IHarmonyMod Type", mod load failures, or wants help interpreting ACE.Server logs. Assumes the ACE server folder is exposed inside the workspace via a junction/symlink (e.g. ACE-Server -> C:\\ACE\\Server).
Whenever this work involves MCP servers, OpenAPI/REST specs, GraphQL endpoints, or CLI or skill generation for external APIs, read and follow .cursor/skills/mcp2cli/SKILL.md in addition to this skill (same scope as /mcp2cli). Prefer uvx mcp2cli for discovery and execution per that file.
This skill helps troubleshoot ACE server issues by reading Ace_Log.txt (and related log/config files) and mapping warnings/errors to likely causes and fixes in ACE mods, settings, and build output.
The agent can only read files that are inside the current repo workspace. To allow log access, expose your ACE server folder inside the repo using a junction (recommended):
cd C:\Users\jeremy\source\repos\ace-raaj-mods
mklink /J ACE-Server C:\ACE\Server
Expected log path in workspace after that:
ACE-Server\Ace_Log.txtIf the junction doesn’t exist, instruct the user to create it (or paste the relevant log excerpt).
ACE-Server\Logs\ and any crash dump notes.For each distinct WARN/ERROR block, group and rank by severity:
Meta.jsonCheck for these common issues and apply the standard remediation:
Most common causes:
*.deps.json present in C:\ACE\Mods\<ModName>\ACE.Shared.dll missing from the mod output folderFixes:
.csproj deletes *.deps.json, *runtimeconfig.json, *.pdb, and runtimes/ on all builds (not only Release).ACEmulator.ACE.Shared is bundled (do not exclude runtime assets for ACE.Shared).If the mod relies on OnWorldOpen() only, settings can be null or stale after hot-reload.
Fix pattern:
OnWorldOpen() for hot reload of JSON edits.Fixes:
Settings.json is valid JSON (comments are only safe if your loader supports JSONC-style; prefer documented templates that remain valid JSON).bool, int, double, arrays, dictionaries).For each log block:
For each issue, output:
Keep the output concise and prioritize the first root cause; secondary warnings can be handled after stability is restored.
User: /ace-log
Agent: reads ACE-Server\Ace_Log.txt, summarizes top errors/warnings, proposes fixes.
User: “I’m getting ‘Missing IHarmonyMod Type’ after rebuilding”
Agent: checks mod output cleanup targets, ACE.Shared presence, Harmony runtime exclusion; proposes .csproj fixes.
User: “My mod settings aren’t updating after /mod f …”
Agent: ensures settings are loaded in constructor/Start(), not only OnWorldOpen().