tModLoader

tModLoader

Vanilla+ QoL
Shadowex3 15 Jun, 2024 @ 8:29am
Lava slime crash log
Leaving aside how inappropriate it was to force a mod like this on people who just wanted to tweak Calamity:

[17:17:34.947] [.NET TP Worker/ERROR] [tML]: An error occurred while loading VanillaQoL v1.0.0.32
The mod(s) and any dependencies have been automatically disabled.
This error was caused by the "VanillaQoL.Gameplay.NoLavaSlime" class.
System.InvalidProgramException: Common Language Runtime detected an invalid program.
at System.Runtime.CompilerServices.RuntimeHelpers.CompileMethod(RuntimeMethodHandleInternal method)
at invoke RuntimeHelpers.CompileMethod(RuntimeMethodHandle )
at MonoMod.Core.Platforms.Runtimes.FxCoreBaseRuntime.GetMethodHandle(MethodBase method)
at MonoMod.Core.Platforms.Runtimes.FxCoreBaseRuntime.Compile(MethodBase method)
at MonoMod.Core.Platforms.PlatformTriple.Compile(MethodBase method)
at MonoMod.RuntimeDetour.DetourManager.ManagedDetourState.UpdateEndOfChain()
at MonoMod.RuntimeDetour.DetourManager.ManagedDetourState.AddILHook(SingleILHookState ilhook, Boolean takeLock)
at MonoMod.RuntimeDetour.ILHook.Apply()
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase method, Manipulator manipulator, IDetourFactory factory, DetourConfig config, Boolean applyByDefault)
at MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Modify(MethodBase method, Delegate callback)
at Terraria.IL_NPC.add_VanillaHitEffect(Manipulator)
at Terraria.ModLoader.ModType.Terraria.ModLoader.ILoadable.Load(Mod mod) in tModLoader\Terraria\ModLoader\ModType.cs:line 34
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 129
--- End of stack trace from previous location ---
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 137
at Terraria.ModLoader.Mod.Autoload() in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 62
at Terraria.ModLoader.ModContent.<>c.<Load>b__44_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 303
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 408
at DMD<System.Void Terraria.ModLoader.ModContent:Load(System.Threading.CancellationToken)>(CancellationToken token)
at SyncProxy<System.Void Terraria.ModLoader.ModContent:Load(System.Threading.CancellationToken)>(CancellationToken )
at Terraria.ModLoader.ModLoader.Load(CancellationToken token)
< >
Showing 1-14 of 14 comments
Pannoniæ  [developer] 16 Jun, 2024 @ 7:21am 
Send the full crashlog please. This doesn't happen with just this mod enabled, it's almost certainly another mod stupidly injecting to the same site without matching the instructions properly.
SDice 17 Jun, 2024 @ 12:27pm 
I only get this error when using the lava slime feature from Calamity while using this mod, disabling one usually fixes it for me
Pannoniæ  [developer] 17 Jun, 2024 @ 1:08pm 
yes, but I would need the full crashlog to diagnose the issue
Lean Gaming 22 Jun, 2024 @ 7:39pm 
I still have the issue and I'd like to help getting it fixed. I tried disabling calamity to redo the config but it didn't fix it. How do I send you my crashlog?
Lean Gaming 22 Jun, 2024 @ 7:46pm 
Originally posted by Lean Gaming:
I still have the issue and I'd like to help getting it fixed. I tried disabling calamity to redo the config but it didn't fix it. How do I send you my crashlog?

crashlog 1: https://paste.gg/p/anonymous/09a4c232b9404ffcbed9b7b6f187c542
crashlog 2: https://paste.gg/p/anonymous/26cc5742bcdd40db9cb6bf39949019e4
Last edited by Lean Gaming; 22 Jun, 2024 @ 8:15pm
Pannoniæ  [developer] 23 Jun, 2024 @ 11:31am 
Looks like it's Quality of Terraria! I guess it does the same thing or similar....
Pannoniæ  [developer] 23 Jun, 2024 @ 11:36am 
They *do* have a config for disabling the feature, but the major difference is that in Vanilla+ QoL, when you disable a feature, the patch just doesn't get injected. (That's why most options require you to reload!)

In Quality of Terraria, it's patched even when turned off, but it checks the config at runtime and just modifies value to the same value -> as a result, nothing happens.

If you want the crash to disappear, disable the feature in *this* mod, or remove Quality of Terraria from your install.
Lean Gaming 24 Jun, 2024 @ 10:48am 
Originally posted by Pannoniæ:
They *do* have a config for disabling the feature, but the major difference is that in Vanilla+ QoL, when you disable a feature, the patch just doesn't get injected. (That's why most options require you to reload!)

In Quality of Terraria, it's patched even when turned off, but it checks the config at runtime and just modifies value to the same value -> as a result, nothing happens.

If you want the crash to disappear, disable the feature in *this* mod, or remove Quality of Terraria from your install.
So I disabled the lavaless slime in QoT, and it didn't fix it ;(
I'm primarily using it for its other features like the shared buffs, ore bag, big bag, fishing machine, and some other stuff..

crashlog 3: https://paste.gg/p/anonymous/873cada491814333a7073f6d6f9c36d3
Pannoniæ  [developer] 24 Jun, 2024 @ 10:56am 
No, disable the lava slime in *this* mod (Vanilla+ QoL), not QoT. As I said above, disabling the lava slime in QoT does not actually work, so it will still crash.
Lean Gaming 24 Jun, 2024 @ 5:14pm 
Originally posted by Pannoniæ:
No, disable the lava slime in *this* mod (Vanilla+ QoL), not QoT. As I said above, disabling the lava slime in QoT does not actually work, so it will still crash.
So I just found out how to change a mod config without having the mod loaded in tMod, I disabled lavaslime on your mod and now it works!
Pannoniæ  [developer] 24 Jun, 2024 @ 5:39pm 
<3
Vulcan 19 Jul, 2024 @ 5:21pm 
Originally posted by Lean Gaming:
Originally posted by Pannoniæ:
No, disable the lava slime in *this* mod (Vanilla+ QoL), not QoT. As I said above, disabling the lava slime in QoT does not actually work, so it will still crash.
So I just found out how to change a mod config without having the mod loaded in tMod, I disabled lavaslime on your mod and now it works!

how do you disable this config without having the mod loaded?
Pannoniæ  [developer] 19 Jul, 2024 @ 5:45pm 
I sadly don't know :(
禹度 28 Nov, 2024 @ 11:55pm 
Originally posted by Vulcan:
Originally posted by Lean Gaming:
So I just found out how to change a mod config without having the mod loaded in tMod, I disabled lavaslime on your mod and now it works!

how do you disable this config without having the mod loaded?
first disable or remove 'quality of terraria', then enable this mod, so that u can disable the config in setting, then enable both mod and everything goes right
< >
Showing 1-14 of 14 comments
Per page: 1530 50