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:30,161
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 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 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 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-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 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 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 10-28-16, 12:07 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
The new rFilter is in the making. Will still take me some hours to get it finished but it is on the way.

http://imgur.com/a/fhA25

https://github.com/zorker/rothui/tre...wow7.0/rFilter

*edit* The new rFilter is finished.
__________________
| 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-01-16 at 02:25 AM.
Report comment to moderator  
Reply With Quote
Unread 11-05-16, 03:06 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

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

in the old rFilter there was the possibility to check for the current spec:

Lua Code:
  1. if player_class == "DRUID" then
  2. cfg.rf3_BuffList = {
  3.     {spellid = 158792, spec = 3, -- and so on ...

Is this setting present in the new rFilter, because I was not able to find it here:
https://github.com/zorker/rothui/blo...nfig/README.md

Thanks again for everything
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-05-16, 03:52 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Spec is part of the visibility statedriver. Just use sth like "[spec:2] show; hide"
The visibility statedriver will show/hide your button based on macro conditions. You can even use this to check for specific talents and such.
__________________
| 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-05-16 at 04:07 AM.
Report comment to moderator  
Reply With Quote
Unread 11-06-16, 08:46 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

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

It works great.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-18-16, 02:03 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
With the latest version rFilter has become a framework. It provides a set of API functions that you can use to spawn buff, debuff and cooldown buttons.

rFilter API documentation: https://github.com/zorker/rothui/blo...lter/README.md

Lua Code:
  1. --buff
  2. local button = rFilter:CreateBuff(spellid,unit,size,point,visibility,alpha,desaturate,caster)
  3. --debuff
  4. local button = rFilter:CreateDebuff(spellid,unit,size,point,visibility,alpha,desaturate,caster)
  5. --cooldown
  6. local button = rFilter:CreateCooldown(spellid,size,point,visibility,alpha,desaturate)
  7. --change the update tick (default is 0.1)
  8. rFilter:SetTick(0.5)

Optionally you can use rButtonTemplate to style your buttons. Either by using your default actionButtonConfig or by defining your own.
Lua Code:
  1. rButtonTemplate:StyleActionButton(button,actionButtonConfig)

Example layout and theme: http://www.wowinterface.com/download...lter_Zork.html
__________________
| 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-18-16 at 02:04 AM.
Report comment to moderator  
Reply With Quote
Unread 11-29-16, 04:01 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
If you want to track hidden cooldowns with a fixed timer that is possible to. This is how I track my Sephuz cooldown:
https://github.com/zorker/rothui/com...558226e04954ad
__________________
| 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 11-30-16, 01:25 PM  
apfelei
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Hi, Super Addon, habe aber 2 Fragen.
1. Was ist das oben rechts für eine Zahl? Sie ist nicht bei allen Buttons und zb bei Krallenhieb 1 und Zerfetzen 0.

2. Wie kann ich mir die Stacks von Buffs/Debuffs oben in der Mitte anzeigen lassen?
Danke
Report comment to moderator  
Reply With Quote
Unread 11-30-16, 01:45 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Die Zahl wird oben ist das sogenannte "extra value", wenn es einen Wert dafür gibt zeige ich ihn an. Ich kann leider nicht entscheiden ab welchem Wert die anzeige sinnvoll ist. Wenn dich der Wert stört kannst du pro button den du erstellt die anzeige verhindern den Text in der Konfiguration ausblendest.
https://github.com/zorker/rothui/blo...k/buff.lua#L15

Beispiel
Lua Code:
  1. local button = rFilter:CreateBuff(132404,"player",36,{"CENTER"},"[spec:3,combat]show;hide",{0.2,1},true,nil) --SB
  2. if button then
  3.   button.extravalue:Hide()
  4.   table.insert(L.buffs,button)
  5. end

Für die Anzahl öffne die theme.lua der Konfiguration von rFilter und verändere die Werte.
https://github.com/zorker/rothui/blo.../theme.lua#L45

Beispiel
Lua Code:
  1. --count, aura stack count
  2. actionButtonConfig.count = {
  3.   font = { STANDARD_TEXT_FONT, 11, "OUTLINE"},
  4.   points = {
  5.     {"TOPRIGHT", 0, 0 },
  6.     {"TOPLEFT", 0, 0 },
  7.   },
  8.   halign = "CENTER",
  9.   valign = "TOP",
  10.   alpha = 1,
  11. }
__________________
| 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-30-16 at 01:48 PM.
Report comment to moderator  
Reply With Quote
Unread 12-01-16, 02:51 AM  
apfelei
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Hey, erstmal danke das du dir Zeit nimmst^^
Das mit dem Extra Value hat soweit geklappt aber mit den Stacks nicht, egal was ich dort im Bereich verändere es passiert nach einem /reload garnichts. Woran könnte das liegen?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: