Download
(2Kb)
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:7,224
Favorites:12
MD5:

Nameplate Percents  Popular! (More than 5000 hits)

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)


Post A Reply Comment Options
Unread 12-18-20, 05:30 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Originally Posted by Kabuto-eu
Does this still work in 2020 or are there some big changes required? I'd assume you'd need to check if nameplates are forbidden these days?
This doesn't work in 2020, sorry. The nameplate system was overhauled and then locked down in instances in the years since it was made. It's not being updated anymore.
Report comment to moderator  
Reply With Quote
Unread 12-18-20, 02:28 AM  
Kabuto-eu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 2
Does this still work in 2020 or are there some big changes required? I'd assume you'd need to check if nameplates are forbidden these days?
Report comment to moderator  
Reply With Quote
Unread 08-31-15, 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.
Report comment to moderator  
Reply With Quote
Unread 08-30-15, 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.
Report comment to moderator  
Reply With Quote
Unread 08-30-15, 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.
Report comment to moderator  
Reply With Quote
Unread 08-30-15, 07:39 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
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).
Report comment to moderator  
Reply With Quote
Unread 08-30-15, 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.
Report comment to moderator  
Reply With Quote
Unread 08-30-15, 09:34 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
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!
Report comment to moderator  
Reply With Quote
Unread 08-30-15, 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.
Report comment to moderator  
Reply With Quote
Unread 08-30-15, 08:30 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
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.
Report comment to moderator  
Reply With Quote
Unread 08-30-15, 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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: