Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CraftSim] Legion (Argus) Mining Techniques cause LUA errors #810

Open
Rhuagh opened this issue Feb 16, 2025 · 0 comments
Open

[CraftSim] Legion (Argus) Mining Techniques cause LUA errors #810

Rhuagh opened this issue Feb 16, 2025 · 0 comments
Assignees

Comments

@Rhuagh
Copy link

Rhuagh commented Feb 16, 2025

Describe the bug
When opening Legion Mining a Lua error is thrown if Empyrium Deposit/Seam is known. The same error is also thrown when actively clicking the Empyrium entries.

The error message given is:

353x CraftSim/Classes/RecipeData.lua:1735: attempt to compare string with number [string "@CraftSim/Classes/RecipeData.lua"]:1735: in function IsOldWorldRecipe'
[string "@CraftSim/Classes/RecipeData.lua"]:147: in function new' [string "@CraftSim/Libs/classic.lua"]:64: in function RecipeData'
[string "@CraftSim/Init/Init.lua"]:632: in function TriggerModulesByRecipeType' [string "@CraftSim/Init/Init.lua"]:104: in function <CraftSim/Init/Init.lua:102> [string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:606: in function checkCondition'
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:612: in function WaitFor' [string "@CraftSim/Init/Init.lua"]:93: in function TriggerModuleUpdate'
[string "@CraftSim/Init/Init.lua"]:145: in function <CraftSim/Init/Init.lua:125>
[string "=[C]"]: ?
[string "=[C]"]: in function Init' [string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:381: in function SelectRecipe'
...
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:63: in function <...s/Blizzard_Professions/Blizzard_ProfessionsFrame.lua:61>
[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_Professions/Blizzard_ProfessionsRankBar.lua"]:31: in function <...Blizzard_Professions/Blizzard_ProfessionsRankBar.lua:30> [string "=(tail call)"]: ? [string "=[C]"]: in function securecallfunction'
[string "@Blizzard_Menu/Menu.lua"]:883: in function `Pick'
[string "@Blizzard_Menu/MenuTemplates.lua"]:74: in function <Blizzard_Menu/MenuTemplates.lua:68>

Locals:
self =

{
concentrating = false
isBaseRecraftRecipe = false
crafterData =
{
}
specializationDataCached = false
recipeID = 183562
categoryID = 424
recipeInfoCached = false
isQuestRecipe = false
recipeInfo =
{
}
concentrationCost = 0
isEnchantingRecipe = false
subRecipeCostsEnabled = false
professionGearCached = false
isGear = false
expansionID = "BASE"
subRecipeDepth = 0
optimizedSubRecipes =
{
}
parentRecipeInfo =
{
}
professionData =
{
}
operationInfoCached = false
supportsSpecializations = false
}
(*temporary) = "BASE"
(*temporary) = 9
(*temporary) = "attempt to compare string with number"
CraftSim =
{
COOLDOWNS =
{
}
STATISTICS =
{
}
OPTIONAL_REAGENT_DATA =
{
}
NEWS =
{
}
OnCraftData =
{
}
DEBUG =
{
}
PRICE_DETAILS =
{
}
CRAFT_LOG = Frame {
}
WIDGETS =
{
}
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 =
{
}
CraftRecipeData =
{
}
INIT = Frame {
}
CALC =
{
}
ProfessionGearSet =
{
}
SpecializationData =
{
}
ProfessionData =
{
}
LOCAL_RU =
{
}
CraftSessionData =
{
}
ProfessionStats =
{
}
CraftResultItem =
{
}
LOCAL_CN =
{
}
CraftResult =
{
}
DB =
{
}
ReagentOptimizationResult =
{
}
ProfessionStat =
{
}
Statweights =
{
}
SalvageReagentSlot =
{
}
CraftResultReagent =
{
}
GUTIL =
{
}
CUSTOMER_HISTORY = Frame {
}
ReagentListItem =
{
}
REAGENT_OPTIMIZATION =
{
}
ReagentItem =
{
}
LOCAL_EN =
{
}
COMM =
{
}
FRAME =
{
}
RecipeData =
{
}
LOCAL_KO =
{
}
LOCAL_TW =
{
}
Object =
{
}
LOCAL_PT =
{
}
LibIcon =
{
}
LOCAL =
{
}
CooldownData =
{
}
PRICE_API =
{
}
SPECIALIZATION_INFO =
{
}
CONST =
{
}
CRAFTQ = Frame {
}
GGUI =
{
}
MEDIA =
{
}
}`

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Legion Mining'
  2. Click on 'Empyriym Deposit' in the list of Mining Techniques
  3. See error

Expected behavior
No LUA error thrown.

Addon Version: 19.8.0

@github-project-automation github-project-automation bot moved this to Backlog in CraftSim Feb 16, 2025
@Rhuagh Rhuagh changed the title [<Module Name>] <Issue Title> [CraftSim] Legion (Argus) Mining Techniques cause LUA errors Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants