tModLoader

tModLoader

Mod of Redemption [BETA]
Arendeth 2 Mar, 2023 @ 8:14pm
Creating a world with both mod of redemption and armor and accessory prefixes creates a error at world gen
Having both this mod and Armor and accessory prefixes causes error of:
if you create a world with mod of redemption enable at the same time as this mod it causes the error:
[22:57:25.820] [.NET ThreadPool Worker/WARN] [tML]: Silently Caught Exception: System.Collections.Generic.KeyNotFoundException: Instance of 'AccessoryGlobalItem' does not exist on the current Item. at Terraria.ModLoader.GlobalType.GetGlobal[TEntity,TGlobal,TResult](Instanced`1[] globals, Boolean exactType) in tModLoader\Terraria\ModLoader\GlobalType.cs:line 49 at ArmorAndAccessoryPrefixes.Content.Prefixes.Accessory.AccessoryPrefix.Apply(Item item) in ArmorAndAccessoryPrefixes\Content\Prefixes\Accessory\AccessoryPrefix.cs:line 24 at ArmorAndAccessoryPrefixes.Content.Prefixes.Accessory.Pulling.Apply(Item item) in ArmorAndAccessoryPrefixes\Content\Prefixes\Accessory\Pulling.cs:line 12 at DMD<Terraria.Item::Prefix>(Item this, Int32 pre) at DMD<Terraria.WorldGen::AddBuriedChest>(Int32 i, Int32 j, Int32 contain, Boolean notNearOtherChests, Int32 Style, Boolean trySlope, UInt16 chestTileType) at Terraria.WorldGen.Spread.Spider(Int32 x, Int32 y) in tModLoader\Terraria\WorldGen.cs:line 387 at Terraria.WorldGen.<>c.<GenerateWorld>b__362_65(GenerationProgress progress, GameConfiguration passConfig) in tModLoader\Terraria\WorldGen.cs:line 9350 at Terraria.WorldBuilding.WorldGenerator.GenerateWorld(GenerationProgress progress) in tModLoader\Terraria\WorldBuilding\WorldGenerator.cs:line 30 at DMD<Terraria.WorldGen::GenerateWorld>(Int32 seed, GenerationProgress customProgressObject) at DMD<Terraria.WorldGen::do_worldGenCallBack>(Object threadContext) at Terraria.WorldGen.worldGenCallback(Object threadContext) in tModLoader\Terraria\WorldGen.cs:line 2335 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() [22:57:25.821] [.NET ThreadPool Worker/ERROR] [tML]: A problem was encountered during world generation Spider Caves System.Collections.Generic.KeyNotFoundException: Instance of 'AccessoryGlobalItem' does not exist on the current Item. at Terraria.ModLoader.GlobalType.GetGlobal[TEntity,TGlobal,TResult](Instanced`1[] globals, Boolean exactType) in tModLoader\Terraria\ModLoader\GlobalType.cs:line 49 at ArmorAndAccessoryPrefixes.Content.Prefixes.Accessory.AccessoryPrefix.Apply(Item item) in ArmorAndAccessoryPrefixes\Content\Prefixes\Accessory\AccessoryPrefix.cs:line 24 at ArmorAndAccessoryPrefixes.Content.Prefixes.Accessory.Pulling.Apply(Item item) in ArmorAndAccessoryPrefixes\Content\Prefixes\Accessory\Pulling.cs:line 12 at DMD<Terraria.Item::Prefix>(Item this, Int32 pre) at DMD<Terraria.WorldGen::AddBuriedChest>(Int32 i, Int32 j, Int32 contain, Boolean notNearOtherChests, Int32 Style, Boolean trySlope, UInt16 chestTileType) at Terraria.WorldGen.Spread.Spider(Int32 x, Int32 y) in tModLoader\Terraria\WorldGen.cs:line 387 at Terraria.WorldGen.<>c.<GenerateWorld>b__362_65(GenerationProgress progress, GameConfiguration passConfig) in tModLoader\Terraria\WorldGen.cs:line 9350 at Terraria.WorldBuilding.WorldGenerator.GenerateWorld(GenerationProgress progress) in tModLoader\Terraria\WorldBuilding\WorldGenerator.cs:line 30 [22:57:25.821] [.NET ThreadPool Worker/ERROR] [Terraria]: A problem was encountered during world generation System.Collections.Generic.KeyNotFoundException: Instance of 'AccessoryGlobalItem' does not exist on the current Item. at Terraria.WorldBuilding.WorldGenerator.GenerateWorld(GenerationProgress progress) in tModLoader\Terraria\WorldBuilding\WorldGenerator.cs:line 60 at DMD<Terraria.WorldGen::GenerateWorld>(Int32 seed, GenerationProgress customProgressObject) at DMD<Terraria.WorldGen::do_worldGenCallBack>(Object threadContext) at Terraria.WorldGen.worldGenCallback(Object threadContext) in tModLoader\Terraria\WorldGen.cs:line 2335 [22:59:43.745] [Main Thread/DEBUG] [tML]: Process.Start (UseShellExecute = True): "tModLoader-Logs"
Last edited by Arendeth; 8 Mar, 2023 @ 2:01pm