Elitist Jerks
Register
Blogs
Forums


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

Closed Thread
 
LinkBack Thread Tools
Old 03/27/08, 5:16 AM   #136
Unforgotten
Glass Joe
 
Blood Elf Rogue
 
Blackmoore (EU)
Originally Posted by Sajukar View Post
Try replacing

[Classification:Contains(Boss)?Text(Level 73)!Level:Prepend(Level )]
With

[Classification="Boss"?"Level 73"!"Level " Level]
As for others, remove the Text() bits and instead just place the text itself surrounded with " " and replace for example RandomTag:Contains(Text) with RandomTag="Text", not sure if there's any other tag there that ain't working.
hmm tried it with:

[Class#target?ClassColor#mouseovertarget][IsUnit#player(target)?Text(<<You>>)!NameRealm#mouseovertarget:Text(None)]

into

[Classification="target"?ClassColor:ismouseovertarget][IsUnit:"player"="target"?"<<You>>"!NameRealm:ismouseovertarget="None"]

but still syntax error ... COULD PLEASE SOMEBODY HELP ME! =(

Offline
Old 03/27/08, 6:30 AM   #137
liledevil
Glass Joe
 
Night Elf Rogue
 
Wildhammer (EU)
Im still quite new to dogtags, so I will just post my experiences from this morning after the 2.4 patch and fully switching to libdogtags-3.0
Many of my [isMaxlevel] statements werent working/giving me syntax errors. It seems like they have gone thru some drastic syntax changes.
What worked for me:
[(if condition then output)]
For example, i got
[Level:DifficultyColor (if not ismaxlevel then PercentXP:Difficultycolor:prepend(','))] [SmartRace:Classcolor] [Talenttree:Classcolor] [Class:Classcolor]
Hope this will give you a direction to solve your issues.
Only thing I notice is that the [Talenttree] is not working on other players, nor is [smartclass] which seems to be depricated in DT3.0

Offline
Old 03/27/08, 9:53 AM   #138
Malrix
Von Kaiser
 
Malrix's Avatar
 
Human Paladin
 
Draka
Originally Posted by Jitka View Post
Here's cowtip:

Line1: [IsPlayer ? [CanAttack ? Name:HostileColor ! Name:ClassColor] ! IsPet? [CanAttack ? Name:HostileColor ! Name] ! [Status ? Name:StatusColor ! Name:HostileColor]][Realm:Prepend(-)] [Target ? Text(:)] [IsPlayer#mouseovertarget ? IsUnit#player(MouseOverTarget) ? Text(YOU):Bracket:Fuchsia ! Target:ClassColor#mouseovertarget ! Target:HostileColor#mouseovertarget]
Line2: [Guild?Text([Guild:IsEqual([Guild#player])?Color(0076EC)!Green][Guild])]
Line3:  [Status ? StatusColor ! [CanAttack ? DifficultyColor] ][Classification:Contains(Boss)?Text(Level 73)!Level:Prepend(Level )] [Classification] [~Status ? Color(FEF2C5)][SmartRace:Hide(Not specified):Hide(Unknown)][SmartRace:Contains(Not specified) ? Text(Creature)] [TalentSpec ? TalentTree:Hide(None):ClassColor] [~Status ? ClassColor][PlayerClass]
Line4: [~IsPlayerOrPet?Faction:Hide(Alliance):Hide(Horde):HostileColor]
Line5: [IsPlayer?PvP:Red] [~IsPlayer?Status:StatusColor!Status] [AFKDND]
Line6: [Zone]
I think the new syntax for this should be:
Line1: [(isPlayer ? (canAttack ? Name:HostileColor ! Name:ClassColor) ! (isPet ? (status ? Name:StatusColor ! (canAttack ? Name:HostileColor ! Name)) ! (status ? Name:StatusColor ! Name:HostileColor))) Realm:Prepend("-")] [Target:Exists ? ":"] [IsUnit("player", unit=Target) ? "<<You>>" ! [IsPlayer(unit=Target) ? ClassColor(unit=Target) ! HostileColor(unit=Target)] Name(unit=Target)]
Line2: [Guild ? (Guild(unit="player") ? Guild:Color("0076EC") ! Guild:Green)]
Line3: [(Status ? StatusColor ! (CanAttack ? DifficultyColor))] [(Classification:Contains("Boss") ? "Level 73" ! Level:Prepend("Level "))] [Classification] [(~Status ? Color("FEF2C5")) SmartRace:Hide("not specified"):Hide("Unknown") (SmartRace:Contains("not specified") ? " Creature")] [(TalentSpec ? TalentTree:Hide("None"):ClassColor)] [(~Status ? ClassColor) (isPlayer ? Class)]
Line4: [~IsPlayerOrPet ? Faction:Hide("Alliance"):Hide("Horde"):HostileColor]
Line5: [IsPlayer ? PvP:Red] [~IsPlayer ? Status:StatusColor ! Status]
Line6: [Zone]

Last edited by Malrix : 03/27/08 at 11:26 AM.

Offline
Old 03/27/08, 9:58 AM   #139
Malan
Mike Tyson
 
Malan's Avatar
 
Malan
Tauren Shaman
 
No WoW Account
Ah thanks man, those are the tags I've been using too, I was fiddling around last night and couldn't get any of it working. Its a bit annoying now that we have to use quotation marks for every parameter, that change doesn't seem to make sense.

United States Offline
Old 03/27/08, 10:41 AM   #140
Malrix
Von Kaiser
 
Malrix's Avatar
 
Human Paladin
 
Draka
Hmm, I swear the DogTags-3.0 wiki wasn't up last night but now that it is maybe I'll fix those tags up a bit. They work the way I posted... they are just really really ugly.

*Edit* After reading the Wiki I cleaned up the tags considerably. These now both work and don't make me cry to write.

Last edited by Malrix : 03/27/08 at 11:17 AM.

Offline
Old 03/27/08, 11:21 AM   #141
Unforgotten
Glass Joe
 
Blood Elf Rogue
 
Blackmoore (EU)
Originally Posted by Malrix View Post
I think the new syntax for this should be:
Line1: [(isPlayer ? (canAttack ? Name:HostileColor ! Name:ClassColor) ! (isPet ? (status ? Name:StatusColor ! (canAttack ? Name:HostileColor ! Name)) ! (status ? Name:StatusColor ! Name:HostileColor))) Realm:Prepend("-")] [Target:Exists ? ":"] [IsUnit("player", unit=Target) ? "<<You>>" ! [IsPlayer(unit=Target) ? ClassColor(unit=Target) ! HostileColor(unit=Target)] Name(unit=Target)]
Line2: [Guild ? (Guild(unit="player") ? Guild:Color("0076EC") ! Guild:Green)]
Line3: [(Status ? StatusColor ! (CanAttack ? DifficultyColor))] [(Classification:Contains("Boss") ? "Level 73" ! Level:Prepend("Level "))] [Classification (~Status ? Color("FEF2C5")) SmartRace:Hide("not specified"):Hide("Unknown") (SmartRace:Contains("not specified") ? " Creature")] [(TalentSpec ? TalentTree:Hide("None"):ClassColor)] [(~Status ? ClassColor) (isPlayer ? Class)]
Line4: [~IsPlayerOrPet ? Faction:Hide("Alliance"):Hide("Horde"):HostileColor]
Line5: [IsPlayer ? PvP:Red] [~IsPlayer ? Status:StatusColor ! Status]
Line6: [Zone]
THANKS!

Offline
Old 03/27/08, 2:39 PM   #142
Zerchi
Von Kaiser
 
Zerchi's Avatar
 
Fray
Orc Death Knight
 
No WoW Account
A random at work so can't tinker to find out question... has anyone tried using raid icons via the chat tags, such as {square}, in a dogtag? I'm thinking along the lines of alternative combo point icons or for wrapping around names to indicate various states, etc.

Offline
Old 03/27/08, 3:30 PM   #143
captf
Glass Joe
 
Blood Elf Rogue
 
Auchindoun (EU)
Originally Posted by Unforgotten View Post
hmm tried it with:

[Class#target?ClassColor#mouseovertarget][IsUnit#player(target)?Text(<<You>>)!NameRealm#mouseovertarget:Text(None)]

into

[Classification="target"?ClassColor:ismouseovertarget][IsUnit:"player"="target"?"<<You>>"!NameRealm:ismouseovertarget="None"]

but still syntax error ... COULD PLEASE SOMEBODY HELP ME! =(
Not sure about the first half, but I got the following to work:

[IsUnit("player","mouseovertarget")?"<<You>>"!NameRealm("mouseovertarget")] <- oops, had a typo

in the same vein, it could possibly be:
[Class("mouseovertarget")?ClassColor("mouseovertarget")]
for the first half - or similar

Last edited by captf : 03/27/08 at 7:52 PM.

Offline
Old 03/27/08, 4:14 PM   #144
Jitka
Bless me, Father. I ate a lizard.
 
Jitka's Avatar
 
Blood Elf Paladin
 
Suramar
Originally Posted by Malrix View Post
I think the new syntax for this should be:
Line1: [(isPlayer ? (canAttack ? Name:HostileColor ! Name:ClassColor) ! (isPet ? (status ? Name:StatusColor ! (canAttack ? Name:HostileColor ! Name)) ! (status ? Name:StatusColor ! Name:HostileColor))) Realm:Prepend("-")] [Target:Exists ? ":"] [IsUnit("player", unit=Target) ? "<<You>>" ! [IsPlayer(unit=Target) ? ClassColor(unit=Target) ! HostileColor(unit=Target)] Name(unit=Target)]
Line2: [Guild ? (Guild(unit="player") ? Guild:Color("0076EC") ! Guild:Green)]
Line3: [(Status ? StatusColor ! (CanAttack ? DifficultyColor))] [(Classification:Contains("Boss") ? "Level 73" ! Level:Prepend("Level "))] [Classification] [(~Status ? Color("FEF2C5")) SmartRace:Hide("not specified"):Hide("Unknown") (SmartRace:Contains("not specified") ? " Creature")] [(TalentSpec ? TalentTree:Hide("None"):ClassColor)] [(~Status ? ClassColor) (isPlayer ? Class)]
Line4: [~IsPlayerOrPet ? Faction:Hide("Alliance"):Hide("Horde"):HostileColor]
Line5: [IsPlayer ? PvP:Red] [~IsPlayer ? Status:StatusColor ! Status]
Line6: [Zone]
Close. I only have two edits. Line 2 doesn't quite work, so I used:

[if Guild = Guild(unit="player") then Guild:Color("0076EC") else Guild:Green]
and Line 3 has an unnecessary space that's corrected by:

[((Status ? StatusColor ! (CanAttack ? DifficultyColor)) (Classification:Contains("Boss") ? "Level 73" ! Level:Prepend("Level ")))] [Classification] [(~Status ? Color("FEF2C5")) SmartRace:Hide("not specified"):Hide("Unknown") (SmartRace:Contains("not specified") ? " Creature")] [(TalentSpec ? TalentTree:Hide("None"):ClassColor)] [(~Status ? ClassColor) (isPlayer ? Class)]

Offline
Old 03/27/08, 4:43 PM   #145
Shot
Glass Joe
 
Human Priest
 
Emerald Dream (EU)
Originally Posted by captf View Post
Not sure about the first half, but I got the following to work:

[IsUnit("player","mouseovertarget")?"<<You>>"!NameRealm["mouseovertarget"]

in the same vein, it could possibly be:
[Class("mouseovertarget")?ClassColor("mouseovertarget")]
for the first half - or similar
I use the following in my CowTip target line:

[NameRealm("mouseovertarget") ? "Target:":Gray " " (NameRealm("mouseovertarget") = NameRealm("player") ? "(YOU)":ClassColor("player") ! (IsPlayer("mouseovertarget") ? NameRealm("mouseovertarget"):ClassColor("mouseovertarget") ! NameRealm("mouseovertarget"):HostileColor("mouseovertarget")))]

does "mouseovertarget":NameRealm:ClassColor work the same as Namerealm("mouseovertarget"):ClassColor("mouseovertarget")?

Last edited by Shot : 03/27/08 at 4:49 PM.

Offline
Old 03/27/08, 4:50 PM   #146
MaveN
Von Kaiser
 
Draenei Shaman
 
Uldum
Originally Posted by Gere View Post
[HP:ClassColor]
Thank you , now im was wondering if there is a way to make the health of me and my target class colored but the hp is in absolute form. For example: i want it like 12000/12000 only with class colors, this [HP:ClassColor] gave me just 12000. Anyone know the dogtag to get the absoulte health text class colored?

Offline
Old 03/27/08, 5:06 PM   #147
badMonkey
Von Kaiser
 
badMonkey's Avatar
 
Night Elf Rogue
 
Tirion (EU)
Originally Posted by MaveN View Post
Thank you , now im was wondering if there is a way to make the health of me and my target class colored but the hp is in absolute form. For example: i want it like 12000/12000 only with class colors, this [HP:ClassColor] gave me just 12000. Anyone know the dogtag to get the absoulte health text class colored?
You could try

[FractionalHP:ClassColor]
LibDogTag-2.0/Tags - WowAce Wiki
Helps a lot!

Offline
Old 03/27/08, 6:12 PM   #148
MaveN
Von Kaiser
 
Draenei Shaman
 
Uldum
Thank you , im looking through it now!

Offline
Old 03/27/08, 6:43 PM   #149
badMonkey
Von Kaiser
 
badMonkey's Avatar
 
Night Elf Rogue
 
Tirion (EU)
No problem =)

I have a question regarding DogTags-2.0/3.0:
Obviously
Text(arg)
doesn't work any longer, has someone discovered an alternative?

Offline
Old 03/27/08, 7:02 PM   #150
dyree
Von Kaiser
 
Undead Warlock
 
Eredar
Originally Posted by badMonkey View Post
No problem =)

I have a question regarding DogTags-2.0/3.0:
Obviously
Text(arg)
doesn't work any longer, has someone discovered an alternative?
New DogTag for Text(arg) is 'arg'

I just spent a couple hours comverting all my 2.0 DogTags to 3.0

Offline
Closed Thread

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

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
I thought I would share the best site ever just in wow Public Discussion 7 12/27/05 11:46 AM