tModLoader

tModLoader

Weather Potions
Renari 25 Jun, 2022 @ 11:59pm
Doesn't seem to work on latest 1.4 release
[02:57:34] [.NET ThreadPool Worker/INFO] [tML]: Initializing: WeatherPotions (Weather Potions) v0.3.1 [02:57:35] [.NET ThreadPool Worker/WARN] [tML]: Silently Caught Exception: System.MissingFieldException: Field not found: 'Terraria.ID.SoundID.Item3'. at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETCore30Platform.CompileMethodHook(IntPtr jit, IntPtr corJitInfo, CORINFO_METHOD_INFO& methodInfo, UInt32 flags, Byte*& nativeEntry, UInt32& nativeSizeOfCode) at System.Runtime.CompilerServices.RuntimeHelpers.PrepareMethod(RuntimeMethodHandleInternal method, IntPtr* pInstantiation, Int32 cInstantiation) at System.Runtime.CompilerServices.RuntimeHelpers.PrepareMethod(RuntimeMethodHandleInternal method, IntPtr* pInstantiation, Int32 cInstantiation) at System.Runtime.CompilerServices.RuntimeHelpers.PrepareMethod(RuntimeMethodHandle method, RuntimeTypeHandle[] instantiation) at Terraria.ModLoader.Core.AssemblyManager.ForceJITOnMethod(MethodBase method) in tModLoader\Terraria\ModLoader\Core\AssemblyManager.cs:line 383 at Terraria.ModLoader.Core.AssemblyManager.<>c__DisplayClass24_0.<JITAssemblies>b__1(MethodBase method) in tModLoader\Terraria\ModLoader\Core\AssemblyManager.cs:line 358 at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey) at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork() at System.Linq.Parallel.SpoolingTaskBase.Work() at System.Linq.Parallel.QueryTask.BaseWork(Object unused) 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() [02:57:35] [.NET ThreadPool Worker/WARN] [tML]: Silently Caught Exception: System.MissingFieldException: Field not found: 'Terraria.ID.SoundID.Item3'. at System.Runtime.CompilerServices.RuntimeHelpers.PrepareMethod(RuntimeMethodHandleInternal method, IntPtr* pInstantiation, Int32 cInstantiation) at System.Runtime.CompilerServices.RuntimeHelpers.PrepareMethod(RuntimeMethodHandleInternal method, IntPtr* pInstantiation, Int32 cInstantiation) at System.Runtime.CompilerServices.RuntimeHelpers.PrepareMethod(RuntimeMethodHandle method, RuntimeTypeHandle[] instantiation) at Terraria.ModLoader.Core.AssemblyManager.ForceJITOnMethod(MethodBase method) in tModLoader\Terraria\ModLoader\Core\AssemblyManager.cs:line 383 at Terraria.ModLoader.Core.AssemblyManager.<>c__DisplayClass24_0.<JITAssemblies>b__1(MethodBase method) in tModLoader\Terraria\ModLoader\Core\AssemblyManager.cs:line 358 at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey) at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork() at System.Linq.Parallel.SpoolingTaskBase.Work() at System.Linq.Parallel.QueryTask.BaseWork(Object unused) 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() [02:57:35] [.NET ThreadPool Worker/WARN] [tML]: Silently Caught Exception: Terraria.ModLoader.Exceptions.JITException: In WeatherPotions.Items.RainyPotion.SetDefaults, Field not found: 'Terraria.ID.SoundID.Item3'. In WeatherPotions.Items.SunnyPotion.SetDefaults, Field not found: 'Terraria.ID.SoundID.Item3'. In WeatherPotions.Items.WindyPotion.SetDefaults, Field not found: 'Terraria.ID.SoundID.Item3'. at Terraria.ModLoader.Core.AssemblyManager.JITAssemblies(IEnumerable`1 assemblies, PreJITFilter filter) in tModLoader\Terraria\ModLoader\Core\AssemblyManager.cs:line 378 at Terraria.ModLoader.Core.AssemblyManager.JITMod(Mod mod) in tModLoader\Terraria\ModLoader\Core\AssemblyManager.cs:line 336 at Terraria.ModLoader.ModContent.<>c.<Load>b__41_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 305 at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 369 at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 304 at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 122 at Terraria.ModLoader.ModLoader.<>c__DisplayClass47_0.<BeginLoad>b__0() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 104 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() [02:57:35] [.NET ThreadPool Worker/ERROR] [tML]: An error occurred while loading WeatherPotions v0.3.1 It has been detected that this mod was built for tModLoader v2022.4.61.0 However, you are using tModLoader v2022.5.103.34 The mod will need to be updated to match the current tModLoader version, or may be incompatible with the version of some of your other mods. Click the 'Open Web Help' button to learn more. The mod(s) have been automatically disabled. Terraria.ModLoader.Exceptions.JITException: In WeatherPotions.Items.RainyPotion.SetDefaults, Field not found: 'Terraria.ID.SoundID.Item3'. In WeatherPotions.Items.SunnyPotion.SetDefaults, Field not found: 'Terraria.ID.SoundID.Item3'. In WeatherPotions.Items.WindyPotion.SetDefaults, Field not found: 'Terraria.ID.SoundID.Item3'. at Terraria.ModLoader.Core.AssemblyManager.JITAssemblies(IEnumerable`1 assemblies, PreJITFilter filter) in tModLoader\Terraria\ModLoader\Core\AssemblyManager.cs:line 378 at Terraria.ModLoader.Core.AssemblyManager.JITMod(Mod mod) in tModLoader\Terraria\ModLoader\Core\AssemblyManager.cs:line 336 at Terraria.ModLoader.ModContent.<>c.<Load>b__41_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 305 at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 369 at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 304 at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 122 [02:57:35] [.NET ThreadPool Worker/INFO] [tML]: Disabling Mod: WeatherPotions