Broker_BagFu
This is FuBar_BagFu, rewritten using Ace3 and LibDataBroker.
It will simply show your bag usage on your LDB display of choice. There are a few shortcuts to various bags by clicking the icon and the tooltip can be used to give more detailed bag information.
The latest WOTLK update broke it.
For anyone interested, edit Core.lua using your favorite text editor under 'World of Warcraft\_classic_\Interface\AddOns\Broker_BagFu' and make these:
local GetBagName = GetBagName
local GetContainerNumFreeSlots = GetContainerNumFreeSlots
local GetContainerNumSlots = GetContainerNumSlots
into this:
local GetBagName = C_Container.GetBagName
local GetContainerNumFreeSlots = C_Container.GetContainerNumFreeSlots
local GetContainerNumSlots = C_Container.GetContainerNumSlots
Looks like it's not updating properly, so there's something else that needs fixing.
Following error occurs when opening the inventory via the data broker bag button and trying to eat something or drinking a flask for example:
1x [ADDON_ACTION_FORBIDDEN] AddOn 'Broker_BagFu' hat versucht die geschützte Funktion 'UNKNOWN()' aufzurufen.
[string "@Interface/AddOns/SpartanUI/libs/bug-grabber/BugGrabber.lua"]:544: in function <...ace/AddOns/SpartanUI/libs/bug-grabber/BugGrabber.lua:543>
[string "=[C]"]: ?
[string "=[C]"]: in function `UseContainerItem'
[string "@Interface/FrameXML/ContainerFrame.lua"]:1409: in function `ContainerFrameItemButton_OnClick'
[string "@Interface/FrameXML/ContainerFrame.lua"]:1461: in function <Interface/FrameXML/ContainerFrame.lua:1448>
In reply to mike160770:
This seems unrelated to BagFu and appears to be random taint from elsewhere.
In reply to polyhydride:
Hmmmm - I tried this with literally every add-on disabled (just left Bazooka and Broker_BagFu enabled) --> still the same problem.
Must have something to do with the way WoW is dealing with bags since Patch 10.0.0
I got this issue with every other bag-add on when opening my inventory via the broker button as well.
If you're getting a LUA error in 9.0.1 when you move your cursor over the Broker_BagFu display in your broker bar, change line 53 of Core.lua to read
local LE_ITEM_QUALITY_COMMON = Enum.ItemQuality.Common
If you're not comfortable doing that, I think unchecking "Bags in Tooltip" in the Broker_BagFu settings will also get rid of the error.
any chance of a version update for 8.0 / BFA?
It seems that when I have the "Use Colours" (nice UK/AU English there) option ticked, the hex code of the bags shows in the tooltip before the bag name. For example: "ff1eff00Frostweave Bag". When it's not ticked, the hex code disappears. Is there something I can do to get rid of the hex code while still using the Colours option? It only started happening in 4.2
In /Core.lua, around line 200, look for
[b]name = string_format("%s%s|r", quality, name)[/b]
And change it to
[b]name = string_format("|c%s%s|r", quality, name)[/b]
It's a minor edit, but it will fix the color hex code from showing in the tooltip. Hope this works for ya. Enjoy!
Sorry, I thought I pushed a fix for that already. Maybe I forgot to tag it.
*goes to check*
Minor issue: The 'Open Bags at Bank' setting doesn't seem to persist after logout. Even though it still shows as checked in the panel, bags do not open automatically when visiting the bank until it is unchecked and re-checked. (Ticket opened on WowAce.com.)