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,720
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 12-14-18, 03:48 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Here is the diff from what Blizzard did:
https://www.townlong-yak.com/framexm...utton.lua/diff
There is now a new parameter called reason. Adding it might fix it.
https://www.townlong-yak.com/framexm...Button.lua#735
Code:
ActionButton_ShowGrid(self, ACTION_BUTTON_SHOW_GRID_REASON_EVENT)
Try
https://github.com/zorker/rothui/com...90b3a273717102
__________________
| 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 : 12-14-18 at 03:54 AM.
Report comment to moderator  
Reply With Quote
Unread 12-14-18, 11:16 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 335
Uploads: 46
It works like a charm now

Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 01-15-19, 01:00 PM  
gossipgirlxo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 108
Uploads: 1
Originally Posted by zork
Here is the diff from what Blizzard did:
https://www.townlong-yak.com/framexm...utton.lua/diff
There is now a new parameter called reason. Adding it might fix it.
https://www.townlong-yak.com/framexm...Button.lua#735
Code:
ActionButton_ShowGrid(self, ACTION_BUTTON_SHOW_GRID_REASON_EVENT)
Try
https://github.com/zorker/rothui/com...90b3a273717102
Thank you Zork
Report comment to moderator  
Reply With Quote
Unread 03-05-19, 06:31 PM  
Terenna
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 105
File comments: 4
Uploads: 1
I'm not sure if anyone's encountered this problem, but I've noticed that if you enter an "OverrideBar" state (darkmoon faire tonk, darkmoon faire racing game where you turn into a plainstrider or w/e) your grid shows up even if AlwaysShowActionBars is unchecked in the interface menu. After a lot of testing, I was able to narrow down a blizzard function that was responsible. I also wrote some code to hide the unused buttons in these vehicles.

You may place this code anywhere within the bar.lua file.
Lua Code:
  1. hooksecurefunc('ActionBarController_UpdateAll', function() 
  2.     for i = 1, 12 do
  3.         local button = _G['ActionButton'..i]
  4.         local overrideButton = _G['OverrideActionBarButton'..i]
  5.         local _, spellID
  6.         if overrideButton then
  7.             _, spellID = GetActionInfo(overrideButton.action)
  8.         end
  9.  
  10.         if ((HasOverrideActionBar() or HasVehicleActionBar()) and (spellID and spellID > 0)) or (not HasOverrideActionBar() and not HasVehicleActionBar()) then
  11.             button:SetAttribute('statehidden', false)
  12.             button:Show()
  13.         else
  14.             button:SetAttribute('statehidden', true)
  15.             button:Hide()
  16.         end
  17.     end
  18. end)

I hope someone finds this useful
Last edited by Terenna : 03-09-19 at 11:31 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: