tModLoader

tModLoader

珊瑚石
JJ's Place 26 Jan, 2024 @ 2:38pm
Compatibility Bug with Advanced Worldgen
This crash will sometime occur when trying to generate a world that is not one of the default three sizes

Logs:

[16:34:24.202] [WorldGen/WARN] [tML]: Silently Caught Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Coralite.Core.TileFraming.CustomMergeFrame(Int32 x, Int32 y, Int32 myType, Int32 mergeType, Boolean myTypeBrimFrame, Boolean mergeTypeBrimFrame, Boolean overrideBrimStates) in Coralite\Core\TileFraming.cs:line 71
at Coralite.Content.Tiles.Magike.BasaltTile.TileFrame(Int32 i, Int32 j, Boolean& resetFrame, Boolean& noBreak) in Coralite\Content\Tiles\Magike\BasaltTile.cs:line 33
at Terraria.ModLoader.TileLoader.TileFrame(Int32 i, Int32 j, Int32 type, Boolean& resetFrame, Boolean& noBreak) in tModLoader\Terraria\ModLoader\TileLoader.cs:line 874
at Terraria.WorldGen.TileFrame(Int32 i, Int32 j, Boolean resetFrame, Boolean noBreak) in tModLoader\Terraria\WorldGen.cs:line 59831
at DMD<System.Boolean Terraria.WorldGen:PlaceTile(System.Int32, System.Int32, System.Int32, System.Boolean, System.Boolean, System.Int32, System.Int32)>(Int32 i, Int32 j, Int32 Type, Boolean mute, Boolean forced, Int32 plr, Int32 style)
at Hook<System.Boolean Nitrate.API.Listeners.TileStateChangedListener/TileStateChangedListenerImpl::PlaceTile(Terraria.On_WorldGen+orig_PlaceTile,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Int32,System.Int32)>(Int32 , Int32 , Int32 , Boolean , Boolean , Int32 , Int32 )
at SyncProxy<System.Boolean Terraria.WorldGen:PlaceTile(System.Int32, System.Int32, System.Int32, System.Boolean, System.Boolean, System.Int32, System.Int32)>(Int32 , Int32 , Int32 , Boolean , Boolean , Int32 , Int32 )
at SpiritMod.World.Micropasses.BismiteCavernMicropass.PopulateCavern(Point16 item) in SpiritMod\World\Micropasses\BismiteCavernMicropass.cs:line 59
at SpiritMod.World.Micropasses.BismiteCavernMicropass.Run(GenerationProgress progress, GameConfiguration config) in SpiritMod\World\Micropasses\BismiteCavernMicropass.cs:line 45
at DMD<System.Void Terraria.WorldBuilding.WorldGenerator:GenerateWorld(Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator this, GenerationProgress progress)
at AdvancedWorldGen.BetterVanillaWorldGen.Replacer.ChangeWeights(orig_GenerateWorld orig, WorldGenerator self, GenerationProgress progress) in AdvancedWorldGen\BetterVanillaWorldGen\Replacer.Hooks.cs:line 136
at Hook<System.Void AdvancedWorldGen.BetterVanillaWorldGen.Replacer::ChangeWeights(Terraria.WorldBuilding.On_WorldGenerator+orig_GenerateWorld,Terraria.WorldBuilding.WorldGenerator,Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at SyncProxy<System.Void Terraria.WorldBuilding.WorldGenerator:GenerateWorld(Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at Terraria.WorldGen.GenerateWorld_RunTasksAndFinish(Int32 seed, Stopwatch generationStopwatch, GenerationProgress customProgressObject) in tModLoader\Terraria\WorldGen.cs:line 14025
at DMD<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 seed, GenerationProgress customProgressObject)
at SyncProxy<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 , GenerationProgress )
at DMD<System.Void Terraria.WorldGen:do_worldGenCallBack(System.Object)>(Object threadContext)
at AdvancedWorldGen.UI.UIChanger.<>c__DisplayClass10_0.<ThreadifyWorldGen>b__0() in AdvancedWorldGen\UI\UIChanger.cs:line 38
at System.Threading.Thread.StartHelper.Callback(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

[16:34:24.723] [WorldGen/WARN] [tML]: Silently Caught Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Terraria.WorldBuilding.Actions.TileScanner.Apply(Point origin, Int32 x, Int32 y, Object[] args) in tModLoader\Terraria\WorldBuilding\Actions.cs:line 76
at Terraria.WorldBuilding.Shapes.Rectangle.Perform(Point origin, GenAction action) in tModLoader\Terraria\WorldBuilding\Shapes.cs:line 139
at Coralite.Content.WorldGeneration.CoraliteWorld.GenClearGemstoneMaze(GenerationProgress progress, GameConfiguration configuration) in Coralite\Content\WorldGeneration\GenClearGemstoneMaze.cs:line 70
at DMD<System.Void Terraria.WorldBuilding.WorldGenerator:GenerateWorld(Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator this, GenerationProgress progress)
at AdvancedWorldGen.BetterVanillaWorldGen.Replacer.ChangeWeights(orig_GenerateWorld orig, WorldGenerator self, GenerationProgress progress) in AdvancedWorldGen\BetterVanillaWorldGen\Replacer.Hooks.cs:line 136
at Hook<System.Void AdvancedWorldGen.BetterVanillaWorldGen.Replacer::ChangeWeights(Terraria.WorldBuilding.On_WorldGenerator+orig_GenerateWorld,Terraria.WorldBuilding.WorldGenerator,Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at SyncProxy<System.Void Terraria.WorldBuilding.WorldGenerator:GenerateWorld(Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at Terraria.WorldGen.GenerateWorld_RunTasksAndFinish(Int32 seed, Stopwatch generationStopwatch, GenerationProgress customProgressObject) in tModLoader\Terraria\WorldGen.cs:line 14025
at DMD<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 seed, GenerationProgress customProgressObject)
at SyncProxy<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 , GenerationProgress )
at DMD<System.Void Terraria.WorldGen:do_worldGenCallBack(System.Object)>(Object threadContext)
at AdvancedWorldGen.UI.UIChanger.<>c__DisplayClass10_0.<ThreadifyWorldGen>b__0() in AdvancedWorldGen\UI\UIChanger.cs:line 38
at System.Threading.Thread.StartHelper.Callback(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

[16:34:24.815] [WorldGen/WARN] [tML]: Silently Caught Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Terraria.WorldBuilding.Actions.TileScanner.Apply(Point origin, Int32 x, Int32 y, Object[] args) in tModLoader\Terraria\WorldBuilding\Actions.cs:line 76
at Terraria.WorldBuilding.Shapes.Rectangle.Perform(Point origin, GenAction action) in tModLoader\Terraria\WorldBuilding\Shapes.cs:line 139
at Coralite.Content.WorldGeneration.CoraliteWorld.GenChippedBladeTemple(GenerationProgress progress, GameConfiguration configuration) in Coralite\Content\WorldGeneration\GenChippedBladeTemple.cs:line 72
at DMD<System.Void Terraria.WorldBuilding.WorldGenerator:GenerateWorld(Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator this, GenerationProgress progress)
at AdvancedWorldGen.BetterVanillaWorldGen.Replacer.ChangeWeights(orig_GenerateWorld orig, WorldGenerator self, GenerationProgress progress) in AdvancedWorldGen\BetterVanillaWorldGen\Replacer.Hooks.cs:line 136
at Hook<System.Void AdvancedWorldGen.BetterVanillaWorldGen.Replacer::ChangeWeights(Terraria.WorldBuilding.On_WorldGenerator+orig_GenerateWorld,Terraria.WorldBuilding.WorldGenerator,Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at SyncProxy<System.Void Terraria.WorldBuilding.WorldGenerator:GenerateWorld(Terraria.WorldBuilding.GenerationProgress)>(WorldGenerator , GenerationProgress )
at Terraria.WorldGen.GenerateWorld_RunTasksAndFinish(Int32 seed, Stopwatch generationStopwatch, GenerationProgress customProgressObject) in tModLoader\Terraria\WorldGen.cs:line 14025
at DMD<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 seed, GenerationProgress customProgressObject)
at SyncProxy<System.Void Terraria.WorldGen:GenerateWorld(System.Int32, Terraria.WorldBuilding.GenerationProgress)>(Int32 , GenerationProgress )
at DMD<System.Void Terraria.WorldGen:do_worldGenCallBack(System.Object)>(Object threadContext)
at AdvancedWorldGen.UI.UIChanger.<>c__DisplayClass10_0.<ThreadifyWorldGen>b__0() in AdvancedWorldGen\UI\UIChanger.cs:line 38
at System.Threading.Thread.StartHelper.Callback(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
< >
Showing 1-1 of 1 comments
Thelnir 1 Jul, 2024 @ 12:48am 
Good to know, but I'm pretty sure either Calamity or Infernum have the same issue.
< >
Showing 1-1 of 1 comments
Per page: 1530 50