Download
(871 Kb)
Download
Updated: 02-20-13 09:25 PM
Pictures
File Info
Updated:02-20-13 09:25 PM
Created:01-15-13 09:59 AM
Downloads:2,136
Favorites:3
MD5:
Montage's Prestige Bar
Version: 1.5c
by: Montage [More]
A Prestige bar that displays both Prestige and Rank

The bar can be moved by left clicking and dragging on the bar.
Now you can enable a rank up notification
Added a favor bar that turns red when you are 80% to favor cap!

Slash Commands
/mpb orb Toggles the orb
/mpb default Resets everything back to the default settings
/mpb fillbar r g b Sets the color of the fill bar (values are 0-1)
/mpb font r g b Sets the color of the font (values are 0-1)
/mpb baralpha a Sets the alpha of the fill bar (value is 0-1)
/mpb move noti Brings up a moveable frame to place the Rank Up text. Right click to lock position
/mpb notifont <font> Sets the font for the Rank Up text
/mpb noticolor r g b Sets the color of the Rank Up text (values are 0-1)
/mpb notialpha a Sets the alpha of the Rank Up text (value is 0-1)
/mpb notisize s Sets the size of the Rank Up text (default is 60)
/mpb rankup Enables or disables the Rank Up notification (default is off)
/mpb favor Enables or disables a favor bar at the bottom of the prestige bar
/mpb scale # Scales the bar from 0.5 to 1. 0.5 halves the size.
1.0
Initial release

1.1
Fixed issue with percentage being off
Fixed issue with bar not properly resetting on a rank up

1.2
Changed font
Added slash command to hide the orb

1.3
Added the ability to change font and fill bar color and bar alpha
Changed how the fill bar works (a frame instead of a texture)

1.4
Fixed errors for low level characters
Added a favor tracking bar
Added a rank up indicator

1.4b
Fixed error on rank up
Fixed error on the favor bar not changing back to orange when below 80% of cap

1.5
Added catches for typing in incorrect values for slash commands
Added scaling
Changed how the rank text centers on the orb, it should be more center now

1.5b
Fixed bug with the fill bar filling to the maximum size

1.5c
Fixed error caused by the scale variable not being included in /mpb default
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
1.5b
871kB
Montage
02-10-13 12:07 AM
1.5
871kB
Montage
02-02-13 03:59 PM
1.4b
871kB
Montage
01-27-13 05:21 PM
1.4
871kB
Montage
01-26-13 08:45 PM
1.3
107kB
Montage
01-24-13 10:04 PM
1.2
107kB
Montage
01-16-13 09:56 PM
1.1
48kB
Montage
01-15-13 08:48 PM
1.0
48kB
Montage
01-15-13 09:59 AM


Post A Reply Comment Options
Unread 01-15-13, 11:23 AM  
Montage
Zombie
 
Montage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 65
Uploads: 7
I realized on the drive to work that the bar is off by 10% and that the bar will not properly reset on a rank up. I'll fix those this evening!
Montage is offline Report comment to moderator  
Reply With Quote
Unread 01-25-13, 01:45 PM  
Montage
Zombie
 
Montage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 65
Uploads: 7
I need to implement a catch for level players that don't have any prestige. I apologize for the errors it has thrown because of this.
Montage is offline Report comment to moderator  
Reply With Quote
Unread 02-20-13, 12:17 PM  
bctrainers

Forum posts: 0
File comments: 7
Uploads: 0
Code:
Error: MontsPrestigeBar/Montage's Prestige Bar.lua:120: attempt to perform arithmetic on field 'scale' (a nil value)
    In MontsPrestigeBar / Slash Commands, event Slash.mpb
stack traceback:
	MontsPrestigeBar/Montage's Prestige Bar.lua:120: in function 'Build'
	MontsPrestigeBar/Montage's Prestige Bar.lua:323: in function <MontsPrestigeBar/Montage's Prestige Bar.lua:281>
Is the error that I am getting from the latest zip file, 1.5b. Happens whenever I perform any slash command.
Last edited by bctrainers : 02-20-13 at 12:18 PM.
bctrainers is offline Report comment to moderator  
Reply With Quote
Unread 02-20-13, 07:56 PM  
Montage
Zombie
 
Montage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 65
Uploads: 7
Quote:
Originally Posted by bctrainers
Code:
Error: MontsPrestigeBar/Montage's Prestige Bar.lua:120: attempt to perform arithmetic on field 'scale' (a nil value)
    In MontsPrestigeBar / Slash Commands, event Slash.mpb
stack traceback:
	MontsPrestigeBar/Montage's Prestige Bar.lua:120: in function 'Build'
	MontsPrestigeBar/Montage's Prestige Bar.lua:323: in function <MontsPrestigeBar/Montage's Prestige Bar.lua:281>
Is the error that I am getting from the latest zip file, 1.5b. Happens whenever I perform any slash command.
Crazy, I have a catch in the main function specifically to prevent scale from being nil.

I may have found it though, I did not remember to include scale in the /mpb default slash command. If you did that than it most likely would be a nil value and cause issues. I should have a fix out shortly, my apologies!
Montage is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: