Download
(116Kb)
Download
Updated: 10-27-20 10:36 AM
Pictures
File Info
Compatibility:
Shadowlands pre-patch (9.0.1)
Updated:10-27-20 10:36 AM
Created:unknown
Downloads:109,331
Favorites:281
MD5:

nMainbar  Popular! (More than 5000 hits)

Version: 9.0.2
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.

v9.0.2

- Add support for Shadowlands pre-patch.

v8.0.3

- !Beautycase added as a required dependency.
- !Beautycase now included in the release zip.

v8.0.2

- Prevent the fake and real bottom right bar to be shown at the same time.
- Fix border difference between the fake bottom right bar and the regular bars.

v8.0.1

- Bug fixes.

v8.0.0

- Updated for 8.0.1 Battle for Azeroth.


v7.3.0

- Updated for 7.3.0.

v7.0.0

- Updated for Legion (pre-patch).

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)


Post A Reply Comment Options
Unread 02-10-11, 11:31 PM  
Beef.
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
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
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 02-10-11, 07:51 PM  
Beef.
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
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
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 02-09-11, 12:17 PM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

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

Forum posts: 9
File comments: 35
Uploads: 0
Everything fine now. Thank you very much
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: 105
Uploads: 1
Perfect No problems so far Thx for the updates
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: 472
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.
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: 472
Uploads: 0
See above post
Last edited by ballagarba : 02-09-11 at 10:27 AM.
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: 105
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.
Report comment to moderator  
Reply With Quote
Unread 02-09-11, 06:31 AM  
daka242
A Murloc Raider

Forum posts: 9
File comments: 35
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
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: 472
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.
Report comment to moderator  
Reply With Quote
Unread 02-09-11, 05:46 AM  
daka242
A Murloc Raider

Forum posts: 9
File comments: 35
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
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.
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: 472
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).
Report comment to moderator  
Reply With Quote
Unread 01-25-11, 01:42 PM  
cokedrivers
A Rage Talon Dragon Guard
 
cokedrivers's Avatar
AddOn Author - Click to view AddOns

Forum posts: 325
File comments: 214
Uploads: 4
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.
Report comment to moderator  
Reply With Quote
Unread 12-20-10, 06:13 PM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 472
Uploads: 0
Originally posted by Tanque
I use a MainMenuBar scale of 0.8 instead of 1.0 in the config. When this scale is changed, the bottombars appear out of scale. When I comment out the lines in extras.lua it looks good again. This is an old issue with neav's last official version as soon as 4.0 was out.
Oh, I see. I thought it had to do with the regular UI scaling Blizzard provides in its settings that's why I didn't detect any oddities
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: