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:29,939
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-22-12, 11:30 AM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
Zork ... do you remember the request to add FrameLevel to buffs so I could make something like a priority list? (from beta rFilter)

Will you be adding that ?

thanks
Report comment to moderator  
Reply With Quote
Unread 10-23-12, 03:46 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Hmm sure. I can add that.
__________________
| 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 12-08-12, 12:54 AM  
Greensleeper
A Defias Bandit

Forum posts: 2
File comments: 29
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
Report comment to moderator  
Reply With Quote
Unread 12-08-12, 02:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Sure. But don't let it bite you.
__________________
| 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 12-13-12, 05:29 PM  
kkot
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 10
File comments: 24
Uploads: 1
Would you consider implementing something akin to `spelllist` for cooldowns? It'd be useful for things like the top-tier talents.
Report comment to moderator  
Reply With Quote
Unread 12-14-12, 03:47 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
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.
| 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 : 12-14-12 at 04:35 AM.
Report comment to moderator  
Reply With Quote
Unread 12-14-12, 11:35 AM  
kkot
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 10
File comments: 24
Uploads: 1
Sweet, thanks!
Report comment to moderator  
Reply With Quote
Unread 12-14-12, 09:24 PM  
kkot
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 10
File comments: 24
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 }
                        }
      }
Report comment to moderator  
Reply With Quote
Unread 12-15-12, 06:16 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
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.
| 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 : 12-15-12 at 09:11 AM.
Report comment to moderator  
Reply With Quote
Unread 12-15-12, 09:02 AM  
kkot
A Deviate Faerie Dragon
AddOn Compiler - Click to view compilations

Forum posts: 10
File comments: 24
Uploads: 1
Ah right, I'm an idiot.
Report comment to moderator  
Reply With Quote
Unread 12-20-12, 10:29 AM  
zeramoth
A Kobold Labourer

Forum posts: 0
File comments: 3
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 10:33 AM.
Report comment to moderator  
Reply With Quote
Unread 12-20-12, 11:37 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
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.
| 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 : 12-20-12 at 12:45 PM.
Report comment to moderator  
Reply With Quote
Unread 12-20-12, 12:43 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
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.
| 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 : 12-20-12 at 12:44 PM.
Report comment to moderator  
Reply With Quote
Unread 01-14-13, 09:22 PM  
Nicker
A Kobold Labourer

Forum posts: 0
File comments: 8
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!
Report comment to moderator  
Reply With Quote
Unread 01-15-13, 02:13 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
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.
| 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 : 01-15-13 at 02:17 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: