Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 12/06/08, 7: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, 8: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, 10: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, 11:39 AM   #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, 2: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, 4: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, 5: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 6:26 AM.

We need a couple of priests to do this!

Offline
Reply With Quote
Old 12/09/08, 6: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, 6: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 8:33 AM.

We need a couple of priests to do this!

Offline
Reply With Quote
Old 12/09/08, 8: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, 8: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, 5: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, 5: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, 1: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 1:51 PM.

Offline
Reply With Quote
Old 12/12/08, 8: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
Reply

Go Back   Elitist Jerks » Public Discussion » 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 1:30 AM