XPBarNone
XPBarNone was formerly AceXPBar. This is the Ace2 rewrite of AceXPBar.
Description
Lightweight XP bar with a nice set of features, the text display is customisable, the default setting resembles the following:
Exp: 1234/56789 (7586) :: 12.5% through level 34 :: 1234 XP left :: 12 kills to level
Menus
You can access two different menus to configure XPBarNone.
Shift + Right Click: This accesses the main configuration menu. It's the same menu you could get through the slash commands, but in a nice graphical form.
Control + Right Click: This menu allows you to select which faction you would like to watch on your XP Bar.
2010-10-14: v1.5.2
Update TOC for 4.0.0
Properly redraw XPBars when setting width.
Fix clicking bars in 4.0.0
2010-03-27:
This is the changelog for many versions, all inside one, main points are...
Upgraded to Ace3 (This means your options will likely be reset).
Added option to set colour of text.
Show the reputation for faction headers like "Alliance Vanguard" in the tooltip.
Fixes for texture tiling introduced by Blizzard in 3.3.3
2009-05-22: v1.4.5
Added [nLVL] token for showing what the next level is.
2009-04-15: v1.4.4
TOC bump for 3.1
18/11/2008: v.1.4.3
Updated TOC for 3.0.2
Added slider bar to General options to set position of text on the bar.
Fixed rep menu not working properly due to Blizzard API change.
Added averaging to the Kills to Level number. Now averages over the last 10 XP gains.
Added the Smooth V2 texture.
Added options for setting the background bar colour and colour of the exalted reputation bar.
Use the exalted reputation bar colour everywhere it should be used.
07/05/2008: r66907
Updated TOC for 2.4
Fix some issues with frame ordering introduced in 2.4. Blizzard must have changed something behind the scenes.
Upgraded to LibSharedMedia-3.0
Added an option for "Dynamic Bars". This is useful for people using the default settings. It will hide the XP bar on your maximum level characters, and show the XP bar on your low level characters. Enabling the Dynamic Bars disables the "Mouse Over" and "Show Reputation" options, since Dynamic Bars is handing those for you.
2.3.57293:
- Happy new year!
- Updated TOC
- Made Exalted factions stand out, used the colour from the WoW armory.
- Added an option to show Zero for various values instead of an empty string. ie. 0 or 0% rested experience will be able to be shown instead of nothing.
- When the player hits the max level for their account, automatically switch to "reputation only mode".
2.1.36596-2:
- Not a real update. I forgot to attach the file the first time around. Oops ;)
2.1.36596:
- Added two new runes to the reputation text. [needRep] and [needPC], will show you the raw reputation and percentage of reputation that you need to progress to the next rep level.
- Added LiteStep texture.
- Fixed the issue where XPBarNone sometimes wouldn't be able to find textures from other addons after loading.
- Fixed the issue (It Works For Me, YMMV, etc) where the Dewdrop menus would sometimes move when they updated. For example, after selecting a new faction to watch.
2.0.34838:
- Added a screen clamping option. Useful for rescuing XPBarNone should it manage to disappear off the screen, it will also prevent this from ever happening. Defaults to ON.
- Replaced SurfaceLib with SharedMediaLib
2.0.29451:
- Added new [needPC] XP rune, shows how many percent you need to level up.
- Added a graphical config menu using Waterfall-1.0. '/xpbn config'
- Added a new option to autowatch factions which you gain rep with.
2.0.26875:
- XP and Reputation strings are now customisable. See the README.txt in the .zip for information on the runes you can use to customise them.
- Enhanced the reputation menu (Ctrl+Right Click), titles for faction headers are now shown and can be clicked to collapse or expand a section.
- Improved the tooltip in the reputation menu. It now shows you the current/max rep levels and a percentage for the faction you're currently mousing over.
- Various cleanups in the code.
2.0.25539:
- Added Korean locale, thanks to next96.
- Enhanced the Reputation menu (Ctrl + Right-click).
-- Headers between sections of the menu are now clickable to hide/show that section, it also now shows the name of that reputation group.
2.0.21095:
- Fixed missing AceLocale-2.2 in Libs directory and TOC.
- If the edit box isn't shown when we shift-click to spam our current XP, it is now automatically shown.
- Other small changes. Check the included ChangeLog if you really need to know.
2.0.19600:
- Font is now based on GameFontNormal, meaning any changes made by ClearFont should be picked up.
- Now using Surface (library) for textures. This means that you may have a wider range of textures to choose from if any of your other addons also use Surface.
- Added localisation to the majority of the addon. Only enUS is included at the moment.
- Set more sensible stepping on a few of the options.
-
2.0.12255:
- Finally organized the options menu. Options are now sorted by three categories: General, Experience and Reputation.
- Added a "Bubble" option. Texture and basic patch thanks to Cidrei.
- Bumped version to 2.0 to be inline with my other Ace2 addons.
1.1.10059:
- Added option to show rested XP as a percentage.
- Added two new textures: Glaze (thanks haste) and BantoBar (thanks ag).
1.1.8448:
- Added a few new textures.
- Fixed the profile support.
1.0.5447:
- Initial Release of XPBarNone. See AceXPBar history to review past notes.
I'm getting this error. I tried disabling all AddOns, except XPBN. Still got the error. Deleted Interface/WTF folder, still no luck. Any update on this?
Code:
Message: Interface\AddOns\XPBarNone\Core.lua:2: Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Cannot find a library instance of "AceEvent-3.0".
Time: 11/27/10 00:49:33
Count: 1
Stack: [C]: ?
...\AddOns\XPBarNone\Libs\AceAddon-3.0\AceAddon-3.0.lua:210: in function `EmbedLibrary'
...\AddOns\XPBarNone\Libs\AceAddon-3.0\AceAddon-3.0.lua:192: in function `EmbedLibraries'
...\AddOns\XPBarNone\Libs\AceAddon-3.0\AceAddon-3.0.lua:159: in function `NewAddon'
Interface\AddOns\XPBarNone\Core.lua:2: in main chunk
Locals: (*temporary) = "Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Cannot find a library instance of "AceEvent-3.0"."
For those that need to tweak the fonts in the UI, I made a small change to the Core.lua file to set the bar font to what my UI uses. You can hardcode your font to force XPBarNone to better fit the font theme.
-- Set the font for the bar text
function XPBarNone:SetFontOptions()
local font, size, flags = GameFontNormal:GetFont()
if db.general.fontoutline then
flags = "OUTLINE"
end
--self.frame.bartext:SetFont(font, db.general.fontsize, flags)
self.frame.bartext:SetFont("Fonts\\MORPHEUS.ttf", db.general.fontsize, flags)
end
And for the really picky, I moved the text in the bar down a pixel since the font I'm using seemed a little off center in the bar.
-- Position of text along the XP Bar
function XPBarNone:SetTextPosition(percent)
local width = db.general.width
local posx = math_floor(((width / 100) * percent) - (width / 2))
self.frame.bartext:ClearAllPoints()
--self.frame.bartext:SetPoint("CENTER", self.frame, "CENTER", posx or 0, 0)
self.frame.bartext:SetPoint("CENTER", self.frame, "CENTER", posx or 0, -1)
end
Though this is a simple little addon, it is an important and much loved part of my UI which uses kgpanels to replace the Blizz UI and therefore rep/xp bars.
I installed this in the cataclysm beta and i got no errors at all. Everything appears to be working fine but the frame strata option doesnt seem to work, i set it to background and it still appears in front of everything in my UI. Also could you add an option for the bars transparency please. Thanks.
Was wondering if you could/would be willing to add keybindings/option to hide until I hold down a button say Shift or CTRL or Alt as I don't really need it up all the time, Just an idea, anyhow thanks for the great addon, my sister's been using it for a long while now and I just grabbed it for my ui and that hiding based on conditionals is the only thing missing that I feel would make this addon just Perfect! Thanks again!
__________________
-There's always something to envy. A smile, a friendship, something you don't have and want to appropriate. There will always be rich and poor. Rich in gifts, poor in gifts. Rich in love, poor in love.-
Thank you for this XP bar, I appreciate you keeping it updated, as this is the only XP Bar out there, that has the customizability that you allowed it to have and I thank you
Just curious if this addon is still being supported\updated. I love this XP bar, it's one of my favorites, and since 3.3.3 hit, I've noticed a couple little things wrong, mostly cosmetic. I was wondering if there was going to be an update. Thanks!!
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.
*Clicking the donate button above will take you to PayPal.com
*Clicking the donate button above will take you to Pledgie.com