THIS VERSION OF m_ActionBars IS FOR MISTS OF PANDARIA BETA SERVERS AND WILL NOT WORK ON LIVE REALMS
Check list of known issues and changes in CHANGE LOG tab.
IMPORTANT: if you update to version 5.x from 4.x and older, you must update cfg.lua because it was redesigned.
About
Originally inspired by zork's amazing work with rActionBarStyler and rActionButtonStyler.
m_ActionBars is a very flexible lightweight add-on that handles your action bars.
This add-on is making use of default blizzard's action bars
This add-on aimed mainly for people with at least some experience in using lua-configured add-ons as all settings located in cfg.lua.
Key features
no GUI;
allows user to use up to 6 action bars (5 default + 1 extra action bar);
removes all the default action bars textures;
supports vehicle, totem, pet, stance and shapeshift bars;
built in totem timers functionality and ability to remove totems by right-clicking them;
custom exit vehicle button position;
styles action buttons' borders;
out of range/mana coloring;
allows player to choose the orientation and amount of rows for each bar;
grants the ability to set custom position, size and spacing between the buttons;
allows user to set number of visible buttons for each bar;
the ButtonsStyler module allows to hide/show hotkeys, macro names, item count numbers, and also to set custom font for each of those text fields.
key-bindings shortcuts;
built in HoverBind functionality (/kb to enter bindings mode) that also works directly from spell book and macros menu;
supports MicroMenu bar;
option to show bars only in combat;
2 special bars for raid marks and world marker flares;
option to control bars' opacity;
Credits
Zork - for rActionBarStyler
Nightcracker - for ncHoverBind
Tukz
Allez
====== v. 5.0 rev 1 ======
m_ActionBars: removed depricated frames, updated styling function, fixed hooks
m_ActionBars: updated RaidMark with new group status requests
m_ActionBars: fixed extra action bar not updating on page swap, locking it to page 1
m_ActionBars: bye bye totembar, you sure wasted allot of my time
m_ActionBars: removed totembar styling functions and config vars
m_ActionBars: removed raid button from micro menu (replaced with companion and mounts button)
m_ActionBars: removed updater script to keep micro menu after swapping a spec
m_ActionBars: reworked art removing function
m_ActionBars: enabled stance bar & updated stance bar styling
m_ActionBars: Broker_Equipment updated to reflect API changes
m_ActionBars: new petbar varriable in cfg file - scale
m_ActionBars: simplified mAB.ShowInCombat function using RegisterStateDriver
m_ActionBars: added petbar holder state conditions so it's no longer clickable when invisible
m_ActionBars: fixed taint on manual page swap when in combat
m_Tweaks: cfg.ThreatBar will function as intended now
m_ActionBars: added possess bar (swaps with stance bar)
m_ActionBars: added styling for possess bar
m_ActionBars: reworked how the main bar works
m_ActionBars: propperly implemented OverrideBar
m_ActionBars: fixed taint issues with extra action bar (bar6)
m_ActionBars: updated raid / world mark bars spawning logic
m_ActionBars: code refactoring cfg.lua MUST BE UPDATED
Getting this error on the beta and it will not hide the Micromenu when i have it set in the config file to do so. Actually it looks like the entire micromenu part doesn't even work....
Code:
Message: Interface\AddOns\m_ActionBars\ActionBars.lua:177: attempt to index field '?' (a nil value)
Time: 07/31/12 04:21:37
they changed texture name on the action bar frame, I'll fix that in the coming update, actually the new version of MonoUI will be up tonight, so you can pretty much grab that version of mAB and use it on beta servers, it's gonna be fully compatible.
Getting this error on the beta and it will not hide the Micromenu when i have it set in the config file to do so. Actually it looks like the entire micromenu part doesn't even work....
Code:
Message: Interface\AddOns\m_ActionBars\ActionBars.lua:177: attempt to index field '?' (a nil value)
Time: 07/31/12 04:21:37
Count: 1
Stack: Interface\AddOns\m_ActionBars\ActionBars.lua:177: in main chunk
Locals: addon = "m_ActionBars"
ns = <table> {
cfg = <unnamed> {
}
mAB = <unnamed> {
}
}
cfg = <unnamed> {
0 = <userdata>
button_font = "Fonts\FRIZQT__.TTF"
colors = <table> {
}
enable_action_bars = true
count_font_size = 12
hide_macro_name = false
name_font_size = 8
hotkey_font_size = 11
hide_hotkey = true
textures_btbg = "Interface\Buttons\WHITE8x8"
spacing = 0
bars = <table> {
}
textures_pushed = "Interface\Addons\m_ActionBars\media\icon"
textures_normal = "Interface\Addons\m_ActionBars\media\icon"
size = 30
}
mAB = <unnamed> {
0 = <userdata>
SetBarAlpha = <function> defined @Interface\AddOns\m_ActionBars\elements\ActionBarsLib.lua:156
SetStanceBar = <function> defined @Interface\AddOns\m_ActionBars\elements\ActionBarsLib.lua:198
SetVisibility = <function> defined @Interface\AddOns\m_ActionBars\elements\ActionBarsLib.lua:181
SetBar = <function> defined @Interface\AddOns\m_ActionBars\elements\ActionBarsLib.lua:17
SetExtraBar = <function> defined @Interface\AddOns\m_ActionBars\elements\ActionBarsLib.lua:89
CreateHolder = <function> defined @Interface\AddOns\m_ActionBars\elements\ActionBarsLib.lua:9
}
myclass = "PRIEST"
mainbar = Bar1_holder {
0 = <userdata>
WrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:704
SetFrameRef = <function> defined @Interface\FrameXML\SecureHandlers.lua:715
Execute = <function> defined @Interface\FrameXML\SecureHandlers.lua:699
UnwrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:710
}
overridebar = OverrideBar_holder {
0 = <userdata>
WrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:704
SetFrameRef = <function> defined @Interface\FrameXML\SecureHandlers.lua:715
Execute = <function> defined @Interface\FrameXML\SecureHandlers.lua:699
UnwrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:710
}
bottomleftbar = Bar2_holder {
0 = <userdata>
WrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:704
SetFrameRef = <function> defined @Interface\FrameXML\SecureHandlers.lua:715
Execute = <function> defined @Interface\FrameXML\SecureHandlers.lua:699
UnwrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:710
}
bottomrightbar = Bar3_holder {
0 = <userdata>
WrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:704
SetFrameRef = <function> defined @Interface\FrameXML\SecureHandlers.lua:715
Execute = <function> defined @Interface\FrameXML\SecureHandlers.lua:699
UnwrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:710
}
leftbar = Bar4_holder {
0 = <userdata>
WrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:704
SetFrameRef = <function> defined @Interface\FrameXML\SecureHandlers.lua:715
Execute = <function> defined @Interface\FrameXML\SecureHandlers.lua:699
UnwrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:710
}
rightbar = Bar5_holder {
0 = <userdata>
WrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:704
SetFrameRef = <function> defined @Interface\FrameXML\SecureHandlers.lua:715
Execute = <function> defined @Interface\FrameXML\SecureHandlers.lua:699
UnwrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:710
}
extrabar = Bar6_holder {
0 = <userdata>
WrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:704
SetFrameRef = <function> defined @Interface\FrameXML\SecureHandlers.lua:715
Execute = <function> defined @Interface\FrameXML\SecureHandlers.lua:699
UnwrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:710
}
stancebar = StanceBar_holder {
0 = <userdata>
WrapScript = <function> defined @Interface\FrameXML\SecureHandlers.lua:704
SetFrameRef = <function> defined @Interface\FrameXML\Secur
Close to perfect, only thing "missing" for my uses is the possibility of showing the bar when I have a valid target.
I asked Zork how to do this for RABS, and he gave me this: http://www.wowinterface.com/download...age=2#comments
this "hack" doesn't seem as straightforward for mAB, at least for someone not that LUA-savvy.