View Single Post
Old 09-02-12, 06:06 PM   #16
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,013
I don't believe it .. I got it working and looks like it is because blizzard didn't add the extrabar and overridebar statedriver settings until 5.0.4. You should now get all of them working.

For those that are comfortable making this change read on. For those not. Wait until I or Scott have set up a way for you to update it.

Here goes:

File: AddOns/nUI/Bars/nUI_ButtonBar.lua

Notice the addition. That should be enough for it to work. I tested it with the Darkmoon stuff and attach a screenshot. The extra action bar one may need some extra work as it shouldn't need to be a part of the mover system so the fact it currently is may mess it up. If someone can find a way of confirming that without the need or running a dungeon or raid that would be great.

Lua Code:
  1. -- 5.0.4 Change start
  2.  
  3. --RegisterStateDriver(nUI_ActionBar, "page", "[vehicleui] 12; [bar:2] 2; [bar:3] 3; [bar:4] 4; [bar:5] 5; [bar:6] 6; [bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9; [bonusbar:4] 10; [bonusbar:5] 11;1" );
  4.  
  5. RegisterStateDriver(nUI_ActionBar, "page", "[vehicleui] 12; [extrabar] 13; [overridebar] 14; [bar:2] 2; [bar:3] 3; [bar:4] 4; [bar:5] 5; [bar:6] 6; [bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9; [bonusbar:4] 10; [bonusbar:5] 11;1" );
  6.  
  7. -- 5.0.4 Change End

NOTE: Please note that removal of [extrabar] 13; from the list will stop the disappearing buttons problem. For the moment you would have to use another addon to get the extrabar to appear in those dungeon runs and raids such as Ultraxion.

And for those that want the file itself .. here you go:
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_090312_010106.jpg
Views:	362
Size:	186.6 KB
ID:	7140  
Attached Files
File Type: lua nUI_ButtonBar.lua (31.5 KB, 375 views)
__________________

Last edited by Xrystal : 09-10-12 at 03:14 PM. Reason: Recent Knowledge
Xrystal is offline