tModLoader

tModLoader

Not enough ratings
Another SSC
   
Award
Favorite
Favorited
Unfavorite
Mod Features: Utilities
Mod Side: Both
tModLoader Version: 1.4.3, 1.4.4
File Size
Posted
Updated
127.465 KB
Jun 19, 2022 @ 9:51pm
Jan 21, 2024 @ 3:11pm
28 Change Notes ( view )

Subscribe to download
Another SSC

Description
Another Server Side Character mod
version 1.1 rc3

# word of caution
This mod is in the pre-production phase. It has now reached a release candidate (3) version.
There might be unknown instability conditions. Data loss may still be possible.

# info
Of note there are unhandled problems that are outside the vanilla server-side bounds:
* Server exits with the command "exit"
* " crashes
To mitigate unforeseen crashes, there is server-side hard backup archiving run every 5-10 minutes.

For those online -- for those not online, see [# how it works] -- a "savessc" console command will save their data.

Unloaded (or Mystery) items from unloaded mods tends to crash the MP client. This is being looked into.

Do not use this mod yet for major events, and be aware that there might be bugs.



Change log
version 1.0.47.23 -> 1.1
# Changed

# Added
-> UI description of the log in element
-> A few UI visuals
-> Mod name added to item DB
-> Missing mod name notice when entering SP
-> Legacy DB manage for DBs without mod name entry
-> New DB entry now sanity checks mod item types if they're different based on what content mods are loaded
-> List box of unloaded mods when acquiring item DB
# Fixed
-> Player inventory gets safely unloaded when leaving a MP server
-> DB mod name entry reverting to legacy instead of new
-> Mod name entry skipped due to differences in key value serializing
-> Button drawing on HoverOver
-> MP UI text being misaligned
# Updated
-> tUserInterface button element drawing
-> Ported to latest version




# crash mitigation
Server side crash mitigation was greatly improved in version 1.0.42.* where if the MP client drops connection abnormally, the server will read this as a disconnect and save the player data instance at pre-crash.

# feedback
There is the Steam workshop page and then you can find me in the tModLoader Discord.

# how it works
It saves character data many ways:
* In singleplayer on Save and Quit
* Pre-login on multiple player clients
* Soft-backups every time the server sends world data
* Hard .zip backups for manual recovery every 5-10 minutes
* When a player Save and Quits a multiplayer client
* Manual console command that saves server-side ("savessc")
## features in alpha
* Version 1.0.42.* introduced a form of client crash mitigation
Originally posted by tModLoader:
Developed By Duze
16 Comments
Flimmy  [author] Jan 21, 2024 @ 3:13pm 
Poking around, I learned it was a quick update to the latest tModLoader version.
Stormbox Dec 11, 2022 @ 8:17am 
Did development of this mod stopped?
Galaxy Nov 3, 2022 @ 4:40pm 
Integration with Hero's Mod?
Flimmy  [author] Jul 5, 2022 @ 3:45pm 
There is crash mitigation by back up saving. Have you checked the "SscDB-backup.dat" file? In case there are further niche moments, I will be uploading a new version with a second backup solution.
Flimmy  [author] Jul 4, 2022 @ 11:25am 
Btw, the migration error was a thing I was not aware of, so big thanks for the information, since I did not have old databases to test with.
Flimmy  [author] Jul 4, 2022 @ 11:24am 
There were two bugs: an array length value and incorrect cast.

So the problem is that I cannot test the new database migration feature as thoroughly as I would like. I'll continue though, but the new version.. should.. migrate old databases correctly. Basically it just adds missing entries for each player, and then saving and loading can occur again.
Mr. Erik Jul 2, 2022 @ 11:31pm 
Here is what I found in client.log if this helps:
System.FormatException: String '0' was not recognized as a valid Boolean.
at System.Boolean.Parse(ReadOnlySpan`1 value)
at System.Boolean.Parse(String value)
at AnotherSSC.AnotherSSC.HandlePacket(BinaryReader reader, Int32 whoAmI) in AnotherSSC.cs:line 241
Mr. Erik Jul 2, 2022 @ 11:26pm 
After update any other player after the first gets stuck at "Syncing Mods". Just confirmed that multiple players are able to join again with this one disabled.
Flimmy  [author] Jun 27, 2022 @ 10:11pm 
The debuff is removed lul. When everything is proven to work I'll consider testing the debuff again.
雪い Jun 27, 2022 @ 3:46am 
After logging in, we still see eachother stoned and move animation desync teleporting