Download
(57 Kb)
Download
Updated: 09-16-13 04:58 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:09-16-13 04:58 AM
Created:04-09-09 11:46 AM
Downloads:17,723
Favorites:144
MD5:
5.4
rFilter3  Popular! (More than 5000 hits)
Version: 50400.01
by: zork [More]

!!! This mod eats puppies. If you are a puppy, stay away from it. It will bite you. !!!


Intro
rFilter3 is a buff, debuff and cooldown filter mod.

You can track a single spell by spellid or a full list of spellids having a similar effect. Example: many buffs give +5% crit, those could be combined to a spelllist.
Visibility settings
  • Active spec
  • Visibility state macro condition
  • Unit validation
  • Combat status
  • Ismine (Only show my buff/debuff)
  • Match spellid (Spellid of the aura found has to fully match)
  • Opacity values based on active/inactive
  • Supports spelllists for buffs/debuffs/cooldowns

Slash commands
Code:
/rfilter
/rfillter unlock
/rfillter lock
/rfillter reset
Config Documentation
Lua config only.
http://rothui.googlecode.com/svn/tru...umentation.txt
SVN
http://code.google.com/p/rothui/sour...ow5.0/rFilter3
50400.01
- updated toc to 50400

50200.01
- updated for patch 5.2

50100.03
- Merged Buff/Debuff checks into Aura checks
- attribute "ismine" is deprecated
- added a new attribute: "caster"

50100.02
- added spelllist tracking for cooldowns (useful to track cooldowns of talents the same tier)

50100.01
- updated for patch 5.1

50001.04
- Added a petbattle handler to hide the icons in petbattle

50001.03
- Added charspecific.lua to rFilter3
- Fixed GetSpecilization() (now the spec will match your current spec id correctly)
- Updated the documentation

50001.02
- fixed the spellid checks
- fixed the size reset

50001.01
- initial release

40300.03
- added the visibility_state attribute for buffs, debuffs and cooldowns

40300.02
- changed the talent tree identifictation based on a suggestion of Monolit. The spec value now acepts: nil, 1, 2 or 3. Check the documentation for more info.

40300.01
- updated for patch 4.3

4.011
- updated toc for patch 4.2

4.010
- added slash command for locking / unlocking. Use "/rf" or "/rfilter" for more info ingame
- all frames that have the move attribute and are in the same spec that you have defined can be moved

4.009
- added ingame movability again
Code:
  - Add the move attribute to any spell you want to move ingame (see documentation)
  - Ingame: LEFT MOUSE+ALT+SHIFT = DRAG
                RIGHT MOUSE+ALT+SHIFT = RESIZE
4.008
- rFilter3 has a new config attribute for buffs and debuffs called "match_spellid". The value can be true or false. With the spell given is nailed down by spellid in.

4.007
- updated TOC for patch 4.1

4.006
- removed the global spec settings
- it is now possible to set a spec per icon

Code:
        -- 1 is your first spec 
        -- 2 is your second spec
        -- false or nil will remove the spec tracking
Check config.lua for examples

4.005
- added the updatetimer to the config
- added two new config options to hide icons if the unit being tracked is not available or if you are out of combat. check config.lua examples.

Code:
        validate_unit = true, --only show the icon if unit is found
        hide_ooc      = true, --hide icon out of combat
* validate_unit is possible for buff/debuff tracking. icons will only be displayed if the unit being tacked exists.
* hide_ooc is possible for buffs, debuffs and cooldowns. icons will be hidden if out of combat if that value is available and set to true.

4.004
- added spelllists for buffs and debuffs

4.003
- added ismine check to confg

4.002
- added cooldowns
- specs are now part of the config aswell
- positions are now part of the config
- ingame moving/sizing removed

Btw...cooldowns FINALLY work correctly even with global CD . Showed some l0ve.

4.001
- cata release with ingame moving and sizing aswell as locking

002
- empty table if the char is not set

001
- err
Optional Files (0)


Archived Files (21)
File Name
Version
Size
Author
Date
50400.01
58kB
zork
03-04-13 04:40 PM
50100.03
57kB
zork
12-20-12 11:39 AM
50100.02
57kB
zork
12-14-12 03:32 AM
50100.01
57kB
zork
11-28-12 12: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 06:41 AM
40300.01
75kB
zork
11-30-11 11:50 AM
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 02:22 PM
4.005
77kB
zork
02-25-11 02: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
Old 01-15-13, 07:07 AM  
Nicker
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Thx for so quick respond. I think I need to drop this idea. I can't modify it on my own (I never used .lua more than changing some values ). Anyway thanks

I was trying to do it, but I really can't. FML!
Last edited by Nicker : 01-15-13 at 10:08 AM.
Nicker is offline Report comment to moderator  
Reply With Quote
Old 01-15-13, 01:13 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1308
File comments: 3288
Uploads: 84
Re: Overpower.

Currently not possible.

Hmm...well it could be done by adding a IsUsableSpell check.
http://wowprogramming.com/docs/api/IsUsableSpell

But I doubt it. What you would need is this:
Lua Code:
  1. local isUsable, notEnoughMana = IsUsableAction(self.action)
http://wowprogramming.com/docs/api/IsUsableAction
https://github.com/tekkub/wow-ui-sou...utton.lua#L392

If both functions work the same you can do it. Basically you add a condition checking for
Lua Code:
  1. local isUsable, notEnoughMana = IsUsableSpell(f.name)
  2. if isUsable and not notEnoughMana then
  3.   print(f.name.." is usable go do it")
  4. end
It needs to be added somewhere around here: http://code.google.com/p/rothui/sour...e/core.lua#305

Not sure if I want to expand my cooldown tracking function to add it.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 01-15-13 at 01:17 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 01-14-13, 08:22 PM  
Nicker
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Overpower.

Hi Zork! I really enjoy your addon but I've got small issue. I'm trying to do list (icons) off available abilities (mortal strike, colossus smash and overpower). I want to see 1.0 transparency icons when they are AVAIALABLE and like 0.2 transparency when they are not. There is no problem about MS and CS since they got cooldown, and while they are on cooldown they are just not available. Dunno how to make it work with overpower. Overpower is avaiable only after target dodge or affter using MS. Is there a way to make it? Thx in advice! Best!
Nicker is offline Report comment to moderator  
Reply With Quote
Old 12-20-12, 11:43 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1308
File comments: 3288
Uploads: 84
Ok. The new version supports the caster attribute.



http://rothui.googlecode.com/svn/tru...umentation.txt

Lua Code:
  1. if player_name == "Wolowizard" then
  2.     cfg.rf3_DebuffList = {
  3.       {
  4.         spellid = 33395, --pet spell
  5.         size = 40,
  6.         pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -140, y = 110 },
  7.         unit = "target",
  8.         validate_unit   = true,
  9.         caster          = "pet",
  10.         desaturate      = true,
  11.         move_ingame     = true,
  12.         hide_ooc        = false,
  13.         alpha = {
  14.           found = {
  15.             frame = 1,
  16.             icon = 1,
  17.           },
  18.           not_found = {
  19.             frame = 0.4,
  20.             icon = 0.6,
  21.           },
  22.         },
  23.       },
  24.     }
  25.   end
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-20-12 at 11:44 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 12-20-12, 10:37 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1308
File comments: 3288
Uploads: 84
Re: Warlock

Get a tooltip addon that shows you the "spellid" of a certain aura. Wait until you see the aura applied to whatever aura frame. Hover the aura. Write down the spellid. Depending on buff/debuff create an icon for that aura. If you want to track a debuff applied to the target unit make sure to track it on the target unit.

Example:

I'm a frost mage and cast the free spell from my pet. This function call will give me the active UnitAura() result:
Code:
/run print(UnitAura("target",select(1,(GetSpellInfo(33395))),nil,"HARMFUL"))
33395 is the spellid I'm looking for.
GetSpellInfo() returns spell information.
Since I only need the name I only want the first return value. Thus I do select(1,table).
Now we have all the data needed to feed UnitAura. The unit to track is target, the name of the spell is returned, we do not need a rank and the aura is harmful (debuff).
On the last step we print the result to the chat.



The most important return value for yourself is the "caster" option. It says "pet".

Currently I only allow tracking for ismine which gets translated into caster = "player".
It is actually a good idea to add another attribute named "caster" which can be set to any unit.

*edit*

A new version is on the way with the support of the caster attribute.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-20-12 at 11:45 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 12-20-12, 09:29 AM  
zeramoth
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Warlock

How do I keep track of pet debuffs and cooldowns?
Also how do I keep track of the shadowflame debuff from hand of guldan?

I have been trying to get this to work but I can't seem to figure it out.
Help is appreciated

Edit: Pet spells im trying to track is Axe Toss and Wrathstorm
Last edited by zeramoth : 12-20-12 at 09:33 AM.
zeramoth is offline Report comment to moderator  
Reply With Quote
Old 12-15-12, 08:02 AM  
kkot
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 18
Uploads: 1
Ah right, I'm an idiot.
kkot is offline Report comment to moderator  
Reply With Quote
Old 12-15-12, 05:16 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1308
File comments: 3288
Uploads: 84
No everything is Ok. You have activated "show_value = 1". Thus the icon extracts the first tooltip value of the spell. Either make sure to track the correct "show_value". Options are : nil,1,2,3 or just remove the line from the spell definition.

Blood Charge only has stacks. No value. Show value is meant to extract Attack Power or Absorb tooltip information from auras that change dynamically.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-15-12 at 08:11 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 12-14-12, 08:24 PM  
kkot
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 18
Uploads: 1
rFilter seems to be having a bit of trouble with Blood Tap.

Code:
124x rFilter3\core\core.lua:43: attempt to compare number with nil
rFilter3\core\core.lua:43: in function <rFilter3\core\core.lua:42>
rFilter3\core\core.lua:356: in function <rFilter3\core\core.lua:276>
rFilter3\core\core.lua:447: in function <rFilter3\core\core.lua:435>
rFilter3\core\core.lua:526: in function <rFilter3\core\core.lua:525>

Locals:
f = <table> {
 texture = "Icons\Spell_DeathKnight_BloodTap"
 alpha = <table> {}
 unit = "player"
 iconframe = <unnamed> {}
 rank = ""
 name = "Blood Charge"
 pos = <table> {}
 desaturate = true
 show_value = 1
 spellid = 114851
 size = 26
}
spellid = nil
tmp_spellid = 114851
name = "Blood Charge"
rank = ""
icon = "Icons\Spell_DeathKnight_BloodTap"
count = 2
dispelType = nil
duration = 25
expires = 519186.217
caster = "player"
isStealable = nil
shouldConsolidate = nil
spID = 114851
canApplyAura = false
isBossDebuff = nil
casterIsPlayer = true
value1 = nil
value2 = nil
value3 = nil
time = 24.737000000023
value = nil
(*temporary) = <func> =[C]:-1
(*temporary) = <unnamed> {
 0 = <userdata>
}
cfg = <unnamed> {
 rf3_DebuffList = <table> {}
 highlightPlayerSpells = true
 countFontSize = 18
 timeFontSize = 16
 rf3_BuffList = <table> {}
 updatetime = 0.3
 rf3_CooldownList = <table> {}
 0 = <userdata>
}
GetFormattedTime = <func> @rFilter3\..\core.lua:23
numFormat = <func> @rFilter3\..\core.lua:42
Original code:
Code:
      {
        spellid       = 114851,
        size          = 26,
        unit          = "player",
        show_value    = 1,
        desaturate    = true,
        --spec          = 2,
        pos           = {
                          a1 = "BOTTOM",
                          a2 = "BOTTOM",
                          af = "UIParent",
                          x  = -350,
                          y  = 368
                        },
        alpha         = {
                          found     = { frame = 1,  icon = 1 },
                          not_found = { frame = 1,  icon = 1 }
                        }
      }
kkot is offline Report comment to moderator  
Reply With Quote
Old 12-14-12, 10:35 AM  
kkot
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 18
Uploads: 1
Sweet, thanks!
kkot is offline Report comment to moderator  
Reply With Quote
Old 12-14-12, 02:47 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1308
File comments: 3288
Uploads: 84
Originally Posted by kkot
Would you consider implementing something akin to `spelllist` for cooldowns? It'd be useful for things like the top-tier talents.
Uhhh. Nice catch, I had the same problem using Shockwave/DragonBreath. To make it possible I need to a spellbook check and match the icons in the spellbook.

Sounds possible, gonna try it.

Ok I found the function.

/run print(GetSpellBookItemName(spellName))

That returns nil if the spell fails.

*edit*

Thanks for the suggestion. Added it. Upload is coming.

Preview:



Thanks.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-14-12 at 03:35 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 12-13-12, 04:29 PM  
kkot
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 18
Uploads: 1
Would you consider implementing something akin to `spelllist` for cooldowns? It'd be useful for things like the top-tier talents.
kkot is offline Report comment to moderator  
Reply With Quote
Old 12-08-12, 01:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1308
File comments: 3288
Uploads: 84
Sure. But don't let it bite you.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Old 12-07-12, 11:54 PM  
Greensleeper
A Defias Bandit

Forum posts: 2
File comments: 30
Uploads: 0
Hey Zork !
Can this mod be used to track stacks or do i need another mod for that? Things like taste for blood for example?

Thanks in advance
Greensleeper is offline Report comment to moderator  
Reply With Quote
Old 10-23-12, 03:46 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1308
File comments: 3288
Uploads: 84
Hmm sure. I can add that.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: