-
Notifications
You must be signed in to change notification settings - Fork 1
Significant Backend improvements, Performance & Usability Updates #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…t much functionality.
…allow scheduled restarts
…changes on the Stationeers side
…but players are NOT raccoons)
…ecific world types for clarity and user guidance
…e URL and moved to own file
…condition (Stationeers / Bepinex) but no effect on server so can be ignored
… to make the gameserver load the correct save when restoring saves.
…int on debug layer instead
- Added styling and automatic fetch at server startup (removed JXSN.dev Steam fetching api implementations again due to misuse considerations brough up by @mitoskalandiel) - Added PlayerImages with Stationeers characters instead
Backups fetch every 30 sec, players every 10 sec.
…on config.SetSaveConfig()
…he user defined in config.json. Now supports multiple users
…ex page instead of branch if set (@shezzer)
- Replaced mutex locks with read locks for config getters in getters.go to resolve deadlock issues on main thread - Updated references to control message ID and buffer flush ticker in discordbot files to use local vars instead of config vars
…ssues on Windows added logger.SubSystem.Clean to print log messages without prefixes / metadata
…omplete in loader
…w run server start properly squential
…ake errors and friends
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Significant Backend improvements, Connected player tracking, Restore Fixes
Warning
This update includes significant backend improvements and new features. If you encounter any issues, please report them via Discord or GitHub Issues.
Important
To use SSUI with the current Stationeers Beta, visit Config -> Beta Settings -> Use New Terrain and Save System -> True.
New Features
/logsAPI endpoint (e.g.,/logs/info) to stream logs at various levels, including a "backend" mode that shows all levels combined. /logs/debug only shows debug if log level is set to 10.SSUIIdentifier, which now also appears on the index page (replacing the branch name if set) for personalized branding.Fixed Hanging / Blocking issues on Windows
The previous logger implementation caused situations where the main thread would hang on Windows due to blocking terminal console I/O operations (
syscall.WriteConsole), particularly when the console was in QuickEdit mode or the terminal console buffer was full. This halted the main thread, meaning SSUI would become useless unless enter was pressed on the terminal console, impacting basically every aspect of SSUI. Multiple bugfixing martathons by @JacksonTheMaster have introduced asynchronous logging to prevent server hangs.This PR addresses these issues by:
Completely overhauled the config system...
Bug Fixes
Game related
DateTimeinworld_meta.xmlfor accurate loading.SSUI related
config.jsonwithout overwriting existing entries.CleanUpOldExecutablesonly runs on the root directory to prevent unintended deletions.General Improvements
...much more little improvements and bugfixes improving overall code quality
Important
To use SSUI with the current Stationeers Beta, visit Config -> Beta Settings -> Use New Terrain and Save System -> True.