Elitist Jerks
Register
Blogs
Forums


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

Reply
 
LinkBack Thread Tools
Old 05/20/09, 12:23 PM   #586
Mordant
Glass Joe
 
Night Elf Druid
 
Bronzebeard (EU)
Try this:


00m 00s
[AuraDuration("Sniper Training"):FormatDuration("f")]

00:00
[AuraDuration("Sniper Training"):FormatDuration]

Offline
Reply With Quote
Old 05/21/09, 9:18 AM   #587
KergeKacsa
Piston Honda
 
Troll Hunter
 
Ragnaros (EU)
Originally Posted by Mordant View Post
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?

Offline
Reply With Quote
Old 05/21/09, 12:58 PM   #588
Lorienne
...
 
Lorienne's Avatar
 
Vaikhan
Blood Elf Paladin
 
No WoW Account
Originally Posted by KergeKacsa View Post
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)

United States Offline
Reply With Quote
Old 05/21/09, 9:35 PM   #589
pHishr
Glass Joe
 
pHishr's Avatar
 
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

[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'.

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!

Offline
Reply With Quote
Old 05/23/09, 7:13 AM   #590
Pontifex
Glass Joe
 
Night Elf Priest
 
Lothar
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)]

Offline
Reply With Quote
Old 05/25/09, 3:06 AM   #591
Gaff
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.

Offline
Reply With Quote
Old 05/25/09, 8:08 AM   #592
Angelfire
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?

Offline
Reply With Quote
Old 05/30/09, 7:07 PM   #593
Eyrika
Glass Joe
 
Eyrika's Avatar
 
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 7:13 PM.

Offline
Reply With Quote
Old 06/01/09, 12:33 AM   #594
Greel
Glass Joe
 
Human Warlock
 
Dunemaul
Originally Posted by Eyrika View Post
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.

Offline
Reply With Quote
Old 06/01/09, 3:51 PM   #595
Eyrika
Glass Joe
 
Eyrika's Avatar
 
Blood Elf Priest
 
Echo Isles
Originally Posted by Greel View Post
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)]

Offline
Reply With Quote
Old 06/02/09, 9:34 PM   #596
Ich
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.

Offline
Reply With Quote
Old 06/03/09, 1:53 AM   #597
Dankz
Von Kaiser
 
Dankz's Avatar
 
Undead Mage
 
Caelestrasz
Originally Posted by Ich View Post
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.

Offline
Reply With Quote
Old 06/05/09, 1:59 PM   #598
Whytonia
Glass Joe
 
Whytonia's Avatar
 
Night Elf Druid
 
Uldum
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.

Offline
Reply With Quote
Old 06/05/09, 2:40 PM   #599
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Whytonia View Post
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.

United States Online
Reply With Quote
Old 06/05/09, 3:05 PM   #600
Whytonia
Glass Joe
 
Whytonia's Avatar
 
Night Elf Druid
 
Uldum
Originally Posted by Adoriele View Post
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.

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