CraftSim

CraftSim

2M Downloads

Lua error while processing a recipe with Skillet

b-morgan opened this issue ยท 1 comments

commented

Processing a Cooking recipe with Skillet results in the following error(s) in CraftSim 17.0.0

11x ...ceCraftSim/Modules/CraftQueue/CraftQueue.lua:319: attempt to index local 'enchantItemTarget' (a number value)
[string "@CraftSim/Modules/CraftQueue/CraftQueue.lua"]:319: in function `OnCraftRecipe'
[string "@CraftSim/Init/Init.lua"]:222: in function <CraftSim/Init/Init.lua:180>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `CraftRecipe'
[string "@Skillet/SkilletQueue.lua"]:698: in function `ProcessQueue'
[string "@Skillet/SkilletQueue.lua"]:825: in function `CreateItems'
[string "*MainFrame.xml:2930_OnClick"]:2: in function <[string "*MainFrame.xml:2930_OnClick"]:1>

Locals:
self = Frame {
 0 = <userdata>
 AddRecipe = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:132
 ImportRecipeScan = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:205
 TRADE_SKILL_ITEM_CRAFTED_RESULT = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:567
 GetRestockOptionsForRecipe = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:606
 DeleteAllCraftSimShoppingLists = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:359
 ClearAll = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:146
 InitializeCraftQueue = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:119
 craftQueue = <table> {
 }
 OnRecipeEditSave = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:675
 CreateAuctionatorShoppingList = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:343
 OnCraftRecipe = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:316
 GetNonSoulboundAlternativeItemID = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:329
 frame = <table> {
 }
 CheckSaleRateThresholdForRecipe = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:626
 FRAMES = <table> {
 }
 CreateAuctionatorShoppingListPerCharacter = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:370
 NEW_RECIPE_LEARNED = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:684
 AddOpenRecipe = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:656
 IsRecipeQueueable = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:587
 GetItemCountFromCraftQueueCache = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:578
 OnConfirmCommoditiesPurchase = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:36
 CraftSimCalledCraftRecipe = false
 CreateAuctionatorShoppingListAll = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:473
 ImportRecipeScanFilter = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:152
 DeleteAuctionatorShoppingList = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:352
 COMMODITY_PURCHASE_SUCCEEDED = <function> defined @CraftSim/Modules/CraftQueue/CraftQueue.lua:47
}
recipeData = <table> {
 isGear = false
 reagentData = <table> {
 }
 specializationDataCached = false
 recipeIcon = 4549254
 supportsCraftingStats = true
 supportsCraftingspeed = true
 learned = true
 recipeInfoCached = false
 isSalvageRecipe = false
 relativeProfitCached = -34
 baseOperationInfo = <table> {
 }
 isSoulbound = false
 maxItemAmount = 1
 baseProfessionStats = <table> {
 }
 supportsMulticraft = false
 priceData = <table> {
 }
 cooldownData = <table> {
 }
 subRecipeDepth = 0
 isOldWorldRecipe = false
 parentRecipeInfo = <table> {
 }
 specializationData = <table> {
 }
 professionStats = <table> {
 }
 professionStatModifiers = <table> {
 }
 buffData = <table> {
 }
 isEnchantingRecipe = false
 crafterData = <table> {
 }
 isCrafterInfoCached = true
 isCooking = false
 recipeInfo = <table> {
 }
 recipeID = 376560
 averageProfitCached = -27385.120000
 supportsQualities = false
 baseItemAmount = 1
 categoryID = 1674
 isAlchemicalExperimentation = false
 hasQualityReagents = true
 isRecraft = false
 resultData = <table> {
 }
 recipeName = "Simply Stitched Reagent Bag"
 isQuestRecipe = false
 supportsInspiration = false
 optimizedSubRecipes = <table> {
 }
 minItemAmount = 1
 isSimulationModeData = false
 subRecipeCostsEnabled = false
 professionGearCached = false
 hasReagents = true
 isBaseRecraftRecipe = false
 maxQuality = 0
 numSkillUps = 1
 professionGearSet = <table> {
 }
 supportsResourcefulness = true
 professionData = <table> {
 }
 operationInfoCached = false
 subtyp
commented

The craftqueue is not yet up to date with TWW changes
see #330