CraftSim

CraftSim

2M Downloads

LUA error when doing crafting orders

yndara opened this issue ยท 0 comments

commented

I haven't figured out which orders trigger it, but I frequently get the following error whenever I turn on the crafting results for crafting orders. I checked the open issues, and this looks like a slightly different error, so I'm opening a new issue. Here is the most recent example of the error I see:

3x CraftSim/Classes/RecipeData.lua:482: attempt to index field 'reagentData' (a nil value)
[string "@CraftSim/Classes/RecipeData.lua"]:482: in function `SetNonQualityReagentsMax'
[string "@CraftSim/Classes/OnCraftData.lua"]:49: in function `CreateRecipeData'
[string "@CraftSim/Init/Init.lua"]:216: in function <CraftSim/Init/Init.lua:199>
[string "@CraftSim/Init/Init.lua"]:270: in function <CraftSim/Init/Init.lua:269>
[string "=[C]"]: in function `RecraftRecipeForOrder'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderView.lua"]:1033: in function `RecraftOrder'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderView.lua"]:79: in function `StartCraft'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderView.lua"]:108: in function <...Professions/Blizzard_ProfessionsCrafterOrderView.lua:76>

Locals:
self = <table> {
 concentrating = false
 concentrationCost = 0
 specializationDataCached = false
 subRecipeCostsEnabled = false
 professionGearCached = false
 professionInfoCached = false
 subRecipeDepth = 0
 optimizedSubRecipes = <table> {
 }
 parentRecipeInfo = <table> {
 }
 crafterData = <table> {
 }
 operationInfoCached = false
 recipeInfoCached = false
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'reagentData' (a nil value)"