CraftSim

CraftSim

2M Downloads

[CraftLog] PvP Gear: activeReagent returns nil value error on craft

Schaloth opened this issue ยท 0 comments

commented

Describe the bug
While doing any kind of spark or heraldry pvp item craft getting this error. Public, guild, patron, personal order doesnt matter. Recraft or fresh craft also doesnt matter. It always give error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any crafting station.
  2. Check if there is any order that contains spark or heraldry
  3. Try to craft that order while craftlog is enabled.
  4. See error
  5. 146x 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 =

{
concentrating = false
usedConcentration = 0
recipeID = 435385
triggeredMulticraft = false
isWorkOrder = true
triggeredIngenuity = false
savedConcentration = 0
savedCosts = 0
craftingCosts = 0
ingenuityRefund = 0
triggeredResourcefulness = false
savedReagents =
{
}
craftResultItems =
{
}
expectedQuality = 5
orderData =
{
}
reagentCombinationID = ""
reagents =
{
}
}
recipeData =
{
isGear = true
reagentData =
{
}
specializationDataCached = false
relativeProfitCached = 34
recipeIcon = 6012019
specializationData =
{
}
supportsCraftingStats = true
supportsQualities = true
supportsCraftingspeed = true
priceData =
{
}
learned = true
maxQuality = 5
recipeInfoCached = false
concentrationCurveData =
{
}
isAlchemicalExperimentation = false
recipeInfo =
{
}
concentrationCost = 0
baseOperationInfo =
{
}
professionStatModifiers =
{
}
maxItemAmount = 1
professionStats =
{
}
supportsMulticraft = false
expansionID = 10
cooldownData =
{
}
subRecipeDepth = 0
isOldWorldRecipe = false
parentRecipeInfo =
{
}
orderData =
{
}
supportsSpecializations = true
baseProfessionStats =
{
}
concentrating = false
isBaseRecraftRecipe = false
crafterData =
{
}
isCrafterInfoCached = true
isCooking = false
isSoulbound = true
recipeID = 435385
averageProfitCached = 11461855.736000
buffData =
{
}
minItemAmount = 1
numSkillUps = 1
baseItemAmount = 1
isRecraft = false
resultData =
{
}
hasQualityReagents = true
isQuestRecipe = false
recipeName = "Amulet of Earthen Craftsmanship"
optimizedSubRecipes =
{
}
supportsIngenuity = true
isSimulationModeData = false
subRecipeCostsEnabled = false
professionGearCached = false
hasReagents = true
concentrationData =
{
}
isSalvageRecipe = false
isEnchantingRecipe = false
professionGearSet =
{
}
supportsResourcefulness = true
professionData =
{
}
operationInfoCached = false
categoryID = 1992
}
craftingItemResultData =
{
1 =
{
}
}
reagentItemIDs =
{
}
slot =
{
lockedReason = ""
maxQuantity = 1
dataSlotIndex = 1
locked = false
slotText = "Spark"
possibleReagents =
{
}
}
(*temporary) = nil
(*temporary) = true
(*temporary) =
{
optionalReagentSlots =
{
}
recipeData =
{
}
requiredReagents =
{
}
salvageReagentSlot =
{
}
finishingReagentSlots =
{
}
requiredSelectableReagentSlot =
{
}
}
(*temporary) = nil
(*temporary) =
{
1 =
{
}
}
(*temporary) =
{
qualityID = 5
quantity = 1
item =
{
}
quantityMulticraft = 0
}
(*temporary) = nil
(*temporary) = "|cffa335ee|Hitem:215136::::::::80:581::13:9:10421:9633:8902:10878:10394:9627:10222:8791:11143:8:28:2734:29:36:30:49:38:8:40:1279:43:211296:46:222593:47:224072:::::|h[Amulet of Earthen Craftsmanship |A:Professions-ChatIcon-Quality-Tier5:17:17::1|a]|h|r"
(*temporary) = 1
(*temporary) = 0
(*temporary) = 5
(*temporary) =
{
super =
{
}
__index =
{
}
}
(*temporary) =
{
qualityID = 5
quantity = 1
item =
{
}
quantityMulticraft = 0
}
(*temporary) =
{
qualityID = 5
quantity = 1
item =
{
}
quantityMulticraft = 0
}
(*temporary) = "|cffa335ee|Hitem:215136::::::::80:581::13:9:10421:9633:8902:10878:10394:9627:10222:8791:11143:8:28:2734:29:36:30:49:38:8:40:1279:43:211296:46:222593:47:224072:::::|h[Amulet of Earthen Craftsmanship |A:Professions-ChatIcon-Quality-Tier5:17:17::1|a]|h|r"
(*temporary) = 1
(*temporary) = 0
(*temporary) = 5
(*temporary) = "attempt to index field 'activeReagent' (a nil value)"
CraftSim =
{
COOLDOWNS =
{
}
STATISTICS =
{
}
OPTIONAL_REAGENT_DATA =
{
}
NEWS =
{
}
OnCraftData =
{
}
DEBUG =
{
}
PRICE_DETAILS =
{
}
CRAFT_LOG = Frame {
}
WIDGETS =
{
}
ProfessionGear =
{

Expected behavior
Didn't get any error and see resourceful, ingenuity procs with profit on craftlog.

Screenshots
image

Addon Version:
19.7.1 updated addon at 11/29/2024 but getting this error since craftlog feature added.

Additional context
I am getting same error for every item. For example when I get this error the item I crafted was not Amulet of Earthen Craftsmanship. It was leather spark recraft.