• 0

    posted a message on PitBull 4.0
    I was looking for a way to display an icon when a player get a specific debuff.
    For exemple, to display it when a player has the Mark of the fallen champion debuff.

    What i want to do is something like that:
    If Unit has debuff X, then display icon.

    Problem is, i don't know how to translate that in LUA.
    Also, is there a way for the lua to display the icon of this specific debuff (with a GetIcon or something like that) ? Or do you have to go look yourself at which icon to display ?
    Posted in: Unit Frames
  • 0

    posted a message on LuaTexts Official Thread
    If you delete the name(unit), i think you must also delete one of the %s before.
    Posted in: Unit Frames
  • 0

    posted a message on PitBull 4.0
    Ok, i've worked for quite some time to get to this, but it still doesn't work like i want :(

    What i want: when an ally doesn't have mark of the wild (or gift of the wild), make an icon appear. If the buff is there, but will fade soon (i used a 5min counter with dogtags), make the icon appear, but smaller.

    The dogtag was like this (french names for buff and class):
    [(if ((((Class(unit="player") = "Druidesse") or (Class(unit="player") = "Druide")) and (HasAura("Marque du fauve") and (AuraDuration("Marque du fauve") < 300))) or (HasAura("Don du fauve") and (AuraDuration("Don du fauve") < 300))) then
    Icon("Interface/Icons/Spell_Nature_Regeneration", size=20)
    elseif (((Class(unit="player") = "Druidesse") or (Class(unit="player") = "Druide")) and (HasAura("Marque du fauve") or HasAura("Don du fauve"))) then
    " "
    elseif ((Class(unit="player") = "Druidesse") or (Class(unit="player") = "Druide")) then
    Icon("Interface/Icons/Spell_Nature_Regeneration", size=30)
    end)]


    After reading on this post and others, i've made this in lua:
    local i = 1
    local fauve = true
    while true do
    local name,_,icon = UnitAura(unit,i,"HELPFUL")
    if not name then
    break
    elseif name == "Marque du fauve" then
    fauve = false
    elseif name == "Don du fauve" then
    fauve = false
    end
    i = i + 1
    end
    if fauve then
    return "|TInterface/Icons/Spell_Nature_Regeneration:20|t"
    end

    However, i still have some problems: first, it doesn't refresh. What i mean is, if i buff, the icon doesn't disappear unless i change target. And i also can't find the way to put the timer thing.
    [Edit: found the way for it to refresh, using the events! Still missing the timer]


    I also wanted a way to display the number of stacks of my lifebloom on someone.
    Posted in: Unit Frames
  • 0

    posted a message on CowTip 2.0
    I installed LibDogTag-3.0 and LibDogTag-Unit-3.0, with still no result. I found in the Cowtip folder a Libs folder, already containing those libs. I thought it could be a bad version of them, so i changed them with latest versions of the libs (WoW-3.0-release-2), but still no result.

    Vanilla tooltip shows the zone, in fact, if i deactivate the line's text in cowtip (the spot you check just above the dogtag help), zone is then displayed (but with vanilla tooltip).

    Edit: Forgot to mention, i use the french version of the game. May the bug come from the fact the name of the zone is not in english?
    Posted in: General AddOns
  • 0

    posted a message on CowTip 2.0
    I know that, jokeyrhyme... But it doesn't show anything, even when the unit i mouseover is not in the same zone (in my screenshot, i was at naxxramas, and the unit was at orgrimmar...).

    I tried erasing cowtip to install it again, using an older version of the addon, etc., but still got no results. I'm wondering if i could miss something not directly included in the addon (library, etc.)? I tried desactivating all other addons already, with no change, so it doesn't seem to be a conflict with another of my addons.
    Posted in: General AddOns
  • 0

    posted a message on CowTip 2.0
    That's what i have too, but i don't have the zone in the tooltip :(
    tooltip: http://img205.imageshack.us/img205/3903/cowtip1vl1.jpg
    dogtag: http://img74.imageshack.us/img74/6026/cowtip2wj1.jpg
    Posted in: General AddOns
  • 0

    posted a message on CowTip 2.0
    I'm new to cowtip, so i tried to configure it a bit, but I'm having problems with the "Zone" tag. I tried [Zone], [if IsPlayer then Zone], ... Whichever tag i use, it doesn't display the location of the characters i'm in group with.
    Could someone help me with this?
    Posted in: General AddOns
  • 0

    posted a message on X-Perl Thread
    Seem the options for buffs in party/raid (castable/curable only) is not working. I tried clicking it, declicking, clicking again... but still all buffs are always displayed. This makes the addon impossible to use for me, as, playing a resto druid, I need to see which hots are on everyone, and the tons of buffs in a raid makes it a pain to see.
    Posted in: Unit Frames
  • To post a comment, please or register a new account.