|
Glass Joe
Blood Elf Hunter
Khadgar (EU)
|
rFilter2
i've been trying to get the filter to work for a couple of days now, and can't seem to get it to work (the icons don't show up at all)
i've set all the positions to 0 so the icons would be in the middle of my screen iirc
got the texture folder in my addons as well
i'll post the code i have atm to show my buffs/debuffs, if somebody would be able to help me with a mistake or something
thanks in advance

-- 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 = 1
local alpha_when_in_combat = 1
--make icon grey when buff noch active
--0 = off // 1 = on
local use_grey_vertex = 1
--DEFAULT_CHAT_FRAME:AddMessage("found "..rf2_player_name.." : "..rf2_player_class)
if rf2_player_name == "Takashi" and rf2_player_class == "WARRIOR" then
rf2_spell_list = {
buffs = {
[1] = { tag = "battle", spellid = 2048, unit = "player", size = 20, fontsize = 16, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
[2] = { tag = "rampage", spellid = 30030, size = 18, fontsize = 14, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
},
debuffs = {
[1] = { tag = "sunder", spellid = 25225, unit = "target", size = 20, fontsize = 16, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
[2] = { tag = "demo", spellid = 25203, unit = "target", size = 20, fontsize = 16, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
[3] = { tag = "clap", spellid = 25264, unit = "target", size = 20, fontsize = 16, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
},
cooldowns = {
--[1] = { tag = "revenge", spellid = 30357, size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
--[2] = { tag = "shieldslam", spellid = 30356, size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
--[3] = { tag = "bloodrage", spellid = 2687, size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
},
}
else
rf2_spell_list = {
buffs = {
[1] = { tag = "battle", spellid = 2048, unit = "player", size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
[2] = { tag = "rampage", spellid = 30030, size = 18, fontsize = 14, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
},
debuffs = {
[1] = { tag = "demo", spellid = 25203, unit = "target", size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
[2] = { tag = "sunder", spellid = 25225, unit = "target", size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
[3] = { tag = "clap", spellid = 25264, unit = "target", size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
},
cooldowns = {
--[1] = { tag = "revenge", spellid = 30357, size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
--[2] = { tag = "shieldslam", spellid = 30356, size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
--[3] = { tag = "bloodrage", spellid = 2687, size = 32, fontsize = 24, posx = 0, posy = 0, framestrata = "BACKGROUND", anchor = "UIParent"},
},
}
end
edit: downloaded an interface that had a working rfilter2 and used that, it's working now
don't know what was wrong with it
Last edited by matsjuw : 06/23/08 at 5:13 AM.
|