tModLoader

tModLoader

androLib
Client Disconnection Report
RESOLVED.
If anyone gets this error, this is a tModLoader issue involving Host+Play. A dedicated server will work.

------------------------
Client's Log:
https://pastebin.com/dWwYrHzA

Server's Log:
https://pastebin.com/1RKRLyr4

Ends with the client crashing or hanging endlessly. Started occurring with tonight's update. Absolutely no leadup to the crash I can see, hence didn't post one at first.
Last edited by Halita Silverblood; 27 Sep, 2023 @ 8:41am
< >
Showing 1-9 of 9 comments
andro951  [developer] 26 Sep, 2023 @ 9:52pm 
I don't see anything obviously from any of my mods, so I'm going to stop looking at it for tonight. Hopefully in the morning I'll be more fresh and be able to find something.
Wish you the best, and goodnight. :)
Halita Silverblood 26 Sep, 2023 @ 10:35pm 
Just ran some more fresh tests to clean up my pack a little when I peered over the logs. Reported an issue to Eliaria's devs after narrowing down that mod, and am likely removing Aetherius.

Wanted to post a clean version of the log with them gone, as those are are responsible for all errors but the missing-MagicStorage error for your Weapon Enhancements and the disconnection error I have no way of testing in solo.

https://pastebin.com/DE4vJtdr

((Is there also a chance this error could be vanilla tModLoader? Been reading about a similar issue back in 1.4.3.))
Last edited by Halita Silverblood; 27 Sep, 2023 @ 12:20am
andro951  [developer] 27 Sep, 2023 @ 6:16am 
I had another look through, but I still don't see a crash error.
[00:24:43.908] [.NET ThreadPool Worker/DEBUG] [tML]: Assembly Resolve: WeaponEnchantments, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null -> MagicStorage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[00:24:44.053] [.NET ThreadPool Worker/WARN] [tML]: Silently Caught Exception:
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'MagicStorage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.Assembly.GetTypes()
at WeaponEnchantments.WEMod.AddAllContent(WEMod weMod) in WeaponEnchantments\WEMod.cs:line 94
at WeaponEnchantments.WEMod.Load() in WeaponEnchantments\WEMod.cs:line 61
at Terraria.ModLoader.ModContent.<>c.<Load>b__42_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 284
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 368
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 277
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 126
at Terraria.ModLoader.ModLoader.<>c__DisplayClass46_0.<BeginLoad>b__0() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 106
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()

This is the only "error" I see, but it's from a try catch statement. I expect it to error in certain situations, so I protect it with a try catch, but it will still show up in the logs. (AKA, not an issue.)
andro951  [developer] 27 Sep, 2023 @ 6:17am 
I do remember a similar issue in the past like you mentioned with a client trying to connect for ever, but I don't remember much about it.
andro951  [developer] 27 Sep, 2023 @ 6:51am 
I know it's less convinient, but can you try hosting with a dedicated server instead of Host+Play?
C:\Steam\SteamApps\common\tModLoader\start-tModLoaderServer.bat is the default location.
andro951  [developer] 27 Sep, 2023 @ 6:59am 
I should be able to see what the issue is if I try joining your world if that's an option. If you have discord, I respond on there much faster because it actually gives me a notification instead of having to manually check with steam.
Just joined the Discord to troubleshoot this further.
andro951  [developer] 27 Sep, 2023 @ 4:10pm 
If anyone else is having the same issue, this is a tModLoader bug. For the time being, players can use a dedicated server to play multiplayer isntead.
C:\Steam\SteamApps\common\tModLoader\start-tModLoaderServer.bat is the default location.
< >
Showing 1-9 of 9 comments
Per page: 1530 50