MicroMenu
Shows the micro menu and game menu in a clickable broker tooltip. Also shows your fps and latency.
Broker_MicroMenu does not provide it’s own display, you will need a LDB-based display addon.
Known Problems:
When opening the spellbook via Broker MicroMenu, the spells can not be clicked. You can still drag them to your actionbars. This is a problem related to secure code and can not be fixed because of how the data broker system works. (Just use your hotkey for the spellbook if you want to click the spells there).
Is this addon being updated for War Within? I've been using it with Bazooka but doesn't seem to be working at the moment in pre-patch. Main issue is that the micro menu wont drop down when I hover over it in Bazooka.
I had the same issue back in Shadowlands and apparently the issue was with the LibQTip library. Hopefully it can be fixed soon :)
Edit: Addon seems to be giving me FPS lag now :(
Thanks
In reply to Mencc:
To fix it, open up the options.lua file and change line 5 from:
local version = GetAddOnMetadata("Broker_MicroMenu","X-Curse-Packaged-Version") or ""
to:
local version = C_AddOns.GetAddOnMetadata("Broker_MicroMenu","X-Curse-Packaged-Version") or ""
In reply to templrivanho: no longer works. It will make it show sys info but no drop down for actual menu items
Hey, can we have an update for TWW please? Addon is broken right now.
Hey, I logged in to Classic SOD and noticed that this addon needs conditional blocks surrounding the GuildMicroButton and LFDMicroButton sections, so the 2 code blocks that start at Broker_MicroMenu.lua line 236 end up looking like this:
if _G.GuildMicroButton then
local y, x = tooltip:AddLine()
tooltip:SetCell(y, 1, "", myProvider, nil,"player",true)
tooltip:SetCell(y, 2, _G.GuildMicroButton.tooltipText)
tooltip:SetLineScript(y, "OnMouseUp", MouseHandler, _G.GuildMicroButton)
end
if _G.LFDMicroButton then
local y, x = tooltip:AddLine()
tooltip:SetCell(y, 1, path.."lfg.tga", myProvider)
tooltip:SetCell(y, 2, _G.LFDMicroButton.tooltipText)
tooltip:SetLineScript(y, "OnMouseUp", MouseHandler, _G.LFDMicroButton)
end
Please update the official release with this change to make the addon work for everyone, if possible. Thank you very much for maintaining this addon!
made it work by:
- copying the AceAddon-3.0 folder from another addon (BigWigs).
- adding in the Broker_MicroMenu.toc file, the libs\AceAddon-3.0\AceAddon-3.0.lua line, so this is what it will become:
localization.lua
libs\AceAddon-3.0\AceAddon-3.0.lua
libs\LibDataBroker-1.1.lua
Broker_MicroMenu.lua
Options.lua
- replacing at the line 236 with:
local y, x = tooltip:AddLine()
tooltip:SetCell(y, 1, "", myProvider, nil,"player",true)
if _G.GuildMicroButton then
tooltip:SetCell(y, 2, _G.GuildMicroButton.tooltipText)
tooltip:SetLineScript(y, "OnMouseUp", MouseHandler, _G.GuildMicroButton)
end
- and line 245 with:
local y, x = tooltip:AddLine()
tooltip:SetCell(y, 1, path.."lfg.tga", myProvider)
if _G.LFDMicroButton then
tooltip:SetCell(y, 2, _G.LFDMicroButton.tooltipText)
tooltip:SetLineScript(y, "OnMouseUp", MouseHandler, _G.LFDMicroButton)
end
Not working anymore on Classic Era 1.15. Getting these 2 errors now:
Message: ...terface/AddOns/Broker_MicroMenu/Broker_MicroMenu.lua:14: Cannot find a library instance of "AceAddon-3.0".
Time: Wed Nov 29 23:49:53 2023
Count: 1
Stack: ...terface/AddOns/Broker_MicroMenu/Broker_MicroMenu.lua:14: Cannot find a library instance of "AceAddon-3.0".
[string "=[C]"]: in function `error'
[string "@Interface/AddOns/Broker_MicroMenu/libs/LibStub/LibStub.lua"]:38: in function `LibStub'
[string "@Interface/AddOns/Broker_MicroMenu/Broker_MicroMenu.lua"]:14: in main chunk
Locals: (*temporary) = "Cannot find a library instance of "AceAddon-3.0"."
--------------------------------------------------------------------------------------------------------------------------------
Message: Interface/AddOns/Broker_MicroMenu/Options.lua:143: attempt to index local 'Broker_MicroMenu' (a nil value)
Time: Wed Nov 29 23:49:53 2023
Count: 1
Stack: Interface/AddOns/Broker_MicroMenu/Options.lua:143: attempt to index local 'Broker_MicroMenu' (a nil value)
[string "@Interface/AddOns/Broker_MicroMenu/Options.lua"]:143: in main chunk
Locals: LibStub = <table> {
NewLibrary = <function> defined @Interface/AddOns/Broker_MicroMenu/libs/LibStub/LibStub.lua:20
minors = <table> {
}
minor = 2
IterateLibraries = <function> defined @Interface/AddOns/Broker_MicroMenu/libs/LibStub/LibStub.lua:46
GetLibrary = <function> defined @Interface/AddOns/Broker_MicroMenu/libs/LibStub/LibStub.lua:36
libs = <table> {
}
}
addonName = "Broker_MicroMenu"
L = <table> {
Show latency for combat data, data from the people around you (specs, gear, enchants, etc.). = "Show latency for combat data, data from the people around you (specs, gear, enchants, etc.)."
Show Home Latency = "Show Home Latency"
Show FPS = "Show FPS"
Enable this if you want to fine tune the displayed text. = "Enable this if you want to fine tune the displayed text."
Show World Latency = "Show World Latency"
Custom Text = "Custom Text"
Show FPS First = "Show FPS First"
fps = "fps"
Enable Coloring = "Enable Coloring"
Show latency for chat data, auction house stuff some addon data, and various other data. = "Show latency for chat data, auction house stuff some addon data, and various other data."
Show frames per second. = "Show frames per second."
}
Broker_MicroMenu = nil
version = ""
db = nil
_G = <table> {
UpdateOnBarHighlightMarksBySpell = <function> defined @Interface/FrameXML/ActionButton.lua:70
ERR_OUT_OF_CHI = "Not enough chi"
DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
SettingsSliderOptionsMixin = <table> {
}
GetTrainerServiceTypeFilter = <function> defined =[C]:-1
UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
SetTrainerServiceTypeFilter = <function> defined =[C]:-1
LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 793
SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 410
ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this group."
CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
}
ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
PVP_RANK_6_1 = "Corporal"
MultiBarLeftButton7 = MultiBarLeftButton7 {
}
InterfaceOptionsNamesPanelUnitNameplatesShowAll = InterfaceOptionsNamesPanelUnitNameplatesShowAll {
}
VideoOptionsFrameDefaults = VideoOptionsFrameDefaults {
}
MerchantItem1AltCurrencyFrameItem1Text = MerchantItem1AltCurrencyFrameItem1Text {
}
OPTION_SHOW_ACTION_BAR5_TOOLTIP = "Attached to the left side of Action Bar 4 by default"
BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
CHAT_HEADER_SUFFIX = ": "
MultiBarBottomRightButton8Shine5 = MultiBarBottomRightButton8Shine5 {
}
IsReferAFriendLinked = <function> defined =[C]:-1
MAIL_LETTER_TOOLTIP = "Click to make a permanent
copy of this letter."
UnitFrameManaBar_UnregisterDefaultEvents = <function> defined @Interface/FrameXML/UnitFrame.lua:623
MANA = "Mana"
CHAT_CONFIG_OTHER_COMBAT = <table> {
}
CONSOLIDATED_BUFFS_PER_ROW = 4
MoneyFrame_OnEvent = <function> defined @Interface/FrameXML/MoneyFrame.lua:224
BN_UNABLE_TO_RESOLVE_NAME = "Unable to whisper '%s'. Blizzard services may be unavailable."
AutoCompleteEditBox_OnKeyDown = <function> defined @Interface/FrameXML/AutoComplete.lua:368
CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight = CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight {
}
LFGTeleport = <function> defined =[C]:-1
LE_GAME_ERR_ONLY_ONE_QUIVER = 33
SpellButton6Cooldown = SpellButton6Cooldown {
}
SLASH_LibQTip1 = "/qtip"
LOSS_OF_CONTROL_DISPLAY_FEA
I use it with TitanPanel. With the latest update, it is now a dropdown menu instead of all the buttons expanded in a row. Is it possible to achieve the previous behaviour? Thanks.
Would love seeing another update for DF. Still using it with Bazooka. :)
In reply to heinzschen:
I can push a release and fix minor issues but will not be able to fix the ongoing taint issues.
Edit: Btw, why are you not using ChocolateBar? :D
I can update it but it seems as using it during combat is broken since Shadowlands?
Is this addon being updated for Shadowlands? I've been using it with Bazooka but doesn't seem to be working at the moment in pre-patch. Main issue is that the micro menu wont drop down when I hover over it in Bazooka.
In reply to Mencc:
Same issue here. Would love seeing an update. Thanks a lot.
In reply to Mencc:
The issue is with the LibQTip library, the latest alpha version (442326b-alpha) seems to fix it:
https://www.wowace.com/projects/libqtip-1-0/files
In reply to Forge_User_35571032:
I can confirm this resolved the issue for me. Thanks!
I don't code .lua and addons, but I did a dirty fix for this since I hate lua errors.
This probably isn't the proper way to fix it but it works for me.
Problem seem to be the settings for the text is supposed to be saved using ace-3 db but isn't anymore so I just worked around it by creating a local var instead.
search for "function dataobj:UpdateText()" in Broker_MicroMenu.lua around line 85
then add:
there you can set if text should be colored or not and what info to show.
then at line 313 you change the function to
Now it works fine for me.
Again the core problem is db not being saved/passed correctly but I don't have time to check why
so I just fixed it like this.
In reply to Forge_User_85347567:
The issue is with an outdated version of AceDB-3.0
If you pull down the latest release of Ace3 and then go into the addon's libs folder and replace all the Ace libs with the versions you just downloaded it should fix the problem. At least it does for me now.
In reply to Forge_User_85347567:
thx! - this also fixed it for me (updating to the most recent version of AceDB-3.0 did not help)
As this part of the code is just for text coloring a small workaround is to skip this coloring:
at function
add following prior line 91
Looks like an issue with the function Broker_MicroMenu:RegisterOptions()
In reply to Forge_User_24395081:
Anybody figured out a fix for this yet?