Files
WT-Offline/mod-dev-docs/en/07-troubleshooting-and-faq.md
T

1.5 KiB
Raw Blame History

07 · Troubleshooting & Best Practices

1. Where to Check Logs

Open Settings › Diagnostics › Open logs folder or About › Export diagnostics:

  • launcher.log: filter [build] for pack/GUI/exe patch reports, [mods] for Junction mount and native-file conflict warnings, and [mod:<id>] for server script logs and stack traces.
  • <copy>/.game_logs/*.clog: client Quirrel runtime errors and [PACK] / pkg_user asset loading logs.

2. Common Issues

  • Discovery error in Mods page: check mod.jsonc JSON syntax, unknown keys, id format, and server.entry path.
  • Blocking errors on Launch: enable missing requires dependencies or disable one of two mutually conflicting mods.
  • Node TS syntax error: avoid enum/namespace/parameter properties in raw .ts, or bundle to .mjs.
  • overlaps protected core patch: mod exe patch collided with a locked core isolation patch; choose a non-overlapping site.
  • Client hangs at "Loading": run full sq.exe compilestring bytecode checks on all modified/added .nut files.

3. Cross-Drive & Non-NTFS Behavior

  • NTFS drives mount client/addon/ and exclusive UserSkins//UserSights//UserMissions/ folders via cross-drive NTFS Directory Junctions (no admin required, 0 extra space).
  • Flat shared files (sound/mod/*.bank) try file symlink → same-drive hardlink → size/mtime cached copy.
  • exFAT drives automatically fall back to incremental cached copies.