CraftSim

CraftSim

2M Downloads

Tailoring Recipes errors

Co2Noss opened this issue ยท 1 comments

commented

When pulling up my recipes for consecrated cloak, consecrated cord, consecrated gloves or consecrated slippers I get an error. This stops the simulation mode from load along with the specialization info. Let me know if you need me to debug anything further.

I'm using TSM for pricing information.

3x CraftSim/Classes/PriceData.lua:225: attempt to index field 'item' (a nil value)
[string "@CraftSim/Classes/PriceData.lua"]:225: in function `UpdateReagentPriceInfos'
[string "@CraftSim/Classes/PriceData.lua"]:57: in function `Update'
[string "@CraftSim/Classes/RecipeData.lua"]:252: in function `new'
[string "@CraftSim/Libs/classic.lua"]:64: in function `RecipeData'
[string "@CraftSim/Init/Init.lua"]:572: in function `TriggerModulesByRecipeType'
[string "@CraftSim/Init/Init.lua"]:85: in function <CraftSim/Init/Init.lua:83>
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:605: in function `checkCondition'
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:611: in function `WaitFor'
[string "@CraftSim/Init/Init.lua"]:74: in function `TriggerModuleUpdate'
[string "@CraftSim/Init/Init.lua"]:126: in function <CraftSim/Init/Init.lua:106>
[string "=[C]"]: ?
[string "=[C]"]: in function `Init'
...
[string "@TradeSkillMaster/External/LibTSMClass-2/LibTSMClass.lua"]:343: in function <...radeSkillMaster/External/LibTSMClass/LibTSMClass.lua:329>
[string "=(tail call)"]: ?
[string "@TradeSkillMaster/External/LibTSMClass-2/LibTSMClass.lua"]:343: in function `_Enter'
[string "@TradeSkillMaster/LibTSMUtil/Source/FSM/Type/Object.lua"]:169: in function <...adeSkillMaster/LibTSMUtil/Source/FSM/Type/Object.lua:151>
[string "@TradeSkillMaster/External/LibTSMClass-2/LibTSMClass.lua"]:343: in function `_Transition'
[string "@TradeSkillMaster/LibTSMUtil/Source/FSM/Type/Object.lua"]:128: in function <...adeSkillMaster/LibTSMUtil/Source/FSM/Type/Object.lua:106>
[string "@TradeSkillMaster/External/LibTSMClass-2/LibTSMClass.lua"]:343: in function `ProcessEvent'
[string "@TradeSkillMaster/Core/UI/CraftingUI/Core.lua"]:205: in function `callback'
[string "@TradeSkillMaster/LibTSMWoW/Source/Service/Event.lua"]:132: in function `ProcessEvent'
[string "@TradeSkillMaster/LibTSMWoW/Source/Service/Event.lua"]:150: in function <.../TradeSkillMaster/LibTSMWoW/Source/Service/Event.lua:141>

Locals:
self = <table> {
 resourcefulnessSavedCosts = 0
 qualityPriceList = <table> {
 }
 craftingCostsFixed = 0
 selfCraftedReagents = <table> {
 }
 craftingCosts = 0
 craftingCostsRequired = 0
 expectedCostsPerItem = 0
 reagentPriceInfos = <table> {
 }
 resourcefulnessSavedCostsAverage = 0
 recipeData = <table> {
 }
}
useSubRecipes = false
reagentData = <table> {
 optionalReagentSlots = <table> {
 }
 recipeData = <table> {
 }
 requiredReagents = <table> {
 }
 sparkReagentSlot = <table> {
 }
 finishingReagentSlots = <table> {
 }
 salvageReagentSlot = <table> {
 }
}
possibleOptionals = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
 6 = <table> {
 }
 7 = <table> {
 }
 8 = <table> {
 }
 9 = <table> {
 }
 10 = <table> {
 }
 11 = <table> {
 }
 12 = <table> {
 }
 13 = <table> {
 }
 14 = <table> {
 }
 15 = <table> {
 }
 16 = <table> {
 }
 17 = <table> {
 }
 18 = <table> {
 }
 19 = <table> {
 }
 20 = <table> {
 }
 21 = <table> {
 }
 22 = <table> {
 }
 23 = <table> {
 }
 24 = <table> {
 }
 25 = <table> {
 }
 26 = <table> {
 }
 27 = <table> {
 }
 28 = <table> {
 }
 29 = <table> {
 }
 30 = <table> {
 }
 31 = <table> {
 }
 32 = <table> {
 }
 33 = <table> {
 }
 34 = <table> {
 }
 35 = <table> {
 }
 36 = <table> {
 }
 37 = <table> {
 }
 38 = <table> {
 }
 39 = <table> {
 }
 40 = <table> {
 }
 41 = <table> {
 }
 42 = <table> {
 }
 43 = <table> {
 }
 44 = <table> {
 }
 45 = <table> {
 }
 46 = <table> {
 }
 47 = <table> {
 }
 48 = <table> {
 }
 49 = <table> {
 }
 50 = <table> {
 }
 51 = <table> {
 }
 52 = <table> {
 }
 53 = <table> {
 }
 54 = <table> {
 }
 55 = <table> {
 }
 56 = <table> {
 }
 57 = <table> {
 }
 58 = <table> {
 }
 59 = <table> {
 }
 60 = <table> {
 }
 61 = <table> {
 }
 62 = <table> {
 }
 63 = <table> {
 }
 64 = <table> {
 }
 65 = <table> {
 }
}
(for state) = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
 6 = <table> {
 }
 7 = <table> {
 }
 8 = <table> {
 }
 9 = <table> {
 }
 10 = <table> {
 }
 11 = <table> {
 }
 12 = <table> {
 }
 13 = <table> {
 }
 14 = <table> {
 }
 15 = <table> {
 }
 16 = <table> {
 }
 17 = <table> {
 }
 18 = <table> {
 }
 19 = <table> {
 }
 20 = <table> {
 }
 21 = <table> {
 }
 22 = <table> {
 }
 23 = <table> {
 }
 24 = <table> {
 }
 25 = <table> {
 }
 26 = <table> {
 }
 27 = <table> {
 }
 28 = <table> {
 }
 29 = <table> {
 }
 30 = <table> {
 }
 31 = <table> {
 }
 32 = <table> {
 }
 33 = <table> {
 }
 34 = <table> {
 }
 35 = <table> {
 }
 36 = <table> {
 }
 37 = <table> {
 }
 38 = <table> {
 }
 39 = <table> {
 }
 40 = <table> {
 }
 41 = <table> {
 }
 42 = <table> {
 }
 43 = <table> {
 }
 44 = <table> {
 }
 45 = <table> {
 }
 46 = <table> {
 }
 47 = <table> {
 }
 48 = <table> {
 }
 49 = <table> {
 }
 50 = <table> {
 }
 51 = <table> {
 }
 52 = <table> {
 }
 53 = <table> {
 }
 54 = <table> {
 }
 55 = <table> {
 }
 56 = <table> {
 }
 57 = <table> {
 }
 58 = <table> {
 }
 59 = <table> {
 }
 60 = <table> {
 }
 61 = <table> {
 }
 62 = <table> {
 }
 63 = <table> {
 }
 64 = <table> {
 }
 65 = <table> {
 }
}
(for control) = 1
_ = 1
optionalReagent = <table> {
 lockedReason = ""
 required = true
 possibleReagents = <table> {
 }
 slotText = "Spark"
 craftingReagentSlotSchematic = <table> {
 }
 mcrSlotID = 256
 dataSlotIndex = 4
 locked = false
 maxQuantity = 1
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = <table> {
 lockedReason = ""
 required = true
 possibleReagents = <table> {
 }
 slotText = "Spark"
 craftingReagentSlotSchematic = <table> {
 }
 mcrSlotID = 256
 dataSlotIndex = 4
 locked = false
 maxQuantity = 1
}
(*temporary) = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
}
(*temporary) = 4
(*temporary) = nil
(*temporary) = nil
(*temporary) = 4
(*temporary) = 5
(*temporary) = nil
(*temporary) = "attempt to index field 'item' (a nil value)"
CraftSim = <table> {
 COOLDOWNS = <table> {
 }
 STATISTICS = <table> {
 }
 OPTIONAL_REAGENT_DATA = <table> {
 }
 NEWS = <table> {
 }
 CraftRecipeData = <table> {
 }
 DEBUG = <table> {
 }
 PRICE_DETAILS = <table> {
 }
 Professio
commented

Cannot reproduce
I also read something about in the tsm discord that they had some bugs in their api that were fixed
so Ill close this until further notice