Elitist Jerks
Register
Blogs
Chat
Forums
New Posts


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

Reply
 
LinkBack (93) Thread Tools
Old 04/06/08, 11:40 AM   #101 (permalink)
The Google Map Team can no longer help you
 
Malan's Avatar
 
Tauren Shaman
 
Skullcrusher
I apologize for what is probably a repetition but know that *somewhere* in the UI forum someone posted the dogtag method for shortening [Name] so that long target names would only appear to be X characters wide. I can't find it here and I can't locate it in the dogtag help file either. Anyone able to help me out?

Why all thinks that WF is better than rock?
~Rocks, coming to a shaman near you in the next expansion~

Originally Posted by Bluur View Post
Oh, and btw, vulajin, I don't know why we gave you those fucking pants and the muramasa - maybe if your dps was anywhere near your precious spreadsheets you'd actually beat my DPS once in a while.
 
User is offline.
Reply With Quote
Old 04/06/08, 11:57 AM   #102 (permalink)
Von Kaiser
 
Night Elf Druid
 
Moonglade (EU)
Malan, it's :Truncate(x) where x is the number of characters.
 
User is offline.
Reply With Quote
Old 04/06/08, 12:02 PM   #103 (permalink)
Von Kaiser
 
Orc Shaman
 
Grim Batol (EU)
Malan: [Name:Truncate(15, nil)] (DogTag 3.0)

nil is for removing the "..." which normally gets appended.


Could I ask people who post more advanced dogtags to actually check them for errors, and when/if errors get pointed out at a later time, please go back and fix them? It's not that I'm not capable of finding them myself, but often they've been corrected in later posts already.


And a question of my own: I'd like to shorten my hp deficit values to the format "-6.8k" rather than having it read "-6843", but :Short doesn't seem to do it on values below 10,000 and :VeryShort doesn't put decimals in at all. Which silly little thing am I missing here?


Btw Zerchi - Love the icons, definitly going to be using those.
 
User is offline.
Reply With Quote
Old 04/06/08, 2:07 PM   #104 (permalink)
Piston Honda
 
Dwarf Hunter
 
Kul Tiras
Originally Posted by Malag View Post
And a question of my own: I'd like to shorten my hp deficit values to the format "-6.8k" rather than having it read "-6843", but :Short doesn't seem to do it on values below 10,000 and :VeryShort doesn't put decimals in at all. Which silly little thing am I missing here?
Not really a solution, but here's a workaround for you:

-[(MissingHP > 999) ? "%.1f%s":Format(MissingHP / 1000, 'k') ! MissingHP]
 
User is offline.
Reply With Quote
Old 04/06/08, 2:26 PM   #105 (permalink)
The Google Map Team can no longer help you
 
Malan's Avatar
 
Tauren Shaman
 
Skullcrusher
Originally Posted by Eucharion View Post
Malan, it's :Truncate(x) where x is the number of characters.
Ah! Truncate! No wonder, I kept searching for Concatenate for some reason.

Why all thinks that WF is better than rock?
~Rocks, coming to a shaman near you in the next expansion~

Originally Posted by Bluur View Post
Oh, and btw, vulajin, I don't know why we gave you those fucking pants and the muramasa - maybe if your dps was anywhere near your precious spreadsheets you'd actually beat my DPS once in a while.
 
User is offline.
Reply With Quote
Old 04/06/08, 7:51 PM   #106 (permalink)
Glass Joe
 
Ferous's Avatar
 
Draenei Paladin
 
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]
 
User is offline.
Reply With Quote
Old 04/06/08, 9:22 PM   #107 (permalink)
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.
 
User is offline.
Reply With Quote
Old 04/06/08, 10:56 PM   #108 (permalink)
Glass Joe
 
Ferous's Avatar
 
Draenei Paladin
 
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.
 
User is offline.
Reply With Quote
Old 04/07/08, 10:55 AM   #109 (permalink)
Von Kaiser
 
cs-cam's Avatar
 
Undead Priest
 
Khaz'goroth
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.
 
User is offline.
Reply With Quote
Old 04/07/08, 1:55 PM   #110 (permalink)
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 :-(
 
User is offline.
Reply With Quote
Old 04/07/08, 2:02 PM   #111 (permalink)
Von Kaiser
 
Zerchi's Avatar
 
Human Priest
 
Cenarius
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.
 
User is offline.
Reply With Quote
Old 04/07/08, 2:36 PM   #112 (permalink)
Glass Joe
 
Draenei Shaman
 
Moonrunner
Yeah I tried it as IsLeader by itself as well. that gave everyone the mark as well
 
User is offline.
Reply With Quote
Old 04/07/08, 2:47 PM   #113 (permalink)
Von Kaiser
 
Zerchi's Avatar
 
Human Priest
 
Cenarius
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.
 
User is offline.
Reply With Quote
Old 04/07/08, 4:40 PM   #114 (permalink)
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
 
User is offline.
Reply With Quote
Old 04/07/08, 5:08 PM   #115 (permalink)
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.
 
User is offline.
Reply With Quote
Old 04/07/08, 5:16 PM   #116 (permalink)
Looked into Bush's eyes, saw letters: A B . . 3
 
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. (The DogTags 3.0 Thread)

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.
 
User is online.
Reply With Quote
Old 04/07/08, 6:50 PM   #117 (permalink)
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. (The DogTags 3.0 Thread)

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.
 
User is offline.
Reply With Quote
Old 04/07/08, 10:26 PM   #118 (permalink)
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
 
User is offline.
Reply With Quote
Old 04/08/08, 1:18 AM   #119 (permalink)
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.
 
User is offline.
Reply With Quote
Old 04/08/08, 12:58 PM   #120 (permalink)
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.
 
User is offline.
Reply With Quote
Old 04/08/08, 1:54 PM   #121 (permalink)
Glass Joe
 
Blood Elf Hunter
 
Drak'thul
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.

Player Target


Pet Target (yeah, this is a player SS, but the pet frame does the same thing)
Yeah, I have the same problem. It's a bug with CowTip.

As Contrail/Grey said, if you make sure there's something on the left, it'll fix it. That's why my guild line has [else " "]. You can do the same thing with the other lines if you like, but I was hoping it'd be fixed.

Originally Posted by Covet View Post
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 because some of my

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]
This:

[if IsPlayerOrPet then SmartRace else Faction end]
[if not IsPlayerOrPet then SmartRace end]

Last edited by Sethik : 04/08/08 at 2:17 PM.
 
User is offline.
Reply With Quote
Old 04/08/08, 3:09 PM   #122 (permalink)
Glass Joe
 
Dwarf Hunter
 
Chromaggus
<edit> Duh check the wiki.

Last edited by Dinnu : 04/08/08 at 3:25 PM.
 
User is offline.
Reply With Quote
Old 04/08/08, 8:42 PM   #123 (permalink)
Glass Joe
 
Tauren Druid
 
Maelstrom
Originally Posted by Ferous View Post
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(Dr