Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(12 Kb)
Download
Updated: 07-26-07 05:01 PM
Pictures
File Info
Updated:07-26-07 05:01 PM
Created:unknown
Downloads:10,297
Favorites:35
MD5:

Healing Range Alpha  Popular! (More than 5000 hits)

Version: 4.10
by: Crepusculu [More]

HealingRangeAlpha v4.10
Written by Crepusculu of Stormrage

This addon changes friendly unit frame's alpha based on distance

- Support for any unit frame using secure button templates
- Alpha values adjustable per range
- Available ranges depend on what spells you can cast


Operations:

/hra -- access the option menu

Enabled HRA -- Turns on and off HRA updates
(ms) interval updates -- Adjust the frequency of updates. Setting to zero will update whenever possible. Increase this delay to improve performance
colorize depth level -- Adjust the structural depth of textures in the unit frame that get colored. Currently disabled
slider bars -- Alpha value for specified range
color boxes -- Color value to blend with button textures for specified range. Currently disabled



Known Issues:

Coloring is disabled due to change in design (frames can be detected before they have textures).
Possible error with secure templates (index is pointing to a nil value). I'm unsure of the source of this error.





Version History
4.10 -
Removed the CreateFrame hook. The hook was causing the frames to become tainted. Will instead scan all frames periodically after new frames are created.
I haven't been successful in finding an event for unit attribute change, all methods appear to be blocked.


Got a question, suggestion, or a bug? Feel free to comment! A more in depth discussion of this mod has been posted in
This Thread

Optional Files (0)


Post A Reply Comment Options
Unread 07-26-07, 05:12 PM  
Crepusculu
A Deviate Faerie Dragon
 
Crepusculu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 23
Uploads: 7
Hooking CreateFrame was tainting my action buttons for some reason, and I could not use a macro with /castsequence. I have since then switched my frame detection to pick up frames 5 seconds AFTER the last frame was created and ONLY frames that have assigned units.

Pitbull has a very funny thing going on with its focus frame where the alpha value gets reset to 1 periodically. This is defeated by increasing the frequency of updates, however I have been unable to find the event/function or the general reason of how or why this is happening. I have gone through extensive hooking on all events and scripts, secure and insecure hooks, but have unsuccessful in all attempts.


WTB a working <frame>:HookScript("OnAttributeChange",function() return arg1=="unit" end)

if I could get such a function to work, I could remove the periodical setalphas and have an event driven update.
Crepusculu is offline Report comment to moderator  
Reply With Quote
Unread 07-14-07, 11:25 AM  
Jumpee
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 55
Uploads: 6
I wrote my own version that only works with the Blizzard UI once I figured your mod wouldn't. It is pretty basic and you can take a peek at it on another web site, mod is named RaidRangeAid.
Last edited by Jumpee : 07-19-07 at 12:54 PM.
Jumpee is offline Report comment to moderator  
Reply With Quote
Unread 07-13-07, 03:55 PM  
Crepusculu
A Deviate Faerie Dragon
 
Crepusculu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 23
Uploads: 7
Thanks for bringing that up Jumpee. Blizzard has changed their raid frames since the last time I've worked on them. I run exclusively off 3rd addons for raiding purposes, so I didn't catch this.

In theory, my addon should be picking up the default raid ui, since unit frames MUST be protected and they MUST hold their associated unit value. I've tested and it appears that either the Blizzard is intentionally blocking me from manipulating their UI or that the secure frame and the related visual frames are separate entities. Those are just guesses, I'll have to spend some more time figuring out how their frames are constructed.


The latest version should work correctly with the "dynamic" raiding mods, specifically Pitbull, since I removed the slap-on variables. Pitbull was moving the frames around and particular when someone joined or left the raid, you would have these old references to obsolete frames.
Crepusculu is offline Report comment to moderator  
Reply With Quote
Unread 06-25-07, 03:24 PM  
Jumpee
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 55
Uploads: 6
I just tried it and it doesn't work with the default Blizz raid frames. Too bad.
Jumpee is offline Report comment to moderator  
Reply With Quote
Unread 06-25-07, 01:11 AM  
Jumpee
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 55
Uploads: 6
Does this add-on work with the default Blizzard raid pullout frames?
Jumpee is offline Report comment to moderator  
Reply With Quote
Unread 05-23-07, 09:35 PM  
Crepusculu
A Deviate Faerie Dragon
 
Crepusculu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 23
Uploads: 7
@Lavis

The slider bars represent the alpha value (transparency) of the the unit frame when the unit falls within that particular distance. 0% will make it clear, 100% will make it opaque.
Crepusculu is offline Report comment to moderator  
Reply With Quote
Unread 05-21-07, 06:16 AM  
Lavis
A Kobold Labourer

Forum posts: 1
File comments: 1
Uploads: 0
I was wondering what the sliding bars represented? Like for example what does it mean to say 40% within 40 yards? Isn't the target within 40 yards or not within 40 yards?
Lavis is offline Report comment to moderator  
Reply With Quote
Unread 02-28-07, 07:01 AM  
Ente
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Thanks for the update. Previously I couldn't get 4.7b HRA to load with TBC...no specific error, it would just not be accessible in the game (maybe it was a simple TOC version issue which could have been fixed and I just didn't know how).

4.8 loads and works in TBC, though it does show as "outdated" in Blizzard's add-on list and I needed to activate the "Load outdated add-ons" checkbox.
Last edited by Ente : 02-28-07 at 07:05 AM.
Ente is offline Report comment to moderator  
Reply With Quote
Unread 02-16-07, 11:47 AM  
Crepusculu
A Deviate Faerie Dragon
 
Crepusculu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 23
Uploads: 7
Hihi. Long time no update

HRA has been working fine for me up to this point (in addition to school and wow grinding), so I have been neglecting updates. If its not working, tell me what specify the error.
Crepusculu is offline Report comment to moderator  
Reply With Quote
Unread 01-19-07, 05:27 AM  
Ente
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
TBC update?

Unfortunately HRA 4.7b doesn't seem to work with Burning Crusade. Any plans to update the mod? That would be fabulous.
Last edited by Ente : 01-19-07 at 05:27 AM.
Ente is offline Report comment to moderator  
Reply With Quote
Unread 01-05-07, 09:03 AM  
Ente
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Suppress status print outs please

All in all, this is an excellent mod.

I'm using Sraid and haven't experienced the flashing effect since the 4.7b update (before I had observed it with various frames incl. ctra and ag_uf).

Now for the frequent status messages printed into the chatbox I'll throw my lot in with Sirasgeirr. If there was a way to supress those printouts it would be appreciated. Me not knowing one end of code from the other, I would otherwise start commenting out any lines in the .lua related to print out functionality, but a proper feature or at least guidance by the author would be preferrable. Cheers.
Last edited by Ente : 01-05-07 at 09:19 AM.
Ente is offline Report comment to moderator  
Reply With Quote
Unread 12-21-06, 12:58 PM  
Bastille
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Flashing

I get the "flashing" problem as well. Its like the alpha for all frames jumps to 100 and then back to the hra setting. It does this maybe every 5 minutes (? a guess). I used ag_UnitFrames. It is a little annoying, but I consider it minor considering that without the mod, they would look like that all the time!
Bastille is offline Report comment to moderator  
Reply With Quote
Unread 12-21-06, 02:20 AM  
Caretaker
A Kobold Labourer
 
Caretaker's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Thanks you very much for your reply.

1) sRaidFrames has a refresh but I disabled it (yours is better ). It was previously set to 200ms so the flash every second or so is likely not from that mod but who knows?

2) I figured out the focus issue. Thanks!

3) That's fine. PvP needs line of sight more than raids anyway.

4) You could even have multiple factory presets. I spent a TON of time and I think mine is pretty good too. :P

I'll check this site for any updates. BTW, I got complemented in AB for my "freakin-mad" heals. Never had that happen before. THANKS!
Caretaker is offline Report comment to moderator  
Reply With Quote
Unread 12-21-06, 12:53 AM  
Crepusculu
A Deviate Faerie Dragon
 
Crepusculu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 23
Uploads: 7
1) The flashing is likely from the original raid frame mod. I'll view the code to ensure its not my own reset function. If that's the case, I can fix it.
2) To change the text, mouse over the edit box. That will give it focus. Moving your mouse out of the edit box loses the focus. I did this because I hate it when mods steal keyboard focus away from the chatbox.
3) I would really love to add a line of sight feature, but I don't believe the current API supports it. At best, I could run a blacklist style LOS by picking up failed casts and hold it for like 5 seconds.
4) good idea


Haven't tried posting any mods to curse gaming, mainly because I find it a hassle to even crank out updates on one site enough! But I'll check
Crepusculu is offline Report comment to moderator  
Reply With Quote
Unread 12-20-06, 12:42 PM  
Caretaker
A Kobold Labourer
 
Caretaker's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
I just installed HRA and I love it. It works well with sRaidFrames and it is simple to customize to my preferences. I have three slight issues with it though. They are:

1) Every couple of seconds all the frames with alpha < 100% flash to 100% and then back to the HRA value depending on range. The color might change as well but I am using only white -> grey anyway...
2) I cannot seem to change the refresh time in the provided text window.
3) I would like a "line-of-site" value as well because I can't heal somebody 5 yards away if they are around the corner.
4) I would like a factory setting reset button.

Thanks!

P.S. Also, can you get your mod listed on the curse gaming website?
Last edited by Caretaker : 12-20-06 at 12:45 PM.
Caretaker is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: