Elitist Jerks
Register
Blogs
Forums


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

Reply
 
LinkBack Thread Tools
Old 04/06/08, 7:51 PM   #106
Ferous
Von Kaiser
 
Ferous's Avatar
 
Gnome Mage
 
Hydraxis
HoTs

My codes don't work with the new DogTags, and was wondering if anyone could give me a hand and help me figure out the code for these. They are durations on my LB, Rejuv, and Regrowth within my Pitbull.




The code right now that I have for it is:

[Outline][ [Class#player = Text(Druid)] ? HasAura(Regrowth) ? AuraTimeLeft(Regrowth):Floor:Color(99dd99):Bracket][ [Class#player = Text(Druid)] ? HasAura(Rejuvenation) ? AuraTimeLeft(Rejuvenation):Floor:Color(00bbff):Bracket][ [Class#player = Text(Druid)] ? HasAura(Lifebloom) ? AuraTimeLeft(Lifebloom):Floor:Append([Text(*):Rep([NumAura(Lifebloom)])]):Green:Bracket]

Offline
Reply With Quote
Old 04/06/08, 9:22 PM   #107
Margot
Von Kaiser
 
Human Warrior
 
Argent Dawn
All strings have to be explicitly escaped in version 3.

That means all your colors, all your spell names, and all texts must be in quotes.

[Class#player = Text("Druid")] and so on.

Offline
Reply With Quote
Old 04/06/08, 10:56 PM   #108
Ferous
Von Kaiser
 
Ferous's Avatar
 
Gnome Mage
 
Hydraxis
Oh ok. Thank you very much! That will help me out a great deal.

EDIT: Ok, I tried out the quotations, but I couldn't get them to work. If anyone can give me pointers on how to get them working again, I would be much appreciated. I am still trying right now to figure it out, and thank you again for the quick response.

Last edited by Ferous : 04/07/08 at 8:50 AM.

Offline
Reply With Quote
Old 04/07/08, 10:55 AM   #109
cs-cam
Von Kaiser
 
cs-cam's Avatar
 
Undead Priest
 
Nagrand
Originally Posted by Ferous View Post
Oh ok. Thank you very much! That will help me out a great deal.

EDIT: Ok, I tried out the quotations, but I couldn't get them to work. If anyone can give me pointers on how to get them working again, I would be much appreciated. I am still trying right now to figure it out, and thank you again for the quick response.
Maybe post what you've got at the moment? Could be something as simple as a single missing quotation somewhere and posting your current work will give you another few sets of eyes to check it over.

Offline
Reply With Quote
Old 04/07/08, 1:55 PM   #110
Inno
Glass Joe
 
Draenei Shaman
 
Moonrunner
I've been trying to get the
"IsLeader(unit="player")"
tag to work but as of yet I cant get it to appear properly. No matter how I try to get it working it just doesn't. It'll either display nothing or say that everyone in the group/bg/raid is the leader.

help :-(

Offline
Reply With Quote
Old 04/07/08, 2:02 PM   #111
Zerchi
Von Kaiser
 
Zerchi's Avatar
 
Fray
Orc Death Knight
 
No WoW Account
Originally Posted by Inno View Post
I've been trying to get the
"IsLeader(unit="player")"
tag to work but as of yet I cant get it to appear properly. No matter how I try to get it working it just doesn't. It'll either display nothing or say that everyone in the group/bg/raid is the leader.

help :-(
I think the unit="player" part means it's checking if YOU are the leader or not which might explain why it's all or nothing. So all you want is [IsLeader] since the unitframe or tooltip will handle the targeting business.

Offline
Reply With Quote
Old 04/07/08, 2:36 PM   #112
Inno
Glass Joe
 
Draenei Shaman
 
Moonrunner
Yeah I tried it as IsLeader by itself as well. that gave everyone the mark as well

Offline
Reply With Quote
Old 04/07/08, 2:47 PM   #113
Zerchi
Von Kaiser
 
Zerchi's Avatar
 
Fray
Orc Death Knight
 
No WoW Account
Originally Posted by Inno View Post
Yeah I tried it as IsLeader by itself as well. that gave everyone the mark as well
It's possible there's a dogtag bug then but something like [if IsLeader then "L"] theoretically should do the trick.

Offline
Reply With Quote
Old 04/07/08, 4:40 PM   #114
SOOPRcow
Glass Joe
 
Night Elf Druid
 
Tichondrius
Okay, This is my sexy little "Need Innervate" dogtag for my raid frames and party. I use it before the "Name" tag on my frames. This will put an Innervate icon before the name of anyone in the raid or party who is bellow 20% mana and is a Druid or a Priest.

[(if (IsMana and (PercentMP < 20) and ~HasAura("Innervate") and ((Class = "Druid") or (Class = "Priest"))) then
    "Interface\Icons\Spell_Nature_Lightning":Icon(12)
end) Name]
Anyway, Have fun with it

Offline
Reply With Quote
Old 04/07/08, 5:08 PM   #115
Malag
Von Kaiser
 
Orc Shaman
 
Grim Batol (EU)
Is it just me, or does your Pitbull Raid-frames seem to get very laggy when you start putting in a lot of DogTag checks as well?

Would be nice to maybe have the DogTag texts only be enabled at all when certain criterias are met (like BigWig modules?).

Now, I haven't tried this one out yet, but I don't see a problem with it this far. Basically, after a night of messing around with this boss, seems to me that the duration of the Burn debuff on Brutallus has a lot to say for your decisionmaking:

Nevermind :)
I'll get back to this post later and edit it if it doesn't work ingame.

It's a perfect example of a DogTag I'd really like to not have active on any other fight.

Last edited by Malag : 04/07/08 at 6:48 PM.

Offline
Reply With Quote
Old 04/07/08, 5:16 PM   #116
spiderella
My internal monologue has Tourette's Syndrome
 
spiderella's Avatar
 
Undead Mage
 
Khadgar
Tracking Burn time on a Pitbull unit frame will not work for the same reason tracking Kalecgos curse doesn't. (http://elitistjerks.com/699833-post88.html)

There's an RDX package (Brethren UF) that puts a timer bar on units for curses and burn. I hate RDX for all of its complexities but am glad our guild's healers are using it . . . Ace is so much more elegant when it's capable /shrug.

Offline
Reply With Quote
Old 04/07/08, 6:50 PM   #117
Malag
Von Kaiser
 
Orc Shaman
 
Grim Batol (EU)
Originally Posted by spiderella View Post
Tracking Burn time on a Pitbull unit frame will not work for the same reason tracking Kalecgos curse doesn't. (http://elitistjerks.com/699833-post88.html)

There's an RDX package (Brethren UF) that puts a timer bar on units for curses and burn. I hate RDX for all of its complexities but am glad our guild's healers are using it . . . Ace is so much more elegant when it's capable /shrug.
Ah thanks for clearing that up. I must've missed/misunderstood that. Guess I'll look for another way to handle it.

Offline
Reply With Quote
Old 04/07/08, 10:26 PM   #118
Covet
Von Kaiser
 
Covet's Avatar
 
Blood Elf Paladin
 
Dethecus
Originally Posted by Sethik View Post
Had a few requests for updated tags for my CowTip styles:



LEFT:

[Level:White] [NameRealm:ClassColor] [Classification:Paren]
[if Guild then Guild:Angle:Green " " GuildRank:Paren:Color("caf6c8") else " " end]
[(if IsPlayer and IsFriend then (if TalentSpec then TalentTree " " TalentSpec:Paren:Gray else "Loading..." end) end) (if IsUnit("pet") then HappyText end)]
[Zone]
[if IsUnit("player", Target) then Red "Targeting << You >>" elseif Target:NameRealm then "Targeting <" Target:NameRealm:ClassColor(Target) ">" end]

RIGHT:

[Faction or SmartRace]
[if Faction then SmartRace end]
[if IsPlayerOrPet then PercentHP:Percent:HPColor elseif InCombat then PercentHP:Percent:HPColor end]
I'm trying this now, I have the LibDogTag-3.0 and LibDogTag-Unit-3.0, but am having issues with the health percentage display. Everything looks perfect if it's a player or NPC target. If it's a player's pet, the HP percent is nudged up against the race.

Player Target


Pet Target (yeah, this is a player SS, but the pet frame does the same thing)


CowTip - Edit Lines

Offline
Reply With Quote
Old 04/08/08, 1:18 AM   #119
Gearknight
Piston Honda
 
Dwarf Hunter
 
Kul Tiras
Originally Posted by Covet View Post
I'm trying this now, I have the LibDogTag-3.0 and LibDogTag-Unit-3.0, but am having issues with the health percentage display. Everything looks perfect if it's a player or NPC target. If it's a player's pet, the HP percent is nudged up against the race.
CowTip does this if there's a tag on the right side but nothing on the left - it fails to allocate height for that line of text. I worked around it in my tags by making sure that something will always display on the left side if there's stuff on the right.

Offline
Reply With Quote
Old 04/08/08, 12:58 PM   #120
Covet
Von Kaiser
 
Covet's Avatar
 
Blood Elf Paladin
 
Dethecus
Originally Posted by Gearknight View Post
CowTip does this if there's a tag on the right side but nothing on the left - it fails to allocate height for that line of text. I worked around it in my tags by making sure that something will always display on the left side if there's stuff on the right.
Thank you! That makes sense because it was happening with Alliance (non-friendly targets) when their spec wasn't displaying. I ended up switching things up anyway just for personal preference.

One more question... I used the following text in my lines

[Faction or SmartRace]
[if Faction then SmartRace end]
and I love it, but I want to pare it down a bit more. For example, if I'm targeting a player or their pet I only want to know the [SmartRace]. If I'm targeting a non-player (creature, NPC, etc), I want to see the [Faction] and [SmartRace]. Would something like this work?

[if IsPlayerOrPet then SmartRace elseif IsUnit then Faction]
[if Faction then SmartRace end]

Last edited by Covet : 04/08/08 at 2:10 PM.

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