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,664
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 10-11-10, 12:39 PM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 403
Uploads: 0
Anyone got a fix for the experience bar for 4.0.1?
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 10-12-10, 06:56 PM  
dreimas
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Originally posted by ballagarba
Anyone got a fix for the experience bar for 4.0.1?
Until the developer can fix it permanently, i'm posting how to fix it. At

Open up nMainBar_Shortbar.lua in notepad, and scroll down to almost the bottom, line 199. Add in the following entries:

Code:
_G['MainMenuXPBarTextureLeftCap'],
_G['MainMenuXPBarTextureMid'],
_G['MainMenuXPBarTextureRightCap'],
to line 243. and replace the names of texture0 and texture1 with Left and Rightcap.

Code:
--MainMenuXPBarTexture0:SetPoint('BOTTOM', MainMenuExpBar, -128, 3)
--MainMenuXPBarTexture1:SetPoint('BOTTOM', MainMenuExpBar, 128, 3)
MainMenuXPBarTextureLeftCap:SetPoint('BOTTOM', MainMenuExpBar, -128, 3)
MainMenuXPBarTextureRightCap:SetPoint('BOTTOM', MainMenuExpBar, -128, 3)
dreimas is offline Report comment to moderator  
Reply With Quote
Unread 10-13-10, 08:14 AM  
danbar
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
Hmm... after 4.0 I have the bar (character info, spellbook, talents, etc. buttons) visible on the rights side of actionbars. Any idea how to disable it?
danbar is offline Report comment to moderator  
Reply With Quote
Unread 10-13-10, 05:56 PM  
F1NCH
A Kobold Labourer
 
F1NCH's Avatar

Forum posts: 0
File comments: 44
Uploads: 0
Heyho, is it possible to add a /command to open bg window (where you can choose the bg)? like /bgw or something...
F1NCH is offline Report comment to moderator  
Reply With Quote
Unread 10-14-10, 08:57 AM  
Tanque
A Kobold Labourer

Forum posts: 1
File comments: 170
Uploads: 0
Originally posted by dreimas
Until the developer can fix it permanently, i'm posting how to fix it. At

Open up nMainBar_Shortbar.lua in notepad, and scroll down to almost the bottom, line 199. Add in the following entries:
I still see the the little "bleb" dividers texture extending past the mainbar on non-level capped toons. Any way to get rid of them? It's not an issue on max-level capped toons.

On another note I did fix the micromenu buttons popping up. Goto the bottom of the shortbar.lua and look for:

Code:
SocialsMicroButton:ClearAllPoints()
SocialsMicroButton:SetPoint('TOPLEFT', CharacterMicroButton, 'BOTTOMLEFT'
Then replace "Socials" with "Guild:"

Code:
GuildMicroButton:ClearAllPoints()
GuildMicroButton:SetPoint('TOPLEFT', CharacterMicroButton, 'BOTTOMLEFT'
Last edited by Tanque : 10-14-10 at 05:20 PM.
Tanque is offline Report comment to moderator  
Reply With Quote
Unread 10-15-10, 08:27 AM  
Seanmyster
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Thanks to Tanque and Draemas, editing the LUA almost has it perfect. The only problem is with non 80 toons, the XP bar "Dividers" between the bubbles are going out of the mainbar frame. Anyway i can get a fix for that?
Seanmyster is offline Report comment to moderator  
Reply With Quote
Unread 10-15-10, 10:53 AM  
Julchen
A Deviate Faerie Dragon

Forum posts: 17
File comments: 51
Uploads: 0
Originally posted by dreimas
Until the developer can fix it permanently, i'm posting how to fix it. At

Open up nMainBar_Shortbar.lua in notepad, and scroll down to almost the bottom, line 199. Add in the following entries:

Code:
_G['MainMenuXPBarTextureLeftCap'],
_G['MainMenuXPBarTextureMid'],
_G['MainMenuXPBarTextureRightCap'],
to line 243. and replace the names of texture0 and texture1 with Left and Rightcap.

Code:
--MainMenuXPBarTexture0:SetPoint('BOTTOM', MainMenuExpBar, -128, 3)
--MainMenuXPBarTexture1:SetPoint('BOTTOM', MainMenuExpBar, 128, 3)
MainMenuXPBarTextureLeftCap:SetPoint('BOTTOM', MainMenuExpBar, -128, 3)
MainMenuXPBarTextureRightCap:SetPoint('BOTTOM', MainMenuExpBar, -128, 3)
doesnt change anything - btw there is a scale bug affecting the position of the bars when changing the scale x<1<x
Last edited by Julchen : 10-15-10 at 10:54 AM.
Julchen is offline Report comment to moderator  
Reply With Quote
Unread 10-15-10, 02:40 PM  
Tanque
A Kobold Labourer

Forum posts: 1
File comments: 170
Uploads: 0
Here's the fix for the scaling bug that was posted by shiftear:

Go to nMainbar_Extras.lua, line 27, make the code look like this:
Code:
:
 Code:for _, bar in pairs({
    'MainMenuBar',
                
    'MultiBarLeft',
    'MultiBarRight',
                
    --'MultiBarBottomLeft',
    --'MultiBarBottomRight',
}) do
    _G[bar]:SetScale(nMainbar.MainMenuBar.scale)
end
Scaling should be fixed now.


As for Dreima's edits, it's true adding the new lines don't seem to do anything. But you do need to comment out the two lines to make the mod work:

Code:
--MainMenuXPBarTexture0:SetPoint('BOTTOM', MainMenuExpBar, -128, 3)
--MainMenuXPBarTexture1:SetPoint('BOTTOM', MainMenuExpBar, 128, 3)
Last edited by Tanque : 10-15-10 at 04:59 PM.
Tanque is offline Report comment to moderator  
Reply With Quote
Unread 10-18-10, 12:05 AM  
Seanmyster
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Has anyone found the code to change for the XP bar dividers for toons that aren't level capped?
Seanmyster is offline Report comment to moderator  
Reply With Quote
Unread 10-20-10, 04:49 AM  
Julchen
A Deviate Faerie Dragon

Forum posts: 17
File comments: 51
Uploads: 0
Lightbulb nMainbar MainManuExpBar fix

Originally posted by Seanmyster
Has anyone found the code to change for the XP bar dividers for toons that aren't level capped?
actually - yes

you have to insert following shiny code in the nMainbar_ShortBar.lua:
Code:
for i = 10, 19 do
    for _, frame in pairs({
        _G['MainMenuXPBarDiv'..i],
    }) do
        frame:SetAlpha(0)
    end
end
now it looks well again while leveling!

edit: code reduced

you are welcome to post code improvements
Last edited by Julchen : 10-20-10 at 05:17 AM.
Julchen is offline Report comment to moderator  
Reply With Quote
Unread 10-20-10, 07:51 AM  
Tanque
A Kobold Labourer

Forum posts: 1
File comments: 170
Uploads: 0
*EDITED* To fix xp bar when zoning in and out of instances.
*EDITED* Incorporated Naberius' and Shiftear's events.

Ok thanks to everyone I think we've duct-taped all the little quirks to make nMainbar good for 4.0. Here's a summary of all the changes for anyone who just joined us:

1. At the bottom of Shortbar.lua goto lines 251-252. Replace "SocialsMicroButton" with "GuildMicroButton."
Code:
CharacterMicroButton:ClearAllPoints()
CharacterMicroButton:SetPoint('BOTTOMLEFT', 9000, 9000)

GuildMicroButton:ClearAllPoints()
GuildMicroButton:SetPoint('TOPLEFT', CharacterMicroButton, 'BOTTOMLEFT', 0, 20)

2. Near the bottom of Shortbar.lua, comment out lines 239-240.
Code:
MainMenuMaxLevelBar0:SetPoint('BOTTOM', MainMenuBarMaxLevelBar, 'TOP', -128, 0)

--MainMenuXPBarTexture0:SetPoint('BOTTOM', MainMenuExpBar, -128, 3)
--MainMenuXPBarTexture1:SetPoint('BOTTOM', MainMenuExpBar, 128, 3)

MainMenuBarLeftEndCap:SetPoint('BOTTOM', MainMenuBarArtFrame, -289, 0)
MainMenuBarLeftEndCap.SetPoint = function() end

3. Insert the following lines in Shortbar.lua (I pasted them after line 233).
Code:
for _, bar in pairs({
    _G['MainMenuBar'],
    _G['MainMenuExpBar'],
    _G['MainMenuBarMaxLevelBar'],

    _G['ReputationWatchStatusBar'],
    _G['ReputationWatchBar'],
}) do
    bar:SetWidth(512)
    -- bar:SetFrameStrata('BACKGROUND')
end

for i = 10, 19 do
    for _, frame in pairs({
        _G['MainMenuXPBarDiv'..i],
    }) do
        frame:SetAlpha(0)
    end
end

local ExpBarFix = CreateFrame('Frame')
ExpBarFix:RegisterEvent('PLAYER_ENTERING_WORLD')
ExpBarFix:RegisterEvent('PLAYER_LEVEL_UP')
ExpBarFix:RegisterEvent('PLAYER_TALENT_UPDATE')
ExpBarFix:RegisterEvent('UNIT_ENTERED_VEHICLE')
ExpBarFix:RegisterEvent('UNIT_EXITED_VEHICLE')
ExpBarFix:SetScript('OnEvent', function(self, event, eventargs)
	if (event == 'UNIT_ENTERED_VEHICLE' or event == 'UNIT_EXITED_VEHICLE') and (select(1, eventargs) ~= 'player') then
		return
	end
	MainMenuXPBarTextureMid:SetWidth(512 - 28)
	MainMenuExpBar:SetWidth(512)
end)

4. In Extras.lua comment out lines 33-34.
Code:
 Code:for _, bar in pairs({
    'MainMenuBar',
                
    'MultiBarLeft',
    'MultiBarRight',
                
    --'MultiBarBottomLeft',
    --'MultiBarBottomRight',
}) do
    _G[bar]:SetScale(nMainbar.MainMenuBar.scale)
end

Thanks to Dreimas, shiftear, Julchen, Naberius, and ballagarba for the fixes!
Last edited by Tanque : 10-30-10 at 05:33 PM.
Tanque is offline Report comment to moderator  
Reply With Quote
Unread 10-20-10, 03:17 PM  
Jayhog
A Kobold Labourer

Forum posts: 1
File comments: 4
Uploads: 0
Using the fixes below it works perfect until I enter/exit a instance then the exp bar looks like this

http://img227.imageshack.us/img227/6804/18593179.jpg

any fix for that?
Jayhog is offline Report comment to moderator  
Reply With Quote
Unread 10-20-10, 07:42 PM  
Vranx
A Black Drake
 
Vranx's Avatar

Forum posts: 87
File comments: 152
Uploads: 0
Is there a way to turn the xp bar off, so it treats all toons like they are level 80?
Vranx is offline Report comment to moderator  
Reply With Quote
Unread 10-21-10, 08:43 AM  
Tanque
A Kobold Labourer

Forum posts: 1
File comments: 170
Uploads: 0
Originally posted by Jayhog
Using the fixes below it works perfect until I enter/exit a instance then the exp bar looks like this

http://img227.imageshack.us/img227/6804/18593179.jpg

any fix for that?
ballagarba just posted a fix for this on the neavUI page. I just edited my post below to include additional code that fixes the XP bar when zoning. It's under #3.

As for setting nmainbar to use maxXPbar for all toons, I think that shouldn't be too difficult but probably involves a bit more coding. I'd like to know how to do this as well since I may prefer to use another xp mod later.
Tanque is offline Report comment to moderator  
Reply With Quote
Unread 10-28-10, 08:18 PM  
Tim
A Flamescale Wyrmkin
 
Tim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 120
File comments: 84
Uploads: 6
I used them fixes and it worked for the most part until I went to switch to my other spec.

I added a couple more events in there but I think the 1 that mattered was PLAYER_TALENT_UPDATE.

If you're encountering the same problem as I noted go down to around line 247 in ShortBar and adjust the fix with this:
Code:
local ExpBarFix = CreateFrame('Frame')
ExpBarFix:RegisterEvent('PLAYER_ENTERING_WORLD')
ExpBarFix:RegisterEvent('PLAYER_LEVEL_UP')
ExpBarFix:RegisterEvent('ACTIVE_TALENT_GROUP_CHANGED')
ExpBarFix:RegisterEvent('PLAYER_TALENT_UPDATE')
ExpBarFix:SetScript('OnEvent', function(self, event)
	MainMenuXPBarTextureMid:SetWidth(512 - 28)
	MainMenuExpBar:SetWidth(512)
end)
Tim is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: