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,884
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-04-16, 05:56 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
With many of my addons being updated for Legion I will need to look into rFilter3 aswell. It is incompatible with the new rLib. I will post an updated version in the next days.
__________________
| 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 09-09-16, 04:38 PM  
Wi1em
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Grid

Not sure it's not already posted somewhere in the comments (still haven't figured out how to search comments on wowinterface) so sorry for possible duplication.

If you don't want head aches with manual placement of icons, I've written and using this script:

Code:
  local iconalpha_active = { frame = 1.0, icon = 1.0 }
  local iconalpha_inactive = { frame = 0.65, icon = 0.65 }
  local function make_builder(base_cell_y, base_cell_x, visual_cell_size, y_dir, x_dir)
    return function(spellid, row, col, custom_cell_resize)
      local newtable = {}

      -- common
      newtable.spellid = spellid
      newtable.size = visual_cell_size * (custom_cell_resize or 1)
      newtable.spec = nil
      newtable.hide_ooc = false
      newtable.desaturate = false
      newtable.move_ingame = false

      -- buffs
      newtable.unit = "player"
      newtable.caster = nil
      newtable.show_value = 3

      local cellsize = visual_cell_size + 8
      newtable.pos = {
        af = "UIParent",
        a1 = "CENTER",
        a2 = "CENTER",
        y = base_cell_y * cellsize + ((row - 1) * y_dir * cellsize),
        x = base_cell_x * cellsize + ((col - 1) * x_dir * cellsize)
      }
      newtable.alpha = {
        cooldown = iconalpha_inactive,
        no_cooldown = iconalpha_active,
        found = iconalpha_active,
        not_found = iconalpha_inactive
      }
      return newtable
    end
  end

  if player_name == "Elkadus" then
    local add1 = make_builder( 0, 1, 32, -1, 1)
    local add2 = make_builder(-5, -1, 26, -1, 1)
    cfg.rf3_BuffList = {
      add1(132404,  3,  1, 0.75), -- shield block
      add1(204488,  3,  3, 0.75), -- focused rage
      add1(122510,  4,  3, 0.75), -- ultimatum (free focused rage)
    }
    cfg.rf3_CooldownList = {
      add1(023922,  3,  2), -- shield slam
      add1(006572,  3, -2), -- revenge
      add1(002565,  4,  1, 0.75), -- shield block
      
      add2(006552,  1,  1), -- pummel
      add2(023920,  1,  2), -- spell reflection
      add2(046968,  1,  3), -- shockwave
    }
    cfg.rf3_DebuffList = {
    }
  end
Which makes the look:



So basically you're working with a grid of chosen cell size.
Last edited by Wi1em : 09-09-16 at 05:05 PM.
Report comment to moderator  
Reply With Quote
Unread 07-07-16, 06:28 PM  
Moriar
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
WoD

Any way to track cooldown and showing the number of stacks of an ability, that has 2 stacks or more?
Like Ice Nova in my screenshot?



AS you can see in the code below,i tried to add the function "show_value",that normally on the cooldowns doesn't exist,but it's not working, any ideas?
Code:
{
        spellid = 157997, --Ice Nova
        spec = nil,
        size = 30,
        pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = 35, y = -140 },
        desaturate      = false,
        show_value      = 3,
        move_ingame     = false,
        hide_ooc        = false,
        alpha = {
          cooldown = {
            frame = 0.5,
            icon = 2,
          },
          no_cooldown = {
            frame = 1,
            icon = 2,
          },
        },
      },
Last edited by Moriar : 07-10-16 at 06:15 AM.
Report comment to moderator  
Reply With Quote
Unread 07-28-15, 03:43 PM  
lolpeura
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Hi,

First of all, thanks for making this awesome addon Zork! It has made my life easy since since cataclysm, I like it alot.

Now I have problem for first time, currently wild mushroom as a restoration druid is tracked by its totem timer under player healhtbar. Is it possible to track the mushroom/totem timer somehow with this addon? I couldnt figure it out myself.

Thanks.
Report comment to moderator  
Reply With Quote
Unread 07-19-15, 10:31 AM  
Sasenna
A Murloc Raider
 
Sasenna's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 114
Uploads: 7
Trying to get Asphyxiate to replace Strangulate. I get the icon to appear but the cooldown tracker does nothing for it.

Code:
  --deathknight defaults
  if player_class == "DEATHKNIGHT" then
    --default deathknight buffs
    cfg.rf3_BuffList = {}
    --default deathknight debuffs
    cfg.rf3_DebuffList = {}
    --default deathknight cooldowns
    cfg.rf3_CooldownList = {
      {
        spec = nil, 
        spellid = 47476, --strangulate
	spelllist = { 47476, 108194, }, --asphyxiate Does not work. Has the icon change to correct one but does not show cooldown
        pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -265, y = -163 },
        size = 26,
        desaturate = true,
        move_ingame     = true,
        alpha = {
          cooldown = {
            frame = 1,
            icon = 0.6,
          },
          no_cooldown = {
            frame = 1,
            icon = 1,          
          },
        },
      },
     }
  end
__________________
l SasUI l - Blizzard Like l Sas Diablo l - Alteration of l RothUI (Diablo) l
Report comment to moderator  
Reply With Quote
Unread 05-13-15, 05:55 AM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 176
File comments: 396
Uploads: 1
Does this addon support the ActionButton_ShowOverlayGlow() API? Sometimes I wish my icons had the glowing border.

EDIT: Okay looking through some of the documentation, this probably won't apply to the icons created since they aren't actually actionbuttons. Is it possible to have the icons have the glowing "proc" border without importing additional media, or is additional media/animation code required?
Last edited by Politig : 05-15-15 at 04:42 AM.
Report comment to moderator  
Reply With Quote
Unread 04-10-15, 06:51 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Numbers are irrelevant.

You can just do:

Lua Code:
  1. {
  2.   { stuff = 1 },
  3.   { stuff = 1 },
  4.   { stuff = 1 },
  5.   { stuff = 1 },
  6. }

Example: https://code.google.com/p/rothui/sou...pecific.lua#23
__________________
| 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 03-29-15, 04:50 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Another question zork (hoping you read them and I don't bother you so much :-)


IN configuring the rfilter3 buff / debuff lists we have to specify a list like an array.

Example:

Lua Code:
  1. [1] = {
  2.         spellid = 135286, -- BEAR:3:Unghie e denti
  3.         spec = 3,
  4.         size = 40,
  5.         pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -70, y = -250 },
  6.         unit = "player",
  7.         validate_unit   = false,
  8.         ismine          = true,
  9.         desaturate      = true,
  10.         match_spellid   = true,
  11.         move_ingame     = false,
  12.         hide_ooc        = true,
  13.         alpha = {
  14.           found = {
  15.             frame = 1,
  16.             icon = 1,
  17.           },
  18.           not_found = {
  19.             frame = 0,
  20.             icon = 0,
  21.           },
  22.         },
  23.       },  
  24.      
  25.     [2] = {
  26.         spellid = 158792, -- BEAR:3:Polverizzazione
  27.         spec = 3,
  28.         size = 40,
  29.         pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -120, y = -250 },
  30.         unit = "player",
  31.         validate_unit   = false,
  32.         ismine          = true,
  33.         desaturate      = true,
  34.         match_spellid   = true,
  35.         move_ingame     = false,
  36.         hide_ooc        = true,
  37.         alpha = {
  38.           found = {
  39.             frame = 1,
  40.             icon = 1,
  41.           },
  42.           not_found = {
  43.             frame = 0,
  44.             icon = 0,
  45.           },
  46.         },
  47.       },

and so on ...

This make a little bit unconfortable if you have to add buffs later for the numbering of the array.
I'd like to ask ... Is it possible to use, for example, as key the spellid instead of 1, 2, 3 .... and so on ? so we don't have to care about order and remember about the last ones used ?

Thanks very much zork for this really great addon.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 03-29-15 at 04:51 AM.
Report comment to moderator  
Reply With Quote
Unread 03-24-15, 02:20 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Hi Zork,

Can you pls consider the idea of add also to rfilter3 the possibility to set the background (shadow) true or false by setting like others addon of r-series (I mean rActionButtonStyler and rBuffFrameStyler).

I am using all of them with the same skin:
http://www.wowinterface.com/download...ylerichik.html

but with the others I can disable the bg or shadow (the outer_shadow.tga texture) in rfilter3 I have did this setting the alfa to 0 in this line:


Lua Code:
  1. sh:SetVertexColor(0, 0, 0, 0)

I don't think it is a "clean solution" so if you can pls consider the idea of adding such setting will be great.

Thanks for the great addons zork !

I post a screenshots so you can figure better what I mean.

__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 01-10-15, 07:25 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
rFilter3 does not support GetItemCooldown. Sorry.
http://www.wowwiki.com/API_GetItemCooldown
__________________
| 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 01-10-15, 11:08 AM  
marveL.
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
CD trinkets

Hi!
Can i track CD of my trinkets by rFilter?

it's not work:
Code:
{
        spellid = 162919, --trinket
        spec = nil,
        size = 28,
        framestrata = "LOW",
        pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 229, y = 420 },
        desaturate      = true,
        move_ingame     = true,
        hide_ooc        = true,
        alpha = {
          cooldown = {
            frame = 0.4,
            icon = 0.6,
          },
          no_cooldown = {
            frame = 1,
            icon = 1,
          },
        },
},
Report comment to moderator  
Reply With Quote
Unread 12-13-14, 02:59 PM  
DeezeNuts
A Defias Bandit

Forum posts: 3
File comments: 21
Uploads: 0
How would I be able to track the cooldown of Power Word Solace using rfilter?

EDIT: After reading the doc I figured it out, thanks zork!
Last edited by DeezeNuts : 12-13-14 at 04:52 PM.
Report comment to moderator  
Reply With Quote
Unread 11-28-14, 03:13 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Buffs and Debuffs in WoD.
http://www.wowhead.com/guide=1100/buffs-and-debuffs

Code:
{
  "attackPower" = [6673,19506,57330],
  "stamina" = [469,21562,166928,50256,160014,160003,90364]
}
Hmm. Interesting.
http://wowprogramming.com/docs/api/G...ffTrayAuraInfo

Lua Code:
  1. for i=1,NUM_LE_RAID_BUFF_TYPES do
  2.   local name, rank, texture, duration, expiration, spellId, slot = GetRaidBuffTrayAuraInfo(i);
  3.   print(name,texture)
  4. end

Player debuffs are already consolidated.
__________________
| 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 : 11-28-14 at 03:29 AM.
Report comment to moderator  
Reply With Quote
Unread 11-01-14, 10:28 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Hmm. Thanks. Currently I have no spell list set up.
__________________
| 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 10-31-14, 07:09 PM  
Julchen
A Deviate Faerie Dragon

Forum posts: 17
File comments: 54
Uploads: 0
The cooldown spelllist doesn't work anymore. GetSpellBookItemName(gsi_name) is always false or nil.

edit: GetSpellInfo(gsi_name) seems to work
Last edited by Julchen : 11-01-14 at 03:54 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: