CraftSim

CraftSim

2M Downloads

Error in new craft log when crafting

NoShotz opened this issue ยท 3 comments

commented
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 = false
 usedConcentration = 0
 recipeID = 438895
 triggeredMulticraft = false
 isWorkOrder = true
 triggeredIngenuity = false
 savedConcentration = 0
 savedCosts = 0
 craftingCosts = 0
 ingenuityRefund = 167
 triggeredResourcefulness = false
 savedReagents = <table> {
 }
 craftResultItems = <table> {
 }
 expectedQuality = 4
 orderData = <table> {
 }
 reagentCombinationID = ""
 reagents = <table> {
 }
}
recipeData = <table> {
 isGear = true
 reagentData = <table> {
 }
 specializationDataCached = false
 relativeProfitCached = 386
 recipeIcon = 5465212
 specializationData = <table> {
 }
 supportsCraftingStats = true
 supportsQualities = true
 supportsCraftingspeed = true
 priceData = <table> {
 }
 learned = true
 maxQuality = 5
 recipeInfoCached = false
 concentrationCurveData = <table> {
 }
 isAlchemicalExperimentation = false
 recipeInfo = <table> {
 }
 concentrationCost = 275
 baseOperationInfo = <table> {
 }
 professionStatModifiers = <table> {
 }
 maxItemAmount = 1
 professionStats = <table> {
 }
 supportsMulticraft = false
 expansionID = 10
 cooldownData = <table> {
 }
 subRecipeDepth = 0
 isOldWorldRecipe = false
 parentRecipeInfo = <table> {
 }
 orderData = <table> {
 }
 supportsSpecializations = true
 baseProfessionStats = <table> {
 }
 concentrating = false
 isBaseRecraftRecipe = false
 crafterData = <table> {
 }
 isCrafterInfoCached = true
 isCooking = false
 isSoulbound = false
 recipeID = 438895
 averageProfitCached = 16724532.695000
 buffData = <table> {
 }
 minItemAmount = 1
 numSkillUps = 1
 baseItemAmount = 1
 isRecraft = false
 resultData = <table> {
 }
 hasQualityReagents = true
 isQuestRecipe = false
 recipeName = "Algari Competitor's Cloth Tunic"
 optimizedSubRecipes = <table> {
 }
 supportsIngenuity = true
 isSimulationModeData = false
 subRecipeCostsEnabled = false
 professionGearCached = false
 hasReagents = true
 concentrationData = <table> {
 }
 isSalvageRecipe = false
 isEnchantingRecipe = false
 professionGearSet = <table> {
 }
 supportsResourcefulness = true
 professionData = <table> {
 }
 operationInfoCached = false
 categoryID = 2010
}
craftingItemResultData = <table> {
 1 = <table> {
 }
}
reagentItemIDs = <table> {
}
slot = <table> {
 lockedReason = ""
 maxQuantity = 5
 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) = "|cff0070dd|Hitem:217123::::::::80:62::13:3:11318:9626:10841:6:28:2734:29:32:30:36:38:7:40:1294:43:210232:::::|h[Algari Competitor's Cloth Tunic |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) = "|cff0070dd|Hitem:217123::::::::80:62::13:3:11318:9626:10841:6:28:2734:29:32:30:36:38:7:40:1294:43:210232:::::|h[Algari Competitor's Cloth Tunic |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> {
 }
 PRICE_OVERRIDE = <table> {
 }
 C
commented

I'm having this bug as well. I think it's related to the Heraldry that's a required choice of reagents. I also noticed that when queueing first crafts, it did not automatically fill that choice with the green heraldry item...

commented

I'm also getting this

commented

Case: All Reagents provided by client (test with personal order)