Download
(14Kb)
Download
Updated: 08-16-18 01:18 PM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:08-16-18 01:18 PM
Created:01-09-09 09:43 PM
Downloads:129,659
Favorites:284
MD5:

rActionBar  Popular! (More than 5000 hits)

Version: 800.20180816
by: zork [More]


Intro

rActionBar is a framework for Blizzard actionbars. It does nothing on its own, needs a layout like rActionBar_Zork.
API documentation
rActionBar API documentation
Quick-Links
rActionBar, rActionBar_Zork, rBuffFrame, rBuffFrame_Zork, rButtonTemplate, rButtonTemplate_Zork
Requires
rLib
Git
https://github.com/zorker/rothui/tre...8.0/rActionBar

Optional Files (3)
File Name
Version
Size
Author
Date
Type
800.20180901
2kB
09-02-18 03:34 AM
Addon
801-2018081101
2kB
08-11-18 04:38 AM
Addon
700.20161004
1kB
10-04-16 06:07 AM
Addon


Post A Reply Comment Options
Unread 11-16-12, 07:18 AM  
tomsu
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re:

Originally Posted by zork
Interesting. Someone had the same question lately. That is due to Blizzard code.

The first actionbar has no grid, because by default the default MainActionBar has an actionbar textue (the one with the gryphons etc.) underneath with a grid included in the image. That's why Blizzard did not add a grid to the first actionbar.

Thus actionbar 1 has no grid to be displayed.
Thought this might be the case, but had to make sure from someone who actually knows lua Thanks anyways!
Report comment to moderator  
Reply With Quote
Unread 11-16-12, 05:42 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re:

Interesting. Someone had the same question lately. That is due to Blizzard code.

The first actionbar has no grid, because by default the default MainActionBar has an actionbar textue (the one with the gryphons etc.) underneath with a grid included in the image. That's why Blizzard did not add a grid to the first actionbar.

Thus actionbar 1 has no grid to be displayed.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-16-12 at 05:43 AM.
Report comment to moderator  
Reply With Quote
Unread 11-16-12, 02:15 AM  
tomsu
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
"Always show actionbars"

Hi Zork! Real quick question:

When you enable "Always show actionbars" option from the interface menu, why doesn't actionbar1 react to it? Also, is there a way to fix it somewhere in the .lua?

Tried searching for it myself, but I'm not that expierenced with .lua yet and tried to find some answers in the comments, but couldn't find anything there either.

Here's a picture to demonstrate what I mean

Thanks
Report comment to moderator  
Reply With Quote
Unread 10-31-12, 09:39 AM  
madmatt91
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
Hi there, i would like to be able to have different button sizes on action bar 1 on different characters, this is how i edited the charspecific lua.

Code:
  --get the addon namespace
  local addon, ns = ...
  local cfg = ns.cfg

  -----------------------------
  -- CHARSPECIFIC REWRITES
  -----------------------------

  local playername, _ = UnitName("player")
  local _, playerclass = UnitClass("player")

  if playername == "Itsamemario" or playername == "Rothor" or playername == "Wolowizard" or playername == "Loral" then
    cfg.bars.stancebar.enable = false
    cfg.bars.bar1.uselayout2x6 = false
    cfg.bars.bar1.buttons = {
                    size            = 36,
                    margin          = -2,
      },
    cfg.bars.bar2.uselayout2x6 = false
    cfg.bars.bar2.mouseover.enable = false
    cfg.bars.bar3.mouseover.enable = false
    cfg.bars.bar4.mouseover.fadeOut.alpha = 0
    cfg.bars.bags.mouseover.fadeOut.alpha = 0
    cfg.bars.micromenu.mouseover.fadeOut.alpha = 0
  end
In game it doesnt change anything apart from the fact that i get this error

Code:
Error occured in: Global
Count: 1
Message: ..\AddOns\rActionBarStyler\charspecific.lua line 24:
   unexpected symbol near '='
Tnx for your time.

--------EDIT---------
NVM GOT IT WORKING


correct lua:
Code:
  -----------------------------
  -- INIT
  -----------------------------

  --get the addon namespace
  local addon, ns = ...
  local cfg = ns.cfg

  -----------------------------
  -- CHARSPECIFIC REWRITES
  -----------------------------

  local playername, _ = UnitName("player")
  local _, playerclass = UnitClass("player")

  if playername == "Itsamemario" or playername == "Rothor" or playername == "Wolowizard" or playername == "Loral" then
    cfg.bars.stancebar.enable = false
    cfg.bars.bar1.uselayout2x6 = false
    cfg.bars.bar1.buttons.size = 36
    cfg.bars.bar1.buttons.margin = -2
    cfg.bars.bar2.uselayout2x6 = false
    cfg.bars.bar2.mouseover.enable = false
    cfg.bars.bar3.mouseover.enable = false
    cfg.bars.bar4.mouseover.fadeOut.alpha = 0
    cfg.bars.bags.mouseover.fadeOut.alpha = 0
    cfg.bars.micromenu.mouseover.fadeOut.alpha = 0
  end
Last edited by madmatt91 : 10-31-12 at 09:48 AM.
Report comment to moderator  
Reply With Quote
Unread 10-29-12, 10:50 AM  
Vodkaholic
A Kobold Labourer
 
Vodkaholic's Avatar

Forum posts: 0
File comments: 57
Uploads: 0
Originally Posted by zork
That is in rActionBarStyler/config.lua
What would I be looking for Zork? I can't seem to find it.
Cheers
Report comment to moderator  
Reply With Quote
Unread 10-29-12, 07:31 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
That is in rActionBarStyler/config.lua
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-29-12 at 07:31 AM.
Report comment to moderator  
Reply With Quote
Unread 10-29-12, 06:22 AM  
Vodkaholic
A Kobold Labourer
 
Vodkaholic's Avatar

Forum posts: 0
File comments: 57
Uploads: 0
Originally Posted by zork
Keybinds = Hotkeys. So set the hotkey setting in rActionButtonStyler/config.lua to true.
Aye I did that mate I did say hehe its the fading of the bottom bar am stuck on now. I can't get it to stay "shown"

Cheers Zork
Mike
Report comment to moderator  
Reply With Quote
Unread 10-29-12, 02:34 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Keybinds = Hotkeys. So set the hotkey setting in rActionButtonStyler/config.lua to true.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 10-28-12, 04:59 PM  
Vodkaholic
A Kobold Labourer
 
Vodkaholic's Avatar

Forum posts: 0
File comments: 57
Uploads: 0
zork is there a way to show the keybinds? ive gone though the config.lua and buggered if I can see it in there.
Cheers
As soon as I posted I saq the hotkeys was on false so ignore the above

edit = also any idea why my bottom bar is is not showing the buttons even tho there not used?



Code here if needed
Thanks again
Code:
  
  -- // rActionButtonStyler
  -- // zork - 2010
  
  -----------------------------
  -- INIT
  -----------------------------
  
  --get the addon namespace
  local addon, ns = ...
  
  --generate a holder for the config data
  local cfg = CreateFrame("Frame")
  
  -----------------------------
  -- CONFIG
  -----------------------------
  
  cfg.textures = {
    normal            = "Interface\\AddOns\\rActionButtonStyler\\media\\gloss",
    flash             = "Interface\\AddOns\\rActionButtonStyler\\media\\flash",
    hover             = "Interface\\AddOns\\rActionButtonStyler\\media\\hover",
    pushed            = "Interface\\AddOns\\rActionButtonStyler\\media\\pushed",
    checked           = "Interface\\AddOns\\rActionButtonStyler\\media\\checked",
    equipped          = "Interface\\AddOns\\rActionButtonStyler\\media\\gloss_grey",
    buttonback        = "Interface\\AddOns\\rActionButtonStyler\\media\\button_background",
    buttonbackflat    = "Interface\\AddOns\\rActionButtonStyler\\media\\button_background_flat",
    outer_shadow      = "Interface\\AddOns\\rActionButtonStyler\\media\\outer_shadow",
  }
  
  cfg.background = {
    showbg            = true,  --show an background image?
    showshadow        = true,   --show an outer shadow?
    useflatbackground = false,  --true uses plain flat color instead
    backgroundcolor   = { r = 0.8, g = 0.8, b = 0.8, a = 1},
    shadowcolor       = { r = 0, g = 0, b = 0, a = 0.5},
    classcolored      = false,
    inset             = 5, 
  }
  
  cfg.color = {
    normal            = { r = 0.15, g = 0.15, b = 0.15, },
    equipped          = { r = 0.15, g = 0.15, b = 0.15, },
    classcolored      = false,
  }
  
  cfg.hotkeys = {
    show            = false,
    fontsize        = 12,
    pos1             = { a1 = "TOPRIGHT", x = 0, y = 0 }, 
    pos2             = { a1 = "TOPLEFT", x = 0, y = 0 }, --important! two points are needed to make the hotkeyname be inside of the button
  }
  
  cfg.macroname = {
    show            = false,
    fontsize        = 12,
    pos1             = { a1 = "BOTTOMLEFT", x = 0, y = 0 }, 
    pos2             = { a1 = "BOTTOMRIGHT", x = 0, y = 0 }, --important! two points are needed to make the macroname be inside of the button
  }
  
  cfg.itemcount = {
    show            = true,
    fontsize        = 12,
    pos1             = { a1 = "BOTTOMRIGHT", x = 0, y = 0 }, 
  }
  
  cfg.cooldown = {
    spacing         = 0,
  }
  
  cfg.font = "Fonts\\FRIZQT__.TTF"

  -----------------------------
  -- HANDOVER
  -----------------------------
  
  --hand the config to the namespace for usage in other lua files (remember: those lua files must be called after the cfg.lua)
  ns.cfg = cfg
Last edited by Vodkaholic : 10-28-12 at 05:05 PM.
Report comment to moderator  
Reply With Quote
Unread 10-15-12, 04:38 AM  
madmatt91
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
You're right it was outdated, it said version 2.1 in the toc file oO somehow it never got detected by curse client so i just forgot to update it :P thanks!
Report comment to moderator  
Reply With Quote
Unread 10-14-12, 01:14 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
The referenced lua file does not exist in the current download. Make sure you are using the lastest version.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 10-14-12, 07:25 AM  
madmatt91
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
Hi, i always get 3 diferent errors wheni log into the game.

Code:
Error occured in: Global
Count: 1
Message: ..\AddOns\rActionBarStyler\bars\hideblizz.lua line 6:
   attempt to index global 'VehicleMenuBar' (a nil value)
Debug:
   rActionBarStyler\bars\hideblizz.lua:6: in main chunk
Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = false
(*temporary) = <userdata>
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'VehicleMenuBar' (a nil value)"
Code:
Message: ...erface\AddOns\rActionButtonStyler\func\functions.lua line 241:
   hooksecurefunc(): ShapeshiftBar_Update is not a function
Debug:
   [C]: hooksecurefunc()
   ...erface\AddOns\rActionButtonStyler\func\functions.lua:241: in main chunk
Code:
Message: ...erface\AddOns\rActionButtonStyler\func\functions.lua line 109:
   attempt to index local 'bo' (a nil value)
Debug:
   ...erface\AddOns\rActionButtonStyler\func\functions.lua:109:
      ...erface\AddOns\rActionButtonStyler\func\functions.lua:87
   [C]: ?
   [C]: ActionButton_Update()
   ..\FrameXML\ActionButton.lua:509:
      ..\FrameXML\ActionButton.lua:497
   [C]: ActionButton_OnEvent()
   ..\FrameXML\ActionButton.lua:124:
      ..\FrameXML\ActionButton.lua:117
Locals:
self = ExtraActionButton1 {
 0 = <userdata>
 feedback_action = 169
 action = 169
 buttonType = "EXTRAACTIONBUTTON"
 flashing = 0
 eventsRegistered = true
 rangeTimer = -1
 style = <unnamed> {
 }
 tullaRangeColor = "unusuable"
 flashtime = 0
 isExtra = true
 cooldown = ExtraActionButton1Cooldown {
 }
 icon = ExtraActionButton1Icon {
 }
}
action = 169
name = "ExtraActionButton1"
bu = ExtraActionButton1 {
 0 = <userdata>
 feedback_action = 169
 action = 169
 buttonType = "EXTRAACTIONBUTTON"
 flashing = 0
 eventsRegistered = true
 rangeTimer = -1
 style = <unnamed> {
 }
 tullaRangeColor = "unusuable"
 flashtime = 0
 isExtra = true
 cooldown = ExtraActionButton1Cooldown {
 }
 icon = ExtraActionButton1Icon {
 }
}
ic = ExtraActionButton1Icon {
 0 = <userdata>
}
co = ExtraActionButton1Count {
 0 = <userdata>
}
bo = nil
ho = ExtraActionButton1HotKey {
 0 = <userdata>
}
cd = ExtraActionButton1Cooldown {
 0 = <userdata>
 omniccAction = 169
}
na = nil
fl = ExtraActionButton1Flash {
 0 = <userdata>
}
nt = ExtraActionButton1NormalTexture {
 0 = <userdata>
}
fbg = nil
(*temporary) = "ExtraActionButton1FloatingBG"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'bo' (a nil value)"
_G = <table> {
 ContainerFrame5Item7 = ContainerFrame5Item7 {
 }
 MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
 }
 MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock {
 }
 GetTrainerServiceTypeFilter = <function> defined =[C]:-1
 UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
 UNIT_NAMEPLATES_TYPE_TOOLTIP_3 = "This method avoids overlapping nameplates by spreading them out horizontally and vertically."
 SetTrainerServiceTypeFilter = <function> defined =[C]:-1
 SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
 CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
 }
 TutorialFrameLeft19 = TutorialFrameLeft19 {
 }
 MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown {
 }
 ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
 PVP_RANK_6_1 = "Corporal"
 BOOKTYPE_PROFESSION = "professions"
 AudioOptionsVoicePanelOutputDeviceDropDownButtonHighlightTexture = AudioOptionsVoicePanelOutputDeviceDropDownButtonHighlightTexture {
 }
 InterfaceOptionsDisplayPanelShowAggroPercentageText = InterfaceOptionsDisplayPanelShowAggroPercentageText {
 }
 VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture = VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture {
 }
 MerchantItem3AltCurrencyFrameItem1Text = MerchantItem3AltCurrencyFrameItem1Text {
 }
 OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "Action button keybinds will respond on key down, rather than on key up."
 BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
 CHAT_HEADER_SUFFIX = ": "
 IsReferAFriendLinked = <function> defined =[C]:-1
 MAIL_LETTER_TOOLTIP = "Click to make a permanent
copy of this letter."
 QuestDetailBotLeftCorner = QuestDetailBotLeftCorner {
 }
 ItemTextFrameInsetInsetTopRightCorner = ItemTextFrameInsetInsetTopRightCorner {
 }
 CALENDAR_RAID_RESET_DESCRIPTION = "%1$s resets at %2$s."
 CHAT_CONFIG_OTHER_COMBAT = <table> {
 }
 CONSOLIDATED_BUFFS_PER_ROW = 4
 TutorialFrameRight19 = TutorialFrameRight19 {
 }
 MoneyFrame_OnEvent = <function> defined @Interface\FrameXML\MoneyFrame.lua:233
 BN_UNABLE_TO_RESOLVE_NAME = "Unable to whisper '%s'. Battle.net may be unavailable."
 WatchFrameItem_OnEvent = <function> defined @Interface\FrameXML\WatchFrame.lua:1367
 InterfaceOptionsCombatTextPanelFCTDropDown_OnClick = <function> defined @Interface\FrameXML\InterfaceOptionsPanels.lua:1419
 TradeSkillInputBoxLeft = TradeSkillInputBoxLeft {
 }
 LFGTeleport = <function> defined =[C]:-1
 INT_SPELL_DURATION_HOURS = "%d |4hour:hrs;"
 ToggleEncounterJournal = <function> defined @Interface\FrameXML\UIParent.lua:617
 Graphics_QualityText = Graphics_QualityText {
 }
 TalentMicroButtonAlertShadowTopLeft = TalentMicroButtonAlertSha
halp
Report comment to moderator  
Reply With Quote
Unread 10-03-12, 03:27 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
That is gone. Blizzard changed how bar swapping works. They do it now on button basis, not on bar. I don't wont to mess with that. If you really want that use a standalone actionbar mod like Bartender/Dominos.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 10-03-12, 01:43 AM  
daladin
A Kobold Labourer

Forum posts: 0
File comments: 36
Uploads: 0
please help me, thank you.
I'm class is druid, when i cast the spell “Incarnation: King of the Jungle”,or i'm in stealth, how to automatically replace the action bar1?

In old version,the bar1.lua can see
local Page = {
["DRUID"] = "[bonusbar:1,nostealth] 7; [bonusbar:1,stealth] 8; [bonusbar:2] 8; [bonusbar:3] 9; [bonusbar:4] 10;",
["WARRIOR"] = "[bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9;",
["PRIEST"] = "[bonusbar:1] 7;",
["ROGUE"] = "[bonusbar:1] 7; [form:3] 10;",
["WARLOCK"] = "[form:2] 7;",
["DEFAULT"] = "[bonusbar:5] 11; [bar:2] 2; [bar:3] 3; [bar:4] 4; [bar:5] 5; [bar:6] 6;",
}

local function GetBar()
local condition = Page["DEFAULT"]
local class = cfg.playerclass
local page = Page[class]
if page then
condition = condition.." "..page
end
condition = condition.." 1"
return condition
end

But now do not see it.
Report comment to moderator  
Reply With Quote
Unread 09-28-12, 03:20 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: OVERRIDE BAR can support uselayout2x6 with Bar1&#65311;

What benefit do you want to achieve? The overridebar has a maximum of 6 buttons. I place the vehicle exit button as a magical button on number 7. The bar is just pretending to use 12 buttons for the sake of matching setpoints to bar 1. So you want to move the exit button?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-28-12 at 03:23 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: