CraftSim

CraftSim

2M Downloads

Massive lag and errors when clicking recipes, and or switching to KP window.

Phayderz opened this issue ยท 1 comments

commented

Massive lag when switching to any window within profession while craftsim is loaded.
Even when selecting recipes.
This is the error I recieve.

3x CraftSim/Classes/ProfessionGear.lua:25: script ran too long
[string "@CraftSim/Classes/ProfessionGear.lua"]:25: in function Equals' [string "@CraftSim/Modules/TopGear/TopGear.lua"]:120: in function findFunc'
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:111: in function Find' [string "@CraftSim/Modules/TopGear/TopGear.lua"]:105: in function GetUniqueCombosFromAllPermutations'
[string "@CraftSim/Modules/TopGear/TopGear.lua"]:293: in function GetProfessionGearCombinations' [string "@CraftSim/Modules/TopGear/TopGear.lua"]:339: in function OptimizeTopGear'
[string "@CraftSim/Classes/RecipeData.lua"]:965: in function OptimizeGear' [string "@CraftSim/Classes/RecipeData.lua"]:994: in function OptimizeProfit'
[string "@CraftSim/Classes/RecipeData.lua"]:1539: in function OptimizeSubRecipes' [string "@CraftSim/Init/Init.lua"]:588: in function TriggerModulesByRecipeType'
[string "@CraftSim/Init/Init.lua"]:85: in function <CraftSim/Init/Init.lua:83>
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:606: in function checkCondition' ... [string "@Blizzard_SharedXML/Shared/Scroll/ScrollUtil.lua"]:490: in function SelectElementDataByPredicate'
[string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeList.lua"]:159: in function SelectRecipe' [string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:887: in function Init'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafting.lua"]:358: in function <...lizzard_Professions/Blizzard_ProfessionsCrafting.lua:357>
[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_ProfessionsFrame.lua"]:207: in function SetProfessionInfo'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:139: in function <...s/Blizzard_Professions/Blizzard_ProfessionsFrame.lua:102>

Locals:
self =

{
professionStats =
{
}
item =
{
}
}
professionGear =
{
professionStats =
{
}
item =
{
}
}
itemLinkA = "|cffffffff|Hitem:193613::::::::80:72::13:3:8843:8842:8807:3:28:2164:38:8:40:341::::|h[ |A:Professions-ChatIcon-Quality-Tier5:17:17::1|a]|h|r"
itemLinkB = "|cff0070dd|Hitem:191230::::::::80:72::13:3:8843:8842:8807:3:28:2164:38:8:40:148::::|h[Khaz'gorite Blacksmith's Toolbox |A:Professions-ChatIcon-Quality-Tier5:17:17::1|a]|h|r"
(*temporary) = "|cff0070dd|Hitem:191230::::::::80:72::13:3:8843:8842:8807:3:28:2164:38:8:40:148::::Player-3684-0DDB8747:|h[Khaz'gorite Blacksmith's Toolbox |A:Professions-ChatIcon-Quality-Tier5:17:17::1|a]|h|r"
(*temporary) = "Player.-:"
(*temporary) = ""
(*temporary) = "script ran too long"

commented

Try: Cost Optimization - Sub Recipe Options - Lower calculation depth