Quantcast
Download
(5 Kb)
Download
Updated: 11-30-16 02:12 PM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.0)
Updated:11-30-16 02:12 PM
Created:04-09-09 11:46 AM
Downloads:22,759
Favorites:150
MD5:
7.1.0

rFilter  Updated less than 3 days ago!  Popular! (More than 5000 hits)

Version: 710.20161130
by: zork [More]


Intro

Buff, debuff and cooldown filter button framework. Does nothing on its own. Needs a layout.

Layout:
Slash Command
/rfilter
API documentation
rFilter API documentation
Requires
rLib
Git
https://github.com/zorker/rothui/tre...wow7.0/rFilter

Optional Files (0)


Archived Files (25)
File Name
Version
Size
Author
Date
710.20161117
5kB
zork
11-17-16 11:43 AM
710.20161031
5kB
zork
10-31-16 12:36 PM
60000.01
57kB
zork
10-24-14 08:00 PM
50400.01
57kB
zork
09-16-13 04:58 AM
50400.01
58kB
zork
03-04-13 05:40 PM
50100.03
57kB
zork
12-20-12 12:39 PM
50100.02
57kB
zork
12-14-12 04:32 AM
50100.01
57kB
zork
11-28-12 01:24 PM
50001.04
57kB
zork
09-25-12 12:38 PM
50001.03
57kB
zork
09-21-12 01:44 PM
40300.03
75kB
zork
03-15-12 12:43 PM
40300.02
75kB
zork
01-14-12 07:41 AM
40300.01
75kB
zork
11-30-11 12:50 PM
4.011
80kB
zork
06-29-11 04:18 PM
4.010
79kB
zork
06-03-11 08:39 AM
4.009
78kB
zork
06-03-11 07:18 AM
4.008
77kB
zork
06-03-11 05:03 AM
4.007
77kB
zork
04-28-11 02:26 PM
4.006
77kB
zork
02-25-11 03:22 PM
4.005
77kB
zork
02-25-11 03:04 PM
4.004
77kB
zork
11-05-10 07:51 AM
4.003
77kB
zork
10-30-10 04:36 AM
4.002
76kB
zork
10-26-10 04:44 PM
4.001
77kB
zork
10-24-10 03:43 PM
002
4kB
zork
04-10-09 04:15 AM


Post A Reply Comment Options
Unread 09-05-12, 05:52 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3611
Uploads: 118
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"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: 50
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: 1632
File comments: 3611
Uploads: 118
Nope. It's no actionbutton. Additonally refreshing cooldowns can be pretty hard to do.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"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: 1632
File comments: 3611
Uploads: 118
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) | TDMOG

"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: 1632
File comments: 3611
Uploads: 118
Actually you brought me a good idea. That counts.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"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: 50
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: 1632
File comments: 3611
Uploads: 118
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) | TDMOG

"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
Unread 03-15-12, 03:07 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3611
Uploads: 118
Hmm...interesting. Not yet possible but I got an idea.

visibility state-driver
http://www.wowace.com/addons/bartend...-state-header/

Code:
    actionbar:1/.../6 or bar:1/.../6 — Given action bar page is selected
    bonusbar:5 — The possess bar is active (controlling a vehicle or another player)
    button:1/.../5/<virtual click> or btn:1/.../5/<virtual click> — Macro activated with the given mouse button
    channeling:<spell name> — Channeling the given spell
    combat — In combat
    cursor — What the cursor is currently holding, see API_GetCursorInfo for types
    dead — Target is dead
    equipped:<item type> or worn:<item type> — item type is equipped (item type can be an inventory slot, item type, or item subtype)
    exists — Target exists
    flyable — In a zone where flying is allowed (this does not check if you have Cold Weather Flying, if you are in a flyable zone, but do not have this skill, the macro fails)
    flying — Mounted or in flight form AND in the air
    group:party/raid — You are in the given type of group
    harm — Can cast harmful spells on the target
    help — Can cast helpful spells on the target
    indoors — Self explanatory
    modifier:shift/ctrl/alt or mod:shift/ctrl/alt — Holding the given key
    mounted — Self explanatory
    outdoors — Self explanatory
    party — Target is in your party
    pet:<pet name or type> — The given pet is out
    raid — Target is in your raid/party
    spec:1/2 — Currently active talents
    stance:0/1/2/.../n — In a stance
    form:0/.../n — In a form which is no stance by itself (shadowdance)
    stealth — Stealthed
    swimming — Self explanatory
    unithasvehicleui — The target of the macro has vehicle UI
    vehicleui — The player has vehicle UI
Example:
Code:
RegisterStateDriver(myIconFrame, "visibility", "[spec:1]hide;[nocombat]fade:30;[target=target,noexists]fade:30;show")
The state driver would only affect the condition under which the icon frame can be shown at all. The check on the icon itself is a different story.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"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:15 PM.
Report comment to moderator  
Reply With Quote
Unread 03-14-12, 05:25 PM  
F1NCH
A Kobold Labourer
 
F1NCH's Avatar

Forum posts: 0
File comments: 50
Uploads: 0
Originally Posted by zork
PUPPY DETECTED. LOADING GUNS.

Hint...the info page tell you about the spec attribute.
Das mit dem Talent Spec weiß ich ja, geht aber allgemein um Katze/Bär, im selben Spec^^
__________________
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-14-12, 09:48 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3611
Uploads: 118
PUPPY DETECTED. LOADING GUNS.

Hint...the info page tell you about the spec attribute.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 03-14-12 at 10:00 AM.
Report comment to moderator  
Reply With Quote
Unread 03-14-12, 09:26 AM  
F1NCH
A Kobold Labourer
 
F1NCH's Avatar

Forum posts: 0
File comments: 50
Uploads: 0
Hi^^
Erstmal, tolles Addon!
Habe leider aber ein kleines Problem...
Ich bin Druide und als Katze brauche ich Wildes Brüllen, als Bär Pulverisieren. Wie bekomme ich es hin das wenn ich in Katzengestalt bin Wildes Brüllen und in Bärengestalt Pulverisieren an der selben Stelle angezeigt wird? Gibt es einen Stance-Befehl?

Habe mal einen Screen gemacht, im roten Kreis sieht man, das obwohl ich Katze bin das Pulverisieren Icon dort ist, es wechselt zwar wenn ich Wildes Brüllen nutze, aber sobald der Kampf vorbei ist, ist dort wieder das Pulverisieren Icon^^

http://www.abload.de/img/rfilter3-probpkky4.jpg

Hoffe kannst mir evtl. helfen^^
__________________
Zum Lügen gehören immer 2, einer der lügt und einer der's glaubt!
Last edited by F1NCH : 03-14-12 at 09:28 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: