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,822
Favorites:150
MD5:
7.1.0

rFilter  Updated this week!  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 12-02-16, 03:48 AM  
apfelei
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by zork
*edit2* Kann es sein, dass du kein Theme installiert hast? Dann kann das auch nicht gehen.
Die Gestaltung der Knöpfe übernimmt rButtonTemplate.
https://github.com/zorker/rothui/blo.../theme.lua#L11
https://github.com/zorker/rothui/blo.../theme.lua#L43

Ohne theme hast du automatisch die Standardanzeige des Blizzard Actionbutton templates.
Daran lag es
Danke dir für deine Hilfe!
Report comment to moderator  
Reply With Quote
Unread 12-01-16, 08:11 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Schau ich mir an.

*edit*
Hab's mir angesehen. Konnte nix feststellen. Geht genauso wie beschrieben.

Lua Code:
  1. --count, aura stack count
  2. actionButtonConfig.count = {
  3.   font = { STANDARD_TEXT_FONT, 11, "OUTLINE"},
  4.   points = {
  5.     --{"BOTTOMRIGHT", 0, 0 },
  6.     --{"BOTTOMLEFT", 0, 0 },
  7.     {"TOPRIGHT", 0, 0 },
  8.     {"TOPLEFT", 0, 0 },
  9.   },
  10.   halign = "CENTER",
  11.   valign = "TOP",
  12.   alpha = 1,
  13. }

*edit2* Kann es sein, dass du kein Theme installiert hast? Dann kann das auch nicht gehen.
Die Gestaltung der Knöpfe übernimmt rButtonTemplate.
https://github.com/zorker/rothui/blo.../theme.lua#L11
https://github.com/zorker/rothui/blo.../theme.lua#L43

Ohne theme hast du automatisch die Standardanzeige des Blizzard Actionbutton templates.
__________________
| 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-02-16 at 03:32 AM.
Report comment to moderator  
Reply With Quote
Unread 12-01-16, 02:51 AM  
apfelei
A Kobold Labourer

Forum posts: 0
File comments: 3
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
Unread 11-30-16, 01:45 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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) | TDMOG

"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 11-30-16, 01:25 PM  
apfelei
A Kobold Labourer

Forum posts: 0
File comments: 3
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-29-16, 04:01 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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) | 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 11-18-16, 02:03 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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) | TDMOG

"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-06-16, 08:46 AM  
gmarco
A Chromatic Dragonspawn
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 189
File comments: 100
Uploads: 33
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-05-16, 03:52 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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) | TDMOG

"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-05-16, 03:06 AM  
gmarco
A Chromatic Dragonspawn
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 189
File comments: 100
Uploads: 33
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 10-28-16, 12:07 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
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) | TDMOG

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

Forum posts: 1632
File comments: 3612
Uploads: 118
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) | 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 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: 2
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
Post A Reply



Category Jump: