CraftSim

CraftSim

2M Downloads

Recipe Queue crashing with the game in Spanish locale

Kerberos9 opened this issue · 11 comments

commented

Looks like the same error from ticket #589 , with the game in spanish, the recipe queue gives an error and doesn't work when trying to calculate concentration.

Just in case it helps, the word for concentration in spanish is 'Concentracion', or, if it respects the accents, 'Concentración'.

Thanks in advance!

Lua error:

196x CraftSim/Classes/RecipeData.lua:1468: attempt to index field 'concentrationData' (a nil value)
[string "@CraftSim/Classes/RecipeData.lua"]:1468: in function `CanCraft'
[string "@CraftSim/Classes/CraftQueueItem.lua"]:45: in function `CalculateCanCraft'
[string "@CraftSim/Modules/CraftQueue/UI.lua"]:1599: in function <CraftSim/Modules/CraftQueue/UI.lua:1598>
[string "=[C]"]: in function `foreach'
[string "@CraftSim/Modules/CraftQueue/UI.lua"]:1595: in function `UpdateFrameListByCraftQueue'
[string "@CraftSim/Modules/CraftQueue/UI.lua"]:1665: in function `UpdateQueueDisplay'
[string "@CraftSim/Modules/CraftQueue/CraftQueue.lua"]:304: in function `AddRecipe'
[string "@CraftSim/Modules/RecipeScan/UI.lua"]:434: in function `selectionCallback'
[string "@CraftSim/Libs/GGUI/GGUI.lua"]:3131: in function `Select'
[string "@CraftSim/Libs/GGUI/GGUI.lua"]:3164: in function <CraftSim/Libs/GGUI/GGUI.lua:3159>

Locals:
self = <table> {
 supportsQualities = true
 reagentData = <table> {
 }
 specializationDataCached = false
 relativeProfitCached = 163
 recipeIcon = 4620672
 specializationData = <table> {
 }
 supportsCraftingStats = true
 professionStats = <table> {
 }
 supportsCraftingspeed = true
 isAlchemicalExperimentation = false
 learned = true
 isBaseRecraftRecipe = false
 recipeInfoCached = false
 priceData = <table> {
 }
 maxQuality = 3
 recipeInfo = <table> {
 }
 concentrationCost = 211
 baseOperationInfo = <table> {
 }
 concentrationCurveData = <table> {
 }
 maxItemAmount = 1
 professionStatModifiers = <table> {
 }
 supportsMulticraft = false
 expansionID = 10
 cooldownData = <table> {
 }
 subRecipeDepth = 0
 isOldWorldRecipe = false
 parentRecipeInfo = <table> {
 }
 supportsSpecializations = true
 baseProfessionStats = <table> {
 }
 concentrating = true
 isEnchantingRecipe = true
 crafterData = <table> {
 }
 isCrafterInfoCached = true
 isCooking = false
 isSoulbound = false
 recipeID = 445383
 averageProfitCached = 47320990.237618
 buffData = <table> {
 }
 minItemAmount = 1
 categoryID = 2090
 baseItemAmount = 1
 isRecraft = false
 resultData = <table> {
 }
 hasQualityReagents = true
 isQuestRecipe = false
 recipeName = "Versatilidad maldita"
 optimizedSubRecipes = <table> {
 }
 supportsIngenuity = false
 isSimulationModeData = false
 subRecipeCostsEnabled = false
 professionGearCached = false
 hasReagents = true
 isGear = false
 isSalvageRecipe = false
 professionGearSet = <table> {
 }
 supportsResourcefulness = true
 professionData = <table> {
 }
 operationInfoCached = false
 numSkillUps = 1
}
amount = 1
excludeWarbankTemp = nil
hasEnoughReagents = false
craftAbleAmount = 0
isChargeRecipe = false
concentrationAmount = Infinite
(*temporary) = nil
(*temporary) = nil
(*temporary) = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
}
(*temporary) = "attempt to index field 'concentrationData' (a nil value)"
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> {
 }
 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> {
 }
 LibGraph = <table> {
 }
 OptionalReagentSlot = <table> {
 }
 Reagent = <table> {
 }
 PRICE_APIS = <table> {
 }
 LOCAL_FR = <table> {
 }
 SPECIALIZATION_DATA = <table> {
 }
 PRICE_SOURCE = <table> {
 }
 UTIL = <table> {
 }
 LOCAL_ES = <table> {
 }
 CraftSimObject = <table> {
 }
 PerkData = <table> {
 }
 ITEM_COUNT = Frame {
 }
 TOPGEAR = <table> {
 }
 PriceData = <table> {
 }
 OptionalReagent = <table> {
 }
 CONCENTRATION_CURVE_DATA = <table> {
 }
 LOCAL_IT = <table> {
 }
 CONTROL_PANEL = <table> {
 }
 CraftQueueItem = <table> {
 }
 ResultData = <table> {
 }
 CraftQueue = <table> {
 }
 RECIPE_SCAN = <table> {
 }
 AVERAGEPROFIT = <table> {
 }
 BagBuff = <table> {
 }
 Buff = <table> {
 }
 BuffData = <table> {
 }
 SIMULATION_MODE = <table> {
 }
 JSONBuilder = <table> {
 }
 OPTIONS = <table> {
 }
 CraftSessionData = <table> {
 }
 INIT = Frame {
 }
 CALC = <table> {
 }
 ProfessionGearSet = <table> {
 }
 SpecializationData = <table> {
 }
 ProfessionData = <table> {
 }
 LOCAL_RU = <table> {
 }
 CraftResultSavedReagent = <table> {
 }
 CraftResultItem = <table> {
 }
 CraftResult = <table> {
 }
 LOCAL_CN = <table> {
 }
 ReagentOptimizationResult = <table> {
 }
 DB = <table> {
 }
 Statweights = <table> {
 }
 ProfessionStat = <table> {
 }
 SalvageReagentSlot = <table> {
 }
 ProfessionStats = <table> {
 }
 ReagentListItem = <table> {
 }
 GUTIL = <table> {
 }
 CUSTOMER_HISTORY = Frame {
 }
 ReagentItem = <table> {
 }
 REAGENT_OP```
commented

have u tested if it works in another language?
does not seem to be local related

commented

When switching the game to english it worked instantly. Before switching language, I tried deleting the WTF files related to Craftsim and reinstalling the addon, and it was still throwing the error.

Everything else works perfectly, even the recipe scan with concentration optimization works, it just happens when trying to add a concentrated recipe to the queue.

commented

There is same problem in Korean

43x CraftSim/Classes/RecipeData.lua:1468: attempt to index field 'concentrationData' (a nil value)
[string "@CraftSim/Classes/RecipeData.lua"]:1468: in function `CanCraft'
[string "@CraftSim/Classes/CraftQueueItem.lua"]:45: in function `CalculateCanCraft'
[string "@CraftSim/Modules/CraftQueue/UI.lua"]:1599: in function <CraftSim/Modules/CraftQueue/UI.lua:1598>
[string "=[C]"]: in function `foreach'
[string "@CraftSim/Modules/CraftQueue/UI.lua"]:1595: in function `UpdateFrameListByCraftQueue'
[string "@CraftSim/Modules/CraftQueue/UI.lua"]:1665: in function `UpdateQueueDisplay'
[string "@CraftSim/Modules/CraftQueue/CraftQueue.lua"]:304: in function `AddRecipe'
[string "@CraftSim/Modules/CraftQueue/CraftQueue.lua"]:814: in function `finally'
[string "@CraftSim/Classes/RecipeData.lua"]:869: in function `finally'
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:1192: in function `Break'
[string "@CraftSim/Classes/RecipeData.lua"]:920: in function `continue'
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:1182: in function `Continue'
[string "@CraftSim/Classes/RecipeData.lua"]:947: in function `continue'
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:1185: in function <CraftSim/Libs/GUTIL/GUTIL.lua:1184>

Locals:
self = <table> {
 supportsQualities = true
 reagentData = <table> {
 }
 specializationDataCached = false
 relativeProfitCached = 346
 recipeIcon = 4620672
 specializationData = <table> {
 }
 supportsCraftingStats = true
 professionStats = <table> {
 }
 supportsCraftingspeed = true
 isAlchemicalExperimentation = false
 learned = true
 isBaseRecraftRecipe = false
 recipeInfoCached = false
 priceData = <table> {
 }
 maxQuality = 3
 recipeInfo = <table> {
 }
 concentrationCost = 195
 baseOperationInfo = <table> {
 }
 concentrationCurveData = <table> {
 }
 maxItemAmount = 1
 professionStatModifiers = <table> {
 }
 supportsMulticraft = false
 expansionID = 10
 cooldownData = <table> {
 }
 subRecipeDepth = 0
 isOldWorldRecipe = false
 parentRecipeInfo = <table> {
 }
 supportsSpecializations = true
 baseProfessionStats = <table> {
 }
 concentrating = true
 isEnchantingRecipe = true
 crafterData = <table> {
 }
 isCrafterInfoCached = true
 isCooking = false
 isSoulbound = false
 recipeID = 445387
 averageProfitCached = 56508188.315375
 buffData = <table> {
 }
 minItemAmount = 1
 categoryID = 2090
 baseItemAmount = 1
 isRecraft = false
 resultData = <table> {
 }
 hasQualityReagents = true
 isQuestRecipe = false
 recipeName = "광휘의 치명타 및 극대화"
 optimizedSubRecipes = <table> {
 }
 supportsIngenuity = false
 isSimulationModeData = false
 subRecipeCostsEnabled = false
 professionGearCached = false
 hasReagents = true
 isGear = false
 isSalvageRecipe = false
 professionGearSet = <table> {
 }
 supportsResourcefulness = true
 professionData = <table> {
 }
 operationInfoCached = false
 numSkillUps = 1
}
amount = 1
excludeWarbankTemp = nil
hasEnoughReagents = true
craftAbleAmount = 5
isChargeRecipe = false
concentrationAmount = Infinite
(*temporary) = nil
(*temporary) = nil
(*temporary) = Infinite
(*temporary) = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
}
(*temporary) = "attempt to index field 'concentrationData' (a nil value)"
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> {
 }
 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> {
 }
 LibGraph = <table> {
 }
 OptionalReagentSlot = <table> {
 }
 Reagent = <table> {
 }
 PRICE_APIS = <table> {
 }
 LOCAL_FR = <table> {
 }
 SPECIALIZATION_DATA = <table> {
 }
 PRICE_SOURCE = <table> {
 }
 UTIL = <table> {
 }
 LOCAL_ES = <table> {
 }
 CraftSimObject = <table> {
 }
 PerkData = <table> {
 }
 ITEM_COUNT = Frame {
 }
 TOPGEAR = <table> {
 }
 PriceData = <table> {
 }
 OptionalReagent = <table> {
 }
 CONCENTRATION_CURVE_DATA = <table> {
 }
 LOCAL_IT = <table> {
 }
 CONTROL_PANEL = <table> {
 }
 CraftQueueItem = <table> {
 }
 ResultData = <table> {
 }
 CraftQueue = <table> {
 }
 RECIPE_SCAN = <table> {
 }
 AVERAGEPROFIT = <table> {
 }
 BagBuff = <table> {
 }
 Buff = <table> {
 }
 BuffData = <table> {
 }
 SIMULATION_MODE = <table> {
 }
 JSONBuilder = <table> {
 }
 OPTIONS = <table> {
 }
 CraftSessionData = <table> {
 }
 INIT = Frame {
 }
 CALC = <table> {
 }
 ProfessionGearSet = <table> {
 }
 SpecializationData = <table> {
 }
 ProfessionData = <table> {
 }
 LOCAL_RU = <table> {
 }
 CraftResultSavedReagent = <table> {
 }
 CraftResultItem = <table> {
 }
 CraftResult = <table> {
 }
 LOCAL_CN = <table> {
 }
 ReagentOptimizationResult = <table> {
 }
 DB = <table> {
 }
 Statweights = <table> {
 }
 ProfessionStat = <table> {
 }
 SalvageReagentSlot = <table> {
 }
 ProfessionStats = <table> {
 }
 ReagentListItem = <table> {
 }
 GUTIL = <table> {
 }
 CUSTOMER_HISTORY = Frame {
 }
 ReagentItem = <table> {
 }
 REAGENT_OP