Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(164 Kb)
Download
Updated: 05-22-13 06:50 PM
Pictures
File Info
Compatibility:
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Updated:05-22-13 06:50 PM
Created:unknown
Downloads:21,965
Favorites:137
MD5:
OnScreenHealth  Popular! (More than 5000 hits)
Version: 5.3.0.1
by: Dridzt, Phanx
OnScreenHealth

OnScreenHealth provides simple text displays of health and power for you, your vehicle, your pet, and your target.

It additionally shows your combat state, combo points on your target, your target’s target’s name, and your class’s secondary resource (such as Holy Power).

Type “/osh” to open the options panel, or browse to it in the standard Interface Options window.

Not completed
  • Localization (you can help by visiting the link and submitting translations for your language)
Changes
  • WoW API updates for MoP (GetSpecialization etc)
  • Support for all secondary resources.
    combo points, runes, chi, eclipse, holy power, shadow orbs, soul shards|burning embers|demonic fury
  • Support for ClassColors.
  • Switch from event based processing to update based processing, with adjustable throttle.
    Some optimization pending but (a) with Blizzard's move to predictive hp / power updates,
    events don't fire half as often as needed for smooth updates (b) some resources don't fire UNIT_POWER
    or other power related events at all (eclipse, soul shards|embers|fury, shadow orbs etc)
Bug Reports

If you encounter a problem with OnScreenHealth (MoP beta), please post a ticket here with the following information:
  • Addon version (ex: 5.0.3.2)
  • WoW client build and locale as seen on the login screen (ex: 15882 enUS)
  • Description of the problem
  • Steps to reproduce the problem
  • Whether the problem occurs when all other addons are disabled
  • Exact text of any related error messages (WITHOUT lists of local variables or installed addons, please!)
Version 5.3.0.1
  • .toc update, compatible with WoW 5.3 "Escalation"
Version 5.2.0.2
  • Framestrata option added courtesy of Phanx (under Position section)
Version 5.2.0.1
  • Libraries update
  • .toc update, compatible with WoW 5.2.
Version 5.1.0.1
  • Fix for changes to Monk chi
  • .toc update, compatible with WoW 5.1 "Landfall"
Version 5.0.5.1
  • Fix error when selecting 'Player Class' as Health Text color mode.
  • Adjust the maximum font size to 29 (larger sizes are silently ignored in WoW 5.x)
  • Pull in and enable updated koKR localization (sayclub)
  • Update included libraries.
Version 5.0.4.7
  • DK: Fix flickering rune text.
Version 5.0.4.6
  • Full exit of the game is required before upgrade if playing on a non-US client (new files have been added)
  • Fix a sneaky upgrade bug for users with 4.x saved variables.
  • Add esES, esMX, ptBR localizations by Phanx and localization stubs for other files so users don't have to do a full exit for subsequent updates
  • Removed some WoW 4.x compatibility code remnants.
Version 5.0.4.5
  • Fixed player health *stalling* when targeting a corpse
  • Minor performance optimizations
  • WoW 5.0.4+ compatible only!
Version 4.0.3.65
  • Fixed the error when toggling the “Show Power Text” option
  • Updated Korean localization from sayclub

Version 4.0.3.60
  • Fixed localization loading
  • Fixed a couple other minor errors

Version 4.0.3.58
  • Fixed combo points toggle
  • Added a workaround for a Blizzard bug that causes the game client to tell addons that everyone has holy power after being resurrected

Version 4.0.1.56
  • Updated for WoW 4.0
  • Added support for secondary resources (holy power, soul shards, etc.)
  • Added support for vehicles (finally)
  • Added deDE localization from Humfras on Curse.com

Version 3.3.3.51-beta
  • Fixed a bug that prevented texts with percents from updating correctly
  • Replaced AceAddon-3.0 and AceEvent-3.0 libraries with standard event handlers

Version 3.3.3.48-beta
  • Fixed error when toggling combo point display
  • Update all displays when changing profiles

Version 3.3.3.47-beta
  • Converted from obsolete Ace2 to current Ace3
  • Options not extensively tested. Please report any errors, broken options, or strange behaviors.
Archived Files (8)
File Name
Version
Size
Author
Date
5.2.0.2
166kB
Dridzt
04-04-13 04:12 AM
5.2.0.1
165kB
Dridzt
03-06-13 08:17 AM
5.1.0.1
164kB
Dridzt
11-28-12 07:49 AM
5.0.5.1
164kB
Dridzt
09-16-12 05:41 PM
5.0.4.7
165kB
Dridzt
09-11-12 05:17 AM
5.0.4.6
165kB
Phanx
08-31-12 07:04 AM
5.0.4.5
153kB
Phanx
08-27-12 11:44 PM
4.0.3.65
148kB
Phanx
12-23-10 06:00 AM


Post A Reply Comment Options
Unread 04-01-13, 08:40 AM  
Rippy
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Manually change frame strata

Still no in-game option to change the strata but as a workaround you can go into the lua file and do a ctrl+f for "SetFrameStrata" and change it from ("BACKGROUND") to ("HIGH"). There are 3 or 4 of them. Save the file and reload. That is how I got the health text to sit over top of the oUF_Phanx frames.
Last edited by Rippy : 04-01-13 at 08:40 AM.
Rippy is offline Report comment to moderator  
Reply With Quote
Unread 02-07-13, 03:40 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4400
File comments: 2036
Uploads: 40
OSH only supports the player, pet/vehicle, and target units, as is written in the addon description. It does not support any other units like mouseover, focus, or boss units.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 02-07-13 at 03:40 AM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 02-06-13, 04:22 AM  
Theadan
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
hi all and great work
I'm came from Italy and sorry for my terrible English

I have instal the OSH addon yesterday, can someone explain me how i can display % for boss HP
My standard UI display % but i need to mouseover to see it on standar healthbar.
It is not confortable in fight to monitor the health of boss.
My setup of the addon is $c , what i have to put for display % and healt of boss tooghether?

Thanks for any reply
^^
Theadan
Theadan is offline Report comment to moderator  
Reply With Quote
Unread 10-08-12, 09:31 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1191
File comments: 780
Uploads: 82
My reluctance to add this, is I can only see "some" usefulness in a pvp setting.

I'd rather OSH remains generic and not suffer feature creep from trying to branch out to too many specific use cases.

That said if someone makes a good case as to how this could be useful in a general setting I could reconsider.

On a more general note, as it stands the only items on my todo list at the moment are:
- the strata configuration option.
- ability to position the different texts more freely and not only relative to screen center
(I can see the HUD-like concept but it bothers me that I can't place fx the target text anywhere I want relative to player text)
- check on VyneBono's issue with the slider editboxes not accepting precise increments (since I'm going to be messing with positioning anyway)

Despite I don't expect any of that to be too time consuming or difficult to implement, they're at a low priority atm while I work on other addons (and my leveling ), since OSH has no outstanding issues.
Last edited by Dridzt : 10-08-12 at 09:50 PM.
Dridzt is online now Report comment to moderator  
Reply With Quote
Unread 10-08-12, 07:14 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4400
File comments: 2036
Uploads: 40
Originally Posted by Zathan666
... add as an option the current "Target Name" with class coloring.
This is something I (the original author) always declined to add, as I felt it was outside the scope of what this addon is meant to do. OnScreenHealth was never intended to replace your unit frames. It was suposed to -- as the name might imply -- provide an accessible but non-intrusive display of your and your target's health. You should always know what you are targeting, without needing the name in giant text across the middle of your screen. If you are randomly targeting things without looking at your unit frames, you should probably consider changing your playstyle.

Of course, Dridzt (the current author) may feel differently about what the addon is supposed to do, but don't get your hopes up.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 10-08-12 at 07:14 PM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 10-08-12, 01:27 PM  
Zathan666
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 58
Uploads: 2
Very good addon, I love it!


Would it be possible please to add as an option the current "Target Name" with class coloring.

Thank you
Zathan666 is offline Report comment to moderator  
Reply With Quote
Unread 10-01-12, 08:16 AM  
VyneDono
A Defias Bandit

Forum posts: 3
File comments: 4
Uploads: 0
Originally Posted by Dridzt
Originally Posted by VyneDono
Originally Posted by Dridzt
Originally Posted by VyneDono
Hi, just downloaded this.. is there a way to change what layer/strata thing that the health numbers appear on? It keeps going under some of my other UI elements.

Thanks!

EDIT: Just found out how. Is there a way so that I can position x and y exactly and not in the increments it currently has, though?
You should be able to type in the editbox that's part of the slider control directly instead of using the mouse to drag the slider itself.
Slider has a specific step (don't remember exact number atm) but editbox will accept precise numbers.
Mine automatically sets it back to a different increment instead of allowing specified numbers. It rounds up to the nearest 25 or so.

Also, my fix for the strata issue was only a temporary one. It keeps sliding back beneath the other UI things and I have to redo it every time. Is there a different fix aside from manually changing the strata by using this code?

/run OnScreenHealthPlayerFrame:SetFrameStrata("MEDIUM")
I'll try to put an option in for the strata for next release.

About your other issue, are you sure you're pressing <Enter> after typing into the editbox?
Yeah. The instant I hit enter it rounds my number to it's nearest setting instead.
VyneDono is offline Report comment to moderator  
Reply With Quote
Unread 09-29-12, 10:31 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1191
File comments: 780
Uploads: 82
Originally Posted by VyneDono
Originally Posted by Dridzt
Originally Posted by VyneDono
Hi, just downloaded this.. is there a way to change what layer/strata thing that the health numbers appear on? It keeps going under some of my other UI elements.

Thanks!

EDIT: Just found out how. Is there a way so that I can position x and y exactly and not in the increments it currently has, though?
You should be able to type in the editbox that's part of the slider control directly instead of using the mouse to drag the slider itself.
Slider has a specific step (don't remember exact number atm) but editbox will accept precise numbers.
Mine automatically sets it back to a different increment instead of allowing specified numbers. It rounds up to the nearest 25 or so.

Also, my fix for the strata issue was only a temporary one. It keeps sliding back beneath the other UI things and I have to redo it every time. Is there a different fix aside from manually changing the strata by using this code?

/run OnScreenHealthPlayerFrame:SetFrameStrata("MEDIUM")
I'll try to put an option in for the strata for next release.

About your other issue, are you sure you're pressing <Enter> after typing into the editbox?
Dridzt is online now Report comment to moderator  
Reply With Quote
Unread 09-29-12, 12:48 AM  
VyneDono
A Defias Bandit

Forum posts: 3
File comments: 4
Uploads: 0
Originally Posted by Dridzt
Originally Posted by VyneDono
Hi, just downloaded this.. is there a way to change what layer/strata thing that the health numbers appear on? It keeps going under some of my other UI elements.

Thanks!

EDIT: Just found out how. Is there a way so that I can position x and y exactly and not in the increments it currently has, though?
You should be able to type in the editbox that's part of the slider control directly instead of using the mouse to drag the slider itself.
Slider has a specific step (don't remember exact number atm) but editbox will accept precise numbers.
Mine automatically sets it back to a different increment instead of allowing specified numbers. It rounds up to the nearest 25 or so.

Also, my fix for the strata issue was only a temporary one. It keeps sliding back beneath the other UI things and I have to redo it every time. Is there a different fix aside from manually changing the strata by using this code?

/run OnScreenHealthPlayerFrame:SetFrameStrata("MEDIUM")
VyneDono is offline Report comment to moderator  
Reply With Quote
Unread 09-28-12, 07:26 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1191
File comments: 780
Uploads: 82
Originally Posted by VyneDono
Hi, just downloaded this.. is there a way to change what layer/strata thing that the health numbers appear on? It keeps going under some of my other UI elements.

Thanks!

EDIT: Just found out how. Is there a way so that I can position x and y exactly and not in the increments it currently has, though?
You should be able to type in the editbox that's part of the slider control directly instead of using the mouse to drag the slider itself.
Slider has a specific step (don't remember exact number atm) but editbox will accept precise numbers.
Dridzt is online now Report comment to moderator  
Reply With Quote
Unread 09-28-12, 04:47 PM  
VyneDono
A Defias Bandit

Forum posts: 3
File comments: 4
Uploads: 0
Hi, just downloaded this.. is there a way to change what layer/strata thing that the health numbers appear on? It keeps going under some of my other UI elements.

Thanks!

EDIT: Just found out how. Is there a way so that I can position x and y exactly and not in the increments it currently has, though?
Last edited by VyneDono : 09-28-12 at 04:58 PM.
VyneDono is offline Report comment to moderator  
Reply With Quote
Unread 09-11-12, 10:25 AM  
And
A Kobold Labourer

Forum posts: 0
File comments: 52
Uploads: 0
Thanks alot for your quick fix!
And is offline Report comment to moderator  
Reply With Quote
Unread 09-11-12, 04:00 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1191
File comments: 780
Uploads: 82
Originally Posted by And
Using latest 5.0.4.6 version I experience an annoying bug. Whenever a rune is activated or deplete 4 numbers showing the number of avalaible runes appears on my screen.
I have a screenshot if needed and no error is registered.
Would you like to help, please?
Hmm, ok the blinking is new, it was not doing that a few builds ago when I tested it.

For now uncheck "Show Resource" from "Appearance" Tab and I'll check it.
Last edited by Dridzt : 09-11-12 at 04:13 AM.
Dridzt is online now Report comment to moderator  
Reply With Quote
Unread 09-11-12, 03:46 AM  
And
A Kobold Labourer

Forum posts: 0
File comments: 52
Uploads: 0
Using latest 5.0.4.6 version I experience an annoying bug. Whenever a rune is activated or deplete 4 numbers showing the number of avalaible runes appears on my screen.
I have a screenshot if needed and no error is registered.
Would you like to help, please?
And is offline Report comment to moderator  
Reply With Quote
Unread 12-23-10, 06:03 AM  
Akkorian
A Flamescale Wyrmkin
 
Akkorian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 107
File comments: 122
Uploads: 2
Here are a few fixes/additions Phanx had made but not released yet. Everything seems to work while idling in town, but I don’t use this addon myself, so please let me know if anything goes wrong.

Also, if you have experience writing WoW addons and would be interested in taking over OnScreenHealth, send a PM to me or Phanx.

Version 4.0.3.65
  • Fixed the error when toggling the “Show Power Text” option
  • Updated Korean localization from sayclub
__________________
“Be humble, for you are made of earth. Be noble, for you are made of stars.” — Serbian proverb
Akkorian is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: