tModLoader

tModLoader

androLib
Halita Silverblood 2023 年 9 月 26 日 下午 9:17
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.
最后由 Halita Silverblood 编辑于; 2023 年 9 月 27 日 上午 8:41
< >
正在显示第 1 - 9 条,共 9 条留言
andro951  [开发者] 2023 年 9 月 26 日 下午 9:52 
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.
Halita Silverblood 2023 年 9 月 26 日 下午 9:59 
Wish you the best, and goodnight. :)
Halita Silverblood 2023 年 9 月 26 日 下午 10:35 
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.))
最后由 Halita Silverblood 编辑于; 2023 年 9 月 27 日 上午 12:20
andro951  [开发者] 2023 年 9 月 27 日 上午 6:16 
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  [开发者] 2023 年 9 月 27 日 上午 6:17 
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  [开发者] 2023 年 9 月 27 日 上午 6:51 
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  [开发者] 2023 年 9 月 27 日 上午 6:59 
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.
Halita Silverblood 2023 年 9 月 27 日 上午 7:22 
Just joined the Discord to troubleshoot this further.
andro951  [开发者] 2023 年 9 月 27 日 下午 4:10 
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.
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50