 |
| 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.
|
04/25/09, 9:29 AM
|
#576
|
|
Glass Joe
Human Warrior
Neptulon (EU)
|
Originally Posted by nartnala
|
Currently I'm having issues with dogtag not reading lib.xml properly
After the patch I readded Runes.lua to lib.xml - it didn't load in game, even with a whole system restart. Fair enough, it might be that the Runes.lua is broken and needs updating.
But I also tried removing Reputation.lua from lib.xml and loaded the game to find that the module was still working.
So yeah, if anyone knows what's going on there, I can try and work on getting it updated.
|
|
|
|
|
|
04/27/09, 7:14 PM
|
#577
|
|
Von Kaiser
Human Paladin
Laughing Skull
|
Originally Posted by Crankshaft
[Outline][if Name('focustarget')=Name('player') then 'YOU':Red:Angle else Name('focustarget'):ClassColor('focustarget'):Angle end]
Should do it.
|
Thank you, this version works just fine.
|
|
|
|
|
|
05/01/09, 1:17 PM
|
#578
|
|
Piston Honda
|
Originally Posted by Septih
But I also tried removing Reputation.lua from lib.xml and loaded the game to find that the module was still working.
|
Are you sure you don't have multiple (probably embedded) copies installed? If a non-modified one gets loaded first, that will cause the issues you're describing.
|
|
|
|
|
|
05/02/09, 2:32 PM
|
#579
|
|
DPS the Invisible Skull
Night Elf Warrior
Silvermoon (EU)
|
I added this to my raid frames so that I could see who was dropping low on Sanity at Yogg-Saron. I'm just sharing it in case anyone else wants it. I found it to be useful to add to my raid frames as a raid leader:
[outline (if HasAura("Sanity") and (NumAura("Sanity")<30) then
"LOW SANITY":Color("008aff")
end)]
|
|
Originally Posted by Snowy
You were a gnome. You deserved to die, and everyone around you deserved to die.
|
|
|
|
|
05/03/09, 8:47 AM
|
#580
|
|
Glass Joe
Human Warrior
Neptulon (EU)
|
Originally Posted by dinesh
Are you sure you don't have multiple (probably embedded) copies installed? If a non-modified one gets loaded first, that will cause the issues you're describing.
|
I just did a fresh install since I'm trying out the windows 7 rc. The only place LibDogTag-Unit is installed is as part of Pitbull and it still didn't work.
|
|
|
|
|
|
05/07/09, 9:22 PM
|
#581
|
|
Bald Bull
Blood Elf Paladin
Echo Isles
|
Is there any way to make the HP display comma-separated? It's a little difficult to read a 6-digit number in the heat of battle, but I'd rather have an exact reading than the shortened "300k" form.
|
|
|
|
|
05/09/09, 11:59 PM
|
#582
|
|
Don Flamenco
|
Originally Posted by Prinsesa
Is there any way to make the HP display comma-separated? It's a little difficult to read a 6-digit number in the heat of battle, but I'd rather have an exact reading than the shortened "300k" form.
|
I couldn't find a built in formatting function that would do that, so I just did it manually. This will show Health Deficit on friendly units in red (with a minus sign before the number), and the comma delimited health value otherwise:
[if IsFriend then
MissingHP:Short:Prepend('-'):Color('ff7f7f')
elseif HP(known=true) then
if Length(HP) > 9 or Length(HP) <= 3 then
HP(known=true)
else
[if Length(HP) > 6 then
Substring(HP, 1, Length(HP) - 6) ',' Substring(HP, Length(HP) - 5, Length(HP) - 3) ','
else
Substring(HP, 1, Length(HP) - 3) ','
end] Substring(HP, Length(HP) - 2, Length(HP))
end
end]
If you just want it to always show the comma delimited health value, use this portion:
[if HP(known=true) then
if Length(HP) > 9 or Length(HP) <= 3 then
HP(known=true)
else
[if Length(HP) > 6 then
Substring(HP, 1, Length(HP) - 6) ',' Substring(HP, Length(HP) - 5, Length(HP) - 3) ','
else
Substring(HP, 1, Length(HP) - 3) ','
end] Substring(HP, Length(HP) - 2, Length(HP))
end
end]
Health values with more than 9 digits will default to the non-delimited format. I haven't tested this in every possible test case (I did check 5 digits and 8 digits, but nothing else), and it appeared to work.
|
|
|
|
|
|
05/16/09, 12:11 PM
|
#583
|
|
Glass Joe
Draenei Shaman
Die Silberne Hand (EU)
|
Hello there!
Iam abolutely new in creating Dog Tags and need some advice.
Iam sure there is already a thread about it, but maybe someone is so gentle to answer my questions.
The first is I want my targets health displayed in currentHP and Percent..e.g. 13000(100%) and the numbers should change their colors depending on the health status, starting green with 100% and ending red with 0%....
The second thing i want to add a timer on my Focus Bar, that shows the time may focus is in crowd control.....
Has anyone an idea, or a link to an existing code?
Thx in advance and excuse my horrible english, it´s not my mothertongue language 
Last edited by sdelle : 05/16/09 at 12:27 PM.
|
|
|
|
|
|
05/16/09, 4:43 PM
|
#584
|
|
Piston Honda
|

Originally Posted by Juli
I couldn't find a built in formatting function that would do that, so I just did it manually. This will show Health Deficit on friendly units in red (with a minus sign before the number), and the comma delimited health value otherwise:
[if IsFriend then
MissingHP:Short:Prepend('-'):Color('ff7f7f')
elseif HP(known=true) then
if Length(HP) > 9 or Length(HP) <= 3 then
HP(known=true)
else
[if Length(HP) > 6 then
Substring(HP, 1, Length(HP) - 6) ',' Substring(HP, Length(HP) - 5, Length(HP) - 3) ','
else
Substring(HP, 1, Length(HP) - 3) ','
end] Substring(HP, Length(HP) - 2, Length(HP))
end
end]
If you just want it to always show the comma delimited health value, use this portion:
[if HP(known=true) then
if Length(HP) > 9 or Length(HP) <= 3 then
HP(known=true)
else
[if Length(HP) > 6 then
Substring(HP, 1, Length(HP) - 6) ',' Substring(HP, Length(HP) - 5, Length(HP) - 3) ','
else
Substring(HP, 1, Length(HP) - 3) ','
end] Substring(HP, Length(HP) - 2, Length(HP))
end
end]
Health values with more than 9 digits will default to the non-delimited format. I haven't tested this in every possible test case (I did check 5 digits and 8 digits, but nothing else), and it appeared to work.
|
I have a simplified version for my Health and Energy.
[Status or (SeparateDigits(HP) ' / ' SeparateDigits(MaxHP) ' | ' PercentHP:Percent)]
My question is for the function HasDebuffType, do types such as "Slow" and "Stun" work for that function. Or do I have to literally name all of the debuffs that will place those types of effect for the code to work. I'm trying to get something along the lines of:
[if HasDebuffType("slow") or HasDebuffType("stun") then 'TTW':Green end]
Last edited by Hinalover : 05/16/09 at 4:52 PM.
|
|
|
|
|
|
05/18/09, 3:21 PM
|
#585
|
|
Von Kaiser
Troll Hunter
Ragnaros (EU)
|
I've trying to display my Sniper Training bufftime with this:
[AuraDuration("Sniper Training"):FormatDuration("s")]
And i got this:
And I don't know how to hide that %d string.
Pls help me 
|
|
|
|
|
|
05/20/09, 1:23 PM
|
#586
|
|
Glass Joe
Night Elf Druid
Bronzebeard (EU)
|
Try this:
00m 00s
[AuraDuration("Sniper Training"):FormatDuration("f")]
00:00
[AuraDuration("Sniper Training"):FormatDuration]
|
|
|
|
|
|
05/21/09, 10:18 AM
|
#587
|
|
Von Kaiser
Troll Hunter
Ragnaros (EU)
|
Originally Posted by Mordant
Try this:
00m 00s
[AuraDuration("Sniper Training"):FormatDuration("f")]
00:00
[AuraDuration("Sniper Training"):FormatDuration]
|
Yeah, I know this, but I would like to show only seconds. Did I found a known bug, so this isn't working at the moment?
|
|
|
|
|
|
05/21/09, 1:58 PM
|
#588
|
|
...
Human Death Knight
Kirin Tor
|
Originally Posted by KergeKacsa
Yeah, I know this, but I would like to show only seconds. Did I found a known bug, so this isn't working at the moment?
|
I'm not sure what's going on with that tag (it looks like either a) a bug, or b) the "s" format isn't intended for use with durations less than 1min, which seems kind of silly), but I would be very tempted to use something like the following rather than messing with the FormatDuration tag that's causing you problems. You know that sniper training should always have a duration of 15s or less, so why not:
[AuraDuration("Sniper Training"):Round:Append("s")]
The Round tag just rounds up or down to the nearest integer so you don't have all the messy decimal places that it looks like AuraDuration returns. Actually, :Floor may be more appropriate here; I'm not sure. Again, it's not particularly elegant, since FormatDuration seems like it *ought* to work for what you want. However, in the interests of getting you up and running, the above code should work. (Not tested, yadda yadda)
|
|
|
|
|
|
05/21/09, 10:35 PM
|
#589
|
|
Glass Joe
Night Elf Druid
Kul Tiras (EU)
|
Not sure if this has been posted before - Call me lazy if you wish!
I've before struggled to find a way to put texts outside my unitframe(Using 'Frame - Outside, Above-Left', simply would not do the trick, if a panel would be there)
The solution was simple, infront of your nose. I never thought of it until recently.
By simply adding spaces to the dogtag, you are able to put the text anywhere you'd like to. Like this
instead of
You can see how it works in the screenshot below.
The Power code used the above example and was directed 'Frame - Edge, Top-Right', the Health code used a normal Health tag and was directed 'Frame - Edge, Top-Left'.
Code for Power:
"[Outline][PercentMP:VeryShort:Cyan " . " MP:Short:Color(0.6, 0.6, 0.9)]
"
Code for Health:
" [Outline] [PercentHP:VeryShort:HPColor " . " HP:Short:Color(0.3, 0.5, 0.3)]
"
If this has already been posted then I am sorry, I just don't have the patience to look through all of the pages!
|
|
|
|
|
|
05/23/09, 8:13 AM
|
#590
|
|
Glass Joe
|
Created a hodir buff monitor for my mage, which tracks Toasty Fire and Storm Power.
[(if HasAura("Toasty Fire") then
"Toasty Fire":Red
end) (if HasAura("Storm Power") then
"Storm Power":Yellow
end)]
|
|
|
|
|
|
05/25/09, 4:06 AM
|
#591
|
|
Glass Joe
Gnome Warlock
Balnazzar (EU)
|
Bit of a shameless plug maybe but...
Ever wanted a button that becomes enabled when you are on low HP? Or what to know if any of your 3 +spellpower items have proced? Well now you can with Pol Monitor GE.
The idea is that you make a spell button and attach a dogtag to it. If the dogtag evaluates to True (or a positive number) then the button becomes enabled. I use it to make low health / low mana warning icons but the possibilities are quite large. The mod is basically Polina's polmonitor mod with a simple extention that I wrote to enable dogtag supports. Let me know if you find it useful, or if there's any obvious improvements you'd like to see.
|
|
|
|
|
|
05/25/09, 9:08 AM
|
#592
|
|
Von Kaiser
Night Elf Druid
Emerald Dream (EU)
|
Show Pet's and NPC's details
Hey,
Sorry if this been asked, couldn't find it, but how can I make CowTip show all details regarding Pet's and NPC's such as faction, title (Blacksmith Trainer, QuarterMaster) or for pet's to show who's pet that is?
|
|
|
|
|
|
05/30/09, 8:07 PM
|
#593
|
|
Glass Joe
Blood Elf Priest
Echo Isles
|
I just recently found out how amazing DogTags are and have been making some of my own for raid indicators. I've been searching all over, but haven't found an answer to my question..
Is there a way to hide a text if you are in combat? I ask this because I switched from Grid to Pitbull4 for my raid frames and on Grid, if you have an indicator that shows a buff (or if someone is missing a buff), it disappears while you are in combat.
I can't seem to find the right way to duplicate this in Pitbull, if it's even possible at all.
I've tried Hide(InCombat) but that has no effect.
Last edited by Eyrika : 05/30/09 at 8:13 PM.
|
|
|
|
|
|
06/01/09, 1:33 AM
|
#594
|
|
Glass Joe
|
Originally Posted by Eyrika
I just recently found out how amazing DogTags are and have been making some of my own for raid indicators. I've been searching all over, but haven't found an answer to my question..
Is there a way to hide a text if you are in combat? I ask this because I switched from Grid to Pitbull4 for my raid frames and on Grid, if you have an indicator that shows a buff (or if someone is missing a buff), it disappears while you are in combat.
I can't seem to find the right way to duplicate this in Pitbull, if it's even possible at all.
I've tried Hide(InCombat) but that has no effect.
|
Try
[if not InCombat then
"Your code here"
end]
Replace "Your code here" with what ever you want to be displayed out of combat. Once as soon as you enter combat, it should disappear, and reappear once you leave combat.
|
|
|
|
|
|
06/01/09, 4:51 PM
|
#595
|
|
Glass Joe
Blood Elf Priest
Echo Isles
|
Originally Posted by Greel
Try
[if not InCombat then
"Your code here"
end]
Replace "Your code here" with what ever you want to be displayed out of combat. Once as soon as you enter combat, it should disappear, and reappear once you leave combat.
|
Ahh thank you! I tried it and it works perfectly. Here's my finished code, if anyone is interested:
[Outline] [(if not InCombat then
(if HasAura("Prayer of Fortitude") or HasAura("Power Word: Fortitude") then
".":Green
end) (if HasAura("Prayer of Spirit") or HasAura("Divine Spirit") then
" .":Blue
end) (if HasAura("Shadow Protection") or HasAura("Prayer of Shadow Protection") then
" .":Color("8000FF")
end)
end)]
|
|
|
|
|
|
06/02/09, 10:34 PM
|
#596
|
|
Glass Joe
Night Elf Hunter
Laughing Skull
|
Does anyone know how to add ilevel to tooltips through CowTip? I dont know any of the commands or anything :\
I tried searching this thread and google and couldnt find anything.
|
|
|
|
|
|
06/03/09, 2:53 AM
|
#597
|
|
Piston Honda
|
Originally Posted by Ich
Does anyone know how to add ilevel to tooltips through CowTip? I dont know any of the commands or anything :\
I tried searching this thread and google and couldn't find anything.
|
Not sure about Dog Tags, but Ratings Buster adds Ilevel on tooltips
|
Originally Posted by Hinalover
My question is for the function HasDebuffType, do types such as "Slow" and "Stun" work for that function. Or do I have to literally name all of the debuffs that will place those types of effect for the code to work. I'm trying to get something along the lines of:
if HasDebuffType("slow") or HasDebuffType("stun") then 'TTW':Green end
|
No you have to enter every Aura you want the tag to look up. Heres a modified version of Zyrqueda tags i use to track TTW:
[if IsEnemy then
(if (Classification(unit="target") = "Boss") or ((Classification(unit="target") = "Elite") and (Level(unit="target") > Level(unit="player"))) then
(if HasAura("Earth and Moon") then
"SP":Green
elseif HasAura("Curse of the Elements") then
"SP":Green
elseif HasAura("Ebon Plaguebringer") then
"SP":Green
else
"SP":Red
end) (if HasAura("Misery") then
" SH":Green
elseif HasAura("Faerie Fire") then
" SH":Yellow
else
" SH":Red
end) (if HasAura("Frost Fever") or HasAura("Thunderclap") or HasAura("Infected Wounds") then
" TtW":Green
else
" TtW":Red
end)
end)
end]
That includes Spell Hit, Spell Power, and TTW all in one Tag.
|
|
|
|
|
|
06/05/09, 2:59 PM
|
#598
|
|
Glass Joe
|
Okay. Here is my dilemma:
I am using Pitbull 4.0 and DogTag 3.0 to add some wild growth, rejuv, Lifebloom stuff to my raid frames. Here is my code:
[(if HasAura("Lifebloom") then
AuraDuration("Lifebloom"):Floor
end) (if HasAura("Lifebloom") then
"*":Repeat(NumAura("Lifebloom"))
end)]
Now, as we all know, there is more than on druid in each raid. When someone puts lifeblooms on the same target, it shows them having 6 lifeblooms, and it really messes up my rotation. Is there any way to fix this? Thank you in advance.
|
|
|
|
|
|
06/05/09, 3:40 PM
|
#599
|
|
Ninja baby!
Night Elf Druid
Dragonblight
|
Originally Posted by Whytonia
Now, as we all know, there is more than on druid in each raid. When someone puts lifeblooms on the same target, it shows them having 6 lifeblooms, and it really messes up my rotation. Is there any way to fix this? Thank you in advance.
|
No, at least not unless there've been any changes to DogTags recently that I'm not aware of. As well, when I tried doing this, I noticed that it had an effect of significantly reducing my framerate (as well as the update rate of all my Tags). I do run a lot of tags on my UFs, though, and only PB3, but I'd recommend staying away from trying to track LB beyond just simple presence with tags unless you have a very fast machine. There's just a huge amount of processing that has to go into it.
|
|
|
|
|
|
06/05/09, 4:05 PM
|
#600
|
|
Glass Joe
|
Originally Posted by Adoriele
No, at least not unless there've been any changes to DogTags recently that I'm not aware of. As well, when I tried doing this, I noticed that it had an effect of significantly reducing my framerate (as well as the update rate of all my Tags). I do run a lot of tags on my UFs, though, and only PB3, but I'd recommend staying away from trying to track LB beyond just simple presence with tags unless you have a very fast machine. There's just a huge amount of processing that has to go into it.
|
So let's say, hypothetically, that I have a very fast machine, what would I do to make this silly DogTag only show my buffs/HoTs? Or is there a way for Pitbull to do it? I can use Grid and get it to only show my HoTs, but doesn't really mesh with my UI.
Thank you. 
|
|
|
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| [DogTags] - Share yours! |
Fulnir |
User Interface and AddOns |
164 |
03/30/08 2:30 AM |
|