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,885
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 02-03-13, 11:19 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
In der config gibt es einen Update-Timer. Dort kannst du die Zeit anpassen.
http://code.google.com/p/rothui/sour.../config.lua#22

Was dein Spell betrifft. Stell sicher, das du die ID [2] nicht mit was anderem überschreibst und entferne ismine.
__________________
| 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 02-03-13, 10:53 AM  
cozmos
A Murloc Raider

Forum posts: 8
File comments: 24
Uploads: 0
Hi, hab mir dick ne arbeit angetan das Addon einzustellen aber funktioniert tadellos.

Irgendwie will der mir nur keinen Jadegeist-proc anzeigen, kp was ich da falsch mache.

Lua Code:
  1. [2] = {
  2.         spellid = 104993, -- Jadegeist
  3.         spec = nil,
  4.         size = 22,
  5.         pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -250, y = -70 },
  6.         unit = "player",
  7.         validate_unit   = true,
  8.         ismine          = true,
  9.         desaturate      = true,
  10.         move_ingame     = false,
  11.         hide_ooc        = false,
  12.         alpha = {
  13.           found = {
  14.             frame = 1,
  15.             icon = 1,
  16.           },
  17.           not_found = {
  18.             frame = 0,
  19.             icon = 0,
  20.           },
  21.         },
  22.       },

so stehts drin krieg aber nix angezeigt. Das komische ist das es mal funktioniert hat.

Die Charspecific ist mittlerweile 61kb gross kp obs was damit zu tun hat


EDIT://

Hättest vielleicht noch nen Tip wie ich die Verzögerung ingame bissl reduzieren kann die durch die addons verursacht wird oder is das schon maximum?

Hier mal screenie

Last edited by cozmos : 02-03-13 at 11:06 AM.
Report comment to moderator  
Reply With Quote
Unread 01-30-13, 04:41 AM  
SaTaN_cLaUs
A Kobold Labourer
 
SaTaN_cLaUs's Avatar

Forum posts: 0
File comments: 6
Uploads: 0
server is khaz'goroth, patch is der momentan aktuelle

charconfig.lua
(sollte hoffentlich klappen - mir is kein anderer weg eingefallen ... ^^)
Last edited by SaTaN_cLaUs : 01-30-13 at 04:42 AM.
Report comment to moderator  
Reply With Quote
Unread 01-29-13, 02:39 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Wie sieht denn deine charspecific.lua aus? Welcher Server und WoW Patch?
__________________
| 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-29-13 at 02:40 PM.
Report comment to moderator  
Reply With Quote
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: 8
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: 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
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 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 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, 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-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-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-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-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
Post A Reply



Category Jump: