tModLoader

tModLoader

Recipe Viewer
{BUG REPORT] Problems with magic storage craftng interface
When i opend MS Crafting following message apieared in chat:

System. Argument OutOfFangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter index) at System.Collections.Generic. List .getItem(Int32 index)
at MagicStorage.Common.Systems. RecurrentReapes. Recursive Reap Modify Crafting Tree(Available RecipeObjects available, HashSet'i recursionStack, OrderedReapeTree root, Int32& depth, Int32 maxDepth, Int32 parentBatches, Int32 ignoreltem) in MagicStorage\Common\Systems\RecurrentRecipes RecursiveRed pe.cs:line 113
at MagicStorage.Common.Systems. RecurrentRecipes RecursiveRecipe. Get Crafting Tree(Int32 amountToCraft, AvailableRecipeObjects available, Int32 blockedSubred peingredient) in MagicStorage\Common\Systems\RecurrentRecipes\RecursiveRecipe.cs:line 65
at MagicStorage Common Systems RecurrentRecipes. RecursiveRecipe Get CraftingInformation(Int32 amount ToCraft, CraftResults result, AvailableRed peObjects available, Int32 blockedSubred peingredient) in MagicStorage\Common\Systems\RecurrentRed pes\RecursiveRecipe.cs:line 146,
1
at MagicStorage Common Systems RecurrentRed pes. CraftingSimulation. Simulate Crafts(RecursiveRecipe reape, Int32 amount To Craft. AvailableRecipeObjects available) in MagicStorage\Common\Systems\RecurrentRecipes\Crafting Simulation.cs:line 41

Do you know what may be the problem?
< >
Showing 1-5 of 5 comments
fe_niks 3 Apr @ 1:17pm 
It apears after i create crafting tree
fe_niks 3 Apr @ 4:17pm 
Here is Crash log

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List`1.get_Item(Int32 index)
at MagicStorage.Common.Systems.RecurrentRecipes.RecursiveRecipe.ModifyCraftingTree(AvailableRecipeObjects available, HashSet`1 recursionStack, OrderedRecipeTree root, Int32& depth, Int32& maxDepth, Int32 parentBatches, Int32 ignoreItem) in MagicStorage\Common\Systems\RecurrentRecipes\RecursiveRecipe.cs:line 113
at MagicStorage.Common.Systems.RecurrentRecipes.RecursiveRecipe.GetCraftingTree(Int32 amountToCraft, AvailableRecipeObjects available, Int32 blockedSubrecipeIngredient) in MagicStorage\Common\Systems\RecurrentRecipes\RecursiveRecipe.cs:line 65
at MagicStorage.Common.Systems.RecurrentRecipes.RecursiveRecipe.GetCraftingInformation(Int32 amountToCraft, CraftResult& result, AvailableRecipeObjects available, Int32 blockedSubrecipeIngredient) in MagicStorage\Common\Systems\RecurrentRecipes\RecursiveRecipe.cs:line 146
at MagicStorage.Common.Systems.RecurrentRecipes.CraftingSimulation.SimulateCrafts(RecursiveRecipe recipe, Int32 amountToCraft, AvailableRecipeObjects available) in MagicStorage\Common\Systems\RecurrentRecipes\CraftingSimulation.cs:line 41
at MagicStorage.CraftingGUI.IsAvailable_CheckRecursiveRecipe(RecursiveRecipe recipe, Int32 ignoreItem) in MagicStorage\CraftingGUI.cs:line 1108
at MagicStorage.CraftingGUI.<>c__DisplayClass98_0.<IsAvailable>b__0() in MagicStorage\CraftingGUI.cs:line 1089
at MagicStorage.CraftingGUI.ExecuteInCraftingGuiEnvironment(Action action) in MagicStorage\CraftingGUI.cs:line 1223
at MagicStorage.CraftingGUI.IsAvailable(Recipe recipe, Boolean checkRecursive, Int32 ignoreItem) in MagicStorage\CraftingGUI.cs:line 1088
at MagicStorage.CraftingGUI.IsAvailable(Recipe recipe, Boolean checkRecursive) in MagicStorage\CraftingGUI.cs:line 1069
at MagicStorage.UI.RecipeHistoryEntry.Refresh() in MagicStorage\UI\RecipeHistoryEntry.cs:line 170
at MagicStorage.UI.RecipeHistory.RefreshEntries() in MagicStorage\UI\RecipeHistoryEntry.cs:line 94
at MagicStorage.UI.States.CraftingUIState.Refresh() in MagicStorage\UI\States\CraftingUIState.cs:line 798
at MagicStorage.StorageGUI.InvokeOnRefresh() in MagicStorage\StorageGUI.cs:line 108
at Terraria.Main.ConsumeAllMainThreadActions() in tModLoader\Terraria\Main.cs:line 14244
at Terraria.Main.Update(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 14282
at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 546
at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878
at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419
at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 266
[01:13:54.684] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: shutdown
JESS2005  [developer] 3 Apr @ 11:32pm 
It seems that magic storage's recursive crafting option doesn't like my recipes, for now I'd say try disabling it in the ms config, or disable recipe creation in this mod's.
Later on today I'll see If it's fixable.
Btw any item or only some specific ones?
fe_niks 3 Apr @ 11:56pm 
ANY item
JESS2005  [developer] 4 Apr @ 11:47am 
Just started checking the issue, not sure how easy it will be to fix, since the bulk of the problem is with magic storage, I can only suggest what I already did which is either:
1. Disable recipe recursion in magic storage (set recipe recursion depth to 0 in the mod setting)
2. Disable recipe generation of this mod (still mod settings)
Any of the 2 seems to work, your choice on which to keep
< >
Showing 1-5 of 5 comments
Per page: 1530 50