 |
| Welcome to Elitist Jerks |
We're testing some new features on the site regarding OpenID registration and coordination with gamerDNA. If you experience any issues with registering an account, please take the time to fill out a report and send it to this e-mail address. We would appreciate any assistance you could provide in making sure everything is functioning as intended. Thanks!
If this is your first visit, please be sure to check out the FAQ and the forum rules. Users must register to post and new registrations are subject to a one day "mute" period to get acquainted with the community.
|
01/02/09, 2:28 AM
|
#501
|
|
Glass Joe
|
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! 
|
|
|
|
|
|
01/02/09, 4:02 AM
|
#502
|
|
Von Kaiser
|
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?
|
|
|
|
|
|
01/02/09, 3:53 PM
|
#503
|
|
Piston Honda
Blood Elf Paladin
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.
|
|
|
|
|
01/02/09, 4:10 PM
|
#504
|
|
Von Kaiser
Tauren Shaman
Jaedenar (EU)
|
Originally Posted by Led ++
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.
|
|
|
|
|
|
01/02/09, 4:24 PM
|
#505
|
|
Piston Honda
Blood Elf Paladin
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)
|
|
|
|
|
01/02/09, 6:08 PM
|
#506
|
|
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.
|
|
|
|
|
|
01/02/09, 7:01 PM
|
#507
|
|
Glass Joe
|
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 4:52 PM.
|
|
|
|
|
|
01/06/09, 5:12 AM
|
#508
|
|
Piston Honda
Blood Elf Paladin
Draenor (EU)
|
Originally Posted by Aximous
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.
|
|
|
|
|
01/06/09, 9:10 AM
|
#509
|
|
Von Kaiser
Night Elf Druid
Quel'Thalas (EU)
|
Originally Posted by Daboran
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?
|
|
|
|
|
|
01/07/09, 2:05 PM
|
#510
|
|
Piston Honda
Blood Elf Paladin
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. 
|
|
|
|
|
01/07/09, 4:56 PM
|
#511
|
|
...
Human Death Knight
Kirin Tor
|
Have you tried:
[Outline][(if (ThreatStatus = "3") or (ThreatStatus = "2") then
(-MissingHP):Red
elseif (IsMouseOver and IsMaxHP) then
MaxHP:Cyan
else
(-MissingHP):Hide(0):Cyan
end)]
Can't test it from work, but I think it should work.
|
|
|
|
|
|
01/08/09, 2:46 AM
|
#512
|
|
Glass Joe
|
hunter: Sniper Training Range Dogtag
Well I have been registered here for a while and never posted. Here is my usefull contribution. Not sure if someone has posted this but here goes.
For the hunter talent "Sniper Training" where you have to be greater than 30 yards to receive the benefit I created this for my cowtip addon so I can easily see by mouseover if I am at the right range.
[if CanAttack(unit="mouseover") and ((MaxRange > 0) and (MaxRange < 30)) then "Back Up!":Yellow elseif CanAttack(unit="mouseover") and ((MaxRange >= 30) and (MaxRange < 45)) then "Sniper Active":Green elseif CanAttack(unit="mouseover") then "Get Closer!":Red end]
I also modified it for pitbull target frame and I put it above the frame:
[if CanAttack(unit="target") and ((MaxRange > 0) and (MaxRange < 30)) then
"Back Up!":Yellow
elseif CanAttack(unit="target") and ((MaxRange >= 30) and (MaxRange < 45)) then
"Sniper Active":Green
elseif CanAttack(unit="target") then
"Get Closer!":Red
end]
Hope someone enjoys it lol.
|
|
|
|
|
|
01/08/09, 9:03 PM
|
#513
|
|
Glass Joe
Zragoll
Blood Elf Warlock
<Fluffy Bunny Brigade>
Dreadmaul
|
Icon Alignment Issue & Head Around Syntax Issue
I'm getting an alignment issue on the code below. When there are no DoTs on my target it displays letters in my cast bar like so:
------------------------------------------------------
| HaU UA CoA COR SL SE Fear | Cast Bar
------------------------------------------------------
However when the DoTs are up, they change to icons (thanks to this thread for help on icons). But I'm getting the annoying alignment issue where icons are slightly raised higher than text like:
------------------------------------------------------
| Icon |
|(1) UA CoA COR SL SE Fear | Cast Bar
------------------------------------------------------
Initially I thought it was an issue with icons and txt in general, but in my code below if I take out the line checking for player = "Warlock", the alignment is perfect, I tinkered around but can't see my fopar in my if line checking for warlock.
[(if (Class(unit="player") = "Warlock") then (IsEnemy ? ~IsPlayerOrPet ? NumDebuffs:Hide(0)) (if (IsEnemy ? ~IsPlayerOrPet) then (if HasAura("Haunt") then
Icon("Interface/Icons/Ability_Warlock_Haunt", size=20)
else
" HaU":Red
end) (if HasAura("Unstable Affliction") then
Icon("Interface/Icons/Spell_Shadow_UnstableAffliction_3", size=20)
else
" UA":Red
end) (if HasAura("Curse of Agony") then
Icon("Interface/Icons/Spell_Shadow_CurseOfSargeras", size=20)
else
" CoA":Red
end) (if HasAura("Corruption") then
Icon("Interface/Icons/Spell_Shadow_AbominationExplosion", size=20)
else
" COR":Red
end) (if HasAura("Siphon Life") then
Icon("Interface/Icons/Spell_Shadow_Requiem", size=20)
else
" SL":Red
end) (if HasAura("Shadow Embrace") then
Icon("Interface/Icons/Spell_Shadow_ShadowEmbrace", size=20)
else
" SE":Red
end) (if (HasAura("Fear") or HasAura("Howl of Terror") or HasAura("Death Coil")) then
Icon("Interface/Icons/Spell_Shadow_Possession", size=20)
else
" Fear":Yellow
end)
end)
end)]
The other issue I have is my logic around getting my Name text on my Health Bar to look like:
Targetting Players:
------------------------------------------------------
| [H] BE Zragoll [80]<AFK><Ghost>| Health Bar
------------------------------------------------------
** Colours: "[H] BE" - Red for Horde, Blue for Alliance
** "Zragoll [80]" - Purple for Warlock, Uses Class Colours
** "<AFK><Ghost>" - Yellow
Targetting Mobs & NPCs:
** ------------------------------------------------------
** | Ogre High King Maulg [??]<Boss> | Health Bar
** ------------------------------------------------------
** Colours: (Not Tapped)
** "Ogre" - White
** "High King Maulg [??]" - Class Colour
** "<Boss>" - Yellow
** Colours: (Tapped By Someone Else not in your Group)
** "Ogre High King Maulg [??]<Boss>" - Grey
** Colours: (Tapped by You or someone in your Group)
** "Ogre" - Red
** "High King Maulg [??]" - Class Colour
** "<Boss>" - Yellow
I can't seem to find the right syntax to do what I want. the below works, kind of, it does what its suppose to for targetting players, but not for mobs or npc's. I suspect I'm not using the IsTapped syntax for its intended purpose, the goal is to identify a mob/npc and to check if its tapped by me or someone else.
[(if (IsEnemy IsPlayerOrPet) then
(if Faction = "Alliance" then
("A":Bracket:Blue) " " (ShortRace:Blue)
end) (if Faction = "Horde" then
("H":Bracket:Red) " " (ShortRace:Red)
end) " " (Name:White) " " (Level:Bracket:Yellow) (AFK:Angle:Yellow) (DND:Angle:Yellow) (Dead:Angle:Yellow)
end) (if (IsEnemy ~IsPlayerOrPet) then
(if (IsTapped = "True") & (Faction ~"Alliance") then
(ShortRace:Gray) " " (Name:Truncate(15,nil):Gray) " " (Level:Bracket:Gray) (Classification:Angle:Gray)
end) (if (IsTappedByMe = "True") & (Faction ~"Alliance") then
(ShortRace:White) " " (Name:Truncate(15,nil):White) " " (Level:Bracket:White) (Classification:Angle:Yellow)
end)
end)]
This thread has been amazing, to think, 2 days ago, I didn't know how to use tags and just downloaded pitbull. Today I'm learning how to create some really cool things for myself to get rid of buff addons and necrosis.
PS How does one alter pitbull's colours and bar textures? I've seen some pretty cool screenshots of square health bars that are pale blue, or dark grey.
|
|
|
|
|
|
01/09/09, 9:13 AM
|
#514
|
|
Glass Joe
|
You can change textures in the global settings but you are going to need to download sharedmedia if you have not already, colors can also be found in the global settings are under each bar, Target>bars>health or power and you can change the colors.
For the alignment issue I am not to sure being that I just started using pitbull not long ago, but make sure the tag location is the power bar left and not frame inside bottom left, it may or may not make a difference, if no one else does when I get home I will plug the tag in and see how it works, I have a warlock and I like the idea behind this.
I would like to add timers to the dots, and this is my attempt will test when I get a chance. Didnt work will post when it does
Last edited by motorboatin : 01/11/09 at 5:12 PM.
|
|
|
|
|
|
01/10/09, 6:48 PM
|
#515
|
|
Glass Joe
|
Herro thar. I can't seem to get a ToT Health dogtag working. It only returns my target's health, not it's target's.
[if Name(unit=Target) then
(if Name(unit=Target) = Name(unit="target") then
HP:VeryShort
else
HP:VeryShort(unit=Target)
end)
end]
Is what I'm currently using. I'm new to this, so be easy on me :P. Here's a link to a pic of the DogTag/Frame itself.
|
|
|
|
|
|
01/11/09, 9:41 PM
|
#516
|
|
Glass Joe
Zragoll
Blood Elf Warlock
<Fluffy Bunny Brigade>
Dreadmaul
|
Originally Posted by Sapped
Herro thar. I can't seem to get a ToT Health dogtag working. It only returns my target's health, not it's target's.
[if Name(unit=Target) then
(if Name(unit=Target) = Name(unit="target") then
HP:VeryShort
else
HP:VeryShort(unit=Target)
end)
end]
Is what I'm currently using. I'm new to this, so be easy on me :P. Here's a link to a pic of the DogTag/Frame itself.
|
Your on EJ, you want us to be easy on you... sure
I'm only new to this too, but I think you want "HP:VeryShort(unit="TargetTarget")" which will show the ToT HP in VeryShort format.
Also just a side note, to avoid errors in the strictest sense, use quotes "" around your variables like "Target".
|
|
|
|
|
|
01/11/09, 9:45 PM
|
#517
|
|
Glass Joe
Zragoll
Blood Elf Warlock
<Fluffy Bunny Brigade>
Dreadmaul
|
Syntax Wiki Missing
I've been using this site up until late last week wowace.com/wiki/LibDogTag-3.0 and now the page loops back to wowace.com. I suspect the derailment of the wowace.com site continues. Does anyone know where I can get a hold of the LibDogTag-3.0 syntax now?
cheers,
Zragoll
|
|
|
|
|
|
01/12/09, 2:36 AM
|
#518
|
|
Glass Joe
|
Originally Posted by Zragoll
Your on EJ, you want us to be easy on you... sure
I'm only new to this too, but I think you want "HP:VeryShort(unit="TargetTarget")" which will show the ToT HP in VeryShort format.
Also just a side note, to avoid errors in the strictest sense, use quotes "" around your variables like "Target".
|
Hah, thanks, that did it. I wasn't aware that "TargetTarget" tag worked(I got syntax errors). /failbot.
EDIT; this still seems to be returning the target's heath, not the ToT.
Last edited by Sapped : 01/13/09 at 10:24 AM.
|
|
|
|
|
|
01/13/09, 7:21 AM
|
#520
|
|
Glass Joe
Tauren Shaman
Burning Legion (EU)
|
I've been wondering if there's a DogTag for player titles? I'm using CowTip and I'd like to see the targets title, for example:
Loremaster Whatever
<Tossers of Salad>
80 Tauren Priest
Is this possible? I searched the dogtag help file and wowace and found nothing.
|
|
|
|
|
|
01/13/09, 12:27 PM
|
#521
|
|
Glass Joe
Night Elf Druid
Emerald Dream (EU)
|
I track my hots with the tags:
[(HasAura("Wild Growth") ? "w":Green) " " (HasAura("Rejuvenation") ? "j":Green) " " (HasAura("Regrowth") ? "r":Green) " " (HasAura("Lifebloom") ? "l":Green)]
All is great with that but it is also showing other druids hots. Can I alter the tags at all to just show mine?
|
|
|
|
|
|
01/13/09, 2:27 PM
|
#522
|
|
Ninja baby!
Night Elf Druid
Dragonblight
|
Originally Posted by Cet
I track my hots with the tags:
[(HasAura("Wild Growth") ? "w":Green) " " (HasAura("Rejuvenation") ? "j":Green) " " (HasAura("Regrowth") ? "r":Green) " " (HasAura("Lifebloom") ? "l":Green)]
All is great with that but it is also showing other druids hots. Can I alter the tags at all to just show mine?
|
Not since 3.0. Pre-3.0, you could use a work around since only HoTs you cast had duration, but they removed that restriction. All that would be necessary is something like changing the HasAura() tag to accept an isMine parameter (UnitAura() from Blizz returns a flag for your own auras), but as far as I know that hasn't been implemented yet (would probably need to add that to the AuraDuration() tag as well).
|
|
|
|
|
|
01/17/09, 8:40 AM
|
#523
|
|
Glass Joe
Blood Elf Warlock
Sunstrider (EU)
|
Dogtag explanation
Anyone that could tell me what this dogtag is suppose to do ?
LibStub("LibDogTag-3.0"):AddFontString(self.text, kgPanels, [[ [(if InCombat(unit="player") then [HP])] ]], "Unit", { unit = "player" })
self.text:SetPoint("LEFT")
self.text:SetJustifyH("left")
self.text:SetFont("Fonts\\FRIZQT__.TTF", 40, "THICKOUTLINE")
|
|
|
|
|
|
01/19/09, 12:14 AM
|
#524
|
|
Glass Joe
Zragoll
Blood Elf Warlock
<Fluffy Bunny Brigade>
Dreadmaul
|
Originally Posted by Sapped
[if Name(unit=Target) then
(if Name(unit=Target) = Name(unit="target") then
HP:VeryShort
else
HP:VeryShort(unit=Target)
end)
end]
EDIT; this still seems to be returning the target's heath, not the ToT.
|
I had a quick read of your original query, you're never getting to the "else" statement, because NAme(unit=Target) will always be Name(Unit=Target)... So I'm not sure what you are trying to do with that if else line. But without all that guff, try:
[HP(Unit="TargetTarget"):VeryShort]
Last edited by Zragoll : 01/19/09 at 12:32 AM.
Reason: Reread original question and discovered problem
|
|
|
|
|
|
01/19/09, 12:15 AM
|
#525
|
|
Glass Joe
Zragoll
Blood Elf Warlock
<Fluffy Bunny Brigade>
Dreadmaul
|
Originally Posted by infamy
|
Awesome, cheers Infamy...
|
|
|
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| [DogTags] - Share yours! |
Fulnir |
User Interface and AddOns |
164 |
03/30/08 2:30 AM |
|