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 06/05/09, 4:14 PM   #601
 Adoriele
Ninja baby!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Whytonia View Post
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.
Like I said, not unless there's been a recent change to DT I'm not aware of, or you're willing to hack the DT lua files. The HasAura(), NumAura() and AuraDuration() tags don't accept a source parameter, though it would be fairly simple to add them in if you're willing to hack a little. The only issue with that is that you'll need to then un-embed the copy of the DT library that you hack up, and remove all other embedded versions to make sure it's the version that gets loaded. There may be other issues involved with un-embedding as well, it's not something I looked into as I decided the performance hit wasn't worth it.
 
User is offline.
Reply With Quote
Old 06/05/09, 4:55 PM   #602
Whytonia
Glass Joe
 
Whytonia's Avatar
 
Night Elf Druid
 
Uldum
Yeah, not really comfortable with hacking anything yet. Thank you for giving me that info that. That is really helpful! At least now I know!
 
User is offline.
Reply With Quote
Old 06/06/09, 6:43 AM   #603
Antiganon
Glass Joe
 
Night Elf Hunter
 
Undermine
Is there any way to set a dogtag on the pitbull4 per frame to show aggressive/defensive/passive status?

Is there even a way to check for that sort of thing? I'm retuning my UI on my Hunter and I would LOVE to be rid of the pet bar entirely.

EDIT: This seems to be the most logical, however i get the following error: Bad Unit: "Agressive

[outline (if Pet("Aggressive") then
     ".":Color("ff0000") 
end) (if Pet("Defensive") then
     ".":Color("00ff00")
end) (if Pet("Passive") then
     ".":Color("0000ff")
end) ]

Last edited by Antiganon : 06/06/09 at 4:38 PM.
 
User is offline.
Reply With Quote
Old 06/07/09, 3:00 AM   #604
Hamsda
Von Kaiser
 
Hamsda's Avatar
 
Troll Priest
 
Mannoroth (EU)
delete please :X
didn't see the next page -.-
 
User is offline.
Reply With Quote
Old 06/07/09, 9:46 PM   #605
Dankz
Piston Honda
 
Dankz's Avatar
 
Undead Mage
 
Caelestrasz
Can Text Alpha be made independent of Frame Alpha? I want my frames to fade when out of range, but the text to be at 100%.
 
User is offline.
Reply With Quote
Old 06/10/09, 4:49 PM   #606
Whytonia
Glass Joe
 
Whytonia's Avatar
 
Night Elf Druid
 
Uldum
NVM Figured it out.

Last edited by Whytonia : 06/10/09 at 5:05 PM.
 
User is offline.
Reply With Quote
Old 06/12/09, 2:50 PM   #607
sanny
Glass Joe
 
sanny's Avatar
 
Gnome Mage
 
Aggramar (EU)
I'm looking for some help with a DogTag. What I want it to do, is to show a letter, s for example, if either Dalaran Intellect, Dalaran Brilliance, Arcane Intellect or Arcane Brilliance is NOT buffed. If either of those buffs are true, then I want the s to be hidden. I hope you understand what I mean :-)

Thanks
 
User is offline.
Reply With Quote
Old 06/12/09, 2:57 PM   #608
Hamsda
Von Kaiser
 
Hamsda's Avatar
 
Troll Priest
 
Mannoroth (EU)
[if (~HasAura("Dalaran Intellect") and ~HasAura("Dalaran Brilliance") and ~HasAura("Arcane Intellect") and ~HasAura("Arcane Brilliance")) then
"S"
end]

this should do the trick for your problem
 
User is offline.
Reply With Quote
Old 06/25/09, 8:33 PM   #609
JasonD
Glass Joe
 
JasonD's Avatar
 
Night Elf Druid
 
Bloodhoof (EU)
I've been working on a textbox to display my debuffs on target
I've gotten the box and gave them all a new line to appear on, but if a spell isn't cast the line is empty, and I'd like the buffnames / timers to grow up.

Simplified visual example:
[(if HasAura("Spell1") then "Spell1 " AuraDuration("Spell1")]
[(if HasAura("Spell2") then "Spell2 " AuraDuration("Spell2")]
[(if HasAura("Spell3") then "Spell3 " AuraDuration("Spell3")]
If I cast all 3 spells it works beautifully, tho, if I only cast spell1 and spell3 it'll display an empty line in the middle.
As such:
Spell1 Spell1Duration

Spell3 Spell3Duration
I'd like it to grow in such a way that if I cast spell1 and spell3 but not spell2 it'll display this way:
Spell1 Spell1Duration
Spell3 Spell3Duration
I.E. every new (if HasAura) should just take the next possible line, preferrably growing upwards, instead of their 'assigned' line...
Is there a way to get this done within one dogtag?
 
User is offline.
Reply With Quote
Old 06/28/09, 8:54 AM   #610
Zyrqueda
Glass Joe
 
Gnome Mage
 
Zirkel des Cenarius (EU)
Temporary Enchants

Hi, I was wandering, if temporary Weapon Enchants can be monitored using DogTags.
I'm using several tags to monitor missing selfbuffs like Fel Armor, which works fine.
There are 2 notes regarding temporary enchants within this thread, both of which are older than 12 month, which state that it's not possible to monitor these. Has there been an update regarding this issue?
 
User is offline.
Reply With Quote
Old 06/28/09, 12:38 PM   #611
 Adoriele
Ninja baby!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Zyrqueda View Post
Hi, I was wandering, if temporary Weapon Enchants can be monitored using DogTags.
I'm using several tags to monitor missing selfbuffs like Fel Armor, which works fine.
There are 2 notes regarding temporary enchants within this thread, both of which are older than 12 month, which state that it's not possible to monitor these. Has there been an update regarding this issue?
As far as I'm aware, this hasn't changed. However, the new version of DogTags for PB4, LuaTexts, should be able to accomplish this as it's much more versatile, though harder to set up. There's a thread on it in this forum.
 
User is offline.
Reply With Quote
Old 07/11/09, 1:18 AM   #612
Atallicus
Von Kaiser
 
Atallicus's Avatar
 
Blood Elf Mage
 
Ner'zhul
[Outline] [if InCombat and HasAura("Polymorph") then "*Polymorphed*":Gray " " AuraDuration("Polymorph"):FormatDuration:Paren elseif InCombat then "damaged":Red end]
This tag tells me *Polymorphed* (duration), and tells me if the target is damaged when the cc is broken. However, I can't seem to make it perfect. If the target is in combat but not poly'ed, it says damaged anyways. If the duration runs out, it still says damaged.

If possible, I'd like it to say loose if the duration runs out, damaged if broken, and nothing otherwise. Is it possible?

 
User is offline.
Reply With Quote
Old 07/15/09, 6:57 AM   #613
rockyy
Glass Joe
 
Human Mage
 
Das Syndikat (EU)
Is there a way to show the Threat instead of the percentage? like 52k
 
User is offline.
Reply With Quote
Old 07/19/09, 4:03 PM   #614
Tebla
Glass Joe
 
Human Mage
 
Aerie Peak
Hi, I was looking for a way to show my current spell power as text on my unitframe. I came across this I have updated the spellpower.lua file to work with LibDogTag-3.0.

Here is the contents of the lua file:

local MAJOR_VERSION = "LibDogTag-3.0"
local MINOR_VERSION = 90000 + tonumber(("$Revision: 203 $"):match("%d+")) or 0

if MINOR_VERSION > _G.DogTag_MINOR_VERSION then
	_G.DogTag_MINOR_VERSION = MINOR_VERSION
end

DogTag_funcs[#DogTag_funcs+1] = function(DogTag)

local L = DogTag.L

DogTag:AddTag("Unit", "SpellPower", {
    code = function(school)
        if (school < 0 or school > 7) then
            return nil
        elseif (school == 0) then 
            return GetSpellBonusHealing()
        else
            return GetSpellBonusDamage(school)
        end
    end,
    arg = {
        'school', 'number', '@req',
    },
    ret = "number;nil",    
    events = "UNIT_INVENTORY_CHANGED",    
    doc = L["Returns the raw spell damage bonus of the player for a given spell tree."],
    example = '[SpellPower(7)] => "2167"',    
    category = L["Miscellaneous"]
})

end
Put the file in your Pitbull/Libs/LibDogTag-3.0/Categories folder and change the lib.xml file in the LibDogTag-3.0 folder and you can then use [SpellPower(7)] where the argument is the school of magic. Also works for bonus healing, just use 0.

This is my first actually working lua hack, so if anyone sees some glaring errors, I would appreciate letting me know. Thanks.
 
User is offline.
Reply With Quote
Old 07/20/09, 9:17 AM   #615
Servus
Glass Joe
 
Undead Death Knight
 
Dunemaul (EU)
Mouseovers

Just a quick question, I have sifted through a lot of this thread but either I have skipped over it or it hasn't actually been asked yet.

I'm working on Pitbull 4.0 trying to make a whole new UI compared to anything I've tried before and one of my main goals is to have as much information accessible on the screen at once if requested. This will probably make more sense after I explain the Dogtag I want to use.

What I would love to do to minimize space used on text in the frame is have several texts in one bar, but have them change to a more detailed version of said text or even a totally new piece of information upon mouseover. If anyone could throw together some sort of example code for

"frame not moused over, show a short version of hp, when moused over hide short hp and show full length exact hp"

That would be perfect, but I'd also be really interested if anyone has a link of any documentation about these sort of tags that I could go read myself and maybe come back here helping others.

Thanks in advance.
 
User is offline.
Reply With Quote
Old 07/25/09, 4:38 PM   #616
justacityboy
Von Kaiser
 
Gnome Mage
 
Korgath
Originally Posted by Zyrqueda View Post
This works fine for me:
[if IsFriend and HasMP then
    FractionalMP
elseif IsEnemy then
    (if (Classification(unit="target") = "Boss") or ((Classification(unit="target") = "Elite") and (Level(unit="target") > Level(unit="player"))) then
        (if HasAura("Erde und Mond") then
            "SP":Green
        elseif HasAura("Fluch der Elemente") then
            "SP":Yellow
        else
            "SP":Red
        end) (if HasAura("Elend") then
            " SH":Green
        elseif HasAura("Feenfeuer") then
            " SH":Yellow
        else
            " SH":Red
        end) (if HasAura("Frostfieber") or HasAura("Donnerknall") or HasAura("Infizierte Wunden") then
            " TtW":Green
        else
            " TtW":Red
        end)
    end)
end]
image:



Though i put this piece of information within my target's powerbar, it just shows on bosses and elites.
first: Spellpower-debuffs (Earth and Moon, CoE)
second: Spellhit-debuffs (Misery, Fearie Fire)
third: snares (Icy Touch, Thunderclap, Infected Wounds)

Just replace the aura-names with the apropriate ones.
How would I change the font, font size, shadows etc. to this?
 
User is offline.
Reply With Quote
Old 08/08/09, 1:24 AM   #617
Whytonia
Glass Joe
 
Whytonia's Avatar
 
Night Elf Druid
 
Uldum
So after the patch, my dogtag has just been screwing up on me. Apparently
[Level:DifficultyColor] [Name] [(AFK or DND):Angle]
does not work anymore. I get an error and I am tired of hearing "fatality."
Anyone know what the new code is?
 
User is offline.
Reply With Quote
Old 08/13/09, 5:13 PM   #618
Wimpface
Von Kaiser
 
Wimpface's Avatar
 
Undead Priest
 
Chamber of Aspects (EU)
I'm looking for a DogTag that will display my % of HP when NOT at Max HP and when I mouseover my frame I want it to display my actual value, even if I am at Max HP.

I am also looking to color my MP tag so that it goes from green to red depending on how much percent it has, this should also go over to actual MP value when mouseovering and when mouseovering it should have the color white. I've been unable to do this so far.

This is what I have so far on the MP tag.
[if HasMP(unit='player') then
    MP(unit='player')
else
    ''
end]
Thanks in advance.
 
User is offline.
Reply With Quote
Old 09/02/09, 4:36 AM   #619
Gosydelix
Glass Joe
 
Orc Shaman
 
Tarren Mill (EU)
Originally Posted by Lorienne View Post
I made a tag for my shaman alt to show charges left on Water Shield. It's not terribly innovative, but perhaps it'll be useful to someone else. The new testing area in the DT help screen is awesome. I wasn't originally too thrilled with the changes, but that alone has made it all worthwhile.

[Outline] [if NumAura("Water Shield") = 3 then
    ". . .":Cyan
elseif NumAura("Water Shield") = 2 then
    ". .":Yellow
elseif NumAura("Water Shield") = 1 then
    ".":Red
elseif NumAura("Water Shield") = 0 then
    "!":Red
end]

I like this DogTag idea but is it possile to change it so it shows Earth Shield on target?
I have 0 knowledge about DogTags, so would be awesome if someone could PM me the right 'code' or just post here
 
User is offline.
Reply With Quote
Old 09/06/09, 6:55 AM   #620
Keldin
Von Kaiser
 
Keldin's Avatar
 
Dwarf Hunter
 
Darkmoon Faire (EU)
HasAura

Is it possible to show a HasAura tag on your target only if you cast the buff/debuff yourself? For example: There are two hunters in the raid and one of them is me. Now, we both use Serpent Sting in our rotation, so the usual* HasAura tag wont be much help. I want to see the small colored dot only for my Serpent Sting application on the target.

*[(if HasAura("Serpent Sting") then
    ".":Color("008aff")]

Last edited by Keldin : 09/06/09 at 12:07 PM. Reason: oops
 
User is offline.
Reply With Quote
Old 10/04/09, 11:11 AM   #621
Darrilius
Glass Joe
 
Human Warlock
 
Cenarion Circle
is there dog tag text to know how many players are targeting an NPC?
 
User is offline.
Reply With Quote
Old 10/05/09, 9:24 AM   #622
yellowstone
Glass Joe
 
Tauren Druid
 
Rexxar
hey so i love dog tags 3.0 the language is very simple and quick to learn. I can configure my texts to do whatever i want namely, mouseover and color changing etc..

but i'm a stuf user, not a pitbull or any other frame user. Stuf uses patterntag instead of dogtag.

i was wondering if there is a way to "install" [for lack of better word] dogtags in stuf?


second question, are there any plans to implement a more efficient text program? [besides custom lua etc...] like dare i ask, a new dogtag system?
 
User is offline.
Reply With Quote
Old 10/06/09, 3:51 PM   #623
Serian
Glass Joe
 
Blood Elf Priest
 
Darkspear
Originally Posted by Darrilius View Post
is there dog tag text to know how many players are targeting an NPC?
[NumTargeting] will display the number of players, [TargetingList] will display the player names targeting a player or npc. Players must be in you're group or raid though.
 
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