Addon Information
Works with 3.3
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
zork's Portal Bug Reports Feature Requests
Author:
Version:
002
Date:
04-10-2009 06:15 AM
Size:
4.14 Kb
Downloads:
2,580
Favorites:
54
MD5:
Pictures
Click to enlarge
Testmode on
Click to enlarge
out of combat alpha set to 0.5
Click to enlarge
combat
rFilter2

Intro
This is my buff/debuff/cooldown filter mod.

Its very simple and can only be set up by lua editing.

THIS MOD IS ONLY FOR YOU IF YOU KNOW WHAT YOU ARE DOING, OTHERWISE STAY AWAY FROM THIS. IT EATS PUPPIES!!!

- You can create a infinite number of spells for every char
- Just edit the name/class in the condition or copy it
- Testmode will show all icons you set up for this char
- you can set alpha for icons when OOC and IC (alpha 0 will hide them)
- you can desaturate icons that are not active
- If you don't want any cooldowns or debuffs just empty the cooldown table (don't delete it) or comment out the entries.
- You can get spell ids from wowhead (http://www.wowhead.com/?spells=7) ... http://www.wowhead.com/?spell=6673 --> 6673 is spellid for battleshout. rank doesn't matter.
- debuffs can have the "ismine" argument. ismine = 1 --> only show debuffs by me, ismine = 0 --> I don't care who casted it, show me that it's active
- cooldown icons will disappear if the cooldown is <1.5 sec otherwise they would appear on every global cooldown

Config
Code:
  -----------------------------------------------------
  -- EDIT YOUR BUFFS/DEBUFFS IN HERE
  -- IMPORTANT, TAGS HAVE TO BE UNIQUE!!!
  -----------------------------------------------------

  -- to enable the icons OOC, put this to 1 while moving the icons and to 0 when ready
  -- 0 = off // 1 = on
  local testmode = 1
  
  --alpha when buff/debuff/cd not active
  --values between 0 and one are allowed
  local alpha_when_not_active = 0
  
  local alpha_when_in_combat = 0
  
  --make icon grey when buff noch active
  --0 = off // 1 = on
  local use_grey_vertex = 1
  
  local bordertexture = "Interface\\AddOns\\rTextures\\simplesquare_roth"

  --DEFAULT_CHAT_FRAME:AddMessage("found "..rf2_player_name.." : "..rf2_player_class)
  
  if rf2_player_name == "Grombur" and rf2_player_class == "HUNTER" then
    rf2_spell_list = {
      buffs = {
        [1] = { tag = "rapid", spellid = 3045, unit = "player", size = 24, fontsize = 18, posx = -64, posy = -270, framestrata = "BACKGROUND", anchor = "UIParent"},
        --[2] = { tag = "commanding", spellid = 469, unit = "player", size = 32, fontsize = 24, posx = 40, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
      },
      debuffs = {
        [1] = { tag = "mark",       spellid = 14325,  ismine = 0, unit = "target", size = 24, fontsize = 18, posx = -32, posy = -270, framestrata = "LOW", anchor = "UIParent"},
        [2] = { tag = "serpent",         spellid = 49000, ismine = 0,  unit = "target", size = 24, fontsize = 18, posx = 0, posy = -270, framestrata = "LOW", anchor = "UIParent"},
        [3] = { tag = "scorpid",         spellid = 27060, ismine = 0,  unit = "target", size = 24, fontsize = 18, posx = 32, posy = -270, framestrata = "LOW", anchor = "UIParent"},

        --14325 mark
        --49000 serpentsting
        --27060 poison
      },
      cooldowns = {
        --[1] = { tag = "wrath", spellid = 19574, size = 32, fontsize = 24, posx = 0, posy = 80, framestrata = "BACKGROUND", anchor = "UIParent"},
        --[2] = { tag = "rapid", spellid = 3045, size = 32, fontsize = 24, posx = 40, posy = 80, framestrata = "BACKGROUND", anchor = "UIParent"},
        --[3] = { tag = "arcane", spellid = 27019, size = 32, fontsize = 24, posx = 80, posy = 80, framestrata = "BACKGROUND", anchor = "UIParent"},
      },
    }
  elseif rf2_player_name == "Rothar" and rf2_player_class == "WARRIOR" then
    rf2_spell_list = {
      buffs = {
        [1] = { tag = "commanding", spellid = 469,  unit = "player", size = 24, fontsize = 16, posx = -64, posy = -320, framestrata = "LOW", anchor = "UIParent"},
        [2] = { tag = "battle",     spellid = 2048, unit = "player", size = 24, fontsize = 16, posx = -32, posy = -320, framestrata = "LOW", anchor = "UIParent"},
        --[3] = { tag = "snb",        spellid = 50227, unit = "player", size = 48, fontsize = 32, posx = 0 , posy = -30, framestrata = "LOW", anchor = "UIParent"},
        --[4] = { tag = "block",      spellid = 2565, unit = "player", size = 32, fontsize = 20, posx = -50 , posy = -30, framestrata = "LOW", anchor = "UIParent"},
        --[5] = { tag = "gnomeblocker", spellid = 35169, unit = "player", size = 32, fontsize = 20, posx = 50 , posy = -30, framestrata = "LOW", anchor = "UIParent"},
        --[6] = { tag = "fireblood", spellid = 40459, unit = "player", size = 32, fontsize = 20, posx = 0 , posy = 20, framestrata = "LOW", anchor = "UIParent"},
        --[4] = { tag = "freehero",   spellid = 58398, unit = "player", size = 32, fontsize = 20, posx = 0 , posy = -80, framestrata = "LOW", anchor = "UIParent"},        
        --[3] = { tag = "snb", spellid = 50227, size = 20, fontsize = 15, posx = 30, posy = -260, framestrata = "BACKGROUND", anchor = "UIParent"},
        --[3] = { tag = "rampage", spellid = 30033, size = 18, fontsize = 14, posx = -25, posy = -260, framestrata = "BACKGROUND", anchor = "UIParent"},
        --[3] = { tag = "berserker", spellid = 18499, size = 32, fontsize = 24, posx = 160, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
      },
      debuffs = {
        [1] = { tag = "sunder",       spellid = 25225, ismine = 0,  unit = "target", size = 24, fontsize = 16, posx = 0, posy = -320, framestrata = "LOW", anchor = "UIParent"},
        [2] = { tag = "demo",         spellid = 25203, ismine = 0,  unit = "target", size = 24, fontsize = 16, posx = 64, posy = -320, framestrata = "LOW", anchor = "UIParent"},
        [3] = { tag = "clap",         spellid = 25264, ismine = 1,  unit = "target", size = 24, fontsize = 16, posx = 32, posy = -320, framestrata = "LOW", anchor = "UIParent"},
        --[4] = { tag = "scorpid",      spellid = 3043,ismine = 0,    unit = "target", size = 18, fontsize = 16, posx = 60, posy = -300, framestrata = "LOW", anchor = "UIParent"},
        --[5] = { tag = "fearie",       spellid = 26993, ismine = 0,   unit = "target", size = 18, fontsize = 16, posx = 90, posy = -300, framestrata = "LOW", anchor = "UIParent"},
        --[6] = { tag = "fearieferal",  spellid = 27011, ismine = 0,  unit = "target", size = 18, fontsize = 16, posx = 90, posy = -300, framestrata = "LOW", anchor = "UIParent"},
        --[7] = { tag = "curseofreck", spellid = 27226, ismine = 0,  size = 18, fontsize = 14, posx = 50, posy = -230, framestrata = "BACKGROUND", anchor = "UIParent"},
        --[8] = { tag = "curseoftong", spellid = 11719, ismine = 0,  size = 18, fontsize = 14, posx = 75, posy = -230, framestrata = "BACKGROUND", anchor = "UIParent"},
      },
      cooldowns = {
        [1] = { tag = "bloodrage", spellid = 2687, size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
        [2] = { tag = "berserkercool", spellid = 18499, size = 32, fontsize = 24, posx = 50, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
        [3] = { tag = "revenge", spellid = 30357, size = 32, fontsize = 24, posx = 0, posy = 80, framestrata = "BACKGROUND", anchor = "UIParent"},
        [4] = { tag = "shieldslam", spellid = 30356, size = 32, fontsize = 24, posx = 40, posy = 80, framestrata = "BACKGROUND", anchor = "UIParent"},
      },
    }    
  end
SVN
Link: http://code.google.com/p/rothui/sour...2/rFilter2.lua

  Change Log - rFilter2
002
- empty table if the char is not set

001
- err
  Optional Files - rFilter2
Sorry, there are currently no optional files available.
  Comments - rFilter2
Post A Reply Comment Options
Old 02-05-2010, 06:56 AM  
CalciumIRL
A Deviate Faerie Dragon

Forum posts: 15
File comments: 44
Uploads: 1
Quote:
Originally posted by zork
To do this you need to convert the rFilter2.lua into UTF8 mode. Some editors can do this. Then you are allowed to use utf8-signs.
Ahh wonderful, thanks. There is another thing that I did notice though. Even though it shows all the 0.X times, it only updates every 1 second so it will go...

4, 3, 2, 1, 0.4

as an example, it won't show every X number. Is this intended? I'd really like it to update faster.
CalciumIRL is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-31-2010, 01:59 AM  
alimjocox
A Cyclonian

Forum posts: 47
File comments: 47
Uploads: 0
is there anyway to make it so if the buff isnt active and u are in combat that the missing buffs(properly inserted into the table) shows itself?
alimjocox is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-16-2010, 12:27 PM  
zohar101
A Kobold Labourer

Forum posts: 1
File comments: 27
Uploads: 0
Is there any way to make the counter go all the way down to zero and then disappear? I know what you posted about gcd but as a healer I'm not interested so much in pressing the ability the second it's up but more about knowing when not to try to cast it. I tried tinkering with the timer but it didn't work out so well.
zohar101 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-03-2010, 12:24 PM  
micaelis
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Arcane blast

Very nice addon but I'm having trouble with tracking the arcane blast debuff.
This is the code I'm using:

Quote:
[1] = { tag = "Arcane Blast", spellid = 36032, unit = "player", size = 24, fontsize = 16, posx = 80, posy = -15, framestrata = "LOW", anchor = "UIParent"},

I'm not getting any error, any solutions?
Everything else seems to work perfectly.

Greetz,

Mica

Last edited by micaelis : 01-03-2010 at 12:34 PM.
micaelis is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-23-2009, 02:42 AM  
zork
A Chromatic Dragonspawn
 
zork's Avatar
Interface Author - Click to view interfaces

Forum posts: 161
File comments: 1161
Uploads: 28
To do this you need to convert the rFilter2.lua into UTF8 mode. Some editors can do this. Then you are allowed to use utf8-signs.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI mini | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild
zork is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-22-2009, 05:47 PM  
CalciumIRL
A Deviate Faerie Dragon

Forum posts: 15
File comments: 44
Uploads: 1
Hey Zork, nice AddOn and works wonderfully, the only thing is, on one of my characters there is an accent in the name ( í ). And this breaks AddOn because it doesn't register the character and I get no Lua errors at all. Any ideas?
CalciumIRL is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-20-2009, 10:02 AM  
ashopedies
A Kobold Labourer

Forum posts: 0
File comments: 68
Uploads: 0
Is there another possibility to have different sets of buffs tracked based on spec other than just having two rfilter2 folders and reloading on spec switch?
__________________
Shields Up! - Another Resto Shaman Blog
ashopedies is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-24-2009, 11:43 AM  
zork
A Chromatic Dragonspawn
 
zork's Avatar
Interface Author - Click to view interfaces

Forum posts: 161
File comments: 1161
Uploads: 28
Geht in der Tat so erstmal nicht, da ich nur mit dem SpellName arbeite, aber nicht mit SpellIcon

Du könntest mal probieren die Bedingung zu erweitern.

Das hier
Code:
if name == spellName then
ändern in
Code:
if name == spellName and SpellIcon == texture then
Zu finden ist die Bedingung in dieser Funktion
Code:
function addon:rf2_check_buff(frameTag,spellId,unit)
Dadurch muss dann nicht nur der Name stimmen, sondern auch noch die Textur.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI mini | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild

Last edited by zork : 11-24-2009 at 11:44 AM.
zork is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-24-2009, 08:36 AM  
Ake
A Kobold Labourer

Forum posts: 1
File comments: 16
Uploads: 0
HI

erstmal danke, dass du soviele tolle Addons schreibst
Ein Problem habe ich aber noch, und zwar spiele ich einen Gleichgewichtsdruiden. Jetzt würde ich mir gernen die Eclipsephasen (http://www.wowhead.com/?spell=48518 und http://www.wowhead.com/?spell=48517) anzeigen lassen. Das Problem ist aber folgendes:
Wenn ich beide Buffs in die Liste eintrage, dann werden beide im Spiel angezeigt, egal, welcher der beiden aktiv ist. Wenn ich nur einen in die Liste eintrage, zeigt der immer das selbe Symbol, egal welcher Buff aktiv ist.

Weißt du wie ich das lösen kann?
Ake is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-23-2009, 11:17 AM  
zork
A Chromatic Dragonspawn
 
zork's Avatar
Interface Author - Click to view interfaces

Forum posts: 161
File comments: 1161
Uploads: 28
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI mini | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild

Last edited by zork : 11-23-2009 at 11:22 AM.
zork is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-23-2009, 10:18 AM  
breor
A Murloc Raider

Forum posts: 5
File comments: 11
Uploads: 0
Quote:
Originally posted by zork
Not intended but impossible is nothing.
I'm struggling to get a cooldown frame on top of the icons, can you point me in the right direction?
breor is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-23-2009, 08:23 AM  
zork
A Chromatic Dragonspawn
 
zork's Avatar
Interface Author - Click to view interfaces

Forum posts: 161
File comments: 1161
Uploads: 28
Quote:
Originally posted by breor
Is there any way to get a cooldown spiral on the icons?
Not intended but impossible is nothing.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI mini | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild
zork is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-22-2009, 11:39 PM  
breor
A Murloc Raider

Forum posts: 5
File comments: 11
Uploads: 0
Is there any way to get a cooldown spiral on the icons?
breor is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-21-2009, 11:09 AM  
mavja
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
I'm wondering if anyone has a rfilter for an unholy dk that they could post. I stole zork's for the warrior and i like it.

Thanks,
mavja is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-18-2009, 02:32 PM  
branana
A Kobold Labourer
 
branana's Avatar
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 31
Uploads: 1
On a separate note, is there any way to opt to not show any timer text on the icons?

For buffs like, Aspect of the Hawk.
branana is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.