CraftSim

CraftSim

2M Downloads

Lua error when scanning cooking recipes

detilium opened this issue · 2 comments

commented

Everytime I use the recipe scan for the cooking profession, the following Lua error is triggered.

9x CraftSim/DB/crafterDB.lua:436: table index is nil
[string "@CraftSim/DB/crafterDB.lua"]:436: in function `GetFavoriteRecipes'
[string "@CraftSim/DB/crafterDB.lua"]:462: in function `UpdateFavoriteRecipe'
[string "@CraftSim/Modules/RecipeScan/RecipeScan.lua"]:161: in function `FilterRecipeInfo'
[string "@CraftSim/Modules/RecipeScan/RecipeScan.lua"]:258: in function `mapFunc'
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:191: in function <CraftSim/Libs/GUTIL/GUTIL.lua:174>
[string "=(tail call)"]: ?
[string "@CraftSim/Modules/RecipeScan/RecipeScan.lua"]:285: in function `ScanRow'
[string "@CraftSim/Modules/RecipeScan/UI.lua"]:439: in function `clickCallback'
[string "@CraftSim/Libs/GGUI/GGUI.lua"]:1911: in function <CraftSim/Libs/GGUI/GGUI.lua:1909>

Locals:
self = <table> {
}
crafterUID = "Detílium-ShatteredHand"
profession = nil
(*temporary) = <table> {
 1 = <table> {
 }
 5 = <table> {
 }
}
(*temporary) = <table> {
}
(*temporary) = "table index is nil"
commented

Having what appears to be the same issue, even after a "factory reset" (under Debug Tools) of CraftSim.

23x CraftSim/DB/crafterDB.lua:436: table index is nil
[string "@CraftSim/DB/crafterDB.lua"]:436: in function `GetFavoriteRecipes'
[string "@CraftSim/DB/crafterDB.lua"]:462: in function `UpdateFavoriteRecipe'
[string "@CraftSim/Modules/RecipeScan/RecipeScan.lua"]:161: in function `FilterRecipeInfo'
[string "@CraftSim/Modules/RecipeScan/RecipeScan.lua"]:258: in function `mapFunc'
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:191: in function <CraftSim/Libs/GUTIL/GUTIL.lua:174>
[string "=(tail call)"]: ?
[string "@CraftSim/Modules/RecipeScan/RecipeScan.lua"]:285: in function `ScanRow'
[string "@CraftSim/Modules/RecipeScan/UI.lua"]:439: in function `clickCallback'
[string "@CraftSim/Libs/GGUI/GGUI.lua"]:1911: in function <CraftSim/Libs/GGUI/GGUI.lua:1909>

Locals:
self = <table> {
}
crafterUID = "Calnexin-Tichondrius"
profession = nil
(*temporary) = <table> {
 5 = <table> {
 }
}
(*temporary) = <table> {
}
(*temporary) = "table index is nil"