Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(75 Kb)
Download
Updated: 02-27-14 01:29 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:02-27-14 01:29 PM
Created:unknown
Downloads:64,550
Favorites:220
MD5:
nMainbar  Popular! (More than 5000 hits)
Version: 5.4.1
by: Neal, ballagarba
Features
- Smaller Mainbar
- Skin the buttons
- Out of range coloring
- You can change the font or the fontsize of the macronames, hotkey, count or still hide them
- The gryphons are hideable
... and many more.

The "picomenu"
The '+' button on the right gryphon is the "new" micromenu. Just left-click on it to show the micromenu or rightclick to show the gamemenu (the same as when you pres ESC)

How can I move the Pet-, Stance- or Possessbar?
It's very simple!
ShiftKey + AltKey + Leftclick on the first button of the Pet-, Stance- or Possessbar to move the them.

And whats about the new totemmanger?
ControlKey + Leftclick on one of the 4 totembuttons and move them.

How can I change some settings?
Open the nMainbarConfig.lua with a text editor of your choice.
You will require someknowledge withing LUA editing to configure this addon,
but the config is so simple that everyone can do this.

(!) THERE ARE NO INGAME CONFIGURATIONS (!)

Extra Stuff
If you want other gryphonarts check out SquidMod and SquidModGraficUpdate

Attention
Disable RedRange (or similar addons) if you use it, or it can occure
some problems. nMainbar has its own out of range coloring.
v. 5.4.1

- Fix the error when clicking the Player vs. Player option in the picomenu
- TOC update

v. 5.3.0

- TOC update.

v. 5.0.5

- Added some more abbreviations for keybinds:

Num Pad . => Nu.
Num Pad / => Nu/
Num Pad - => Nu-
Num Pad * => Nu*
Num Pad + => Nu+

v. 5.0.4

- Updated for patch 5.0.4.
- Now supports a minimum alpha on bars using mouseover.

v. 4.3.1d_1

- fixed a picomenu bug with grid

v. 4.3.1d

- improved button background texture (nobody cares but me!)
- adjust the normal texture (0.5px)

v. 4.3.1c

- fixed "hideRecallButton"

v. 4.3.1b

- fixed a multibar left and right bug
- default config: set multibarleft & right mouseover to false

v. 4.3.1a

- improvements, fixes and more

v. 4.3.1

- updates for patch 4.3

v. 1.4.0

- added a pico menu (see screen)
- some small changes

v. 1.3.9

- exp bar divider fix
- vehicle hotkey fix

v. 1.3.8

- fix stancebar issue

v. 1.3.7

- combine some files
- now with horizontal bars
- possess/pet/stance/totem - bar is now moveable, even when the normal bar is shown
- some little changes

v. 1.3.1

- .toc update to 4.1

v. 1.3.0

- fix totembar style
- remove (c)

v. 1.3.0

- some fixes and updates by ballagarba

v. 1.2.1

- fixed a bug with the coloring when the spellbook is open

v. 1.2

- toc change for 3.3
- fixed a overlap problem with the worldmap
- delete some unnecessary stuff

v. 1.12

- fixed a bug with the scaling of the totemmanager


v. 1.1

- .toc bump
- support for the new totem manager

v. 1.01

- fix a little typo
- forgot a line
- .zip file instead of a .rar file


v. 1.0

- new config file
- fix the bug with the resets of the stancebar
- remove the " show on modifier pressed " feature (i dont know but i think it will return in the future)
- new mouseover system (!)
- seperate some function in new .lua files ;)
- changeable alpha of the bars

There are so much changes that i have set nMainbar back to version 1 :D
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
5.3.0
90kB
Neal
05-22-13 05:18 AM
4.3.1a
75kB
Neal
12-04-11 05:00 PM
4.3.1
74kB
Neal
12-01-11 02:57 AM


Post A Reply Comment Options
Unread 02-15-13, 07:14 PM  
Sanatos
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hello and thank you guys very much for wounderful addon! I was woundering is there is a way I could add a "open all bags" button to the picomenu?
Sanatos is offline Report comment to moderator  
Reply With Quote
Unread 01-07-13, 04:17 PM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 356
Uploads: 0
@Creamdream: Try deleting nMainbar\modules\skins.lua, however it might have other side-effects (haven't tried it).

Otherwise you might wanna try and delete these functions in the same file:

lua Code:
  1. hooksecurefunc('PetActionBar_Update', function()
  2.     ...
  3. end)

lua Code:
  1. hooksecurefunc('ActionButton_Update', function(self)
  2.     ...
  3. end)

And again, I haven't tried it myself, but might just do the trick.
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 01-07-13, 04:06 PM  
Creamdream
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Re: Re: Re: Defauly ActionBar textures

Originally Posted by Creamdream
Originally Posted by Creamdream
Originally Posted by CasperBangstad
First of all, thanks for a great AddOn!

However, I would like to use the default action bar textures, and when looking through previous comments one was told to simply remove the skinning section in the lua, which I did. Unfortunately this does not revert back to the default Blizzard action bar style, instead it leaves me with no borders/highlights/pushed at all.

So what I'm looking for is simply the path to the default Blizzard textures. Or maybe there is another way to fix this?
I would like to know this as well. I love nMainBar but the button skin does not match up with the other skins of my UI. Also does not appear to work with Masque. Can you please tell us how we can go back to Blizzard button textures?
Just to clarfiy, all I would need is someone to tell me which lines of LUA code to delete so that nMainBar stops using its own button textures.
Anyone? Please...
Creamdream is offline Report comment to moderator  
Reply With Quote
Unread 12-28-12, 04:38 PM  
Creamdream
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Re: Re: Defauly ActionBar textures

Originally Posted by Creamdream
Originally Posted by CasperBangstad
First of all, thanks for a great AddOn!

However, I would like to use the default action bar textures, and when looking through previous comments one was told to simply remove the skinning section in the lua, which I did. Unfortunately this does not revert back to the default Blizzard action bar style, instead it leaves me with no borders/highlights/pushed at all.

So what I'm looking for is simply the path to the default Blizzard textures. Or maybe there is another way to fix this?
I would like to know this as well. I love nMainBar but the button skin does not match up with the other skins of my UI. Also does not appear to work with Masque. Can you please tell us how we can go back to Blizzard button textures?
Just to clarfiy, all I would need is someone to tell me which lines of LUA code to delete so that nMainBar stops using its own button textures.
Creamdream is offline Report comment to moderator  
Reply With Quote
Unread 12-26-12, 12:17 PM  
Creamdream
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Exclamation Re: Defauly ActionBar textures

Originally Posted by CasperBangstad
First of all, thanks for a great AddOn!

However, I would like to use the default action bar textures, and when looking through previous comments one was told to simply remove the skinning section in the lua, which I did. Unfortunately this does not revert back to the default Blizzard action bar style, instead it leaves me with no borders/highlights/pushed at all.

So what I'm looking for is simply the path to the default Blizzard textures. Or maybe there is another way to fix this?
I would like to know this as well. I love nMainBar but the button skin does not match up with the other skins of my UI. Also does not appear to work with Masque. Can you please tell us how we can go back to Blizzard button textures?
Creamdream is offline Report comment to moderator  
Reply With Quote
Unread 11-23-12, 10:26 PM  
AUGUSTINEWJ
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Cooldown

It seems not work with omnicc in 5.04. All the cooldown timer can not be shown on the button. I think that's caused by the font file reading issues. Do u have any solution? Thx
AUGUSTINEWJ is offline Report comment to moderator  
Reply With Quote
Unread 11-06-12, 02:51 PM  
Spiattalo
A Kobold Labourer

Forum posts: 0
File comments: 27
Uploads: 0
Is there any way to reset the "out of range" coloring back to normal? As in keybinds only.
Spiattalo is offline Report comment to moderator  
Reply With Quote
Unread 09-09-12, 09:57 AM  
wrekh
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
yes I disabled all addons but npickomenu and it was still not working.

// I disabled addoncontrolpanel and it seems to work now. Sorry for trouble, I forgot about that one and I was double checking now.

//After enabling all addons but AddonControlPanel there was still error, so I disabled all but nPicoMenu, restarted game and I got same issue. nPicomenu has been blocked from an action only available to the Blizzard UI. Error occurred while trying to use spell directly from spell book.
Last edited by wrekh : 09-09-12 at 10:11 AM.
wrekh is offline Report comment to moderator  
Reply With Quote
Unread 09-09-12, 09:41 AM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 356
Uploads: 0
Re: Re: Re: Request

Originally Posted by wrekh
So I did everything as you posted, but I'm getting errors while trying to use spells from spellbook or when trying to change talents.

Trying to use dust to reset talent:
[17:13:39] !BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
Blizzard_TalentUI\Blizzard_TalentUI.lua:56: in function "OnAccept"
FrameXML\StaticPopup.lua:3826: in function "StaticPopup_OnClick"
<string>:"*:OnClick":1: in function <string>:"*:OnClick":1
[17:13:39] nil

Trying to use ability directly from spellbook:

[17:15:06] [ADDON_ACTION_FORBIDDEN] AddOn "nPicomenu" tried to call the protected function "CastSpell()".
[17:15:06] !BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
FrameXML\SpellBookFrame.lua:455: in function "SpellButton_OnClick"
<string>:"*:OnClick":4: in function <string>:"*:OnClick":1
[17:15:06] nil

Any help would be appreciated . I was looking for Micro-Menu replacement for a long time and that's just what I was looking for.
Seems like a taint issue blaming nPicomenu. Have you checked if the same thing happens if you're only running nPicomenu?
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 09-09-12, 09:16 AM  
wrekh
A Kobold Labourer

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

Originally Posted by ballagarba
Originally Posted by Rammoth
Could I request the picomenu part of this as a separate addon? I'd like to use it with other UI's, and be able to move it, and skin it.
You could But I think you'd have better luck doing it yourself. Neav is AWOL and I won't be maintaining two instances of the pico menu, however I'll be happy to guide you if you choose to do it yourself. It's actually pretty trivial since the the picomenu is pretty stand alone already.

1. Create a folder named "nPicomenu", for example.

2. Create a nPicomenu\nPicomenu.toc file containing:

Code:
## Interface: 40300
## Title: |cffCC3333 n|rPicomenu

picomenu.lua
3. Copy nMainbar\modules\picomenu.lua to nPicomenu.

4. Remove this part from picomenu.lua (at the very top of the file):

lua Code:
  1. local _, nMainbar = ...
  2. local cfg = nMainbar.Config
  3.  
  4. if (not cfg.showPicomenu) then
  5.     return
  6. end

5. Copy all the textures from nMainbar\media\picomenu and put them in nPicomenu\media.

6. Edit picomenu.lua again and search for all the lines pointing to the old path of the textures and replace them with the new, like these two:

lua Code:
  1. f:SetNormalTexture('Interface\\AddOns\\nMainbar\\media\\picomenu\\picomenuNormal')
  2. ...
  3. f:SetHighlightTexture('Interface\\AddOns\\nMainbar\\media\\picomenu\\picomenuHighlight')

That's pretty much it. Oh yeah, and to change position of the picomenu edit this line:

lua Code:
  1. f:SetPoint('BOTTOM', MainMenuBarRightEndCap, -13, 8)
So I did everything as you posted, but I'm getting errors while trying to use spells from spellbook or when trying to change talents.

Trying to use dust to reset talent:
[17:13:39] !BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
Blizzard_TalentUI\Blizzard_TalentUI.lua:56: in function "OnAccept"
FrameXML\StaticPopup.lua:3826: in function "StaticPopup_OnClick"
<string>:"*:OnClick":1: in function <string>:"*:OnClick":1
[17:13:39] nil

Trying to use ability directly from spellbook:

[17:15:06] [ADDON_ACTION_FORBIDDEN] AddOn "nPicomenu" tried to call the protected function "CastSpell()".
[17:15:06] !BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
FrameXML\SpellBookFrame.lua:455: in function "SpellButton_OnClick"
<string>:"*:OnClick":4: in function <string>:"*:OnClick":1
[17:15:06] nil

Any help would be appreciated . I was looking for Micro-Menu replacement for a long time and that's just what I was looking for.
Last edited by wrekh : 09-09-12 at 09:20 AM.
wrekh is offline Report comment to moderator  
Reply With Quote
Unread 09-07-12, 10:22 AM  
glupikreten
A Murloc Raider

Forum posts: 4
File comments: 62
Uploads: 0
Originally Posted by ballagarba
@glupikreten: I could prevent Blizzard from moving the castbar around. However, that would leave it in the "bad" position, since that's the default one. And it's a bit out of scope for this addon to mess around with the castbar more than necessary, since this is mainly an actionbar mod.

There's a couple of things I could suggest though:

1. Move it yourself, put this piece of code in some file, like nMainbar\modules\short\short.lua:

Code:
UIPARENT_MANAGED_FRAME_POSITIONS['CastingBarFrame'] = nil
CastingBarFrame:SetPoint('BOTTOM', UIParent, 'BOTTOM', 0, 195)
2. Get a pure castbar mod, like AzCastBar and move it yourself.

3. Reorganize your spells a bit, I see you got some unused slots on bar 1 and bar 2. Plus a lot rarely used click-spells on bar 2. Consider moving them to one of the bars on the right, or make the third bottombar only visible on mouse-over and move them there.

4. Use the complete UI: Neav UI



Here's a complete example of how could do it yourself:

At the top of nMainbar\modules\short\short.lua add this:
Code:
do
    for _, frame in pairs({
        'MultiBarLeft',
        'MultiBarRight',
        'MultiBarBottomRight',

        --'StanceBarFrame',
        'PossessBarFrame',

        'MULTICASTACTIONBAR_YPOS',
        'MultiCastActionBarFrame',

        'PETACTIONBAR_YPOS',
        'CastingBarFrame',
    }) do
        UIPARENT_MANAGED_FRAME_POSITIONS[frame] = nil
    end
end

CastingBarFrame:SetPoint('BOTTOM', UIParent, 'BOTTOM', 0, 195)
Thank you very much for the effort you put into this answer...

I have a question tho...

So i got a Hunter too.. and Unholy DK... and both don't get this issue like Warlock.
Both Hunter and DK with or without pet have their cast bar unpositioned.

SS hunter with pet: http://imageshack.us/f/407/wowscrnshot090712181549.jpg/
SS hunter without pet: http://imageshack.us/f/443/wowscrnshot090712181555.jpg/

Is that still blizzard's "issue" that after warlocks pet sacrifice cast bar moves?
I don't know much about this things... just want to make your addon(s) better since im using them for some time and love them... Before this patch i didnt have any issues on any characters.

I did what you suggested with code implementation... That works perfectly.

Thank you. Be well.
Last edited by glupikreten : 09-07-12 at 10:28 AM.
glupikreten is offline Report comment to moderator  
Reply With Quote
Unread 09-07-12, 07:17 AM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 356
Uploads: 0
Re: addon frage

Originally Posted by Nekkoo
hi, ich denke mal das du ein deutschsprachiger addon author bist, hab ne frage und zwa wie kann ich einstellen das ich die leisten immer sehe und nicht nur per mit maus an der bar draufklicken dass ich sie dann erst sehe
Sorry dude, Google Translate doesn't make any sense of this, so I can't help you.

Neav isn't playing at the moment, so I'm the one maintaining. So you'd have to stick to either English or Swedish
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 09-07-12, 07:14 AM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 356
Uploads: 0
@glupikreten: I could prevent Blizzard from moving the castbar around. However, that would leave it in the "bad" position, since that's the default one. And it's a bit out of scope for this addon to mess around with the castbar more than necessary, since this is mainly an actionbar mod.

There's a couple of things I could suggest though:

1. Move it yourself, put this piece of code in some file, like nMainbar\modules\short\short.lua:

Code:
UIPARENT_MANAGED_FRAME_POSITIONS['CastingBarFrame'] = nil
CastingBarFrame:SetPoint('BOTTOM', UIParent, 'BOTTOM', 0, 195)
2. Get a pure castbar mod, like AzCastBar and move it yourself.

3. Reorganize your spells a bit, I see you got some unused slots on bar 1 and bar 2. Plus a lot rarely used click-spells on bar 2. Consider moving them to one of the bars on the right, or make the third bottombar only visible on mouse-over and move them there.

4. Use the complete UI: Neav UI



Here's a complete example of how could do it yourself:

At the top of nMainbar\modules\short\short.lua add this:
Code:
do
    for _, frame in pairs({
        'MultiBarLeft',
        'MultiBarRight',
        'MultiBarBottomRight',

        --'StanceBarFrame',
        'PossessBarFrame',

        'MULTICASTACTIONBAR_YPOS',
        'MultiCastActionBarFrame',

        'PETACTIONBAR_YPOS',
        'CastingBarFrame',
    }) do
        UIPARENT_MANAGED_FRAME_POSITIONS[frame] = nil
    end
end

CastingBarFrame:SetPoint('BOTTOM', UIParent, 'BOTTOM', 0, 195)
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 09-07-12, 02:01 AM  
glupikreten
A Murloc Raider

Forum posts: 4
File comments: 62
Uploads: 0
Re: Re: Re: warlock pet sacrifices moves cast bar

Originally Posted by glupikreten
Originally Posted by ballagarba
Originally Posted by glupikreten
Hi,

Sorry if this is already asked.. i looked on cpl of pages and couldnt see any1 reporting this:

When i have both bottom bars visible and i sacrifice my imp cast bar glues to upper bottom bar leaving no space between... When pet is out regardles where pet bar is located its fine... as soon as i sacrifice him and pet bar dissapears cast bar just moves down to bottom bar.

Any solution?

Thank you.
What castbar addon are you using, if any?
none.. default one

Here are the screens:

with pet:
http://imageshack.us/photo/my-images...512153730.jpg/

without pet:
http://imageshack.us/photo/my-images...512153647.jpg/
Any info maybe on this one?
glupikreten is offline Report comment to moderator  
Reply With Quote
Unread 09-06-12, 03:36 PM  
Nekkoo
A Kobold Labourer
 
Nekkoo's Avatar

Forum posts: 0
File comments: 5
Uploads: 0
addon frage

hi, ich denke mal das du ein deutschsprachiger addon author bist, hab ne frage und zwa wie kann ich einstellen das ich die leisten immer sehe und nicht nur per mit maus an der bar draufklicken dass ich sie dann erst sehe
Nekkoo is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: