tModLoader

tModLoader

59 ratings
Subworld Library Unofficial Mod Patch (deprecated)
   
Award
Favorite
Favorited
Unfavorite
Mod Side: Both
tModLoader Version: 1.4.4
Language: English
File Size
Posted
Updated
71.751 KB
5 May @ 2:56pm
13 Aug @ 11:38am
7 Change Notes ( view )

Subscribe to download
Subworld Library Unofficial Mod Patch (deprecated)

Description
NOTICE: With the new version of Subworld Library v2.2.3.2 this mod is no longer needed, the mod will not apply the fixes anymore. Feel free to remove it, or keep it in case of future fixes.

------------------------------------------------------------------------------------------------------

Subworld Library Unofficial Mod Patch (SLUMP)

This mod patches Subworld Library by adding additional functionality and potential fixes to improve the multiplayer experience of subworlds.

Currently the mod contains 3 server-sided patches which may improve stability in multiplayer:

1) Write Loop Thread.
- Seperates the Main Thread and sub/main server Read Loop Thread by adding an additional communication layer.
- Bypasses blocking writes on the main thread.
- Reduces the chance of servers deadlocking.
- Reduces potential communication slowdowns on the main server.
- May increase total packet latency for clients connected to a sub-server.

2) Packet Filter.
- Adds a packet filter to the incoming communication.
- Intentionally blocks/drops packets a client is not allowed to send during certain stages of the login process.
- Reduces the chance of random disconnects or 'infinite loading screens' when going between servers.
- Bypasses 'bootplayer' code.

3) Crash Detection.
- Keeps track of the process of the subserver.
- When the subserver closes transfers all players connected to the subserver back to the main server.
- NOTE: Trying to rejoin a crashed server might still cause infinite loading screens.

The individual patches can be enabled/disabled in the mod config. Some might need a reload!

If you encounter any problems, please post them on the workshop page.

---------------------------------------------------------------------------

FAQ:

Q: I get the message 'Backing up player file'.
A: Most likely the subserver crashed. Please check the log files for errors.

Q: Does this mod fix multiplayer for XYZ mod?
A: These patches are aimed at Subworld Library specifically, if another mod is not multiplayer compatible this will not make it work.

Q: Why do my boss downed status get reset?
A: Most likely only affects Calamity bosses, seems to be some issue on their end or a mod incompatibility. Use 'Calamity Boss Resyncer' mod for the time being.
Originally posted by tModLoader SLUMP:
Developed By Rhoenicx
52 Comments
Rhoenicx  [author] 13 Aug @ 11:05am 
Updated the mod to version v1.0.0.5. Made changes to reduce CPU usage of SLUMP's WriteLoop threads and SubLib's CheckTimeout thread.

Thanks PoT devs for pointing this out :)
Rhoenicx  [author] 10 Aug @ 11:27pm 
I have seen this behaviour before but don't quite know yet where it comes from. Somehow the mod is not loaded on the server. If you're hosting locally I would suggest looking at the enabled mods file inside the mods folder on your disk (Documents\My games\Terraria...)
Proff_Noodles 10 Aug @ 8:50am 
Trying to run this with the stars above mod as stars above directly has a warning to use this mod if playing in multiplayer
However every time I try to load the server it says that it's going to disable the mod if I want to load it
icedudee1 24 Jul @ 4:41am 
cant seem to find the subworld libary patch in my mods folder, whats it called?
Avi 23 Jul @ 11:20am 
Can do, want to take to dm's?
Rhoenicx  [author] 23 Jul @ 11:18am 
That sounds strange. Might be some incompatibility with another mod. Would you be able to share the server's log files?
Avi 23 Jul @ 11:05am 
So I'm being forced to disable this mod upon trying to load a multiplayer world with it enabled, tried creating a new character, new world, same thing. Singleplayer it works though.
Furina 13 Jul @ 5:26pm 
After enabling the Multiplayer-Fallback cosmic Voyages, I still periodically get the message telling me to enable subworld transit
Rhoenicx  [author] 7 Jul @ 12:07pm 
Anyways good to know you found the cause of the issue. I'll send a message to the Subworld Library developer about this.
Rhoenicx  [author] 7 Jul @ 12:06pm 
I know the about both of these failed messages. The first one on UpdateConnectedClients is a known issue on Subworld Library's side, SLUMP contains a fix for this one. I have currently no idea where the second failed message comes from, it appears to be caused by Subworld Library but don't know where or why exactly...