Mod Details

SuntionCore 1.1.0

Created by Suntion

108 Downloads

SPT 4.0.12 Compatible

Some commonly used methods extracted and optimized from the mods I've created, suitable for SPT server mods.

Latest Version 1.1.0
SPT 4.0.12

Updated 3:01 PM

14.72 KB

Version Notes

chore(core): Bump version to 1.1.0 and enhance logging and exception diagnostics

  • Observability improvements: Enhance log tracking and exception context information after object disposal
    • Refactor ModLogger.LogMessage logic: When the _disposed state is detected, output red-highlighted error logs via Console.WriteLine, fully recording the stream type (LogWriterStream), original message, and exception stack trace (StackTrace) to prevent silent failures
    • Refine I18N exception prompts: Clearly distinguish between “setting the current language” and “retrieving translation keys” scenarios in NotLoadLanguageException, and dynamically inject CurrentLang and the missing key into the error information to improve troubleshooting efficiency

No API changes

This download is externally hosted.
Always scan for viruses.

Details