Broker2FuBar
Shows your LibDataBroker sources in FuBar.
Usage
Use /b2f to open the configuration UI.
There you can select which LDB sources and launchers you want displayed into FuBar.
Each enabled source and launcher has some FuBar configuration options in this UI.
Known issues
Some addon do not define LDB type at creation. Broker2FuBar does not catch it correctly at this moment. This is worked on.
WARNING, this is a quick and dirty fix and may (and most likely, does) break other things.
In FuBar.lua code, around line 1200 (FuBar 3.6) locate:
if OnClick and (not downTime or GetTime() < downTime + 0.5) and (not this.stopClick or GetTime() > this.stopClick) then
OnClick(...)
end
and replace with
if (this~=nil) then
if OnClick and (not downTime or GetTime() < downTime + 0.5) and (not this.stopClick or GetTime() > this.stopClick) then
OnClick(...)
end
else
if OnClick and (not downTime or GetTime() < downTime + 0.5) then
OnClick(...)
end
end
I hope this helps anyone
If i want to click on something which is broker on my fubar then i get this error message:
Message: Interface\AddOns\FuBar\FuBar.lua:1200: attempt to index global 'this' (a nil value)
Time: 10/13/10 16:50:13
Count: 2
Stack: Interface\AddOns\FuBar\FuBar.lua:1200: in function <Interface\AddOns\FuBar\FuBar.lua:1199>
Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'this' (a nil value)"
OnClick = <function> defined @Interface\AddOns\FuBar\libs\LibFuBarPlugin-3.0\LibFuBarPlugin-3.0.lua:1338
downTime = nil
1/2 05:38:08.913 Global variable numEntries tainted by Broker2FuBar - Interface\FrameXML\WorldMapFrame.lua:1491 WorldMapFrame_UpdateQuests()
1/2 05:38:08.913 Interface\FrameXML\WorldMapFrame.lua:170
1/2 05:38:08.913 SetMapToCurrentZone()
1/2 05:38:08.913 Interface\FrameXML\WorldMapFrame.lua:132
1/2 05:38:08.913 WorldMapFrame:Show()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1530 <unnamed>:SetUIPanel()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1372 <unnamed>:ShowUIPanel()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1308
1/2 05:38:08.913 <unnamed>:SetAttribute()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1974 ShowUIPanel()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1958 ToggleFrame()
1/2 05:38:08.913 TOGGLEWORLDMAP:1
1/2 05:38:08.913 Execution tainted by Broker2FuBar while reading numEntries - Interface\FrameXML\WorldMapFrame.lua:1496 WorldMapFrame_UpdateQuests()
1/2 05:38:08.913 Interface\FrameXML\WorldMapFrame.lua:170
1/2 05:38:08.913 SetMapToCurrentZone()
1/2 05:38:08.913 Interface\FrameXML\WorldMapFrame.lua:132
1/2 05:38:08.913 WorldMapFrame:Show()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1530 <unnamed>:SetUIPanel()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1372 <unnamed>:ShowUIPanel()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1308
1/2 05:38:08.913 <unnamed>:SetAttribute()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1974 ShowUIPanel()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1958 ToggleFrame()
1/2 05:38:08.913 TOGGLEWORLDMAP:1
1/2 05:38:08.913 An action was blocked in combat because of taint from Broker2FuBar - WorldMapBlobFrame:Hide()
1/2 05:38:08.913 Interface\FrameXML\WorldMapFrame.lua:238 WorldMapFrame_AdjustMapAndQuestList()
1/2 05:38:08.913 Interface\FrameXML\WorldMapFrame.lua:172
1/2 05:38:08.913 SetMapToCurrentZone()
1/2 05:38:08.913 Interface\FrameXML\WorldMapFrame.lua:132
1/2 05:38:08.913 WorldMapFrame:Show()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1530 <unnamed>:SetUIPanel()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1372 <unnamed>:ShowUIPanel()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1308
1/2 05:38:08.913 <unnamed>:SetAttribute()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1974 ShowUIPanel()
1/2 05:38:08.913 Interface\FrameXML\UIParent.lua:1958 ToggleFrame()
1/2 05:38:08.913 TOGGLEWORLDMAP:1
EDIT: I have discovered, that the only effective way to stop this from happening is to actually uncheck the addons in the "Settings" for B2F. Once disabled there they do stop returning when I log back in. So it seems that allowing them to be enabled in B2F but disabled in FuBar is not enough for it to "remember" their states. So if anyone else has this problem, be sure to disable them fully from the B2F main "Settings" panel and see if that works for you.
To fix this is simple. For all these addons loading two modules, disable one of them. It's not B2F making 2 icons, it's not loading the broker plugin twice, it's simply loading it once, the addon is the one also loading a second icon.
To fix. If particular addon already supports fubar, go into b2f options, scroll down to that addon, disable b2f from loading the broker module of addon that already has fubar module.
To fix minimap doubles for addons that don't have a fubar module, that do have a broker module, and do have a minimap module. Go into that addons setting and disable the minimap module in THAT addons settings. OR. Leave minimap module on, and disable broker one in B2F settings as with previous fix.
This is not a bug, just user error and lack of comprehension of what their own addons are doing.
I'm hoping this fixes the problem where OMEN icon vanishes from FUBAR