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.
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.
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 Shaker
Blacksen is actually a computer AI developed by IBM to tackle the world's hardest AI problem: Out-trolling Zyla.
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.
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.
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.
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
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.
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]
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:
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)
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
[PercentHP:Percent]
.
instead of
[PercentHP:Percent]
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'.
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.
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?
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 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.
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)]
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.
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.
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.
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.