Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(10 Kb)
Download
Updated: 05-13-10 10:17 AM
Patch for:
ncUI.
Pictures
File Info
Updated:05-13-10 10:17 AM
Created:03-10-10 03:24 PM
Downloads:1,958
Favorites:5
MD5:
ncUI 12 button patch
Version: 2.1a fixed
by: Nysil [More]
Sets the actionbar(s) back to the default 12 buttons. Now the entire main bar will page as it did in default WoW, with the option to add a second bar.

IMPORTANT!!! This is only a patch, you still need the regular ncUI 2.1a release and then install this patch, overwriting files as needed. (Install ncUI 2.1a then install this on top of it)

Now with a readme! Instructions for installing/uninstalling/changing from 1 bar to two bars are in there!
2.1a fixed - Fixed the patch, cause I was a tard.
2.1a - updated for ncUI 2.1a
2.0b - original release, corresponds with ncUI 2.0b
Archived Files (1)
File Name
Version
Size
Author
Date
2.0b
8kB
Nysil
03-10-10 03:24 PM


Post A Reply Comment Options
Unread 05-12-10, 09:41 AM  
Nysil
A Murloc Raider
 
Nysil's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 47
Uploads: 1
Sorry about not getting this updated yet, work and Oblivion have kinda stole much of my WoW time away from me a never got around to checking on ncUI for updates :P I have to redownload/install WoW and then once I test my update I'll post it. It *should* be fine, but I want to test it to make sure :P

Hopefully it'll finish installing/updating before I have to go to work today.

EDIT: I guess not, I'll have it uploaded sometime after midnight EST I guess.

UPDATE: Alright, I come back after my shift and WoW is still installing, so I'm saying screw it and uploading the new version anyways. For the most part it's the same, but nightcracker used different methods to achieve the same goal with 2.1a as compared to 2.0b, not to mention the addition of 3d Models.

I'll update my screenshots probably sometime tomorrow when WoW finishes updating.

FIXED: I should have waited untill WoW finished installing/updating to upload it xD turns out I forgot to change 3 values and the main bar only had 8 buttons. Please redownload once it's approved
Last edited by Nysil : 05-13-10 at 10:20 AM.
Nysil is offline Report comment to moderator  
Reply With Quote
Unread 04-10-10, 11:04 PM  
Nysil
A Murloc Raider
 
Nysil's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 47
Uploads: 1
Alright, now that I actually have a job again and can afford WoW again, I'll get back to work on this and see if I can't get the bars to page. Also, I never expected to get over 200 downloads o.0 Since this has become a lot more popular than I thought it would, It'll give me incentive to solve this :P

Now then, since I've been getting PMs on how to have more than one bar in the UI, you have to open the config.lua in your Addons/ncUI folder and change

Code:
ncUIdb["actionbar"] = {
	["bars"] = 1, -- 1 or 2 bars
}
to
Code:
ncUIdb["actionbar"] = {
	["bars"] = 2, -- 1 or 2 bars
}
Also, you only need to enable the bottomleft actionbar in the interface>actionbar menu. When I cut the bar size from 16 to 12 buttons, I enabled the full bars, so you don't need the other two.
Last edited by Nysil : 04-10-10 at 11:29 PM.
Nysil is offline Report comment to moderator  
Reply With Quote
Unread 03-13-10, 01:21 PM  
Nysil
A Murloc Raider
 
Nysil's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 47
Uploads: 1
Well, at the very least I'm beginning to make progress. Finally managed to get the other 3 extra bars to line up over the main bar, now it's just a matter of getting them to disappear and reappear according to what modifier you push.

I'm getting no luck with Is(Alt/Shift/Ctrl)KeyPressed() or MODIFIER_STATE_CHANGED though.
Nysil is offline Report comment to moderator  
Reply With Quote
Unread 03-13-10, 10:59 AM  
Manaman
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 160
Uploads: 1
I am supposing it's something to the effect of:

if modifier shift then
bar 1: hide
bar 2: show
else
bar 1: show
bar 2: hide
end


Obviously a bit more complicated than that, but I would guess you create the other bars like you did the current ones, then have them hide by default, and the show hide statuses of the necessary bars changes based on modifier press.
Manaman is offline Report comment to moderator  
Reply With Quote
Unread 03-12-10, 01:59 PM  
Nysil
A Murloc Raider
 
Nysil's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 47
Uploads: 1
Originally posted by jasje
you can add this yourself in the blizz keybind GUI? (not sure though)
While you can do that, it's not the same as what he's asking. He wants to hold down a modifier key (alt, ctrl, shift, or any combination of the 3) and have the main bar page until he releases the key, returning it to it's original page. Blizzard's keybindings only allow you to flip pages up or down. It's possible to swap the actionbar's page via macros too, but macro's require clicking and thus don't serve the purpose. The "easy" fix would be to use ChangeActionBarPage(), but that does not function in combat. I'm pretty sure that I can use SecureActionButtonTemplate to achieve that goal, but there's two problems. I don't quite understand how it works (The example code is rather generic and doesn't quite relate to what I'm trying to do) and it would require making the lua code more complicated than it already is :P Another problem is that the most recent example of sample code that is well commented is from 2007.

I do know that Bartender4 and Dominos both can do this, but they wrote their code completely different to what NC did. NC went with a procedural route with his code, while both Dominos and Bartender4 are OO. Kinda makes it difficult to translate them over. :P

In the meantime, NC's hoverbind functions built into the addon allows you to do essentially the same thing, it's just tough to remember what spell is bound to what key :P
Last edited by Nysil : 03-12-10 at 02:05 PM.
Nysil is offline Report comment to moderator  
Reply With Quote
Unread 03-12-10, 12:55 PM  
jasje
A Chromatic Dragonspawn
 
jasje's Avatar
AddOn Author - Click to view AddOns

Forum posts: 150
File comments: 281
Uploads: 8
Originally posted by Manaman
Can you, by chance, modify it to have paging on Shift and Alt modifiers?

It doesn't particularly matter which order you put the other 4 bars into sets of 2.
you can add this yourself in the blizz keybind GUI? (not sure though)
__________________

Tukui | Github
Last edited by jasje : 03-12-10 at 12:55 PM.
jasje is offline Report comment to moderator  
Reply With Quote
Unread 03-11-10, 09:42 AM  
Nysil
A Murloc Raider
 
Nysil's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 47
Uploads: 1
Originally posted by Manaman
Can you, by chance, modify it to have paging on Shift and Alt modifiers?

It doesn't particularly matter which order you put the other 4 bars into sets of 2.
I can see if I can't figure that out. In order to do that I may end up having to completely redo his code, but then again, that's what I thought I'd have to do to do what I've already done :P Back to digging through Dominos' actionbar code for inspiration!

Ok yeah, adding modifier paging is a lot tougher than adjusting the length of the bars I've been scouring the code of not only Dominos, but Bartender4 and scouring the depths of Google trying to figure out how to implement it without completely redoing the code and I'm not getting anywhere. I'm slowly starting to understand how it could work, but I'm not exactly a Lua expert which is hampering my progress.
Last edited by Nysil : 03-11-10 at 06:51 PM.
Nysil is offline Report comment to moderator  
Reply With Quote
Unread 03-11-10, 02:52 AM  
Baine
A Murloc Raider
 
Baine's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 331
Uploads: 2
Re: Yay 1st Favorite

Originally posted by Nysil
Why thank you whoever favorite'd this xD
well, for example i faved this, since i didn't bother about ncui 'cause of that ... unusal layout (cutting bars off, wtf Oo)

and it didn't bother me enough to look for where it's possible to change that :P

thank you for doing what i was to lazy for
__________________
Baine is offline Report comment to moderator  
Reply With Quote
Unread 03-10-10, 09:51 PM  
Manaman
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 160
Uploads: 1
Can you, by chance, modify it to have paging on Shift and Alt modifiers?

It doesn't particularly matter which order you put the other 4 bars into sets of 2.
Last edited by Manaman : 03-10-10 at 09:52 PM.
Manaman is offline Report comment to moderator  
Reply With Quote
Unread 03-10-10, 05:39 PM  
Nysil
A Murloc Raider
 
Nysil's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 47
Uploads: 1
Yay 1st Favorite

Why thank you whoever favorite'd this xD
Nysil is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: