CraftSim

CraftSim

2M Downloads

[CraftSim] LUA Error on REcraft a Ring

fubaWoW opened this issue ยท 2 comments

commented

Describe the bug
See Title for description
See Additional context for LUA Error

To Reproduce
Steps to reproduce the behavior:

  1. Recraft a Ring

Addon Version: 19.7.1

Additional context

1x CraftSim/Classes/CraftResult.lua:81: attempt to index field 'activeReagent' (a nil value)
[string "@CraftSim/Classes/CraftResult.lua"]:81: in function `new'
[string "@CraftSim/Libs/classic.lua"]:64: in function `CraftResult'
[string "@CraftSim/Modules/CraftLog/CraftLog.lua"]:135: in function `AccumulateCraftResults'
[string "@CraftSim/Modules/CraftLog/CraftLog.lua"]:52: in function <CraftSim/Modules/CraftLog/CraftLog.lua:51>

Locals:
self = <table> {
 concentrating = true
 usedConcentration = 271
 recipeID = 435386
 triggeredMulticraft = false
 isWorkOrder = false
 triggeredIngenuity = false
 savedConcentration = 0
 savedCosts = 0
 craftingCosts = 0
 ingenuityRefund = 136
 triggeredResourcefulness = false
 savedReagents = <table> {
 }
 craftResultItems = <table> {
 }
 expectedQuality = 5
 reagentCombinationID = ""
 reagents = <table> {
 }
}
recipeData = <table> {
 supportsQualities = true
 reagentData = <table> {
 }
 specializationDataCached = false
 relativeProfitCached = 2323
 recipeIcon = 515954
 specializationData = <table> {
 }
 supportsCraftingStats = true
 professionStats = <table> {
 }
 supportsCraftingspeed = true
 isBaseRecraftRecipe = false
 learned = true
 priceData = <table> {
 }
 recipeInfoCached = false
 maxQuality = 5
 concentrationCurveData = <table> {
 }
 recipeInfo = <table> {
 }
 concentrationCost = 0
 baseOperationInfo = <table> {
 }
 isAlchemicalExperimentation = false
 maxItemAmount = 1
 professionStatModifiers = <table> {
 }
 supportsMulticraft = false
 expansionID = 10
 cooldownData = <table> {
 }
 subRecipeDepth = 0
 isOldWorldRecipe = false
 parentRecipeInfo = <table> {
 }
 supportsSpecializations = true
 baseProfessionStats = <table> {
 }
 concentrating = true
 isEnchantingRecipe = false
 crafterData = <table> {
 }
 isCrafterInfoCached = true
 isCooking = false
 isSoulbound = false
 recipeID = 435386
 averageProfitCached = 227763240.808400
 buffData = <table> {
 }
 minItemAmount = 1
 categoryID = 1993
 baseItemAmount = 1
 allocationItemGUID = "Item-531-0-4000000ADE93393E"
 isRecraft = true
 resultData = <table> {
 }
 hasQualityReagents = true
 isQuestRecipe = false
 recipeName = "Algari Competitor's Signet"
 optimizedSubRecipes = <table> {
 }
 supportsIngenuity = true
 isSimulationModeData = false
 subRecipeCostsEnabled = false
 professionGearCached = false
 hasReagents = true
 concentrationData = <table> {
 }
 isGear = true
 isSalvageRecipe = false
 professionGearSet = <table> {
 }
 supportsResourcefulness = true
 professionData = <table> {
 }
 operationInfoCached = false
 numSkillUps = 1
}
craftingItemResultData = <table> {
 1 = <table> {
 }
}
reagentItemIDs = <table> {
}
slot = <table> {
 lockedReason = ""
 maxQuantity = 3
 dataSlotIndex = 1
 locked = false
 slotText = "Competitor's Heraldry"
 possibleReagents = <table> {
 }
}
(*temporary) = nil
(*temporary) = true
(*temporary) = <table> {
 optionalReagentSlots = <table> {
 }
 recipeData = <table> {
 }
 requiredReagents = <table> {
 }
 salvageReagentSlot = <table> {
 }
 finishingReagentSlots = <table> {
 }
 requiredSelectableReagentSlot = <table> {
 }
}
(*temporary) = nil
(*temporary) = <table> {
 1 = <table> {
 }
}
(*temporary) = <table> {
 qualityID = 4
 quantity = 1
 item = <table> {
 }
 quantityMulticraft = 0
}
(*temporary) = nil
(*temporary) = "|cffa335ee|Hitem:215137::::::::80:259::13:6:11318:10837:10833:9626:10842:8794:7:28:2734:29:49:30:32:38:7:40:1280:43:210233:45:222590:::::|h[Algari Competitor's Signet |A:Professions-ChatIcon-Quality-Tier4:17:17::1|a]|h|r"
(*temporary) = 1
(*temporary) = 0
(*temporary) = 4
(*temporary) = <table> {
 super = <table> {
 }
 __index = <table> {
 }
}
(*temporary) = <table> {
 qualityID = 4
 quantity = 1
 item = <table> {
 }
 quantityMulticraft = 0
}
(*temporary) = <table> {
 qualityID = 4
 quantity = 1
 item = <table> {
 }
 quantityMulticraft = 0
}
(*temporary) = "|cffa335ee|Hitem:215137::::::::80:259::13:6:11318:10837:10833:9626:10842:8794:7:28:2734:29:49:30:32:38:7:40:1280:43:210233:45:222590:::::|h[Algari Competitor's Signet |A:Professions-ChatIcon-Quality-Tier4:17:17::1|a]|h|r"
(*temporary) = 1
(*temporary) = 0
(*temporary) = 4
(*temporary) = "attempt to index field 'activeReagent' (a nil value)"
CraftSim = <table> {
 COOLDOWNS = <table> {
 }
 STATISTICS = <table> {
 }
 OPTIONAL_REAGENT_DATA = <table> {
 }
 NEWS = <table> {
 }
 OnCraftData = <table> {
 }
 DEBUG = <table> {
 }
 PRICE_DETAILS = <table> {
 }
 CRAFT_LOG = Frame {
 }
 WIDGETS = <table> {
 }
 ProfessionGear = <table> {
 }
 CRAFT_BUFFS = Frame {
 }
 NodeData = <table
commented