Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(2 Kb)
Download
Updated: 06-23-15 07:42 AM
Pictures
File Info
Compatibility:
Fury of Hellfire (6.2)
Updated:06-23-15 07:42 AM
Created:05-20-14 07:31 PM
Downloads:1,760
Favorites:16
MD5:
6.2

Nameplate Percents

Version: 1.0.5
by: Gello [More]

This addon simply puts a percentage ontop of nameplates when the nameplate's owner isn't at 100% life.

While it should peacefully co-exist with other nameplate addons, it's intended for those who like the default nameplates just as they are and only want a percent added to the nameplate bars.

06/23/2015 1.0.5 toc update for 6.2
04/19/2015 1.0.4 fix for lua error when chat bubbles enabled
02/24/2015 1.0.3 toc update for 6.1
10/14/2014 1.0.2 6.0 patch
05/20/2014 1.0.1 initial release
Optional Files (0)


Archived Files (4)
File Name
Version
Size
Author
Date
1.0.4
2kB
Gello
04-19-15 07:01 PM
1.0.3
1kB
Gello
02-24-15 06:11 AM
1.0.2
1kB
Gello
10-14-14 06:26 AM
1.0.1
1kB
Gello
05-20-14 07:31 PM


Post A Reply Comment Options
Unread Today, 03:50 AM  
hcy08200
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Problem fixed.

My friend helps me to rewrite the code in Nameplate Percents.txt.

if maxValue and value<maxValue then
self:SetText(format("%d%%",100*value/maxValue))
else
self:SetText("") -- blank if no relevant values or value is maxValue (100% life)

changes to:

if maxValue then
if value==maxValue then
self:SetText("100%")
elseif value<=0 then
self:SetText("0%")
elseif value<maxValue then
self:SetText(format("%d%%",100*value/maxValue))
else
self:SetText("") -- blank if no relevant values or value is maxValue (100% life)

then the problem has fixed.
hcy08200 is offline Report comment to moderator  
Reply With Quote
Unread Today, 07:56 PM  
hcy08200
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: Re: Re: Here is what happened.

Is there any way that I can turn on the function that it will still display the health percent when health is 100%?
Last edited by hcy08200 : 08-30-15 at 07:56 PM.
hcy08200 is offline Report comment to moderator  
Reply With Quote
Unread Today, 07:54 PM  
hcy08200
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: Re: Re: Here is what happened.

It would be like this.
hcy08200 is offline Report comment to moderator  
Reply With Quote
Unread Today, 07:39 PM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 446
File comments: 403
Uploads: 106
Re: Re: Re: Here is what happened.

Originally Posted by hcy08200
OK, thanks for helping me debug this issue.
Can you turn on friendly nameplates and verify the 0% that's ordinarily on the healer target dummy is not appearing out of combat also?

This addon intentionally hides the text if it's at 100%. If the 0% is staying when you have friendly nameplates turned on, I think you're seeing this effect. The dps target dummy is healing up after you stop fighting it and returning to 100%, where the text disappears (as it should).
Gello is offline Report comment to moderator  
Reply With Quote
Unread Yesterday, 09:45 AM  
hcy08200
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: Here is what happened.

OK, thanks for helping me debug this issue.
hcy08200 is offline Report comment to moderator  
Reply With Quote
Unread Yesterday, 09:34 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 446
File comments: 403
Uploads: 106
Re: Here is what happened.

Originally Posted by hcy08200
No health percent when I'm not in combat.

Health percent shows up when I hit the enemy.

I didn't use any other nameplate UI.
Very weird. I'll look into it. Thanks for screenshots!
Gello is offline Report comment to moderator  
Reply With Quote
Unread Yesterday, 09:01 AM  
hcy08200
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Here is what happened.

No health percent when I'm not in combat.


Health percent shows up when I hit the enemy.


I didn't use any other nameplate UI.
hcy08200 is offline Report comment to moderator  
Reply With Quote
Unread Yesterday, 08:30 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 446
File comments: 403
Uploads: 106
Could you copy/paste the error that you see?

Even if it's in zhTW characters the filename and line number may be in there to help track down what caused it.
Last edited by Gello : 08-30-15 at 08:30 AM.
Gello is offline Report comment to moderator  
Reply With Quote
Unread Yesterday, 06:23 AM  
hcy08200
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Some error happen.

The health percent cannot display when we aren't in combat.
By the way, I'm in Taiwan server.
Last edited by hcy08200 : 08-30-15 at 06:24 AM.
hcy08200 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: