CraftSim

CraftSim

2M Downloads

ReagentOptimization.lua:310: attempt to index field '?' (a nil value)

Ookami313 opened this issue ยท 1 comments

commented

I was doing the quest "To Give One's Heart" in the Ruby Lifeshrine on my jewelcrafting alt and received the following error when I crafted the quest item. Thanks.

6x .../Modules/ReagentOptimization/ReagentOptimization.lua:310: attempt to index field '?' (a nil value)
[string "@CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua"]:310: in function optimizeKnapsack' [string "@CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua"]:178: in function OptimizeReagentAllocation'
[string "@CraftSim/Main/CraftSim.lua"]:481: in function TriggerModulesByRecipeType' [string "@CraftSim/Main/CraftSim.lua"]:129: in function TriggerModulesErrorSafe'
[string "@CraftSim/Main/CraftSim.lua"]:162: in function <CraftSim/Main/CraftSim.lua:147>
[string "=[C]"]: ?
[string "=[C]"]: in function Init' [string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:251: in function Refresh'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:151: in function <...lizzard_Professions/Blizzard_ProfessionsCrafting.lua:120>

Locals:
self =

{
CreateCrumbs = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:210
GetCurrentReagentAllocationSkillIncreaseOLD = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:547
GetReagentWeightByID = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:250
GetMaxReagentIncreaseFactor = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:444
AutoAssignVellum = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:656
AssignBestAllocation = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:596
GetGCD = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:259
IsCurrentAllocation = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:632
OptimizeReagentAllocation = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:14
FRAMES =
{
}
GetCurrentReagentAllocationSkillIncrease = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:506
optimizeKnapsack = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:268
}
ks =
{
0 =
{
}
}
BPs =
{
1 = 0
2 = -1
0 = 0.150000
}
numMaterials = 0
i = nil
j = nil
k = nil
maxWeight = Infinite
inf = Infinite
b =
{
}
c =
{
}
i = 0
(for index) = 0
(for limit) = 6
(for step) = 1
k = 0
(*temporary) = nil
(*temporary) = Infinite
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
print = defined @CraftSim/Modules/ReagentOptimization/ReagentOptimization.lua:5

commented

this might be fixed! Please report in a new issue if this is still occuring