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 01-29-13, 07:32 AM  
SaTaN_cLaUs
A Kobold Labourer
 
SaTaN_cLaUs's Avatar

Forum posts: 0
File comments: 6
Uploads: 0
rFilter3\charspecific.lua:7: "=" expected near "local"

krieg ick plötzlich ...
Report comment to moderator  
Reply With Quote
Unread 01-15-13, 08: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 11:08 AM.
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: 1632
File comments: 3611
Uploads: 118
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) | 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 02:17 AM.
Report comment to moderator  
Reply With Quote
Unread 01-14-13, 09: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!
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: 1632
File comments: 3611
Uploads: 118
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) | 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 12:44 PM.
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: 1632
File comments: 3611
Uploads: 118
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) | 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 12:45 PM.
Report comment to moderator  
Reply With Quote
Unread 12-20-12, 10: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 10:33 AM.
Report comment to moderator  
Reply With Quote
Unread 12-15-12, 09:02 AM  
kkot
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 21
Uploads: 1
Ah right, I'm an idiot.
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: 1632
File comments: 3611
Uploads: 118
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) | 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 09:11 AM.
Report comment to moderator  
Reply With Quote
Unread 12-14-12, 09:24 PM  
kkot
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 21
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-14-12, 11:35 AM  
kkot
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 21
Uploads: 1
Sweet, thanks!
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: 1632
File comments: 3611
Uploads: 118
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) | 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 04:35 AM.
Report comment to moderator  
Reply With Quote
Unread 12-13-12, 05:29 PM  
kkot
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 21
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-08-12, 02:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3611
Uploads: 118
Sure. But don't let it bite you.
__________________
| 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 12-08-12, 12:54 AM  
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
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: