SubworldLibrary icon indicating copy to clipboard operation
SubworldLibrary copied to clipboard

SubworldSystem.cs launch parameter fix

Open enkyn opened this issue 1 year ago • 1 comments

TL;DR: Fixes a typo causing the -tmlsavedirectory launch parameter to not be passed through when starting a sub-server.

I'm running a tModLoader server (in a container) that includes the Stars Above mod, among others. When trying to travel to other worlds, we would get stuck on the "Saving World Data: 100%" screen that other issues have previously mentioned. Creating a symbolic link from /root/.local/share/Terraria/tModLoader to the directory I specify in the -tmlsavedirectory server launch parameter made it so we could load into subworlds.

Here is the relevant part of the log hinting at the problem:

[20:34:03.345] [Main Thread/INFO] [tML]: Executable: /srv/tmod/tModLoader.dll
[20:34:03.345] [Main Thread/INFO] [tML]: Working Directory: /srv/tmod
[20:34:03.346] [Main Thread/INFO] [tML]: Launch Parameters: -server -showserverconsole -world /srv/data/Worlds/world.wld -subworld StarsAbove_Observatory -config /srv/data/serverconfig.txt
[20:34:03.349] [Main Thread/INFO] [tML]: Parsed Launch Parameters: -server -showserverconsole -world /srv/data/Worlds/world.wld -subworld StarsAbove_Observatory -config /srv/data/serverconfig.txt
[20:34:03.707] [Main Thread/INFO] [tML]: Saves Are Located At: /root/.local/share/Terraria/tModLoader

enkyn avatar Jan 26 '25 06:01 enkyn

bruh

jjohnsnaill avatar Feb 04 '25 17:02 jjohnsnaill

Fixed in 2.2.3.2, wow this was embarrassing LOL

jjohnsnaill avatar Aug 20 '25 19:08 jjohnsnaill