tModLoader
Оцінок: 4,524
Subworld Library
4
3
5
2
5
2
2
2
   
Нагородити
До улюбленого
В улюблених
Прибрати
Mod Features: Library
Mod Side: Both
tModLoader Version: 1.4.3, 1.4.4
Розмір файлу
Додано
Оновлено
219.079 KB
26 берез. 2022 о 13:55
18 черв. о 12:55
Змін 17 ( перегляд )

Підпишіться, аби завантажити
Subworld Library

Опис
NOTE
Cloud saving/Steam Cloud is known to cause freezes when entering subworlds that save in Singleplayer. If you're experiencing this, try disabling it for the time being (Steam Cloud isn't a reliable service anyway).
https://github.com/jjohnsnaill/SubworldLibrary/issues/43

An API for modders to easily add dimensions (referred to as subworlds) to their mods, making all the necessary code injections, handling Multiplayer and managing every subworld.

Report issues on the forum page or GitHub:
https://forums.terraria.org/index.php?threads/86283
https://github.com/jjohnsnaill/SubworldLibrary/issues

Wiki:
https://github.com/jjohnsnaill/SubworldLibrary/wiki

HOW IT WORKS
Subworld Library does a LOT of code injection, as Terraria was not made with subworlds in mind.
Subworlds are highly customisable; from how big or small they are, to what ModSystems can update inside of them and even how they are lit.
Subworld Library removes Space, both Oceans and the Underworld from subworlds, allowing them to be extremely small without issues.

LOADING
Loading a subworld is straightforward. Loading screens can be as simple as text on a plain background, or something complex, like an item selection menu.

SAVING
Subworlds save to a directory named after the main world. A subworld and/or changes to players inside it can be temporary. Deleting a world deletes all of its subworlds as well.

MULTIPLAYER
Subworld Library works in Multiplayer with little to no extra work required from modders. A "subserver" is opened for every subworld being occupied.
Цитата допису tModLoader:
Developed By John Snail
Коментарів: 321
ravyn 8 верес. о 5:29 
I have to add the important detail that while this is happening there is *no* cancel button, it just says Saving Map Data 100%, so you *have* to alt+f4 your game to get back in. It basically wouldn't be much of an issue at all otherwise.
Since it doesn't kill the subserver, however, you can simply
- Attempt to travel to the subworld, wait for the server to properly start the subserver
- ALT+F4 your game
- Reattempt to travel to the subworld
and it will work.
ravyn 8 верес. о 5:24 
I figured out the workaround -- you just need to put your actual server files in the default save directory. The problem I have now is that when you're going to the subworld, during the process of the subserver booting up, it occasionally will boot you out of the server (printing Player has left.) to the console, but it doesn't seem to shut down the subserver, as, after it boots up, a second player can join it. It seems to happen basically every time you join a subworld with the subserver not yet being up. Maybe being timed out, or something?
John Snail  [автор] 23 серп. о 8:06 
Oh I see you commented previously lmao, maybe a month at most? I believe there are workarounds to that issue in the meantime.
LuxuriousFiji 22 серп. о 13:19 
just the issue that was being fixed for the next update.

can't use the mod due to it not passing info to the subworlds on linux.
John Snail  [автор] 22 серп. о 2:03 
Is there another major issue I'm unaware of? Also please never say that again
LuxuriousFiji 21 серп. о 15:35 
Can we slobber your knobber for a eta on the linux fix? No intent to rush, just wanna know when to check back.:cool_seagull:
saph0704 8 серп. о 23:49 
Is there a way to view mods that have labeled this one as a dependency?
John Snail  [автор] 5 серп. о 10:42 
It may take a few attempts to connect to a subworld (and there will be an update to fix it) but it does work.
Oxytoxy365 5 серп. о 9:52 
I don't usually care much about multiplayer but I heard in the calamity discord server that this actually doesn't work in multiplayer?
XzotaNova 4 серп. о 18:00 
ok fixed it had to reinstall the game