Elitist Jerks
Register
Blogs
Forums


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

Reply
 
LinkBack Thread Tools
Old 12/12/08, 6:16 PM   #496
Aximous
Von Kaiser
 
Tauren Shaman
 
Jaedenar (EU)
[if Classification="Boss" then ...

Offline
Reply With Quote
Old 12/15/08, 8: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 10:34 AM.

Offline
Reply With Quote
Old 12/15/08, 10:53 AM   #498
 Adoriele
Happy October 19th!
 
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, 8: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, 10: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 1:48 PM.

Offline
Reply With Quote
Old 01/02/09, 1:28 AM   #501
sanny
Glass Joe
 
sanny's Avatar
 
Gnome Mage
 
Aggramar (EU)
With the latest update of DogTagUnit 3.0, I've had an issue with this DogTag. Well, the issue is that the health doesnt show at all. It worked perfectly with the earlier versions, and now it's simply not working at all.
[(if PercentHP = 100 then
nil
elseif PercentHP > 90 then
HP:Color("1AFF00") " / ":Color("1AFF00") PercentHP:VeryShort:Percent:Color("1AFF00")
elseif PercentHP > 80 then
HP:Color("64FF00") " / ":Color("64FF00") PercentHP:VeryShort:Percent:Color("64FF00")
elseif PercentHP > 70 then
HP:Color("9BFF00") " / ":Color("9BFF00") PercentHP:VeryShort:Percent:Color("9BFF00")
elseif PercentHP > 60 then
HP:Color("CBFF00") " / ":Color("CBFF00") PercentHP:VeryShort:Percent:Color("CBFF00")
elseif PercentHP > 50 then
HP:Color("FFFF00") " / ":Color("FFFF00") PercentHP:VeryShort:Percent:Color("FFFF00")
elseif PercentHP > 40 then
HP:Color("FFE900") " / ":Color("FFE900") PercentHP:VeryShort:Percent:Color("FFE900")
elseif PercentHP > 30 then
HP:Color("FFBC00") " / ":Color("FFBC00") PercentHP:VeryShort:Percent:Color("FFBC00")
elseif PercentHP > 20 then
HP:Color("FF8E00") " / ":Color("FF8E00") PercentHP:VeryShort:Percent:Color("FF8E00")
elseif PercentHP > 10 then
HP:Color("FF4300") " / ":Color("FF4300") PercentHP:VeryShort:Percent:Color("FF4300")
elseif PercentHP > 5 then
HP:Color("FF1000") " / ":Color("FF1000") PercentHP:VeryShort:Percent:Color("FF1000")
elseif PercentHP > 0 then
HP:Color("FF1000") " / ":Color("FF1000") PercentHP:VeryShort:Percent:Color("ff1000")
elseif Dead then
HP:Color("AAAAAA") " / ":Color("AAAAAA") PercentHP:VeryShort:Percent:Color("AAAAAA")
end)]

Thanks in advance!

Offline
Reply With Quote
Old 01/02/09, 3:02 AM   #502
B-Dawg
Von Kaiser
 
B-Dawg's Avatar
 
Tauren Shaman
 
Sen'jin
Ok, had another question regarding this afk code: [Offline or AFK or DeadType or (ClassColor Name:Truncate(3))]. Does this only work with people in your party? There was someone that showed up afk on my friends, who I wasn't partied with, and when i hovered over them the code didn't show them afk on the tooltip. If that is the case, is there a way to have the code to show anyone afk, even if they're not in the same party as you?

Offline
Reply With Quote
Old 01/02/09, 2:53 PM   #503
Led ++
Piston Honda
 
Led ++'s Avatar
 
Undead Death Knight
 
Draenor (EU)
Little question:

For my party frames I have health set up to show only on mouseover and in Cyan color, now this ofcourse is no problem at all and working fine.
However I want to add something, namely that the Health should automaticly be shown AND in Red whenever someone in my party get's aggro.

is this possible?

current code is:
[Outline][(if IsMouseOver then
(-MissingHP):Cyan
end)]
You guys make the aggro thing in it
Cheers

at Santera, I think it has something to do with the colour codes. I to had the same problem when entering non-standard color codes like you do, even when I was certain it was the right code.

Thank god I needed the Cyan color which seems to be implemented in Pitbull.

http://thepiratebootybay.com/ THE best Addon site out there!

Offline
Reply With Quote
Old 01/02/09, 3:10 PM   #504
Aximous
Von Kaiser
 
Tauren Shaman
 
Jaedenar (EU)
Originally Posted by Led ++ View Post
Little question:

For my party frames I have health set up to show only on mouseover and in Cyan color, now this ofcourse is no problem at all and working fine.
However I want to add something, namely that the Health should automaticly be shown AND in Red whenever someone in my party get's aggro.

is this possible?

current code is:

You guys make the aggro thing in it
Cheers
[Outline][(if (ThreatStatus = "1") or (ThreatStatus = "2") then
    (-MissingHP):Red
else
    (if IsMouseOver then
        (-MissingHP):Cyan
    end)
end)]
This should do the trick.

Offline
Reply With Quote
Old 01/02/09, 3:24 PM   #505
Led ++
Piston Honda
 
Led ++'s Avatar
 
Undead Death Knight
 
Draenor (EU)
Hmm, tested it on my own UF (for testing purposes) and the Mouseover part in Cyan works, but it doesnt automaticly sho when I have aggro, and not in Red either.

Or does a dogtag like that only work in group situations? (which is enough)

http://thepiratebootybay.com/ THE best Addon site out there!

Offline
Reply With Quote
Old 01/02/09, 5:08 PM   #506
Aximous
Von Kaiser
 
Tauren Shaman
 
Jaedenar (EU)
Threatstatus returns 2 when the unit is "insecurely tanking" and returns 3 (I know I mistyped it, change 1 to 3 in the tag) when the unit is "safely tanking". So I'd guess it only works when there someone else on the aggro list, you could also try IsTanking but in it's description it says primary tank which is a bit misleading to me so it either doesn't work like I think it should or I'm just too dumb to understand the description.

Offline
Reply With Quote
Old 01/02/09, 6:01 PM   #507
licwid
Glass Joe
 
Human Mage
 
Ursin
Sorry if this has been asked before, but after searching through the old thread and then this one I am unable to find the dogtag I am looking for.
Does/can/will anyone help me with a dogtag to do the following:

Display unit mana if it is a player or friendly npc;
Display threat % if unit is unfriendly npc;
--I'd also like to have coloring options
130% = AGGRO
110% - 129% RED
90% - 110% YELLOW
< 90% White
0 or 0% threat = Hidden display


Thanks so very much,
-Licwid



::EDIT::

Got it to work for the most part, still have to test to make sure it works for threat over 100% tonight in the raid though.

[(~IsPlayer ? [PercentThreat < 75 ? PercentThreat:Color("FFFFFF")]) (~IsPlayer ? [PercentThreat >= 75 < 90 ? PercentThreat:Color("FFFF00")]) (~IsPlayer ? [PercentThreat >= 90 < 110 ? PercentThreat:Color("FF6600")]) (~IsPlayer ? [PercentThreat >= 110 ? PercentThreat:Color("FF0000")]) (IsPlayer ? HasMP ? FractionalMP)]

Last edited by licwid : 01/04/09 at 3:52 PM.

Offline
Reply With Quote
Old 01/06/09, 4:12 AM   #508
Led ++
Piston Honda
 
Led ++'s Avatar
 
Undead Death Knight
 
Draenor (EU)
Originally Posted by Aximous View Post
Threatstatus returns 2 when the unit is "insecurely tanking" and returns 3 (I know I mistyped it, change 1 to 3 in the tag) when the unit is "safely tanking". So I'd guess it only works when there someone else on the aggro list, you could also try IsTanking but in it's description it says primary tank which is a bit misleading to me so it either doesn't work like I think it should or I'm just too dumb to understand the description.
Just wanted to let you know that it seems to be working now.

http://thepiratebootybay.com/ THE best Addon site out there!

Offline
Reply With Quote
Old 01/06/09, 8:10 AM   #509
Kreoss
Von Kaiser
 
Kreoss's Avatar
 
Night Elf Druid
 
Quel'Thalas (EU)
Originally Posted by Daboran View Post
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.
I've been looking for this too. Doesn't work on mine. Is there any fix for this tag yet?

Offline
Reply With Quote
Old 01/07/09, 1:05 PM   #510
Led ++
Piston Honda
 
Led ++'s Avatar
 
Undead Death Knight
 
Draenor (EU)
I need some new help cause I think I improved my Dogtag, tho I fail at the coding.

1. I want MissingHP shown in Cyan color when someone has lost Health (works)
2. I want MissingHP shown in Red when someone lost health AND has aggro (works)
3. I want MaxHP shown ON MOUSEOVER in Cyan and ofcourse when point 1 and 2 arent active (so target has lost no health and has no aggro) (doesnt work)

currently I have:
[Outline][(if (ThreatStatus = "3") or (ThreatStatus = "2") then
    (-MissingHP):Red
else
    (-MissingHP):Hide(0):Cyan
end)]
Which does 1 and 2, tho everytime I try to add something to accomplish 3 I totally fail.

Please help me.

http://thepiratebootybay.com/ THE best Addon site out there!

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