CraftSim

CraftSim

2M Downloads

Game hangs for about 2-3 seconds with the latest release when opening the crafting table

Hrocks1 opened this issue ยท 7 comments

commented

Version 12.0.5
Whenever i click for the first time on the crafting table the game hangs for about 2-3 seconds. Even after the first opening theres a delay now before the menu shows.
Deactivating craftsim and its back to normal behavior.
Switching back to 11.3.6. fixed the problem as well.

commented

do you have a lot of customer history data by chance?

commented

@Hrocks1 Can you please

  1. /craftsim debug -> the debug window should show
  2. Check the box labeled CUSTOMER_HISTORY
  3. Reopen your profession window and check if there is any output / error and please make a screenshot and post it here :)

If it is indeed a problem with the customer history migration for the new module you can manually disable any migration attempts with
/run CraftSimOptions.CustomerHistoryMigrationDoneV2=true

U will not lose old customer history data as it can be enabled again later but will stop craftsim from trying to migrate your old data

commented

Yeah, there were a lot of history saved (what i never needed), deleted the wtf file (over 5 MB) and the hanging and delay is gone.

And sorry, only saw the part with the question/history via E-Mail, no way to recover the old wtf file, can not do a debug.

commented

np Im just asking around

commented

@Hrocks1 Can you please

1. /craftsim debug     -> the debug window should show

2. Check the box labeled CUSTOMER_HISTORY

3. Reopen your profession window and check if there is any output / error and please make a screenshot and post it here :)

If it is indeed a problem with the customer history migration for the new module you can manually disable any migration attempts with /run CraftSimOptions.CustomerHistoryMigrationDoneV2=true

U will not lose old customer history data as it can be enabled again later but will stop craftsim from trying to migrate your old data

Followed these steps:

Message: Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua:2144: script ran too long Time: Tue Dec 19 10:32:14 2023 Count: 1 Stack: Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua:2144: script ran too long [string "@Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua"]:2144: in function CreateRow'
[string "@Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua"]:2184: in function Add' [string "@Interface/AddOns/CraftSim/Modules/CustomerHistory/Frames.lua"]:231: in function UpdateCustomerHistoryList'
[string "@Interface/AddOns/CraftSim/Modules/CustomerHistory/Frames.lua"]:218: in function UpdateDisplay' [string "@Interface/AddOns/CraftSim/Main/CraftSim.lua"]:434: in function <Interface/AddOns/CraftSim/Main/CraftSim.lua:433> [string "=[C]"]: ? [string "=[C]"]: in function Show'
[string "@Interface/FrameXML/UIParent.lua"]:2938: in function SetUIPanel' [string "@Interface/FrameXML/UIParent.lua"]:2781: in function ShowUIPanel'
[string "@Interface/FrameXML/UIParent.lua"]:2646: in function <Interface/FrameXML/UIParent.lua:2642>
[string "=[C]"]: in function SetAttribute' [string "@Interface/FrameXML/UIParent.lua"]:3248: in function ShowUIPanel'
[string "@Interface/FrameXML/UIParent.lua"]:2064: in function <Interface/FrameXML/UIParent.lua:1407>

Locals: self =

{
columnOptions =
{
}
frame = Frame {
}
rowHeight = 20
selectableRows = true
selectionColorRGBA =
{
}
isGGUI = true
rowWidth = 200
selectionCallback = defined @Interface/AddOns/CraftSim/Modules/CustomerHistory/Frames.lua:73
rows =
{
}
rowConstructor = defined @Interface/AddOns/CraftSim/Modules/CustomerHistory/Frames.lua:52
scrollFrame =
{
}
activeRows =
{
}
rowScale = 1
selectionHoverColorRGBA =
{
}
}
rowFrame = Frame {
SetBorderBlendMode = defined @Interface/SharedXML/Backdrop.lua:266
GetEdgeSize = defined @Interface/SharedXML/Backdrop.lua:188
SetupPieceVisuals = defined @Interface/SharedXML/Backdrop.lua:246
SetBackdrop = defined @Interface/SharedXML/Backdrop.lua:329
SetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:399
ApplyBackdrop = defined @Interface/SharedXML/Backdrop.lua:294
OnBackdropLoaded = defined @Interface/SharedXML/Backdrop.lua:152
ClearBackdrop = defined @Interface/SharedXML/Backdrop.lua:282
SetupTextureCoordinates = defined @Interface/SharedXML/Backdrop.lua:214
GetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:409
GetBackdrop = defined @Interface/SharedXML/Backdrop.lua:347
OnBackdropSizeChanged = defined @Interface/SharedXML/Backdrop.lua:182
HasBackdropInfo = defined @Interface/SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:422
GetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:390
0 =
}
(*temporary) = Frame {
SetBorderBlendMode = defined @Interface/SharedXML/Backdrop.lua:266
GetEdgeSize = defined @Interface/SharedXML/Backdrop.lua:188
SetupPieceVisuals = defined @Interface/SharedXML/Backdrop.lua:246
SetBackdrop = defined @Interface/SharedXML/Backdrop.lua:329
SetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:399
ApplyBackdrop = defined @Interface/SharedXML/Backdrop.lua:294
OnBackdropLoaded = defined @Interface/SharedXML/Backdrop.lua:152
ClearBackdrop = defined @Interface/SharedXML/Backdrop.lua:282
SetupTextureCoordinates = defined @Interface/SharedXML/Backdrop.lua:214
GetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:409
GetBackdrop = defined @Interface/SharedXML/Backdrop.lua:347
OnBackdropSizeChanged = defined @Interface/SharedXML/Backdrop.lua:182
HasBackdropInfo = defined @Interface/SharedXML/Backdrop.lua:278
SetBackdropBorderC`

And yes I do have a ton of customer history data = /

Entering ' /run CraftSimOptions.CustomerHistoryMigrationDoneV2=true' and then trying to close and reopen the proff window after disabling the debug checkbox resulted in a stack overflow exe crash :( Running the command again after a fresh launch does not resolve the system hanging.

commented

Ill be releasing a potential fix for that with 12.1.0

commented

Now I just get an exe crash Fatal Exception, STACK_OVERFLOW

Edit: 12.1.1 seems to have resolved this just kidding, clicking the customer history checkbox in the craftsim ui still crashes the game with a stack overflow :(

lol my Craftsim.Lua is 18.9MB, i may do too many crafting orders..