Elitist Jerks
Register
Blogs
Forums


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

Reply
 
LinkBack Thread Tools
Old 06/05/09, 3:14 PM   #601
 Adoriele
Happy October 19th!
 
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.

United States Offline
Reply With Quote
Old 06/05/09, 3: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!

Offline
Reply With Quote
Old 06/06/09, 5: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 3:38 PM.

Offline
Reply With Quote
Old 06/07/09, 2:00 AM   #604
Hamsda
Piston Honda
 
Hamsda's Avatar
 
Goblin Priest
 
Mannoroth (EU)
delete please :X
didn't see the next page -.-

Germany Offline
Reply With Quote
Old 06/07/09, 8:46 PM   #605
Dankz
Von Kaiser
 
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%.

Offline
Reply With Quote
Old 06/10/09, 3: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 4:05 PM.

Offline
Reply With Quote
Old 06/12/09, 1: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

Offline
Reply With Quote
Old 06/12/09, 1:57 PM   #608
Hamsda
Piston Honda
 
Hamsda's Avatar
 
Goblin 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

Germany Offline
Reply With Quote
Old 06/25/09, 7: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?

Offline
Reply With Quote
Old 06/28/09, 7: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?

Offline
Reply With Quote
Old 06/28/09, 11:38 AM   #611
 Adoriele
Happy October 19th!
 
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.

United States Offline
Reply With Quote
Old 07/11/09, 12: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?


Offline
Reply With Quote
Old 07/15/09, 5: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

Offline
Reply With Quote
Old 07/19/09, 3:03 PM   #614
Tebla
Glass Joe
 
Human Mage
 
Cenarius
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.

Offline
Reply With Quote
Old 07/20/09, 8: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.

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