Download
(41Kb)
Download
Updated: 07-20-10 12:23 AM
Addon for:
oUF.
Pictures
File Info
Updated:07-20-10 12:23 AM
Created:unknown
Downloads:12,094
Favorites:74
MD5:

oUF HealComm  Popular! (More than 5000 hits)

Version: 1.2.1
by: krage [More]

This addon is now ready for 3.3 with the updated LibHealComm-4.0 library embedded. Please note as I am currently rebuilding my UI and still use oUF 1.3.28 due to that being the version my personal layout was built in, this addon has not been tested with newer versions of oUF. I'll likely be updating this in the near future.

Simple module for oUF that adds a visual representation of incoming direct heals to your oUF healthbars. A semi-transparent green bar will be added to the end of healthbars showing how total value of direct heals (including your own) currently being cast on the target. If the incoming heals would overheal, this bar will extend beyond the end of the regular healthbar.

By default a healing estimate bar is added to all your oUF unit frames. In your oUF layout you can set self.ignoreHealComm to non-nil for any frames you want to have excluded. Colour and alpha for the healing bar can be adjusted near the top of oUF_HealComm.lua.

The LibHealComm-4.0 library is used for healing data communication. It is embedded within this addon as well as various popular unit frame mods (grid, pitbull, xperl, etc) so chances are good most of your raiders have it already and information about their heals will be available to be displayed. You can encourage any healers in your raid who aren't already using any such mods already to at least install the standalone library so their heals can still be displayed.

1.2.1 - Removed leftover debug messages, oops!

1.2 - Embedded LibHealComm-4.0 and updated for WoW 3.3

1.1 - Embedded LibHealComm 3.0 r16; now compatible with WoW 3.0
Post A Reply Comment Options
Unread 07-28-08, 12:37 PM  
Pseudopod
A Deviate Faerie Dragon

Forum posts: 16
File comments: 104
Uploads: 0
Thank you, this is something I've missed while playing my lock (life tap timing ftw!). However, what should I do to only make the healing bar show on player frame and target frame?

Edit. I assume I need to name my player & target frames in my layout.lua (how?) and change that following bit into something that only includes those 2 frames (how do I hook stuff?)
Code:
--hook into all existing frames
for frame in pairs(oUF.objects) do hook(frame) end
Last edited by Pseudopod : 07-28-08 at 12:42 PM.
Report comment to moderator  
Reply With Quote
Unread 07-29-08, 09:20 AM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 236
Uploads: 10
Originally posted by Pseudopod
Thank you, this is something I've missed while playing my lock (life tap timing ftw!). However, what should I do to only make the healing bar show on player frame and target frame?

Edit. I assume I need to name my player & target frames in my layout.lua (how?) and change that following bit into something that only includes those 2 frames (how do I hook stuff?)
Code:
--hook into all existing frames
for frame in pairs(oUF.objects) do hook(frame) end
"can define frame.ignoreHealComm in layout to not have the bars appear on that frame" put it into all frames but player and target..

Love you Krage!
Report comment to moderator  
Reply With Quote
Unread 07-29-08, 02:05 PM  
Pseudopod
A Deviate Faerie Dragon

Forum posts: 16
File comments: 104
Uploads: 0
Omg I usually read stuff like that but that just slipped pass by. Sorry. Maybe I'll be able to figure it out without further help (yesh, i'm a total retard when I try to adjust lua for my ouf) :P
Report comment to moderator  
Reply With Quote
Unread 08-01-08, 05:19 AM  
krage
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 9
Uploads: 1
Originally posted by Pseudopod
However, what should I do to only make the healing bar show on player frame and target frame?
hipjipp quoted the important bit there, but since I didn't throw a detailed description in I'll leave the code snippet here too. You just need to define frame.ignoreHealComm to true anywhere you don't want to see the bars, so for you in your layout you'd need to set ignoreHealComm for all frames that aren't player or target (I made it an opt-out rather than opt-in essentially):

Code:
if unit ~= "player" and unit ~= "target" then
    self.ignoreHealComm = true
end
And as an aside, I use the incoming heals on my player frame for similar reasons as you... it's reassuring to see the next heal coming in, or to see that nobody can heal right now and it's time to pop a cooldown or healthstone!
Report comment to moderator  
Reply With Quote
Unread 08-03-08, 06:29 PM  
coree
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 78
Uploads: 1
got this error
Message: ..\AddOns\oUF_HealComm\oUF_HealComm.lua line 82:
attempt to index local 'frame' (a number value)
Report comment to moderator  
Reply With Quote
Unread 08-04-08, 06:35 PM  
Flarin
A Frostmaul Preserver
 
Flarin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 290
File comments: 212
Uploads: 1
Originally posted by coree
got this error
Message: ..\AddOns\oUF_HealComm\oUF_HealComm.lua line 82:
attempt to index local 'frame' (a number value)
I am getting the same error trying to use these with my layout as well.

EDIT: Sigh - this app works with oUF_Lily, but not my layout. Looks like I need to understand the differences between my layout and Haste's. /cry

EDIT: Still can't figure this one out - but oUF_IncomingHeals works with my layout. leaving this one out for the time being.
__________________

"I will crush and destroy and...ooo...shiny..."

[SIGPIC][/SIGPIC]
Last edited by Flarin : 08-04-08 at 09:20 PM.
Report comment to moderator  
Reply With Quote
Unread 08-05-08, 02:48 PM  
Flarin
A Frostmaul Preserver
 
Flarin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 290
File comments: 212
Uploads: 1
Ok- I have FINALLY tracked down the bug! Sorta. It has to do with the order the mod is loaded. If your oUF_<name> comes AFTER oUF_HealCom then the mod works. If it comes BEFORE - fail with the error below. Example:

oUF_Flarin --> Fail
oUF_corree --> Fail
oUF_Phanx --> SUCCESS
oUF_xFlarin --> SUCCESS

oUF_IncomingHeals uses a different method to find the frames and works regardless of the load order so I reccomend that mod at least until this one gets fixed - although I admit the functionality looks identical to me.

EDIT: Fixed - thanks! oUF_Healcom works fine!
__________________

"I will crush and destroy and...ooo...shiny..."

[SIGPIC][/SIGPIC]
Last edited by Flarin : 08-06-08 at 02:16 PM.
Report comment to moderator  
Reply With Quote
Unread 08-06-08, 03:00 AM  
krage
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 9
Uploads: 1
Hey Flarin and coree,

I've just uploaded an update which I think should fix that problem. Please give it a try and let me know if the error persists.
Report comment to moderator  
Reply With Quote
Unread 08-06-08, 05:09 AM  
coree
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 78
Uploads: 1
now it works without any errors. thanks
Report comment to moderator  
Reply With Quote
Unread 08-11-08, 12:47 AM  
Frostweave
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Haven't had a chance to try this out myself as i just came across this at work; but does this read incoming heals while in raid if I use oUF for Raid Frames as well?
Report comment to moderator  
Reply With Quote
Unread 08-20-08, 05:53 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
flarin & coree, you should remember to put any plugin for your layout as OptionalDeps in the toc file
Report comment to moderator  
Reply With Quote
Unread 08-27-08, 06:47 AM  
krage
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 9
Uploads: 1
Originally posted by Frostweave
Haven't had a chance to try this out myself as i just came across this at work; but does this read incoming heals while in raid if I use oUF for Raid Frames as well?
This module works on any and all of your oUF frames (that are friendly targets). It uses LibHealComm-3.0 to both share and receive data about healing being done so in a raid setting you'll see heal estimates for anyone else in the raid with this library included in one of their mods. This includes a lot of major unit frame addons (pitbull, grid, etc).
Report comment to moderator  
Reply With Quote
Unread 09-04-08, 05:00 AM  
nodq
A Kobold Labourer
 
nodq's Avatar

Forum posts: 0
File comments: 105
Uploads: 0
Code:
Interface\AddOns\oUF_HealComm\oUF_HealComm.lua:88: attempt to index a nil value
Count: 1

Call Stack:
[C]: ?
Interface\AddOns\oUF_HealComm\oUF_HealComm.lua:88: in function `hook'
Interface\AddOns\oUF_HealComm\oUF_HealComm.lua:106: in main chunk

getting this Error when using oUF_Grid
Report comment to moderator  
Reply With Quote
Unread 10-08-08, 02:12 AM  
Oakayam
Premium Member
 
Oakayam's Avatar

Forum posts: 40
File comments: 136
Uploads: 0
on PTR 3.0.2 I get massive errors with this
__________________
Report comment to moderator  
Reply With Quote
Unread 10-25-08, 08:30 AM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view AddOns

Forum posts: 79
File comments: 236
Uploads: 10
any chance of updating this for 3.0.2? would help alot. =)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: