 |
| 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.
|
03/23/08, 9:26 AM
|
#101
|
|
Glass Joe
Draenei Shaman
Thrall (EU)
|
Is there a way to make a dogtag which shows my current +Spelldmg or AP?
|
|
|
|
|
|
03/23/08, 4:40 PM
|
#102
|
|
Piston Honda
Human Warlock
Kirin Tor (EU)
|
How to use your current Spell/Healing power using DogTags
As promised a while ago, here is the code of the custom lua file I made to use my spellpower in dogTags. You have to create a new Spellpower.lua file in the Modules folder of the lib, and add it in the lib.xml file.
This file can be found here.
When this is done, you can use the following new tag:
Where x can have the following values:
0 - Healing
1 - Physical
2 - Holy
3 - Fire
4 - Nature
5 - Frost
6 - Shadow
7 - Arcane
Example:
[[MissingMP#player:IsGreater([[SpellPower(6):Mult(0.8):Add(580)]:Mult(1.2)])?Text(TAP)]
For simplicity's sake, here is the content of Spellpower.lua:
local MAJOR_VERSION = "LibDogTag-2.0"
local MINOR_VERSION = tonumber(("$Revision: 60184 $"):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()
local L = DogTag.L
DogTag:AddTag("SpellPower", {
function(data)
local arg = tonumber(data.arg)
if (arg < 0 or arg > 7) then
return [[value = nil]]
elseif (arg == 0) then
return [[value = GetSpellBonusHealing()]]
else
return [[value = GetSpellBonusDamage(${arg})]]
end
end,
ret = "number;nil",
arg = "number;string;nil",
value = "number;string;nil",
events = "UNIT_INVENTORY_CHANGED",
globals = "GetSpellBonusDamage;GetSpellBonusHealing",
doc = L["Returns the raw spell damage bonus of the player for a given spell tree."],
example = '[SpellPower(6)] => 1200',
category = L["Miscellaneous"]
})
end
|
|
|
|
|
|
03/23/08, 5:29 PM
|
#103
|
|
Banned
Undead Rogue
Mannoroth (EU)
|
Originally Posted by Trouble
This is just a very simple one I made for displaying the number of scorch stacks on a target.
[[Class#player = Text(Mage)] ? HasAura(Fire Vulnerability) ? NumAura(Fire Vulnerability):Color(00FF00)]
|
Will it display scorch-debuffs applied by other players or is there an option to only display your own? Would be useful with deadly poison for rogues!
|
|
|
|
|
|
03/23/08, 6:14 PM
|
#104
|
|
Von Kaiser
Undead Rogue
Ragnaros (EU)
|
I use DogTags for my dots & debuffs on the target (i'm playing a rogue):
[ Outline ][ HasAura(Deadly Poison VIII) ? Text( [Green] [ NumAura(DeadlyPoison VIII]xDP) ]
[ HasAura(Rupture) ? Text([Red]R) ]
I have yellow letters for each stun, red letters for each bleedeffect and green letters for poison with the amount of stacks). It displays all stacks of Deadly Poison, but it's ok because I'm playing with a combat-sword build so I don't really care about the number of DP stacks. I'm currently "on the road" with my notebook so I'll post a screenshot later.
I'd like to see the stun/dot duration since I only see the letter and I have to keep an eye on it to recognize if it fades.Is that possible?
(e)
I forgot to mention that I disabled the PitBull Auras because it's useless for me to see the mage/warlock/druid and so on debuffs.
(ee)
I use DogTags also for Sunder Armor and Lacerate, to see when I can start dps :>
[ Outline ][ HasAura(Sunder Armor) ? Text ( [Fuchsia][NumAura(SunderArmor]xSA ) ]
[ Outline ][ HasAura(Lacerate) ? Text ( [Cyan][NumAura(Lacerate]xL ) ]
(Since there is no "Sunder-Armor"-like stacking Protection Paladin debuff and I can DPS with a tank paladin immediately I have no DogTag for Paladins)
Last edited by badMonkey : 03/23/08 at 6:32 PM.
|
|
|
|
|
|
03/23/08, 8:05 PM
|
#105
|
|
Glass Joe
Draenei Shaman
Thrall (EU)
|

Originally Posted by Ele'
How to use your current Spell/Healing power using DogTags
As promised a while ago, here is the code of the custom lua file I made to use my spellpower in dogTags. You have to create a new Spellpower.lua file in the Modules folder of the lib, and add it in the lib.xml file.
This file can be found here.
When this is done, you can use the following new tag:
Where x can have the following values:
0 - Healing
1 - Physical
2 - Holy
3 - Fire
4 - Nature
5 - Frost
6 - Shadow
7 - Arcane
Example:
[[MissingMP#player:IsGreater([[SpellPower(6):Mult(0.8):Add(580)]:Mult(1.2)])?Text(TAP)]
For simplicity's sake, here is the content of Spellpower.lua:
local MAJOR_VERSION = "LibDogTag-2.0"
local MINOR_VERSION = tonumber(("$Revision: 60184 $"):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()
local L = DogTag.L
DogTag:AddTag("SpellPower", {
function(data)
local arg = tonumber(data.arg)
if (arg < 0 or arg > 7) then
return [[value = nil]]
elseif (arg == 0) then
return [[value = GetSpellBonusHealing()]]
else
return [[value = GetSpellBonusDamage(${arg})]]
end
end,
ret = "number;nil",
arg = "number;string;nil",
value = "number;string;nil",
events = "UNIT_INVENTORY_CHANGED",
globals = "GetSpellBonusDamage;GetSpellBonusHealing",
doc = L["Returns the raw spell damage bonus of the player for a given spell tree."],
example = '[SpellPower(6)] => 1200',
category = L["Miscellaneous"]
})
end
|
I put that spellpower.lua in the Modules folder and add in in the lib.xml but when I use [SpellPower(6)] I get the message that this is an Unknown Tag. What I'm making wrong?
|
|
|
|
|
|
03/23/08, 8:40 PM
|
#106
|
|
Bald Bull
Blood Elf Warlock
Turalyon
|
Originally Posted by shii
Will it display scorch-debuffs applied by other players or is there an option to only display your own? Would be useful with deadly poison for rogues!
|
Mages share scorch debuff stacks. I don't know how you'd filter only debuffs that you own.
|
|
|
|
|
|
03/24/08, 2:59 AM
|
#107
|
|
Bald Bull
Blood Elf Warlock
Turalyon
|
Going back to the first page, I took the idea of using dots to represent what buffs you had. I then blacklist the buff in EBB to reduce the space it takes up and to reduce clutter. I use three sets in order to make it easier to determine what I have and what's missing. This configuration is for a caster, mage specifically. You'll want to change what blessings and what flasks are shown. You may also want to add in support for various elixirs, but as a mage you wouldn't generally want to use anything besides Pure Death.
AI, Fort, Spirit, Mark, and Shadow:
[Outline][ [HasAura(Arcane Intellect) | HasAura(Arcane Brilliance)] ? Text(. ):Color(008aff)][ [HasAura(Power Word: Fortitude) | HasAura(Prayer of Fortitude)] ? Text(. ):White][ [HasAura(Divine Spirit) | HasAura(Prayer of Spirit)] ? Text(. ):Yellow][ [HasAura(Mark of the Wild) | HasAura(Gift of the Wild)] ? Text(. ):Color(ff00ce)][ [HasAura(Shadow Protection) | HasAura(Prayer of Shadow Protection)] ? Text(.):Color(8300fd)]
Food + Flask:
[Outline][HasAura(Well Fed) ? Text(. ):Color(682e00)][ [HasAura(Flask of Supreme Power) | HasAura(Shattrath Flask of Supreme Power) | HasAura(Flask of Pure Death) | HasAura(Shattrath Flask of Pure Death)] ? Text(.):Color(ad0505)]
Blessings:
[Outline][ [HasAura(Blessing of Kings) | HasAura(Greater Blessing of Kings)] ? Text(.):Color(5b82ff)][ [HasAura(Blessing of Salvation) | HasAura(Greater Blessing of Salvation)] ? Text( .):Color(a2ff00)][ [HasAura(Blessing of Wisdom) | HasAura(Greater Blessing of Wisdom)] ? Text( .):Color(ac54ff)]
Standard buffs left, consumables middle, blessings right.

|
|
|
|
|
|
03/25/08, 4:20 PM
|
#108
|
|
Bald Bull
Blood Elf Warlock
Turalyon
|
Apparently all my dogtags no longer work and just spam SYNTAX ERROR all over my screen.
|
|
|
|
|
|
03/25/08, 5:49 PM
|
#109
|
|
Von Kaiser
Undead Death Knight
Destromath (EU)
|
same here since, i updated today i get all the way lib dog tag errors...
|
|
|
|
|
|
03/25/08, 7:05 PM
|
#110
|
|
Mostly Harmless.
Citania
Undead Warlock
No WoW Account
|
With 2.4, it's switched to LibDogTag-3.0, which is apparently not a feature-complete release yet, so it does seem a lot of old LDT-2.0 tags aren't working. I just switched to using default displays for the time being until a full list of LDT-3.0 tags are available and then redo/update from there.
|
"You live and learn. At any rate, you live."
~Douglas Adams (RIP)
|
|
|
|
03/25/08, 8:09 PM
|
#111
|
|
Von Kaiser
|
We could really use a DogTag3.0 thread. With all the syntax changes, having example 1.0 & 2.0 syntax tags in the same thread as example 3.0 tags will be dangerously confusing. Especially for the copy, paste, post asking why it didn't work crowd.
|
|
|
|
|
|
03/25/08, 8:12 PM
|
#112
|
|
Bald Bull
Blood Elf Warlock
Turalyon
|
Is there a place I can look up the DogTags 3 syntax? I was unable to find it.
|
|
|
|
|
|
03/25/08, 8:29 PM
|
#113
|
|
Von Kaiser
|
It looks like ckknight is working on adding ingame help (which will be "/dog"?), but you can find snippets in this thread.
Some samples he posted:

Okay, just gonna steal a few random tag sequences and show the difference
[ [IsPlayer ? IsFriend] ? Name:ClassColor ! Name:HostileColor]
=>
[IsPlayer & IsFriend ? Name:ClassColor ! Name:HostileColor] or
[if IsPlayer and IsFriend then Name:ClassColor else Name:HostileColor]
------
[ [Guild == Text([Guild#player])] ? Guild:Angle:Purple ! Guild:Angle:HostileColor ]
=>
[Guild = Guild(unit="player") ? Guild:Angle:Purple ! Guild:Angle:HostileColor] or
[if Guild = Guild(unit="player") then Guild:Angle:Purple else Guild:Angle:HostileColor]
------
[ [ Target | InCombat | [CurHP ~= Text([MaxHP])] ] ? CurHP:Append( / ) ][MaxHP]
=>
[(Target | InCombat | CurHP ~= MaxHP ? CurHP " / ") MaxHP] or
[(if Target or InCombat or CurHP ~= MaxHP then CurHP " / ") MaxHP]
------
[ [HasAura(Arcane Intellect) | HasAura(Arcane Brilliance)] ? Text(AI)]
=>
[HasAura("Arcane Intellect", "Arcane Brilliance") ? "AI"] or
[if HasAura("Arcane Intellect", "Arcane Brilliance") then "AI"]
(I plan on allowing HasAura to support any amount of arguments)
------
Note: the names of the tags may change, this is mostly a way to show how tags will look.
|
|
|
|
|
|
|
03/26/08, 11:04 AM
|
#114
|
|
Piston Honda
Human Paladin
Kul Tiras (EU)
|
Anyone else noticed that in Pitbull and Cowtip at least, when you type something like
it gets turned into
which does nothing. So you need a space in between those tags, and that leaves you with double spacing in your strings. I guess that needs a fix.
|
|
|
|
|
|
03/26/08, 11:05 AM
|
#115
|
|
Bless me, Father. I ate a lizard.
Blood Elf Paladin
Suramar
|
Due to the less than... completeness or backwards compatibility of DogTag-3.0 (which is frustrating and unnecessary from an end user perspective, though I'm sure there are wonderful technical reasons for it) I've just taken forcing cowtip to use DogTag-2.0. For Cowtip, just comment out line 111 in the text.lua file like this:
-- local WoW24 = not not _G.UnitClassBase
and your old dogtags will work normally. I'll wait for DogTag-3.0 to get a little more done until I make the switch, at the moment it's too rare for my taste.
|
|
|
|
|
|
03/26/08, 12:22 PM
|
#116
|
|
Mostly Harmless.
Citania
Undead Warlock
No WoW Account
|
Originally Posted by Camaris
Anyone else noticed that in Pitbull and Cowtip at least, when you type something like
it gets turned into
which does nothing. So you need a space in between those tags, and that leaves you with double spacing in your strings. I guess that needs a fix.
|
I'm unable to check for sure at the moment, but I'm pretty sure worked for me, at least as of last night.
|
"You live and learn. At any rate, you live."
~Douglas Adams (RIP)
|
|
|
|
03/26/08, 2:15 PM
|
#117
|
|
Von Kaiser
|
Originally Posted by Jitka
Due to the less than... completeness or backwards compatibility of DogTag-3.0 (which is frustrating and unnecessary from an end user perspective, though I'm sure there are wonderful technical reasons for it) I've just taken forcing cowtip to use DogTag-2.0. For Cowtip, just comment out line 111 in the text.lua file like this:
-- local WoW24 = not not _G.UnitClassBase
and your old dogtags will work normally. I'll wait for DogTag-3.0 to get a little more done until I make the switch, at the moment it's too rare for my taste.
|
Perfect, any idea how to force Pitbull to 2.0?
|
|
|
|
|
|
03/26/08, 4:50 PM
|
#118
|
|
postcount++
Malan
Tauren Shaman
No WoW Account
|
[Status ? StatusColor ! [CanAttack ? DifficultyColor] ][Classification:Contains(Boss)?Text(Level 73)!Level:Prepend(Level )] [Classification] [~Status ? Color(FEF2C5)][SmartRace:Hide(Not specified):Hide(Unknown)][SmartRace:Contains(Not specified) ? Text(Creature)] [TalentSpec ? TalentTree:Hide(None):ClassColor] [~Status ? ClassColor][PlayerClass]
[~IsPlayerOrPet?Faction:Hide(Alliance):Hide(Horde):HostileColor]
These 2 tags were from page 1 and I'd been using them with CowTip. They broke in 2.4, the "Boss" tag and a few others are missing from DogTag 3.0, anyone know the new formats for this?
|
Shitting up every single thread on EJ since '06
|
|
|
|
03/26/08, 4:54 PM
|
#119
|
|
Glass Joe
|
I was hoping, I don't know if I should ask here or in another thread, but was hoping that anyone had any good Lifebloom DogTag's to share? Would be awesome if anyone has any they would like to share =D All I got is [NumAura(Lifebloom)]
|
|
|
|
|
|
03/26/08, 4:56 PM
|
#120
|
|
Glass Joe
Blood Elf Rogue
Blackmoore (EU)
|
Hi i used this for mousovertarget in cowtip dogtag:
[Class#target?ClassColor#mouseovertarget][IsUnit#player(target)?Text(<<You>>)!NameRealm#mouseovertarget:Text(None)]
but now it seems to be broke. i get an syntax error. somebody know how to write it after 2.4?
|
|
|
|
|
|
03/26/08, 6:02 PM
|
#121
|
|
Glass Joe
Night Elf Rogue
Black Dragonflight
|
Originally Posted by Gere
Perfect, any idea how to force Pitbull to 2.0?
|
I applied the fix listed above to both Pitbull.lua and Pitbull_Metalayout.lua and it seemed to fix the majority of my tags.
|
|
|
|
|
|
03/26/08, 8:17 PM
|
#122
|
|
This isn't Zyla
Sajuukar
Human Warrior
No WoW Account (EU)
|
Originally Posted by Malan
[Status ? StatusColor ! [CanAttack ? DifficultyColor] ][Classification:Contains(Boss)?Text(Level 73)!Level:Prepend(Level )] [Classification] [~Status ? Color(FEF2C5)][SmartRace:Hide(Not specified):Hide(Unknown)][SmartRace:Contains(Not specified) ? Text(Creature)] [TalentSpec ? TalentTree:Hide(None):ClassColor] [~Status ? ClassColor][PlayerClass]
[~IsPlayerOrPet?Faction:Hide(Alliance):Hide(Horde):HostileColor]
These 2 tags were from page 1 and I'd been using them with CowTip. They broke in 2.4, the "Boss" tag and a few others are missing from DogTag 3.0, anyone know the new formats for this?
|
Try replacing
[Classification:Contains(Boss)?Text(Level 73)!Level:Prepend(Level )]
With
[Classification="Boss"?"Level 73"!"Level " Level]
As for others, remove the Text() bits and instead just place the text itself surrounded with " " and replace for example RandomTag:Contains(Text) with RandomTag="Text", not sure if there's any other tag there that ain't working.
|
|
|
|
|
|
03/26/08, 8:24 PM
|
#123
|
|
Von Kaiser
|
Originally Posted by Tedsauce
I applied the fix listed above to both Pitbull.lua and Pitbull_Metalayout.lua and it seemed to fix the majority of my tags.
|
When I applied the same fix (commenting out the line) in the above files, my pitbull frames stopped loading for some reason.
|
|
|
|
|
|
03/26/08, 9:48 PM
|
#124
|
|
Von Kaiser
|
When the new dogtag lib and such comes out so we can get our dogtags back, somone should let everyone know here and post the link. In the meatime i can only imagine it in the process of getting fixed now. Anyway, i disabled my dogtags untill then, but 1 still works, my class colored hp stopped working but the dogtag that shows the level name and percent (class colored) still works.
If anyone knows how to get class colored hp back it will be greatly appreciated if not i will have to wait for dogtag 3.0 (i think it is?) to re apply the code for class colored hp.
|
|
|
|
|
|
03/26/08, 11:32 PM
|
#125
|
|
Von Kaiser
|
Originally Posted by MaveN
When the new dogtag lib and such comes out so we can get our dogtags back, somone should let everyone know here and post the link. In the meatime i can only imagine it in the process of getting fixed now. Anyway, i disabled my dogtags untill then, but 1 still works, my class colored hp stopped working but the dogtag that shows the level name and percent (class colored) still works.
If anyone knows how to get class colored hp back it will be greatly appreciated if not i will have to wait for dogtag 3.0 (i think it is?) to re apply the code for class colored hp.
|
|
|
|
|
|
|
|