Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(75 Kb)
Download
Updated: 11-12-14 01:16 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Siege of Orgrimmar (5.4)
Escalation (5.3)
Updated:11-12-14 01:16 PM
Created:unknown
Downloads:65,796
Favorites:231
MD5:
6.0.3

nMainbar  Popular! (More than 5000 hits)

Version: 6.0.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 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. 6.0.0

- Updates to work with Warlords of Draenor.

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 (4)
File Name
Version
Size
Author
Date
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 02-11-11, 10:04 AM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 375
Uploads: 0
@Beef.: It has already been fixed if you bothered to read the latest 5 or so comments.
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 02-10-11, 11:31 PM  
Beef.
A Kobold Labourer

Forum posts: 0
File comments: 37
Uploads: 0
This is what I get non-stop as a rogue ;

Message: Interface\AddOns\nMainbar\nMainbar.lua:40: attempt to index local 'normal' (a nil value)
Time: 02/11/11 00:30:41
Count: 22
Stack: Interface\AddOns\nMainbar\nMainbar.lua:40: in function <Interface\AddOns\nMainbar\nMainbar.lua:11>
[C]: in function `PetActionBar_Update'
Interface\FrameXML\PetActionBarFrame.lua:50: in function <Interface\FrameXML\PetActionBarFrame.lua:37>

Locals: (for generator) = <function> defined =[C]:-1
(for state) = <table> {
1 = "PetActionButton"
2 = "PossessButton"
3 = "ShapeshiftButton"
}
(for control) = 3
_ = 3
name = "ShapeshiftButton"
(for index) = 1
(for limit) = 12
(for step) = 1
i = 1
button = ShapeshiftButton1 {
FlyoutBorderShadow = ShapeshiftButton1FlyoutBorderShadow {
}
EnableMouse = <function> defined @Interface\AddOns\nMainbar\nMainbar_ActionBars.lua:36
SetAlpha = <function> defined @Interface\AddOns\nMainbar\nMainbar_ActionBars.lua:33
icon = ShapeshiftButton1Icon {
}
MAParent = ShapeshiftButtonsMover {
}
__LBF_NormalSkin = <table> {
}
Show = <function> defined =[C]:-1
__LBF_Normal = <unnamed> {
}
0 = <userdata>
MALockPointHook = true
__LBF_Level = <table> {
}
__LBF_NoNormal = true
FlyoutBorder = ShapeshiftButton1FlyoutBorder {
}
SetFrameLevel = <function> defined =[C]:-1
SetPoint = <function> defined =[C]:-1
FlyoutArrow = ShapeshiftButton1FlyoutArrow {
}
MAShowHook = true
SetNormalTexture = <function> defined =[C]:-1
}
icon = ShapeshiftButton1Icon {
0 = <userdata>
}
normal = nil
(*temporary) = <table> {
ActionButton7FlyoutBorder = ActionButton7FlyoutBorder {
}
MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
}
MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock {
}
GetTrainerServiceTypeFilter = <function> defined =[C]:-1
UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
KBASE_NUM_FAKE_CATEGORIES = 1
SetTrainerServiceTypeFilter = <function> defined =[C]:-1
EventTraceFrameButton7HideButton = EventTraceFrameButton7HideButton {
}
SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
TutorialFrameLeft19 = TutorialFrameLeft19 {
}
MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown {
}
ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
PVP_RANK_6_1 = "Corporal"
BOOKTYPE_PROFESSION = "professions"
OPTION_TOOLTIP_SHOW_MULTIBAR4 = "Toggles an additional optional actionbar on the right side of the screen."
InterfaceOptionsDisplayPanelShowAggroPercentageText = InterfaceOptionsDisplayPanelShowAggroPercentageText {
}
VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture = VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture {
}
MerchantItem3AltCurrencyFrameItem1Text = MerchantItem3AltCurrencyFrameItem1Text {
}
BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
CHAT_HEADER_SUFFIX = ": "
IsReferAFriendLinked = <function> defined =[C]:-1
MAIL_LETTER_TOOLTIP = "Click to make a permanent
copy of this letter."
AudioOptionsVoicePanelMicrophoneVolumeThumb = AudioOptionsVoicePanelMicrophoneVolumeThumb {
}
CALENDAR_RAID_RESET_DESCRIPTION = "%1$s resets at %2$s."
CHAT_CONFIG_OTHER_COMBAT = <table> {
}
DugisTab2Row18Percent = DugisTab2Row18Percent {
}
CONSOLIDATED_BUFFS_PER_ROW = 4
TutorialFrameRight19 = TutorialFrameRight19 {
}
MoneyFrame_OnEvent = <function> defined @Interface\FrameXML\MoneyFrame.lua:199
BN_UNABLE_TO_RESOLVE_NAME = "Unable to whisper '%s'. Battle.net may be unavailable."
CinematicFrameRaidBossEmoteFrame = CinematicFrameRaidBossEmoteFrame {
}
InterfaceOptionsCombatTextPanelFCTDropDown_OnClick = <function> defined @Interface\FrameXML\InterfaceOptionsPanels.lua:1536
LFGTeleport = <function> defined =[C]:-1
SpellButton6Cooldown = SpellButton6Cooldown {
}
ChannelMemberButton10Name = ChannelMemberButton10Name {
}
UIDROPDOWNMENU_OPEN_MENU = Graphics_DisplayModeDropDown {
}
Graphics_QualityText = Graphics_QualityText {
}
TalentMicroButtonAlertShadowTopLeft = TalentMicroButtonAlertShadowTopLeft {
}
VOICEMACRO_4_Sc_1_FEMALE = "Help me at
Beef. is offline Report comment to moderator  
Reply With Quote
Unread 02-10-11, 07:51 PM  
Beef.
A Kobold Labourer

Forum posts: 0
File comments: 37
Uploads: 0
My fps keep dropping every 2-3 sec when I'm in combat. (since 4.0.6)

Also get a lot of LUA errors, are you updating the project sir?

Thanks a lot
Beef. is offline Report comment to moderator  
Reply With Quote
Unread 02-09-11, 12:17 PM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 375
Uploads: 0
Awesome!
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 02-09-11, 11:46 AM  
daka242
A Murloc Raider

Forum posts: 9
File comments: 31
Uploads: 0
Everything fine now. Thank you very much
daka242 is offline Report comment to moderator  
Reply With Quote
Unread 02-09-11, 11:03 AM  
Aschker
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 6
File comments: 115
Uploads: 1
Perfect No problems so far Thx for the updates
Aschker is offline Report comment to moderator  
Reply With Quote
Unread 02-09-11, 10:23 AM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 375
Uploads: 0
So I while I was looking at the visibility issue I just mentioned I stumbled upon a better solution which pretty much fixes both problems.

The thing was that MultiBarLeft was parented to MultiBarRight, so it essentially got scaled twice, first just because being a child of MultiBarRight, and the actually scaling itself.

And since it was parented to MultibarRight it also didn't matter if you set the alpha to 1 since its parent had alpha 0 and that supercedes MultiBarLeft's own alpha value.

Have a look at this commit.

Revert earlier changes about the MultiLeftBar (not the shapeshift stuff that was actually causing lua errors) I mentioned in the previous post if you already implemented those and just do this, open up nMainbar_ActionBars.lua and add the following in red:

Code:
    -- if you move the bar you get some problems, so what can we make? We move the buttons!
do
    MultiBarRightButton1:ClearAllPoints()
    MultiBarRightButton1:SetPoint('TOPRIGHT', UIParent, 'RIGHT', -6, (MultiBarRight:GetHeight() / 2))

    MultiBarLeftButton1:ClearAllPoints() 
    MultiBarLeftButton1:SetPoint('TOPRIGHT', MultiBarRightButton1, 'TOPLEFT', -6, 0)

    -- to prevent scaling and visibility issues with the mouseover options
    MultiBarLeft:SetParent(UIParent)
end
Last edited by ballagarba : 02-09-11 at 10:27 AM.
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 02-09-11, 09:52 AM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 375
Uploads: 0
See above post
Last edited by ballagarba : 02-09-11 at 10:27 AM.
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 02-09-11, 08:27 AM  
Aschker
A Murloc Raider
AddOn Compiler - Click to view compilations

Forum posts: 6
File comments: 115
Uploads: 1
Same as daka242.. And its kinda shitty since I cant click the buttons on the smaller bar.. Seems they disapear again on mouseover.
Aschker is offline Report comment to moderator  
Reply With Quote
Unread 02-09-11, 06:31 AM  
daka242
A Murloc Raider

Forum posts: 9
File comments: 31
Uploads: 0
think there is a little bug - when changing the scale in config to 0.9 the left side bar stays smaller then the right one :

MainMenuBar = {
scale = 0.9,
hideGryphons = false,
shortBar = true,


Everything else is working perfect ! Thank you for quick update
daka242 is offline Report comment to moderator  
Reply With Quote
Unread 02-09-11, 05:50 AM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 375
Uploads: 0
Fixed the problem you guys were having I hope. Open up nMainbar/nMainbar.lua and add this on line 35-ish:

Code:
                local normal
                if (name == 'PetActionButton' or name == 'ShapeshiftButton') then 
                    normal = _G[name..i..'NormalTexture2']
                else 
                    normal = _G[name..i..'NormalTexture']
                end

Fixed in the latest commit, didn't have time to login until now https://github.com/ballagarba/NeavUI...9627b6dfb9f439
Last edited by ballagarba : 02-09-11 at 05:58 AM.
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 02-09-11, 05:46 AM  
daka242
A Murloc Raider

Forum posts: 9
File comments: 31
Uploads: 0
Re: with 4.0.6

Originally posted by Tanque
using Ballagarba's latest build of nMainbar:

Anyone else getting this error?
yep - same here
daka242 is offline Report comment to moderator  
Reply With Quote
Unread 02-08-11, 05:34 PM  
Tanque
A Kobold Labourer

Forum posts: 1
File comments: 170
Uploads: 0
with 4.0.6

using Ballagarba's latest build of nMainbar:
[18:31:53] Interface\AddOns\nMainbar\nMainbar.lua:40: attempt to index local 'normal' (a nil value)
[C]: ?
Interface\AddOns\nMainbar\nMainbar.lua:40: in function <Interface\AddOns\nMainbar\nMainbar.lua:11>
[C]: in function `PetActionBar_Update'
Interface\FrameXML\PetActionBarFrame.lua:41: in function <Interface\FrameXML\PetActionBarFrame.lua:37>
Anyone else getting this error?
Last edited by Tanque : 02-08-11 at 05:35 PM.
Tanque is offline Report comment to moderator  
Reply With Quote
Unread 02-04-11, 09:38 AM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 375
Uploads: 0
Re: Pet Actionbar

Originally posted by cokedrivers
if you are like me and use the default actionbars instead of the small one then you will notice your pets actionbar is over near your tooltip. To center it above your actionsbars insert the following code into your nMainbar.lua file around line 72.

Code:
    -- -------------------------------------------
    -- move pet bar to center above actionbuttons
    -- -------------------------------------------
for _, button in pairs({        
    _G['PetActionButton1'],
}) do
    button:ClearAllPoints()
    button:SetPoint('BOTTOM', UIParent, -170, 105)
end
This will center the bar and make it where it dont get behind your tooltip.
You can move the pets actionbar by holding alt+shift and leftclick-dragging the first button (i.e. PetActionButton1).
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 01-25-11, 01:42 PM  
cokedrivers
A Cobalt Mageweaver
 
cokedrivers's Avatar
AddOn Author - Click to view AddOns

Forum posts: 248
File comments: 192
Uploads: 7
Pet Actionbar

if you are like me and use the default actionbars instead of the small one then you will notice your pets actionbar is over near your tooltip. To center it above your actionsbars insert the following code into your nMainbar.lua file around line 72.

Code:
    -- -------------------------------------------
    -- move pet bar to center above actionbuttons
    -- -------------------------------------------
for _, button in pairs({        
    _G['PetActionButton1'],
}) do
    button:ClearAllPoints()
    button:SetPoint('BOTTOM', UIParent, -170, 105)
end
This will center the bar and make it where it dont get behind your tooltip.
cokedrivers is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: