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

[Simulation Mode] recipeData -> nil Lua Error on activation #792

Open
Addonman opened this issue Jan 7, 2025 · 1 comment
Open

[Simulation Mode] recipeData -> nil Lua Error on activation #792

Addonman opened this issue Jan 7, 2025 · 1 comment
Assignees

Comments

@Addonman
Copy link

Addonman commented Jan 7, 2025

I just cliked to enter simmode
Message: ...s/CraftSim/Modules/SimulationMode/SimulationMode.lua line 238:
attempt to index field 'recipeData' (a nil value)
Debug:
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Interface/AddOns/PersoLootRoll/Core/Addon.lua"]:597:
Interface/AddOns/PersoLootRoll/Core/Addon.lua:596
[string "=[C]"]: ?
[string "@Interface/AddOns/CraftSim/Modules/SimulationMode/SimulationMode.lua"]:238: UpdateSimulationMode()
[string "@Interface/AddOns/CraftSim/Init/Init.lua"]:738: TriggerModulesByRecipeType()
[string "@Interface/AddOns/CraftSim/Init/Init.lua"]:104:
Interface/AddOns/CraftSim/Init/Init.lua:102
[string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:606: checkCondition()
[string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:612: WaitFor()
[string "@Interface/AddOns/CraftSim/Init/Init.lua"]:93: TriggerModuleUpdate()
[string "@Interface/AddOns/CraftSim/Init/Init.lua"]:120:
Interface/AddOns/CraftSim/Init/Init.lua:117
[string "=[C]"]: ?
[string "@Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144:
...e/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua:143
[string "=[C]"]: ?
[string "@Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: TriggerEvent()
[string "@Interface/AddOns/Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:111:
...emplates/Blizzard_ProfessionsRecipeSchematicForm.lua:107
[string "=[C]"]: Click()
[string "@Interface/AddOns/CraftSim/Modules/SimulationMode/UI.lua"]:29:
...erface/AddOns/CraftSim/Modules/SimulationMode/UI.lua:24
[string "@Interface/AddOns/CraftSim/Util/Frames.lua"]:164:
Interface/AddOns/CraftSim/Util/Frames.lua:163
[string "=[C]"]: ?
Locals:
(*temporary) = "LeftButton"
(*temporary) = false

@derfloh205 derfloh205 changed the title [<Simode>] [Simulation Mode] recipeData -> nil Lua Error on activation Jan 15, 2025
@derfloh205 derfloh205 moved this to Ready in CraftSim Jan 15, 2025
@zalidthebur
Copy link

zalidthebur commented Feb 4, 2025

I've been having a simlar, or same error for a while now. It happens if I don't enter Simulation Mode quickly, as in before doing something else after logging a character.

32x ...s/CraftSim/Modules/SimulationMode/SimulationMode.lua:238: attempt to index field 'recipeData' (a nil value)
[string "@CraftSim/Modules/SimulationMode/SimulationMode.lua"]:238: in function UpdateSimulationMode'
[string "@CraftSim/Init/Init.lua"]:717: in function TriggerModulesByRecipeType' [string "@CraftSim/Init/Init.lua"]:103: in function <CraftSim/Init/Init.lua:101> [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"]:92: in function TriggerModuleUpdate'
[string "@CraftSim/Init/Init.lua"]:119: in function <CraftSim/Init/Init.lua:116>
[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_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:111: in function <...emplates/Blizzard_ProfessionsRecipeSchematicForm.lua:107> [string "=[C]"]: in function Click'
[string "@CraftSim/Modules/SimulationMode/UI.lua"]:29: in function <CraftSim/Modules/SimulationMode/UI.lua:24>
[string "@CraftSim/Util/Frames.lua"]:163: in function <CraftSim/Util/Frames.lua:162>
[string "=[C]"]: ?

Locals:
self =

{
isActive = true
UI =
{
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'recipeData' (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 = Frame {
}
ReagentItem =
{
}
REAGENT_OPTIMIZATION =
{
}
COMM =
{
}
LOCAL_EN =
{
}
FRAME =
{
}
CRAFT_RESULTS = Frame {
}
RecipeData =
{
}
LOCAL_KO =
{
}
LOCAL_TW =
{
}
Object =
{
}
LOCAL_PT =
{
}
LibIcon =
{
}
LOCAL =
{
}
CooldownData =
{
}
PRICE_API =
{
}
SPECIALIZATION_INFO =
{
}
CONST =
{
}
CRAFTQ = Frame {
}
GGUI =
{
}
MEDIA =
{
}
}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

3 participants