SPT Server Monitor

  • Revin added a new file:

    Revin

    The Revin of Revs

  • Revin added a new version:

    Quote

    v1.01.1 Changes:

    Changes and Fixes:

    • Corrected Priority Setting Ensured the priority is set to High using [System.Diagnostics.ProcessPriorityClass]::High.
    • Improved Time Zone Handling. Used a try-catch block to handle invalid time zone IDs gracefully.
    • Monitoring in a Separate Session:
    • Corrected the arguments for Start-Process to ensure the monitoring script starts correctly in a new PowerShell window.
    • Ensured the Main Script Exits If Program Already Running. Checked for existing instances of the program and exited if found, to avoid multiple instances running simultaneously.
    • Fixed Time Zone Conversion and Restart Logic. Simplified and corrected the logic to restart the program at the specified time.

    Revin

    The Revin of Revs

  • Revin added a new version:

    Quote

    v1.01.2 Changes:

    • "Log-CrashTime" function now accepts a reason parameter, which includes the reason for the crash.
    • The "Monitor-Program" function captures any errors when trying to retrieve the process and logs those errors if the process is not found. This way, the log file will include both the timestamp and the reason for each crash. This, however, will not tell you what mod potentially crashed your server. It will explain other reasonings as to why it crashed.

    animehappyhop animehappyhop animehappyhop animehappyhop animehappyhop animehappyhop animehappyhop animehappyhop animehappyhop animehappyhop

    Revin

    The Revin of Revs

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!