Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 12/02/08, 2:55 PM   #476
Minimized
Glass Joe
 
Gnome Rogue
 
<Ego>
Outland (EU)
Originally Posted by Montegos View Post
I had a dogtag earlier which made my ToT frames text increase vertically instead of horizontally but cant remember it.
Can anyone help me?
Think you could do it with something like:

[Name:Replace("", "\n"):Substring(2, Length(Name) * 2)]
Try it out, see if it's what you're looking for.

Last edited by Minimized : 12/02/08 at 3:10 PM.

Offline
Reply With Quote
Old 12/02/08, 6:00 PM   #477
Montegos
Glass Joe
 
Tauren Druid
 
Auchindoun (EU)
Thanks Mini, worked with no problems.

Offline
Reply With Quote
Old 12/05/08, 3:01 AM   #478
diospadre
Hero of the Horde
 
diospadre's Avatar
 
Undead Warrior
 
Mal'Ganis
Is there a way to get dogtags to differentiate between a debuff you applied to a mob and one someone else? i.e. My Crypt Fever vs. another DK's?

United States Offline
Reply With Quote
Old 12/05/08, 11:04 AM   #479
 Adoriele
Save Greendale!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by diospadre View Post
Is there a way to get dogtags to differentiate between a debuff you applied to a mob and one someone else? i.e. My Crypt Fever vs. another DK's?
Probably need to do some lua editing. The API still returns a flag for if the de/buff is yours, but DogTags doesn't seem to have an option to filter for it. And of course the old standby of checking for duration no longer works, since you can see all durations now.


United States Online
Reply With Quote
Old 12/06/08, 4:00 PM   #480
Cobrakai
Von Kaiser
 
Tauren Hunter
 
Burning Legion
Dog Tag in game help window not working

I can't seem to get the in game Dog Tag lines "help" window to function correctly -- all that shows up is the window w/o any search able categories, only the line test box. I've downloaded the latest version but still no luck.

Offline
Reply With Quote
Old 12/06/08, 8:01 PM   #481
Minimized
Glass Joe
 
Gnome Rogue
 
<Ego>
Outland (EU)
Originally Posted by Cobrakai View Post
I can't seem to get the in game Dog Tag lines "help" window to function correctly -- all that shows up is the window w/o any search able categories, only the line test box. I've downloaded the latest version but still no luck.
Try updating all other addons using the Dogtag/Dogtag_Units libs, Parrot and Cowtip for example.

Offline
Reply With Quote
Old 12/08/08, 9:46 AM   #482
motorboatin
Glass Joe
 
Dwarf Priest
 
Gorefiend
I am new to dogtags and I am trying to stumble my way thru, I am trying to make a tag for my party and raid frames that if there is a mage or priest etc.. in the group/raid and a buff is missing then it will show a text or Icon. I have seen the ones for adding a "." for when a buff is present, and tried to use that as a base and have failed.

Offline
Reply With Quote
Old 12/08/08, 11:54 AM   #483
aadric
Von Kaiser
 
Human Priest
 
Dark Iron
Originally Posted by Cobrakai View Post
I can't seem to get the in game Dog Tag lines "help" window to function correctly -- all that shows up is the window w/o any search able categories, only the line test box. I've downloaded the latest version but still no luck.
I am also having this problem. I've updated all the addons that use Dog Tags (at least the ones obvious to me). Is this problem related to a specific version I can search my addon folder for?

Offline
Reply With Quote
Old 12/08/08, 12:39 PM   #484
motorboatin
Glass Joe
 
Dwarf Priest
 
Gorefiend
If anyone can point me in the right direction, this is what I have and I am not sure which of the two is close to being right. What I am attempting to show in my raid frames if there is a priest in the group and a player is missing pw fort or prayer of fort then the icon will show if they have the buff nothing will show.

[(if (RaidGroup(unit="Raidgroup") = "Priest") and HasAura("PowerWord:Fortitude") or HasAura("PrayerofFortitude")) ?" "
!Interface/Icons/Spell_Holy_PrayerofFortitude":Icon"

or

[(if (RaidGroup(unit="player") = "Priest") and HasAura("PowerWord:Fortitude") or HasAura("PrayerofFortitude")) ?" "
!Interface/Icons/Spell_Holy_PrayerofFortitude":Icon"

Offline
Reply With Quote
Old 12/09/08, 3:56 AM   #485
Wimpface
Von Kaiser
 
Wimpface's Avatar
 
Undead Priest
 
Chamber of Aspects (EU)
These are the dogtags i use for my pitbull frames, i've recently got into Pitbull after going with oUF for a few weeks. Need i say that my memory is horrible and i've forgotten everything about dogtags?

This is what i use to keep track of raid buffs, as a raid leader i need to see who's not prepared.
[Outline][(if HasAura("Arcane Intellect") or HasAura("Arcane Brilliance") then
    "I":Blue
end) (if HasAura("Power Word: Fortitude") or HasAura("Prayer of Fortitude") then
    "F":White
end) (if HasAura("Divine Spirit") or HasAura("Prayer of Spirit") then
    "Sp":Yellow
end) (if HasAura("Mark of the Wild") or HasAura("Gift of the Wild") then
    "W":Green
end) (if HasAura("Shadow Protection") or HasAura("Prayer of Shadow Protection") then
    "Sh":Black
end) (if HasAura("Blessing of Kings") or HasAura("Greater Blessing of Kings") then
    "K":Cyan
end) (if HasAura("Blessing of Salvation") or HasAura("Greater Blessing of Salvation") then
    "S":Red
end) (if HasAura("Blessing of Wisdom") or HasAura("Greater Blessing of Wisdom") then
    "Wi":Color("FF69B4")
end) (if HasAura("Fel Armor") or HasAura("Demon Skin") or HasAura("Demon Armor") then
    "A":Color("FF8000")
end) (if HasAura("Well Fed") then
    "Wf":Color("9400D3")
end)]
Going to add Blessing of Might as soon as i find out a good color to use for it.

Here is what i use on my priest while soloing
[Outline][(if HasAura("Power Word: Fortitude") or HasAura("Prayer of Fortitude") then
	".":White
end) (if HasAura("Power Word: Shield") then
	".":Yellow
end) (if HasAura("Shadowform") then
	".":Color("9400D3")
end) (if HasAura("Well Fed") then
	".":Cyan
end)]

My banish timer for extra awesomesauceness!
[outline] [(if HasAura("Banish", unit="target") and (AuraDuration("Banish", unit="target") <= 2) then
    "BANISH NOW!":Red
end)
(if HasAura("Banish", unit="target") and (AuraDuration("Banish", unit="target") > 5) and (AuraDuration("Banish") <= 3) then
    "Banish wears off in 3!":Color("FF4500")
end)
(if HasAura("Banish", unit="target") and (AuraDuration("Banish", unit="target") > 6) and (AuraDuration("Banish") <= 4) then
    "Banish wears off in 4!":Color("FF8000")
end)
(if HasAura("Banish", unit="target") and (AuraDuration("Banish", unit="target") > 7) and (AuraDuration("Banish") <= 5) then
    "Banish wears off in 5!":Yellow
end)
(if HasAura("Banish", unit="target") and (AuraDuration("Banish", unit="target") > 8) and (AuraDuration("Banish") <= 6) then
    "Banish wears off in 6!":Color("B3EE3A")
end)
(if HasAura("Banish", unit="target") and (AuraDuration("Banish", unit="target") > 9) and (AuraDuration("Banish") <= 7) then
    "Banish wears off in 7!":Color("00CD00")
end)
(if HasAura("Banish", unit="target") and (AuraDuration("Banish", unit="target") > 10) and (AuraDuration("Banish") <= 8) then
    "Banish wears off in 8!":Color("006400")
end)
(if HasAura("Banish", unit="target") and (AuraDuration("Banish", unit="target") > 11) and (AuraDuration("Banish") <= 9) then
    "Banish wears off in 9!":Color("7F7F7F")
end)
(if HasAura("Banish", unit="target") and (AuraDuration("Banish", unit="target") > 12) and (AuraDuration("Banish") <= 10) then
    "Banish wears off in 10!":Black
end)]
Most of these should be obvious what they do... If not just ask


While i'm here, anyone know the tag to get my targets name? I'd like to have my party targets as texts and not actual frames... This would be useful for my MT frames too.
What i've tried so far:
[outline] "-" [(if (unit == 'target') then Name end)]
[outline] "-" [Target]
[outline] "-" [Name:Target]
However, none of them worked.

Thanks in advance for any help.

We need a couple of priests to do this!

Offline
Reply With Quote
Old 12/09/08, 5:55 AM   #486
Minimized
Glass Joe
 
Gnome Rogue
 
<Ego>
Outland (EU)
Try this, it should work:
[outline] "-" [Name(unit="target")]
or maybe
[outline] "-" [Name(unit=target)]
The first one might take your own (player) target, that's why I put the 2nd one in aswell.

Offline
Reply With Quote
Old 12/09/08, 6:12 AM   #487
Wimpface
Von Kaiser
 
Wimpface's Avatar
 
Undead Priest
 
Chamber of Aspects (EU)
Originally Posted by Minimized View Post
Try this, it should work:
[outline] "-" [Name(unit="target")]
or maybe
[outline] "-" [Name(unit=target)]
The first one might take your own (player) target, that's why I put the 2nd one in aswell.
Thanks, will try right away

EDIT: Thanks, worked a charm! You dont happen to know how to make it only show if i have a target? tried PlayerHasTarget and HasTarget but to no avail...

EDIT2: Should have been a bit more clear, the "-" is showing up even if i dont have a target, any way to hide it?

EDIT3: Most important thingy, i wanted this for Party targets and raid targets - i should've been more clear with this.
Now it shows my target next to the raid frames instead of my raid members targets... Any idea on how to fix all this? :/

EDIT4: After some digging, i found this inside of oUF_Perfect by p3lim...
oUF.Tags['[raidtargetname]'] = function(u) return UnitName(u..'target') and '- '..UnitName(u..'target') or '' end
Any ideas on how to make this dogtag format? I've tried a few things but nothing worked very well...


Thanks in advance, again.

Last edited by Wimpface : 12/09/08 at 7:26 AM.

We need a couple of priests to do this!

Offline
Reply With Quote
Old 12/09/08, 7:41 AM   #488
Minimized
Glass Joe
 
Gnome Rogue
 
<Ego>
Outland (EU)
The second one seemed to work fine for me, so that would be:
[if name(unit=target) then "-" name(unit=target)]
edit: Btw, notice it's (unit=target), not (unit="target").

Offline
Reply With Quote
Old 12/09/08, 7:48 AM   #489
Wimpface
Von Kaiser
 
Wimpface's Avatar
 
Undead Priest
 
Chamber of Aspects (EU)
Originally Posted by Minimized View Post
The second one seemed to work fine for me, so that would be:
[if name(unit=target) then "-" name(unit=target)]
edit: Btw, notice it's (unit=target), not (unit="target").
Thank you again Minimized, it's appreciated! I will try to get in a bg now and test it... I'll be back with the results.

EDIT: It works a wonder!
/e gives a cookie to Minimized

EDIT2: More problems, i've been trying this for a while too but to no avail (as usual )

How can i combine these 2 dogtags so that it says <<YOU>> if the target is me?

[Outline][(if IsUnit('player', Target) then
    '<<':Cyan 'YOU':White '>>':Yellow
else
    Target:NameRealm or "none"
end)]
[Outline] [if Name(unit=Target) then
    "-" Name(unit=Target)
end]

Last edited by Wimpface : 12/09/08 at 9:33 AM.

We need a couple of priests to do this!

Offline
Reply With Quote
Old 12/09/08, 9:49 AM   #490
Minimized
Glass Joe
 
Gnome Rogue
 
<Ego>
Outland (EU)
[Outline] [if Name(unit=Target) then (if Name(unit=Target) = Name(unit="player") then "<<":Cyan "YOU":White ">>":Yellow else
    "-" Name(unit=Target) end)
end]
SHOULD work. Watch the ends, I tend to mess those up.

Offline
Reply With Quote
Old 12/09/08, 9:53 AM   #491
Wimpface
Von Kaiser
 
Wimpface's Avatar
 
Undead Priest
 
Chamber of Aspects (EU)
Originally Posted by Minimized View Post
[Outline] [if Name(unit=Target) then (if Name(unit=Target) = Name(unit="player") then "<<":Cyan "YOU":White ">>":Yellow else
    "-" Name(unit=Target) end)
end]
SHOULD work. Watch the ends, I tend to mess those up.
Thanks once again Minimized, may i ask if you know any tutorial for dogtags etc where i can see different tags? I tried the wowace wiki but it's been taken down.

Btw, the ends in your tag are correct, as there's only one 'if' in it

We need a couple of priests to do this!

Offline
Reply With Quote
Old 12/10/08, 6:54 AM   #492
Yero
Von Kaiser
 
Tauren Druid
 
Gilneas (EU)
Originally Posted by Wimpface View Post
Thanks once again Minimized, may i ask if you know any tutorial for dogtags etc where i can see different tags? I tried the wowace wiki but it's been taken down.

Btw, the ends in your tag are correct, as there's only one 'if' in it

Check this page:
LibDogTag-3.0 - WowAce Wiki

Offline
Reply With Quote
Old 12/11/08, 6:55 AM   #493
Daboran
King Hippo
 
Daboran's Avatar
 
Tauren Druid
 
Twisting Nether (EU)
Seems the "Threat" dogtag has changed in the latest release (my tags in Cowtip broke as soon as I updated Pitbull) and the wowace wiki hasn't been updated - anyone know what the correct syntax is now?

No longer having an easy way to run with disembedded libs is turning out to be very annoying to be honest.

Offline
Reply With Quote
Old 12/11/08, 2:43 PM   #494
B-Dawg
Von Kaiser
 
B-Dawg's Avatar
 
Tauren Shaman
 
Sen'jin
Originally Posted by Gearknight View Post
Drycoding, but simple enough that it ought to work:

[not IsMaxLevel ? PercentXP]



[Offline or AFK or DeadType or (ClassColor Name:Truncate(3))]



Similarly,

[Offline or AFK or DeadType or ClassColor(unit="target", value=HP)]
Had a question regarding this afk/dead code. How do I make it still show the unit's name? The way this code is right now if someone is afk it just shows "afk" where their name would be, likewise if they were dead. Thanks!

edit: just edited the code and deleted some brackets and added some, and got it the way i want it

Last edited by B-Dawg : 12/11/08 at 2:51 PM.

Offline
Reply With Quote
Old 12/12/08, 9:01 AM   #495
motorboatin
Glass Joe
 
Dwarf Priest
 
Gorefiend
For the raid synergy dogtags is there a w ay to have it only show when it is a raid boss.

[if IsEnemy and ~Dead and ~IsPlayerOrPet then

Offline
Reply With Quote
Old 12/12/08, 7:16 PM   #496
Aximous
Von Kaiser
 
Tauren Shaman
 
Jaedenar (EU)
[if Classification="Boss" then ...

Offline
Reply With Quote
Old 12/15/08, 9:08 AM   #497
Hurkan
Glass Joe
 
Hurkan's Avatar
 
Blood Elf Death Knight
 
Argent Dawn (EU)
Hi all, just having a few doubts while at work...

- Are DK presences considered Auras? So I can monitor them on my player frame.
- Still on DK, I was thinking in some kind of warning for DRW, with this I mean:

*** sample NON working code just for demonstration ***
if max runic power then
   if Horn of Winter true then
      if Blood Vengeance 3 stacks true then
         if Abomination's Might true then
            print " DRW Now!!! "
         fi
      fi
   fi
fi
*****
The ideia is to have a warning on player frame that DRW is ready to be used under optimal circunstances, I believe that this warning in conjunction with a macro to pop [trinkets -> hysteria -> DRW -> ghoul] can make some crazy damage.
Where I need some help:
- Blood Vengeance stacks, how can I monitor if I already have 3 stacks?
- DRW cooldown, I don't want the warning to appear when DRW is on cooldown.

Thanks for the help.

*** edit: I believe the proc names are not correct, so I used the respective talent names to make myself clear.

Last edited by Hurkan : 12/15/08 at 11:34 AM.

Offline
Reply With Quote
Old 12/15/08, 11:53 AM   #498
 Adoriele
Save Greendale!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Hurkan View Post
Hi all, just having a few doubts while at work...

- Are DK presences considered Auras? So I can monitor them on my player frame.
- Still on DK, I was thinking in some kind of warning for DRW, with this I mean:

*** sample NON working code just for demonstration ***
if max runic power then
   if Horn of Winter true then
      if Blood Vengeance 3 stacks true then
         if Abomination's Might true then
            print " DRW Now!!! "
         fi
      fi
   fi
fi
*****
The ideia is to have a warning on player frame that DRW is ready to be used under optimal circunstances, I believe that this warning in conjunction with a macro to pop [trinkets -> hysteria -> DRW -> ghoul] can make some crazy damage.
Where I need some help:
- Blood Vengeance stacks, how can I monitor if I already have 3 stacks?
- DRW cooldown, I don't want the warning to appear when DRW is on cooldown.

Thanks for the help.

*** edit: I believe the proc names are not correct, so I used the respective talent names to make myself clear.
1: if HasAura("Blood Vengeance") and NumAura("Blood Vengeance") = 3 then blah end
2: No way to monitor cooldowns with DogTags.
0: I think Presences are auras, since they show up in your buff list (Stances don't). You can do an easy test using the help section in Pitbull's Text area , something like if HasAura("Blood Presence") then "Yay" else "Boo" end. You could aso toss that text on your player frame to test it.


United States Online
Reply With Quote
Old 12/18/08, 9:27 AM   #499
omu
Glass Joe
 
Night Elf Rogue
 
Draenor (EU)
Hey everyone. I have a problem with the HostileColor tag which I use for non-players in my Pitbull target frame - the code looks like this:

[Outline][(InCombat ? "Combat ":Red "| ":Color("6684E8")) Level:DifficultyColor (PvP ? " PvP":Green) (Classification:Contains("Boss") ? " " Classification:Red ! Classification:Contains("Elite") ? " " Classification:Yellow) " | ":Color("6684E8") (IsPlayer ? Name:ClassColor ! Name:HostileColor)]
Player names are correctly colored by class, and non-players are correctly colored when they are neutral or friendly. However, enemy names appear in a pale red color similar to the Death Knight class color, which can be a bit confusing at times. Pitbull gives you an option to change reaction colors in the configuration GUI, however changing the reaction color for enemies there does not change the color when I use the HostileColor tag.

Now, does anyone know if a) this is a bug in Pitbull and b) how I can modify my code to display enemy names in "proper" red?

Any help on this would be much appreciated.

Offline
Reply With Quote
Old 12/27/08, 11:45 AM   #500
UserBanned
Glass Joe
 
UserBanned's Avatar
 
Human Death Knight
 
Icecrown
Never mind, I found what I was looking for is not pitbull but "StatBlockCore"

Last edited by UserBanned : 12/27/08 at 2:48 PM.

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » User Interface and AddOns

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[DogTags] - Share yours! Fulnir User Interface and AddOns 164 03/30/08 2:30 AM