CraftSim

CraftSim

2M Downloads

Recipe Queue crashing with the game in Spanish locale

Kerberos9 opened this issue · 14 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
commented

Hey! Same issue here with spanish. I'm copy/pasting just in case it helps:

25x CraftSim/Classes/RecipeData.lua:1499: attempt to index field 'concentrationData' (a nil value)
[string "@CraftSim/Classes/RecipeData.lua"]:1499: in function CanCraft' [string "@CraftSim/Classes/CraftQueueItem.lua"]:45: in function CalculateCanCraft'
[string "@CraftSim/Modules/CraftQueue/UI.lua"]:1404: in function <CraftSim/Modules/CraftQueue/UI.lua:1403>
[string "=[C]"]: in function foreach' [string "@CraftSim/Modules/CraftQueue/UI.lua"]:1400: in function UpdateFrameListByCraftQueue'
[string "@CraftSim/Modules/CraftQueue/UI.lua"]:1470: in function UpdateQueueDisplay' [string "@CraftSim/Modules/CraftQueue/CraftQueue.lua"]:305: in function AddRecipe'
[string "@CraftSim/Modules/CraftQueue/CraftQueue.lua"]:748: 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"]:1185: in function <CraftSim/Libs/GUTIL/GUTIL.lua:1184>

Locals:
self =

{
supportsQualities = true
reagentData =
{
}
specializationDataCached = false
relativeProfitCached = 471
recipeIcon = 134793
specializationData =
{
}
supportsCraftingStats = true
professionStats =
{
}
supportsCraftingspeed = true
isAlchemicalExperimentation = false
learned = true
isBaseRecraftRecipe = false
recipeInfoCached = false
priceData =
{
}
maxQuality = 3
recipeInfo =
{
}
concentrationCost = 320
baseOperationInfo =
{
}
concentrationCurveData =
{
}
maxItemAmount = 4
professionStatModifiers =
{
}
supportsMulticraft = true
expansionID = 10
cooldownData =
{
}
subRecipeDepth = 0
isOldWorldRecipe = false
parentRecipeInfo =
{
}
supportsSpecializations = true
baseProfessionStats =
{
}
concentrating = true
isEnchantingRecipe = false
crafterData =
{
}
isCrafterInfoCached = true
isCooking = false
isSoulbound = false
recipeID = 430617
averageProfitCached = 25168601.704300
buffData =
{
}
minItemAmount = 4
categoryID = 1975
baseItemAmount = 4
isRecraft = false
resultData =
{
}
hasQualityReagents = true
isQuestRecipe = false
recipeName = "Ampolla de estaciones generosas"
optimizedSubRecipes =
{
}
supportsIngenuity = false
isSimulationModeData = false
subRecipeCostsEnabled = false
professionGearCached = false
hasReagents = true
isGear = false
isSalvageRecipe = false
professionGearSet =
{
}
supportsResourcefulness = true
professionData =
{
}
operationInfoCached = false
numSkillUps = 1
}
amount = 1
excludeWarbankTemp = nil
hasEnoughReagents = false
craftAbleAmount = 0
isChargeRecipe = false
concentrationAmount = Infinite
(*temporary) = nil
(*temporary) = nil
(*temporary) =
{
1 =
{
}
2 =
{
}
3 =
{
}
4 =
{
}
5 =
{
}
6 =
{
}
}
(*temporary) = "attempt to index field 'concentrationData' (a nil value)"
CraftSim =
{
COOLDOWNS =
{
}
STATISTICS =
{
}
OPTIONAL_REAGENT_DATA =
{
}
NEWS =
{
}
CraftRecipeData =
{
}
DEBUG =
{
}
PRICE_DETAILS =
{
}
ProfessionGear =
{
}
CRAFT_BUFFS = Frame {
}
NodeData =
{
}
PRICE_OVERRIDE =
{
}
ConcentrationData =
{
}
LOCAL_MX =
{
}
ENCHANT_RECIPE_DATA =
{
}
REAGENT_DATA =
{
}
COST_OPTIMIZATION =
{
}
EXPLANATIONS =
{
}
LibCompress =
{
}
TopGearResult =
{
}
ReagentData =
{
}
LOCAL_DE =
{
}
CONCENTRATION_TRACKER =
{
}
SUPPORTERS =
{
}
LibGraph =
{
}
OptionalReagentSlot =
{
}
Reagent =
{
}
PRICE_APIS =
{
}
LOCAL_FR =
{
}
SPECIALIZATION_DATA =
{
}
PRICE_SOURCE =
{
}
UTIL =
{
}
LOCAL_ES =
{
}
CraftSimObject =
{
}
PerkData =
{
}
ITEM_COUNT = Frame {
}
TOPGEAR =
{
}
PriceData =
{
}
OptionalReagent =
{
}
CONCENTRATION_CURVE_DATA =
{
}
LOCAL_IT =
{
}
CONTROL_PANEL =
{
}
CraftQueueItem =
{
}
ResultData =
{
}
CraftQueue =
{
}
RECIPE_SCAN =
{
}
AVERAGEPROFIT =
{
}
BagBuff =
{
}
Buff =
{
}
BuffData =
{
}
SIMULATION_MODE =
{
}
JSONBuilder =
{
}
OPTIONS =
{
}
CraftSessionData =
{
}
INIT = Frame {
}
CALC =
{
}
ProfessionGearSet =
{
}
SpecializationData =
{
}
ProfessionData =
{
}
LOCAL_RU =
{
}
CraftResultSavedReagent =
{
}
CraftResultItem =
{
}
CraftResult =
{
}
LOCAL_CN =
{
}
ReagentOptimizationResult =
{
}
DB =
{
}
Statweights =
{
}
ProfessionStat =
{
}
SalvageReagentSlot =
{
}
ProfessionStats =
{
}
ReagentListItem =
{
}
GUTIL =
{
}
CUSTOMER_HISTORY = Fram

Thank you for this AMAZING addon!!

commented

I would need the ingenuity name of the respective locale

commented

It's on the OP, 'Concentracion', or, if it respects the accents, 'Concentración', for es_ES (and I'd guess also es_MX)

commented

It's on the OP, 'Concentracion', or, if it respects the accents, 'Concentración', for es_ES (and I'd guess also es_MX)

has to be exactly the same as in a profession tool thats enchanted e.g. equip: +50 Ingenuity

commented

This is important to match BUT I doubt it is the reason for the error above
the error above has nothing to do with the client language
it seems not to save any concentration data for the open profession
why this is only the case in non english clients.. wierd.. since it does not rely on translations

commented

Checking a random reagent from wowhead (https://www.wowhead.com/es/item=224173/concentrado-de-concentraci%C3%B3n), it uses the tilde one, 'concentración'.

commented

Checking a random reagent from wowhead (https://www.wowhead.com/es/item=224173/concentrado-de-concentraci%C3%B3n), it uses the tilde one, 'concentración'.

hm but this should not be a problem since the addon references items by itemID (here 224173) and not by name

commented

it rather seems as if the concentration data could not be cached in the first place and then not retrieved