Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(11 Kb)
Download
Updated: 10-17-10 07:32 PM
Pictures
File Info
Updated:10-17-10 07:32 PM
Created:02-26-10 11:10 AM
Downloads:2,924
Favorites:12
MD5:

oUF ResComm

Version: 1.6a
by: Guardix [More]

Description
oUF ResComm is an element plug-in for oUF to coordinate resurrection in groups and raids.
It works either as a texture indicator or as a statusbar. The statusbar shows the progress of the resurrection cast on the specified unit.
The plug-in uses LibResComm-1.0 to communicate with oRA2/3, SmartRes1/2, CTRA and other LibResComm users.


Examples of Use
Texture

Code:
local rescomm = hp:CreateTexture(nil, "OVERLAY")
rescomm:SetTexture([=[Interface\Icons\Spell_Holy_Resurrection]=])
rescomm:SetAllPoints(hp)
rescomm:SetTexCoord(0.07, 0.93, 0.07, 0.93)
rescomm:SetBlendMode("ADD")
rescomm:SetAlpha(.25)

self.ResComm = rescomm

Statusbar
Code:
local rescomm = CreateFrame("StatusBar", nil, hp)
rescomm:SetStatusBarTexture([=[Interface\Icons\Spell_Holy_Resurrection]=])
rescomm:SetAllPoints(hp)
rescomm:SetAlpha(.25)

local texObject = rescomm:GetStatusBarTexture()
texObject:SetTexCoord(0.07, 0.93, 0.07, 0.93)

self.ResComm = rescomm

Optional Features
Code:
rescomm.OthersOnly = true
(boolean) Defines whether the player's resurrection triggers the element or not.


Code:
rescomm.Override = func
(function) Provides the user the ability to override the update function.


Don't forget to add this addon to your layout's optional dependencies!


Git repository
http://github.com/Guardix/oUF_ResComm


Ankhesa of Stormreaver-EU


Donations

1.6a
- Minor fix, didn't realize ResComm_CanRes would return more than one argument (apart from the event).

1.6
- Now uses the official release from WoWAce.
- The element now shows for soulstoned people, if they are dead.
- The element is also shown if the unit has already been resurrected. It will automatically hide when the resurrect expires.

1.5
- Personal fix for libResComm to make it work for 4.0.1. (Already reported. Will hopefully be an official release soon.) -- Personal failure... rly need to open my eyes.

1.4
- Resurrections cast after the first will no longer show up before the first cast is done.

1.3
- Pushed the OnUpdate function into a local do loop (I heard it was smart).
- Corrected the use of GetStatusBarTexture() to call GetTexture() afterwards.

1.2
- Don't update frames that do not have our indicator.
- Handle the endTime variable a tad earlier.

1.1
- Bugfix: Make sure the plug-in doesn't bug out should it define the endTime variable as a string.
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Author
Date
1.6
11kB
Guardix
10-17-10 06:37 PM
1.5
10kB
Guardix
10-15-10 04:58 PM
1.4
10kB
Guardix
05-22-10 05:39 AM
1.3
10kB
Guardix
03-28-10 01:18 PM
1.2
10kB
Guardix
03-06-10 05:38 AM
1.1
10kB
Guardix
03-01-10 07:59 AM
1.0
10kB
Guardix
02-26-10 11:10 AM


Post A Reply Comment Options
Unread 03-02-10, 02:10 PM  
lorientalas
A Kobold Labourer
 
lorientalas's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
After latest updating everything is OK.

Earlier everthing worked fine durinng resurrection, all the rest time full bar was shown(player and target frames).
__________________
Last edited by lorientalas : 03-02-10 at 02:11 PM.
lorientalas is offline Report comment to moderator  
Reply With Quote
Unread 03-01-10, 01:47 PM  
Freebaser
A Molten Kobold Bandit
 
Freebaser's Avatar
AddOn Author - Click to view AddOns

Forum posts: 126
File comments: 307
Uploads: 9
ResComm StatusBar is always shown. How can I fix it?
If you create a frame and assign it a texture like so.

Code:
local rescomm = CreateFrame("StatusBar", nil, hp)
rescomm:SetStatusBarTexture([=[Interface\Icons\Spell_Holy_Resurrection]=])
And for whatever reason the plugin does not load(not enabled or didnt assign the frame to the proper name), that texture will always show.
Freebaser is offline Report comment to moderator  
Reply With Quote
Unread 02-28-10, 02:03 PM  
Guardix
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 115
Uploads: 3
Could you pm me your layout so I can take a closer look?
IsUnitBeingRessed is pretty much the function that determines whether the frame is shown or not. It is being called directly from the library

Currently there is bug where the incoming messages from other players tend to give the target's name on the duration's spot.
Guardix is offline Report comment to moderator  
Reply With Quote
Unread 02-27-10, 09:04 PM  
lorientalas
A Kobold Labourer
 
lorientalas's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
ResComm StatusBar is always shown. How can I fix it?
__________________
lorientalas is offline Report comment to moderator  
Reply With Quote
Unread 02-26-10, 06:22 PM  
Guardix
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 115
Uploads: 3
I have got several of these requests, and yes it may be released sometime. I cannot tell when though
Guardix is offline Report comment to moderator  
Reply With Quote
Unread 02-26-10, 01:49 PM  
fir3fly
A Defias Bandit

Forum posts: 3
File comments: 19
Uploads: 0
Originally posted by Guardix
It's my own layout

Any chance its getting uploaded in the near future?
fir3fly is offline Report comment to moderator  
Reply With Quote
Unread 02-26-10, 01:33 PM  
Guardix
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 115
Uploads: 3
It's my own layout
Guardix is offline Report comment to moderator  
Reply With Quote
Unread 02-26-10, 11:54 AM  
Freebaser
A Molten Kobold Bandit
 
Freebaser's Avatar
AddOn Author - Click to view AddOns

Forum posts: 126
File comments: 307
Uploads: 9
Cool, I have a big update coming to Freebgrid and I will add this in.
Freebaser is offline Report comment to moderator  
Reply With Quote
Unread 02-26-10, 11:43 AM  
fir3fly
A Defias Bandit

Forum posts: 3
File comments: 19
Uploads: 0
Haven't tested it yet but looks great. What is the layout used in the screenshot btw? Looks a lot better than mine =(
fir3fly is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.