Quantcast
Download
(14 Kb)
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:117,940
Favorites:288
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


Archived Files (10)
File Name
Version
Size
Author
Date
710.20161101
14kB
zork
11-01-16 04:37 PM
710.20161027
14kB
zork
10-27-16 12:42 PM
700.20161004
14kB
zork
10-04-16 06:04 AM
60000.01
21kB
zork
10-24-14 07:48 PM
50400.01
20kB
zork
09-08-13 08:45 AM
50200.01
20kB
zork
03-04-13 05:36 PM
50100.01
20kB
zork
11-28-12 01:28 PM
50001.08a
19kB
zork
11-20-12 03:24 AM
50001.07
20kB
zork
09-21-12 02:15 PM
40300.06
21kB
zork
01-20-12 12:51 PM


Post A Reply Comment Options
Unread 03-05-19, 06:31 PM  
Terenna
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 5
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
Unread 01-15-19, 01:00 PM  
gossipgirlxo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 100
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 12-14-18, 11:16 AM  
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 258
File comments: 207
Uploads: 39
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 12-14-18, 03:48 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1739
File comments: 3725
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) | TDMOG

"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, 01:49 AM  
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 258
File comments: 207
Uploads: 39
I have it too.

Code:
8x FrameXML\ActionButton.lua:471: assertion failed!
[C]: in function `assert'
FrameXML\ActionButton.lua:471: in function `ActionButton_ShowGrid'
rActionBar\bars.lua:69: in function <rActionBar\bars.lua:61>
[C]: in function `MultiActionBar_UpdateGridVisibility'
[string "*:OnLoad"]:4: in function `setFunc'
FrameXML\InterfaceOptionsPanels.lua:1154: in function <FrameXML\InterfaceOptionsPanels.lua:1147>

Locals:
(*temporary) = nil
The addons seems to work even if it is annoying ...

Please Zork fix it
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 12-13-18, 03:24 PM  
EKE
An Aku'mai Servant
 
EKE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 498
Uploads: 9
There's an error about ActionButton_ShowGrid after patch 8.1

O.O
__________________
AltzUI Contributor for Feedback ONLY.

My Addon: EKPlates
Report comment to moderator  
Reply With Quote
Unread 02-20-18, 01:15 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1739
File comments: 3725
Uploads: 77
Bar1 will swap automatically to bar6 once you activate the actionbar page with with the ingame keybind or when other conditions are met (vehicle etc). Bar6 is hidden in the default ui and swappable only. Same here. https://github.com/zorker/rothui/blo...r/bars.lua#L60
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 02-20-18 at 01:16 AM.
Report comment to moderator  
Reply With Quote
Unread 02-19-18, 11:09 AM  
Kabuto-eu
A Kobold Labourer

Forum posts: 0
File comments: 39
Uploads: 0
How do you add extra bars?

I've tried adding a 'bar6' in the template but that just breaks the extrabars, posessbar and so on.
Report comment to moderator  
Reply With Quote
Unread 01-28-18, 11:05 AM  
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 258
File comments: 207
Uploads: 39
Hi Zork,

really thanks for the answer.

Now I have a dilemma

1) deactivate the bar5 in my config template like:

Lua Code:
  1. local bar5 = {
  2.   framePoint      = { "RIGHT", A.."Bar4", "LEFT", 0, 0 },
  3.   frameScale      = 1,
  4.   framePadding    = 5,
  5.   buttonWidth     = 32,
  6.   buttonHeight    = 32,
  7.   buttonMargin    = 5,
  8.   numCols         = 1,
  9.   startPoint      = "TOPRIGHT",
  10.   fader           = fader,
  11. }
  12. -- create it
  13. -- rActionBar:CreateActionBar5(A, bar5)

It works and the quest panel is in the right place.
But people that wants 2 bars on the right can't use them. They'll see only the first one.


2) using rObjectiveTracker to move the panel.

It surely works, it surely permits to use 2 bars on the right but probably moves the panel more in the center and leave so much space from the panel to the single bar on the right.


For the moment I have used the solution 1 because I use only 1 bar on the right.

But I have asked you if it will be possible in a next version of ractionbar to manage the enable/disable the bar based on the setting in Interface -> Actionbars So disabling here make the frame not appears

Btw thanks for your great work.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 01-28-18, 05:37 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1739
File comments: 3725
Uploads: 77
Couldn't you just use sth like http://www.wowinterface.com/download...veTracker.html and move the objective tracker a notch to the left?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 01-27-18, 11:52 PM  
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 258
File comments: 207
Uploads: 39
Hi Zork,

Yes there is a frame overlapping:



I have defined it in my template:

Lua Code:
  1. local bar5 = {
  2.   framePoint      = { "RIGHT", A.."Bar4", "LEFT", 0, 0 },
  3.   frameScale      = 1,
  4.   framePadding    = 5,
  5.   buttonWidth     = 32,
  6.   buttonHeight    = 32,
  7.   buttonMargin    = 5,
  8.   numCols         = 1,
  9.   startPoint      = "TOPRIGHT",
  10.   fader           = fader,
  11. }
  12. -- create it
  13. rActionBar:CreateActionBar5(A, bar5)

but in the Interface --> ActionBars I have disabled this bar.



I prefer to leave it enabled in template so if someone prefers to have 2 right vertical bars it can be done.
And in this setup (2 right vertical bars) the quest panel is correctly moved from the bar5:



Probably rActionBar should disable the bar if the Interface --> ActionBars doesn't check it !?

Thanks for your help
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 01-27-18, 07:15 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1739
File comments: 3725
Uploads: 77
Try /fstack and check if there are any mouse enabled frames in the way.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 01-27-18, 10:53 AM  
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 258
File comments: 207
Uploads: 39
Hi Zork,
I am very happy to read you again.

I have a little problem with my config for rActionBar.
http://www.wowinterface.com/download...ionBar_Gm.html

The problem is the lfg group for the quest button seems not working when I use my setup.
Is possible that the vertical bar overlap with it ? This even if the bar is not visible ?



Thanks for your help.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 04-11-17, 07:45 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1739
File comments: 3725
Uploads: 77
Re: Show and hide with keypress

@t0msu
Check Dominos or Bartender. I think they have such fancy stuff.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 02-20-17, 12:23 PM  
t0msu
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 7
Uploads: 1
Show and hide with keypress

How do you show actionbars 1, 2 and 3 with a keypress?

So that when I press ALT it would show them, for me to change keybinds and such, but then to hide it when I'm not pressing the said key?

Could propably somehow put it in the fader argument, but I just can't figure out how
Last edited by t0msu : 02-20-17 at 12:24 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: