Download
(5Kb)
Download
Updated: 09-02-18 03:36 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:09-02-18 03:36 AM
Created:04-09-09 11:46 AM
Downloads:30,029
Favorites:140
MD5:

rFilter  Popular! (More than 5000 hits)

Version: 800.20180901
by: zork [More]


Intro

Buff, debuff and cooldown filter button framework. Does nothing on its own. Needs a layout like rFilter_Zork.
Slash Command
/rfilter
API documentation
rFilter API documentation
Requires
rLib
Git
https://github.com/zorker/rothui/tre...wow8.0/rFilter

Optional Files (0)


Post A Reply Comment Options
Unread 10-03-12, 11:27 AM  
Romarioo
A Kobold Labourer

Forum posts: 1
File comments: 5
Uploads: 0
Is there a way for cooldowns to ONLY show when ready? Or something like show <10s only?
Last edited by Romarioo : 10-04-12 at 03:45 AM.
Report comment to moderator  
Reply With Quote
Unread 09-21-12, 01:49 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Beta is over. rFilter3 got updated for MoP. Have fun.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-21-12 at 01:49 PM.
Report comment to moderator  
Reply With Quote
Unread 09-09-12, 01:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
No you don't. Spec is the specilization you have specced into. (Demonology, Affliction or Destruction for example).

GetActiveSpecGroup is the current active talent group (1, 2 or nil). It says nothing about the spec of a character.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 09-08-12, 08:28 PM  
care
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 1
Uploads: 1
"spec = 1" is not work...

GetSpecialization() replace with GetActiveSpecGroup()
Last edited by care : 09-08-12 at 08:28 PM.
Report comment to moderator  
Reply With Quote
Unread 09-05-12, 05:52 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 09-05-12, 05:18 AM  
F1NCH
A Kobold Labourer
 
F1NCH's Avatar

Forum posts: 0
File comments: 49
Uploads: 0
Hi, hätte da eine kleine Frage^^
Wie (und geht das überhaupt) kann ich die Farbe der Zeit ändern, ab 9 Sekunden wird diese ja rötlich.
Leider kann ich diese Farbe nicht so gut lesen^^
Thx schonmal

EDIT: Danke für die schnelle Antwort!
__________________
Zum Lügen gehören immer 2, einer der lügt und einer der's glaubt!
Last edited by F1NCH : 09-05-12 at 07:43 AM.
Report comment to moderator  
Reply With Quote
Unread 07-09-12, 04:18 PM  
frenzy20
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Cooldown Clocks

A while ago I modified this to use the built in cooldown clocks that work with tullaCC/OmniCC instead of the text without the visual indicator. I haven't updated since before Zork added the in game move/resize functionality, but this should still work. You will need to have some clue what you're doing with lua. You can just comment out code instead of removing it but I'm going to say remove for simplicity.

1. Remove the entire GetFormattedTime function. It won't be needed anymore.

2. Find the createIcon function. Remove everything related to the variable "time". In it's place, add the following lines:
Code:
local cd = CreateFrame("COOLDOWN", nil, i)
cd:SetAllPoints(i)
cd:SetReverse(1)
Where you see i.time = time, remove it and add i.cd = cd

3. In both the checkDebuff and checkBuff fuctions, find the block like this:
Code:
local value = expires - GetTime()
if value < 10 then
    f.iconframe.time:SetTextColor(1, 0.4, 0)
else
    f.iconframe.time:SetTextColor(1, 0.8, 0)
end
f.iconframe.time:SetText(GetFormattedTime(value))
and replace it with this:
Code:
if(duration and duration > 0) then
    f.iconframe.cd:Show()
    f.iconframe.cd:SetCooldown(expires - duration, duration)
else
    f.iconframe.cd:Hide()
end
Also remove the two lines near the bottom of each function that say f.iconframe.time:SetText and SetTextColor.

4. Do something similar to the checkCooldown function. Replace the following:
Code:
if value < 10 then
    f.iconframe.time:SetTextColor(1, 0.4, 0)
else
    f.iconframe.time:SetTextColor(1, 0.8, 0)
end
f.iconframe.time:SetText(GetFormattedTime(value))
with
Code:
f.iconframe.cd:Show()
f.iconframe.cd:SetCooldown(start, duration)
and remove the same two text related lines as you did in the buff and debuff sections.

5. In the "for i,_ in ipairs(rf3_CooldownList) do" loop, add "f.iconframe.cd:SetReverse(0)" to the line following "createIcon(f,i,"Cooldown")" This makes the circle go the same way as it does on cooldowns in the default UI.

That should be all that is necessary. Enjoy.

Note: The whitespace is significantly different in the actual core.lua than what is posted here, so ctrl+F won't quite work and if you care what the file looks like you'll have to pretty it up yourself.
Also, this could be implemented with a switch in the config but I had no use for the default version of the timers so I hard coded it.
Report comment to moderator  
Reply With Quote
Unread 05-27-12, 04:44 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Nope. It's no actionbutton. Additonally refreshing cooldowns can be pretty hard to do.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 05-27-12, 03:40 PM  
zin99
A Deviate Faerie Dragon

Forum posts: 12
File comments: 41
Uploads: 0
hi zork,

is there a way to enable the cooldown animation for rfilter icons, that clockwise sweep?
Report comment to moderator  
Reply With Quote
Unread 04-14-12, 06:36 AM  
suin
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
I really love rFilter3! Thanks for the great work!
Report comment to moderator  
Reply With Quote
Unread 04-03-12, 09:08 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Depends. If the icon is displayed under your player auras you can track it. Otherwise it is a server side effect and you need special holypower addons to track it.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 04-03-12 at 09:09 AM.
Report comment to moderator  
Reply With Quote
Unread 04-03-12, 08:06 AM  
WAHAHAHA
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
HI ,this addon is very cool .

I have a little problem, how to track pal's holy power?

I use spellID=85705 ,but it can't show

Thx
Report comment to moderator  
Reply With Quote
Unread 03-16-12, 02:26 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Actually you brought me a good idea. That counts.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 03-15-12, 08:45 PM  
F1NCH
A Kobold Labourer
 
F1NCH's Avatar

Forum posts: 0
File comments: 49
Uploads: 0
Originally Posted by zork
Added it and updated the documentation. Example

That is actually pretty neat. You can now show/hide an icon based ony any macro condition possible.
Sehr geil

Aber sorry nochmal für die Arbeit^^
__________________
Zum Lügen gehören immer 2, einer der lügt und einer der's glaubt!
Report comment to moderator  
Reply With Quote
Unread 03-15-12, 12:45 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Added it and updated the documentation. Example

That is actually pretty neat. You can now show/hide an icon based ony any macro condition possible.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 03-15-12 at 12:53 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: