CraftSim

CraftSim

2M Downloads

Lua error clicking on some recipes in tailoring

KyrosKrane opened this issue ยท 1 comments

commented

Tested on a toon with fully maxed tailoring. Addons loaded are Buggrabber, Bugsack, Craftsim, and Auctionator (for price data).

Steps to reproduce:

  1. Open tailoring.
  2. In the recipe list, click on one of the recipes below (not an exhaustive list, I just tested a few items).
  • Chronocloth Bolt
  • Vibrant Wildercloth Bolt
  • Verdant Tether
  • Abrasive Polishing Cloth

In addition, my selected CS windows did not open. Clicking on other recipes that don't give errors would allow those windows to open.

Error:

2x CraftSim/Pricing/PriceData.lua:68: attempt to compare number with nil
[string "@CraftSim/Pricing/PriceData.lua"]:68: in function `GetMinBuyoutByItemID'
[string "@CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua"]:243: in function `CreateCrumbs'
[string "@CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua"]:344: in function `OptimizeReagentAllocation'
[string "@CraftSim/Classes/RecipeData.lua"]:557: in function `OptimizeReagents'
[string "@CraftSim/Classes/RecipeData.lua"]:594: in function `OptimizeProfit'
[string "@CraftSim/Classes/RecipeData.lua"]:1077: in function `OptimizeSubRecipes'
[string "@CraftSim/Init/Init.lua"]:542: in function `TriggerModulesByRecipeType'
[string "@CraftSim/Init/Init.lua"]:85: in function <CraftSim/Init/Init.lua:83>
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:564: in function `checkCondition'
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:570: in function `WaitFor'
[string "@CraftSim/Init/Init.lua"]:74: in function `TriggerModuleUpdate'
[string "@CraftSim/Init/Init.lua"]:126: in function <CraftSim/Init/Init.lua:106>
...
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeList.lua"]:137: in function <...fessionsTemplates/Blizzard_ProfessionsRecipeList.lua:124>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Blizzard_SharedXML/Shared/Scroll/ScrollUtil.lua"]:515: in function `SetElementDataSelected_Internal'
[string "@Blizzard_SharedXML/Shared/Scroll/ScrollUtil.lua"]:480: in function `SelectElementData'
[string "@Blizzard_SharedXML/Shared/Scroll/ScrollUtil.lua"]:520: in function `Select'
[string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeList.lua"]:58: in function <...fessionsTemplates/Blizzard_ProfessionsRecipeList.lua:46>

Locals:
self = <table> {
 overrideResultProfits = <table> {
 }
 noPriceDataLinks = <table> {
 }
}
itemID = 193928
isReagent = true
forceAHPrice = false
considerSubCrafts = true
ahPrice = 7900
priceInfo = <table> {
 ahPrice = 7900
 noAHPriceFound = false
 isOverride = false
 noPriceSource = false
 isAHPrice = false
 isExpectedCost = false
}
priceOverrideData = nil
itemRecipeData = <table> {
 qualityID = 3
 crafters = <table> {
 }
 recipeID = 376555
 itemID = 193928
}
recipeCrafter = "Ruffinit-Dalaran"
allowCooldown = true
itemOptimizedCostsData = <table> {
 qualityID = 3
 profession = 7
 expectedCostsPerItem = 5195.041473
 crafter = "Ruffinit-Dalaran"
}
(*temporary) = nil
(*temporary) = 193928
(*temporary) = "Ruffinit-Dalaran"
(*temporary) = "attempt to compare number with nil"
CraftSim = <table> {
 COOLDOWNS = <table> {
 }
 STATISTICS = <table> {
 }
 OPTIONAL_REAGENT_DATA = <table> {
 }
 NEWS = <table> {
 }
 CraftRecipeData = <table> {
 }
 DEBUG = <table> {
 }
 PRICE_DETAILS = <table> {
 }
 ProfessionGear = <table> {
 }
 CRAFT_BUFFS = Frame {
 }
 NodeData = <table> {
 }
 PRICE_OVERRIDE = <table> {
 }
 NodeRule = <table> {
 }
 ConcentrationData = <table> {
 }
 LOCAL_MX = <table> {
 }
 ENCHANT_RECIPE_DATA = <table> {
 }
 REAGENT_DATA = <table> {
 }
 COST_OPTIMIZATION = <table> {
 }
 EXPLANATIONS = <table> {
 }
 LibCompress = <table> {
 }
 TopGearResult = <table> {
 }
 ReagentData = <table> {
 }
 LOCAL_DE = <table> {
 }
 CONCENTRATION_TRACKER = <table> {
 }
 SUPPORTERS = <table> {
 }
 OptionalReagentSlot = <table> {
 }
 Reagent = <table> {
 }
 PRICE_APIS = <table> {
 }
 LOCAL_FR = <table> {
 }
 SPECIALIZATION_DATA = <table> {
 }
 LOCAL = <table> {
 }
 UTIL = <table> {
 }
 LOCAL_ES = <table> {
 }
 CraftSimObject = <table> {
 }
 BuffData = <table> {
 }
 ITEM_COUNT = Frame {
 }
 TOPGEAR = <table> {
 }
 PriceData = <table> {
 }
 OptionalReagent = <table> {
 }
 COMM = <table> {
 }
 LOCAL_IT = <table> {
 }
 CONTROL_PANEL = <table> {
 }
 ResultData = <table> {
 }
 CraftQueueItem = <table> {
 }
 RECIPE_SCAN = <table> {
 }
 AVERAGEPROFIT = <table> {
 }
 CraftQueue = <table> {
 }
 Buff = <table> {
 }
 JSONBuilder = <table> {
 }
 SIMULATION_MODE = <table> {
 }
 CraftSessionData = <table> {
 }
 OPTIONS = <table> {
 }
 CraftResultSavedReagent = <table> {
 }
 INIT = Frame {
 }
 CALC = <table> {
 }
 ProfessionGearSet = <table> {
 }
 SpecializationData = <table> {
 }
 ProfessionData = <table> {
 }
 LOCAL_RU = <table> {
 }
 CraftResultItem = <table> {
 }
 CraftResult = <table> {
 }
 PRICEDATA = <table> {
 }
 LOCAL_CN = <table> {
 }
 ReagentOptimizationResult = <table> {
 }
 LOCAL_EN = <table> {
 }
 Statweights = <table> {
 }
 ProfessionStat = <table> {
 }
 REAGENT_OPTIMIZATION = <table> {
 }
 NodeRuleMapping = <table> {
 }
 SalvageReagentSlot = <table> {
 }
 GUTIL = <table> {
 }
 CUSTOMER_HISTORY = Frame {
 }
 ProfessionStats = <table> {
 }
 LibIcon = <table> {
 }
 ReagentListItem = <table> {
 }
 ReagentItem = <table> {
 }
 FRAME = <table> {
 }
 CategoryMapping = <table> {
 }
 RecipeData = <table> {
 }
 GGUI = <table> {
 }
 LOCAL_TW = <table> {
 }
 Object = <table> {
 }
 LOCAL_KO = <table> {
 }
 DB = <table> {
 }
 LOCAL_PT = <table> {
 }
 CooldownData = <table> {
 }
 PRICE_API = <table> {
 }
 SPECIALIZATION_INFO = <table> {
 }
 CONST = <table> {
 }
 CRAFTQ = Frame {
 }
 CRAFT_RESULTS = Frame {
 }
 MEDIA = <table> {
 }
}
commented

Oh, this was with CraftSim v17.0.4.