CraftSim

CraftSim

2M Downloads

Game Freezes when opening craft window

Smith-999 opened this issue ยท 16 comments

commented

When opening a crafting window, the game freezes for a good 30 sec. and then again when i click on a recipe. only happened on one toon so far. other toons has had no issue. there is no issue when disabeling craftsim. i get 2 different entries in bugsack.
not sure if this is the right way to give you the bug, but here goes.

1x CraftSim/Classes/ProfessionGear.lua:19: script ran too long
[string "@CraftSim/Classes/ProfessionGear.lua"]:19: in function Equals' [string "@CraftSim/Modules/TopGear/TopGear.lua"]:113: 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"]:605: in function OptimizeGear' [string "@CraftSim/Classes/RecipeData.lua"]:637: in function OptimizeProfit'
[string "@CraftSim/Classes/RecipeData.lua"]:1110: in function OptimizeSubRecipes' [string "@CraftSim/Init/Init.lua"]:544: in function TriggerModulesByRecipeType'
[string "@CraftSim/Init/Init.lua"]:85: in function <CraftSim/Init/Init.lua:83>
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:564: in function checkCondition' [string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:570: in function WaitFor'
[string "@CraftSim/Init/Init.lua"]:74: in function `TriggerModuleUpdate'
[string "@CraftSim/Init/Init.lua"]:69: in function <CraftSim/Init/Init.lua:68>

Locals:
self =

{
professionStats =
{
}
item =
{
}
}
professionGear =
{
professionStats =
{
}
item =
{
}
}
(*temporary) =
{
itemLink = "|cff1eff00|Hitem:191235::::::::70:70::13:3:8841:8842:8804:3:28:2164:38:5:40:135::::Player-1084-0A7E4B14:|h[Draconium Blacksmith's Toolbox |A:Professions-ChatIcon-Quality-Tier2:17:23::1|a]|h|r"
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "script ran too long"

4x CraftSim/Classes/ProfessionGear.lua:25: script ran too long
[string "@CraftSim/Classes/ProfessionGear.lua"]:25: in function Equals' [string "@CraftSim/Modules/TopGear/TopGear.lua"]:119: 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"]:605: in function OptimizeGear' [string "@CraftSim/Classes/RecipeData.lua"]:637: in function OptimizeProfit'
[string "@CraftSim/Classes/RecipeData.lua"]:1110: in function OptimizeSubRecipes' [string "@CraftSim/Init/Init.lua"]:544: in function TriggerModulesByRecipeType'
[string "@CraftSim/Init/Init.lua"]:85: in function <CraftSim/Init/Init.lua:83>
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:564: in function checkCondition' ... [string "=[C]"]: in function UseAction'
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:342: in function `handler'
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:667: in function <...ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:649>
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:681: in function <...ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:674>
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:723: in function <...ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:707>
[string "=[C]"]: ?
[string "@Blizzard_FrameXML/SecureHandlers.lua"]:266: in function <Blizzard_FrameXML/SecureHandlers.lua:263>
[string "=[C]"]: ?
[string "@Blizzard_FrameXML/SecureHandlers.lua"]:296: in function <Blizzard_FrameXML/SecureHandlers.lua:279>
[string "=(tail call)"]: ?

Locals:
self =

{
professionStats =
{
}
item =
{
}
}
professionGear =
{
professionStats =
{
}
item =
{
}
}
itemLinkA = "|cff1eff00|Hitem:222487::::::::71:70::13:3:10827:10830:9631:3:28:2734:38:7:40:2194::::|h[Proficient Blacksmith's Toolbox |A:Professions-ChatIcon-Quality-Tier4:17:17::1|a]|h|r"
itemLinkB = "|cff1eff00|Hitem:193612::::::::72:70::13:3:8841:8842:8806:3:28:2164:38:7:40:299::::|h[Smithing Apron |A:Professions-ChatIcon-Quality-Tier4:17:17::1|a]|h|r"
(*temporary) = "|cff1eff00|Hitem:193612::::::::72:70::13:3:8841:8842:8806:3:28:2164:38:7:40:299::::Player-1084-0A5FC482:|h[Smithing Apron |A:Professions-ChatIcon-Quality-Tier4:17:17::1|a]|h|r"
(*temporary) = "Player.-:"
(*temporary) = ""
(*temporary) = "script ran too long"

commented

how many profession tools do you have in your inventory? ^^

commented

6 tools/accessories. for 2 professions

commented

how many profession tools do you have in your inventory? ^^

I'm experiencing the same issue with my alchemy characters but I don't have any other profession tools in my inventory.

I'm not sure why it's searching for Gemcutter's Apron at all because the character isn't JC and doesn't have the item equipped or in the inventory but my main character is JC. Is this in any kind related?

1x Blizzard_ObjectAPI/Mainline/Item.lua:208: script ran too long [string "@Blizzard_ObjectAPI/Mainline/Item.lua"]:208: in function GetItemLink'
[string "@CraftSim/Classes/ProfessionGear.lua"]:23: in function Equals' [string "@CraftSim/Modules/TopGear/TopGear.lua"]:114: 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"]:605: in function OptimizeGear' [string "@CraftSim/Classes/RecipeData.lua"]:637: in function OptimizeProfit'
[string "@CraftSim/Classes/RecipeData.lua"]:1110: in function OptimizeSubRecipes' [string "@CraftSim/Init/Init.lua"]:544: in function TriggerModulesByRecipeType'
[string "@CraftSim/Init/Init.lua"]:85: in function <CraftSim/Init/Init.lua:83>
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:586: in function checkCondition' [string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:592: in function WaitFor'
[string "@CraftSim/Init/Init.lua"]:74: in function TriggerModuleUpdate' [string "@CraftSim/Modules/ControlPanel/UI.lua"]:50: in function clickCallback'
[string "@CraftSim/Libs/GGUI/GGUI.lua"]:2121: in function <CraftSim/Libs/GGUI/GGUI.lua:2119>
[string "=[C]"]: ?

Locals:
self =

{
itemLink = "|cff1eff00|Hitem:219875::::::::80:104::13:3:10827:10830:9631:3:28:2734:38:7:40:1482::::Player-3691-0A472616:|h[Gemcutter's Apron |A:Professions-ChatIcon-Quality-Tier4:17:17::1|a]|h|r"
}
(*temporary) = "|cff1eff00|Hitem:219875::::::::80:104::13:3:10827:10830:9631:3:28:2734:38:7:40:1482::::Player-3691-0A472616:|h[Gemcutter's Apron |A:Professions-ChatIcon-Quality-Tier4:17:17::1|a]|h|r"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "script ran too long"
`

commented

@derfloh205 Even though it's marked as completed it's still happening with latest version. Is there no interest in fixing this? Anything to avoid it? Anything you need as further information? Anything we can do on our side as a workaround?

Some kind of feedback would be much appreciated :(

1x CraftSim/Classes/ProfessionGear.lua:25: script ran too long [string "@CraftSim/Classes/ProfessionGear.lua"]:25: in function Equals'
[string "@CraftSim/Modules/TopGear/TopGear.lua"]:125: 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"]:607: in function OptimizeGear'
[string "@CraftSim/Classes/RecipeData.lua"]:639: in function OptimizeProfit' [string "@CraftSim/Classes/RecipeData.lua"]:1158: in function OptimizeSubRecipes'
[string "@CraftSim/Init/Init.lua"]:544: in function TriggerModulesByRecipeType' [string "@CraftSim/Init/Init.lua"]:85: in function <CraftSim/Init/Init.lua:83> [string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:605: in function checkCondition'
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:611: in function WaitFor' [string "@CraftSim/Init/Init.lua"]:74: in function TriggerModuleUpdate'
[string "@CraftSim/Init/Init.lua"]:69: in function <CraftSim/Init/Init.lua:68>

Locals:
self =

{
professionStats =
{
}
item =
{
}
}
professionGear =
{
professionStats =
{
}
item =
{
}
}
itemLinkA = "|cff0070dd|Hitem:221793:7378:::::::80:105::13:4:10828:10830:9629:11313:5:28:2734:29:76:38:5:40:1812:49:222626::::|h[Lapidary's Aqirite Clamps |A:Professions-ChatIcon-Quality-Tier2:17:23::1|a]|h|r"
itemLinkB = "|cff0070dd|Hitem:198235:6670:::::::80:105::13:4:8843:8842:8807:8953:5:28:2164:29:80:38:8:40:579:48:200570::::|h[Lapidary's Khaz'gorite Clamps |A:Professions-ChatIcon-Quality-Tier5:17:17::1|a]|h|r"
(*temporary) = "|cff0070dd|Hitem:198235:6670:::::::80:105::13:4:8843:8842:8807:8953:5:28:2164:29:80:38:8:40:579:48:200570::::Player-3691-093970CB:|h[Lapidary's Khaz'gorite Clamps |A:Professions-ChatIcon-Quality-Tier5:17:17::1|a]|h|r"
(*temporary) = "Player.-:"
(*temporary) = ""
(*temporary) = "script ran too long"
`

commented

hmm I thought it was fixed, can reopen then
have u tried if it works if u disable the automatic top gear optimization?

commented

TopGear.lua does throw lua error too

1x CraftSim/Modules/TopGear/TopGear.lua:108: script ran too long [string "@CraftSim/Modules/TopGear/TopGear.lua"]:108: 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"]:607: in function OptimizeGear' [string "@CraftSim/Classes/RecipeData.lua"]:639: in function OptimizeProfit'
[string "@CraftSim/Classes/RecipeData.lua"]:1158: in function OptimizeSubRecipes' [string "@CraftSim/Init/Init.lua"]:544: in function TriggerModulesByRecipeType'
[string "@CraftSim/Init/Init.lua"]:85: in function <CraftSim/Init/Init.lua:83>
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:605: in function checkCondition' [string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:611: in function WaitFor'
...
[string "@Blizzard_SharedXML/Shared/Scroll/ScrollUtil.lua"]:480: in function <...dOns/Blizzard_SharedXML/Shared/Scroll/ScrollUtil.lua:479>
[string "=[C]"]: in function securecallfunction' [string "@Blizzard_SharedXML/Shared/Scroll/ScrollUtil.lua"]:484: in function SelectElementData'
[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"]:902: in function Refresh'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:245: in function Refresh' [string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:210: in function SetProfessionInfo'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:139: in function <...s/Blizzard_Professions/Blizzard_ProfessionsFrame.lua:102>

Locals:
comboB =

{
1 =
{
}
2 =
{
}
3 =
{
}
}
toolB =
{
professionStats =
{
}
item =
{
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "script ran too long"
isCooking = false
gear1A =
{
professionStats =
{
}
item =
{
}
}
EMPTY = "EMPTY_SLOT"
gear2A =
{
professionStats =
{
}
item =
{
}
}
toolA =
{
professionStats =
{
}
item =
{
}
}
`

commented

Every module is disabled it still happens
I cleared the whole data, reduced ram cleanup threshold to 10 crafts, I can't get it working properly

It's as Smith stated. It just freezes every time when I select a recipe even when no module is selected

commented

@derfloh205 But just to be sure: can you tell me in which module I can disable the automatic top gear optimization? Or is it just 'top gear' checked? If so, it doesn't help

commented

try disabling all modules also
But the problem should occur with the top gear module being checked and set to automatic (a checkbox in the module itself)

commented

@derfloh205 disabling all modules doesn't fix it

enabling top gear doesn't show any window related to the module so I can't uncheck automatic

that's all i can see

the module isn't clipped or anything like. moved crafting window and it still doesn't show up

image

commented

and if u have disabled the top gear module, does it still throw an error?

commented

Disabling every module, just opening the crafting window or selecting any recipe afterwards throws following error with an initial 20-30s full game freeze.

image

5x CraftSim/Classes/ProfessionGear.lua:24: script ran too long [string "@CraftSim/Classes/ProfessionGear.lua"]:24: in function Equals'
[string "@CraftSim/Modules/TopGear/TopGear.lua"]:113: 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"]:607: in function OptimizeGear'
[string "@CraftSim/Classes/RecipeData.lua"]:639: in function OptimizeProfit' [string "@CraftSim/Classes/RecipeData.lua"]:1158: in function OptimizeSubRecipes'
[string "@CraftSim/Init/Init.lua"]:544: in function TriggerModulesByRecipeType' [string "@CraftSim/Init/Init.lua"]:85: in function <CraftSim/Init/Init.lua:83> [string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:605: in function checkCondition'
[string "@CraftSim/Libs/GUTIL/GUTIL.lua"]:611: in function WaitFor' [string "@CraftSim/Init/Init.lua"]:74: in function TriggerModuleUpdate'
[string "@CraftSim/Modules/ControlPanel/UI.lua"]:50: in function `clickCallback'
[string "@CraftSim/Libs/GGUI/GGUI.lua"]:2121: in function <CraftSim/Libs/GGUI/GGUI.lua:2119>
[string "=[C]"]: ?

Locals:
self =

{
professionStats =
{
}
item =
{
}
}
professionGear =
{
professionStats =
{
}
item =
{
}
}
itemLinkA = "|cff1eff00|Hitem:219875::::::::80:104::13:3:10827:10830:9629:3:28:2734:38:5:40:1482::::|h[Gemcutter's Apron |A:Professions-ChatIcon-Quality-Tier2:17:23::1|a]|h|r"
(*temporary) = "|cff1eff00|Hitem:219875::::::::80:104::13:3:10827:10830:9629:3:28:2734:38:5:40:1482::::Player-3691-09F035B3:|h[Gemcutter's Apron |A:Professions-ChatIcon-Quality-Tier2:17:23::1|a]|h|r"
(*temporary) = "Player.-:"
(*temporary) = ""
(*temporary) = "|cff1eff00|Hitem:219875::::::::80:104::13:3:10827:10830:9629:3:28:2734:38:5:40:1482::::|h[Gemcutter's Apron |A:Professions-ChatIcon-Quality-Tier2:17:23::1|a]|h|r"
(*temporary) = "script ran too long"
`

commented

@derfloh205 For better understanding, here's a short clip.

  1. Every module is disabled
  2. Bugsack is clear and has no lua errors
  3. I'm just selecting the recipe Algari Healing Potion
  4. The game freezes
  5. After the freeze there's the already mentioned lua error

https://streamable.com/1gx6nz

commented

from the error in the vid it seem the problem is the sub recipe optimization taking too long
try to disable this in the cost optimization module

commented

Disabling sub recipe optimization did the trick! Oh god thank you so much T_T

commented

I guess the already performance heavy sub optimizations took too long and got killed when also optimizing your profession gear for each and every self crafted reagent :S