Elitist Jerks
Register
Blogs
Urban Rivals
Forums
New Posts


Go Back   Elitist Jerks > Public Discussion > User Interface and AddOns
Elitist Jerks Login

gamerDNA Login

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.

Reply
 
LinkBack (138) Thread Tools
Old 04/25/09, 9:29 AM   #576
Septih
Glass Joe
 
Human Warrior
 
Neptulon (EU)
Originally Posted by nartnala View Post
Does anyone have an update to the DogTag version of atrRunes? Death Knight rune addons: How can we do better?
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.
 
User is offline.
Reply With Quote
Old 04/27/09, 7:14 PM   #577
Lust
Von Kaiser
 
Human Paladin
 
Laughing Skull
Originally Posted by Crankshaft View Post
[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.
 
User is offline.
Reply With Quote
Old 05/01/09, 1:17 PM   #578
dinesh
Piston Honda
 
Gnome Rogue
 
Dalaran
Originally Posted by Septih View Post
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.
 
User is offline.
Reply With Quote
Old 05/02/09, 2:32 PM   #579
 Tauftamir
DPS the Invisible Skull
 
Tauftamir's Avatar
 
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.
 
User is offline.
Reply With Quote
Old 05/03/09, 8:47 AM   #580
Septih
Glass Joe
 
Human Warrior
 
Neptulon (EU)
Originally Posted by dinesh View Post
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.
 
User is offline.
Reply With Quote
Old 05/07/09, 9:22 PM   #581
Prinsesa
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.

"We do want Sanctuary to be the tanking seal"

- Ghostcrawler
 
User is offline.
Reply With Quote
Old 05/09/09, 11:59 PM   #582
Juli
Don Flamenco
 
Juli's Avatar
 
Undead Priest
 
Executus
Originally Posted by Prinsesa View Post
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.
 
User is offline.
Reply With Quote
Old 05/16/09, 12:11 PM   #583
sdelle
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.
 
User is offline.
Reply With Quote
Old 05/16/09, 4:43 PM   #584
Hinalover
Piston Honda
 
Hinalover's Avatar
 
Human Mage
 
Crushridge
Originally Posted by Juli View Post
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.
 
User is offline.
Reply With Quote
Old 05/18/09, 3:21 PM   #585
KergeKacsa
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:
13 %d Sec
And I don't know how to hide that %d string.

Pls help me
 
User is offline.
Reply With Quote
Old 05/20/09, 1: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]
 
User is offline.
Reply With Quote
Old 05/21/09, 10:18 AM   #587
KergeKacsa
Von Kaiser
 
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?
 
User is offline.
Reply With Quote
Old 05/21/09, 1:58 PM   #588
 Lorienne
...
 
Lorienne's Avatar
 
Human Death Knight
 
Kirin Tor
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)
 
User is offline.
Reply With Quote
Old 05/21/09, 10: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!
 
User is offline.
Reply With Quote
Old 05/23/09, 8: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)]
 
User is offline.
Reply With Quote
Old 05/25/09, 4: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.
 
User is offline.
Reply With Quote
Old 05/25/09, 9: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?
 
User is offline.
Reply With Quote
Old 05/30/09, 8:07 PM   #593
Eyrika
Glass Joe
 
Eyrika's Avatar
 
Blood Elf Priest
 
<The>
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.
 
User is offline.
Reply With Quote
Old 06/01/09, 1: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.
 
User is offline.
Reply With Quote
Old 06/01/09, 4:51 PM   #595
Eyrika
Glass Joe
 
Eyrika's Avatar
 
Blood Elf Priest
 
<The>
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)]
 
User is offline.
Reply With Quote
Old 06/02/09, 10: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.
 
User is offline.
Reply With Quote
Old 06/03/09, 2:53 AM   #597
Dankz
Piston Honda
 
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.
 
User is offline.
Reply With Quote
Old 06/05/09, 2: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.
 
User is offline.
Reply With Quote
Old 06/05/09, 3:40 PM   #599
 Adoriele
Ninja baby!
 
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.
 
User is offline.
Reply With Quote
Old 06/05/09, 4: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.
 
User is 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 2:30 AM