Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(75 Kb)
Download
Updated: 03-02-15 02:32 AM
Pictures
File Info
Compatibility:
The Adventure Continues (6.1)
Warlords of Draenor (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:03-02-15 02:32 AM
Created:unknown
Downloads:69,068
Favorites:250
MD5:

nMainbar  Popular! (More than 5000 hits)

Version: 6.1.0
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 config.lua with a text editor of your choice.
Some simple Lua knowledge is helpful 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.

v6.1.0

- Fixed picomenu buttons for the Toy Box and Mounts.
- TOC update.

v6.0.0

- Updates to work with Warlords of Draenor.

v5.4.1

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

v5.3.0

- TOC update.

v5.0.5

- Added some more abbreviations for keybinds:

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

v5.0.4

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

v4.3.1d_1

- fixed a picomenu bug with grid

v4.3.1d

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

v4.3.1c

- fixed "hideRecallButton"

v4.3.1b

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

v4.3.1a

- improvements, fixes and more

v4.3.1

- updates for patch 4.3
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Author
Date
6.0.0
75kB
Neal
11-12-14 01:16 PM
5.4.1
75kB
Neal
02-27-14 01:29 PM
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 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: 402
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: 402
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
Unread 09-05-12, 07:14 AM  
glupikreten
A Murloc Raider

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

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/401/wowscrnshot090512153730.jpg/

without pet:
http://imageshack.us/photo/my-images/100/wowscrnshot090512153647.jpg/
Last edited by glupikreten : 09-05-12 at 07:45 AM.
glupikreten is offline Report comment to moderator  
Reply With Quote
Unread 09-05-12, 06:55 AM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 402
Uploads: 0
Re: warlock pet sacrifices moves cast bar

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?
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 09-05-12, 06:51 AM  
glupikreten
A Murloc Raider

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

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.
glupikreten is offline Report comment to moderator  
Reply With Quote
Unread 08-30-12, 06:04 AM  
Rammoth
A Cliff Giant
 
Rammoth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 73
File comments: 637
Uploads: 1
Re: Re: Re: Picomenu fix

I did, back before this was updated, but now it's updated. Thanks for helping me.

I won't effectively be able to get use to using the Picomenu separate until I've gotten use to the new parts of the default UI and until the UI's I want to use with it, are fixed - as they contain many bugs.

I am not sure about this version of Neav UI, as I haven't tried it yet. But I am about to. So we'll see how it works. I wish the AIO version of it was updated, as I hate trying to understand the lines of code, but I have to if I'm going to learn LUA... it's just so hard for me.

Originally Posted by 10leej
I was actually help Rammoth out with it and noticed that in the code, guess he's got an outdated version >.>
Rammoth is offline Report comment to moderator  
Reply With Quote
Unread 08-28-12, 12:37 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 566
File comments: 423
Uploads: 21
Re: Re: Picomenu fix

I was actually help Rammoth out with it and noticed that in the code, guess he's got an outdated version >.>
10leej is offline Report comment to moderator  
Reply With Quote
Unread 08-28-12, 06:19 AM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 402
Uploads: 0
Re: Picomenu fix

Originally Posted by 10leej
raid finder and dungeon finder are the same window now

So you can kill lines 91-97 and just turn 98-105
Code:
        text = RAID_FINDER,
        icon = 'Interface\\MINIMAP\\TRACKING\\None',
        func = function() 
            securecall(ToggleFrame, PVEFrame)
        end,
        notCheckable = true,
    },
cause all you really have to do is toggle the PVEFrame. Still trying to figure out how to toggle the mount frame
Hmm, either I uploaded the wrong version, or you're using the old one. Because right now I have three rows in the in the picomenu, one for each type of dungeon/raid as you can see here.

Sure, they're all on the same window, but they're on different tabs.

And there should be a row for mounts and pets as well (link to code).
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 08-28-12, 06:07 AM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 566
File comments: 423
Uploads: 21
Picomenu fix

raid finder and dungeon finder are the same window now

So you can kill lines 91-97 and just turn 98-105
Code:
        text = RAID_FINDER,
        icon = 'Interface\\MINIMAP\\TRACKING\\None',
        func = function() 
            securecall(ToggleFrame, PVEFrame)
        end,
        notCheckable = true,
    },
cause all you really have to do is toggle the PVEFrame. Still trying to figure out how to toggle the mount frame
10leej is offline Report comment to moderator  
Reply With Quote
Unread 08-24-12, 02:29 PM  
Rammoth
A Cliff Giant
 
Rammoth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 73
File comments: 637
Uploads: 1
Re: Re: Request

I got everything all squared away for this, but I wanted to ask, how would I make it so it can be dragged and locked/unlocked into a place in game, so it won't have to be edited from the LUA?

It's really for convenience.

Originally Posted by ballagarba
Oh yeah, and to change position of the picomenu edit this line:

lua Code:
  1. f:SetPoint('BOTTOM', MainMenuBarRightEndCap, -13, 8)

EDIT: I keep trying but for some reason after putting everything in exactly how you said, it won't even work in game. It's as if it doesn't exist...
Last edited by Rammoth : 08-24-12 at 03:43 PM.
Rammoth is offline Report comment to moderator  
Reply With Quote
Unread 08-13-12, 03:06 PM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

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

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)
Last edited by ballagarba : 08-13-12 at 03:07 PM.
ballagarba is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: