BetterBags

BetterBags

1M Downloads

Use combat potion while in combat broke the addon.

TaikooS opened this issue ยท 4 comments

commented

When I use a combat potion in combat the bags will popup without a background frame, and the icons are interactable:
WoWScrnShot_012924_222926

You can still call out the "bag" by pressing B, but only the background:
WoWScrnShot_012924_235447

Change the view can get rid of the icons but section titles, can show tooltips when mouse hovered:
WoWScrnShot_013024_054222

Lua errors (I occured the error multiple times so I'll post them all):

[string "@BetterBags/core/events.lua"]:94: in function SendMessage' [string "@BetterBags/data/items.lua"]:143: in function <BetterBags/data/items.lua:137> [string "=[C]"]: in function xpcall'
[string "@FrameXML/ObjectAPI/ContinuableContainer.lua"]:83: in function <..FrameXML/ObjectAPI/ContinuableContainer.lua:75>
[string "=(tail call)"]: ?
[string "@BetterBags/data/items.lua"]:137: in function ProcessContainer' [string "@BetterBags/data/items.lua"]:131: in function RefreshBackpack'
[string "@BetterBags/data/items.lua"]:70: in function RefreshAll' [string "@BetterBags/data/items.lua"]:48: in function cb'
[string "@BetterBags/core/events.lua"]:81: in function <BetterBags/core/events.lua:76>

Locals:
Skipped (In Encounter)

3x ...oka/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua:20: script ran too long
[string "@Bazooka/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:20: in function <...oka/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Bazooka/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function SendMessage' [string "@BetterBags/core/events.lua"]:94: in function SendMessage'
[string "@BetterBags/data/items.lua"]:143: in function <BetterBags/data/items.lua:137>
[string "=[C]"]: in function xpcall' [string "@FrameXML/ObjectAPI/ContinuableContainer.lua"]:83: in function <..FrameXML/ObjectAPI/ContinuableContainer.lua:75> [string "=(tail call)"]: ? [string "@BetterBags/data/items.lua"]:137: in function ProcessContainer'
[string "@BetterBags/data/items.lua"]:131: in function RefreshBackpack' [string "@BetterBags/data/items.lua"]:70: in function RefreshAll'
[string "@BetterBags/data/items.lua"]:48: in function `cb'
[string "@BetterBags/core/events.lua"]:81: in function <BetterBags/core/events.lua:76>

Locals:
Skipped (In Encounter)

3x ..FrameXML/ObjectAPI/ContinuableContainer.lua:85: script ran too long
[string "@FrameXML/ObjectAPI/ContinuableContainer.lua"]:85: in function <..FrameXML/ObjectAPI/ContinuableContainer.lua:75>
[string "=(tail call)"]: ?
[string "@BetterBags/data/items.lua"]:137: in function ProcessContainer' [string "@BetterBags/data/items.lua"]:131: in function RefreshBackpack'
[string "@BetterBags/data/items.lua"]:70: in function RefreshAll' [string "@BetterBags/data/items.lua"]:48: in function cb'
[string "@BetterBags/core/events.lua"]:81: in function <BetterBags/core/events.lua:76>

Locals:
Skipped (In Encounter)

commented

Please try again in 0.1.0 and re-open this if you have this issue again.

commented

This is happening because the client is unable to reach the server to update the item list, but I'm not sure why this was triggered for you.

Do you happen to have high latency or unstable Internet?

commented

My latency is usually around 30ms so I don't think it is about the internet.

But after I did more testing, it might be due to the poor performance of my computer.

There's another scenario that triggers this bug, which is when you enter the DOTI, the Lua errors are mostly the same as I posted before. Hope this information helps.

commented

And I found out using One Bag View can avoid this bug.