skyler-code / ReforgeLite

4.3 ReforgeLite ported for Cataclysm Classic
https://www.curseforge.com/wow/addons/reforgelite-classic
1 stars 3 forks source link

Addon hangs and all buttons turn grey #29

Open JonasCarlstroem opened 2 months ago

JonasCarlstroem commented 2 months ago

A while back ReforgeLite started bugging out. When i press the "Calculate" button, it starts calculating it seems. This always freezes wow for a short bit. Now when the game unfreeze, the addon is still "In progress" with the calculation and all the buttons are grey. It never finishes calculating and the only thing i can do to reset the state is to reload UI. Haven't been able to use this addon for over a week. Seem to have started some time when i equipped a new trinket...

Before: image

During freeze: image

Unfreeze: image

As you can see in the last image, it's still "In progress" and this never finishes unless i reload UI.

EDIT** I enabled lua-errors and now this is popping up

Message: Interface/AddOns/ReforgeLite/ReforgeEngine.lua:865: script ran too long
Time: Sat Aug 31 09:22:21 2024
Count: 1
Stack: Interface/AddOns/ReforgeLite/ReforgeEngine.lua:865: script ran too long
[string "@Interface/AddOns/ReforgeLite/ReforgeEngine.lua"]:865: in function `StartCompute'
[string "@Interface/AddOns/ReforgeLite/ReforgeLite.lua"]:1491: in function <Interface/AddOns/ReforgeLite/ReforgeLite.lua:1491>

Locals: self = ReforgeLite {
 0 = <userdata>
 itemTable = Frame {
 }
 GetMeleeHitBonus = <function> defined @Interface/AddOns/ReforgeLite/Presets.lua:53
 IsReforgeMatching = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:2189
 InitPresets = <function> defined @Interface/AddOns/ReforgeLite/Presets.lua:939
 ParseWoWSimsString = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:459
 GetCapScore = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:434
 CapAllows = <function> defined @Interface/AddOns/ReforgeLite/ReforgeEngine.lua:226
 ChooseReforgeClassic = <function> defined @Interface/AddOns/ReforgeLite/ReforgeEngine.lua:399
 dbkey = "Constptr - Gehennas"
 ClearBackdrop = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:282
 ParseImportString = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:486
 ReorderCapPoint = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:1069
 UpgradeDB = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:164
 methodReset = ReforgeLiteWidget41 {
 }
 CollapseStatCaps = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:1118
 ADDON_LOADED = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:2426
 ComputeReforgeCore = <function> defined @Interface/AddOns/ReforgeLite/ReforgeEngine.lua:781
 debugButton = ReforgeLiteWidget37 {
 }
 HasBackdropInfo = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:278
 OnTooltipSetItem = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:2339
 tankingStats = <table> {
 }
 deletePresetButton = ReforgeLiteWidget3 {
 }
 TopEdge = Texture {
 }
 statWeightsCategory = Frame {
 }
 SetBackdropColor = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:399
 LeftEdge = Texture {
 }
 GetNeededMeleeHit = <function> defined @Interface/AddOns/ReforgeLite/Presets.lua:98
 UpdateMethodCategory = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:1657
 pawnButton = ReforgeLiteWidget5 {
 }
 UpdateWindowSize = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:429
 presetMenu = ReforgeLitePresetMenu {
 }
 GetMethodScore = <function> defined @Interface/AddOns/ReforgeLite/ReforgeEngine.lua:50
 CreateFrame = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:733
 SetTankingModel = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:1110
 SetAnchor = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:624
 IsItemLocked = <function> defined @Interface/AddOns/ReforgeLite/ReforgeEngine.lua:239
 __chooseLoops = 2722219
 pdb = <table> {
 }
 itemSlots = <table> {
 }
 GetPlayerBuffs = <function> defined @Interface/AddOns/ReforgeLite/ReforgeEngine.lua:14
 statWeights = Frame {
 }
 STATS = <table> {
 }
 SetBorderBlendMode = <function> defined @Interface/AddOns/Blizzard_SharedXML/Backdrop.lua:266
 ParsePawnString = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:505
 UpdateMethodStats = <function> defined @Interface/AddOns/ReforgeLite/ReforgeEngine.lua:144
 methodOverride = <table> {
 }
 methodStats = Frame {
 }
 SetStatWeights = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:1127
 scrollBar = ReforgeLiteScrollBar {
 }
 SwapFrameLevels = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:720
 initialized = true
 autoOpened = true
 methodTank = Frame {
 }
 RemoveCapPoint = <function> defined @Interface/AddOns/ReforgeLite/ReforgeLite.lua:1054
 rightGrip = Button {
 }
 GetHasteBonuses = <function> d
skyler-code commented 2 months ago

Update to v1.9.3 and slide the Speed slider to the left