Elitist Jerks
Register
Blogs
Forums


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

Closed Thread
 
LinkBack Thread Tools
Old 03/20/08, 9:07 PM   #91
Margot
Von Kaiser
 
Human Warrior
 
Argent Dawn
Originally Posted by Kebinusan View Post
That doesnt seem to be a valid dogtag for me
Oh, I'm sorry, that was in Assessment. It doesn't use standard DogTags.

Offline
Old 03/21/08, 12:23 AM   #92
Trouble
Bald Bull
 
Trouble's Avatar
 
Trouble
Blood Elf Druid
 
No WoW Account
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)]

United States Offline
Old 03/21/08, 12:53 AM   #93
Vectivus
foreign contaminant
 
Vectivus's Avatar
 
Tauren Death Knight
 
Mal'Ganis
Originally Posted by Ele' View Post
The problem is, it's not working and the text "persists" after a cast. For example, if I target player Lambda and he start casting a Soulwell, the text "Ritual of Souls" will stay in the frame as long as I don't select someone else and he don't cast anything else.
I could very well be wrong here, in which case I would love for someone to point out what causes this behavior, but my understanding is that this is a default issue with Pitbull. I've noticed the same issue (Ritual of Souls is a particularly good example, due to the very lengthy theoretical 'cast time').

Canada Offline
Old 03/21/08, 11:26 AM   #94
Daize
Von Kaiser
 
Undead Priest
 
Ragnaros (EU)
Originally Posted by Jitka View Post


And what I use in a version of AGuf modified to use dogtags:

Target/Focus frames
Name: [IsPlayer?Name:ClassColor!Name][AFKDND:Prepend( is ):Color(FEF2C5)]
HP: [Status][~Status?IsMaxHP?IsFriend?SureHP?CurHP:Short!PercentHP:Percent][~Status?~IsMaxHP?IsFriend?SureHP?SmartMissingHP:Color(ff7f7f)!PercentHP:Percent][~Status?IsEnemy?SureHP?CurHP:Short][~Status?IsEnemy?~IsMaxHP?SureHP?PercentHP:Percent:Prepend( || )][~Status?IsEnemy?~SureHP?PercentHP:Percent]
Power: [~Status?IsMana?[IsMaxMP?MaxMP:Short!CurMP:Short]!IsRage?CurMP:Hide(0)!CurMP:Short]
Class: [CanAttack ? DifficultyColor] [Classification:Contains(Boss)?Text(73)!Level] [Classification] [Color(FEF2C5)][SmartRace:Hide(Not specified):Hide(Unknown)][SmartRace:Contains(Not specified)?Text(Creature)] [PlayerClass:ClassColor]
Player/Party frames
Name: [Name:ClassColor]
HP: [AFKDND:Color(FEF2C5)][Status][~Status?SureHP?SmartMissingHP:Color(ff7f7f)]
Power: [~Status?IsMana?MissingMP:Hide(0):Negate:Color(87CEFF)] [~Status?IsRage?CurMP:Hide(0):Short!CurMP:Hide([MaxMP]):Short:Paren]
Class: [Classification] [Level] [SmartClass:ClassColor] [DruidForm:Paren]
I'm as well very interested in the modified ag_uf version! Just got familiar with dogtags. Can't contribute anything (apologies), but thanks a lot, I love this thread already!

Offline
Old 03/21/08, 11:45 AM   #95
 Caniki
Crayon in Brain
 
Caniki's Avatar
 
Tauren Druid
 
Mal'Ganis
I'm still trying to figure out DogTags, but could someone help me with something that I think is very simple? I'd like the Health Value of a target to be shown using the Class color. Thanks.

United States Offline
Old 03/21/08, 11:50 AM   #96
Eph
Don Flamenco
 
Eph's Avatar
 
Human Paladin
 
Kil'Jaeden
Originally Posted by droeber View Post
I'm still trying to figure out DogTags, but could someone help me with something that I think is very simple? I'd like the Health Value of a target to be shown using the Class color. Thanks.
Here is a list of the basic stuff: http://www.wowace.com/wiki/DogTag-1.0/Tags

To color by class just add :ClassColor to the end of the tag, example
[CurHP:ClassColor]

United States Offline
Old 03/21/08, 8:27 PM   #97
Trouble
Bald Bull
 
Trouble's Avatar
 
Trouble
Blood Elf Druid
 
No WoW Account
I made the following for pvping as a frost mage to display when a target is frozen:

[[Class#player = Text(Mage)] ? [TalentTree#player = Text(Frost)] ? [HasAura(Frostbite) | HasAura(Frost Nova) | HasAura(Freeze)] ? Text(Frozen):Color(3333FF)]
Attached Thumbnails
frozen.jpg  

Last edited by Trouble : 03/24/08 at 3:09 AM.

United States Offline
Old 03/22/08, 4:46 PM   #98
Trouble
Bald Bull
 
Trouble's Avatar
 
Trouble
Blood Elf Druid
 
No WoW Account
Is it possible to detect whether there's oils on your weapon with DogTags?

United States Offline
Old 03/22/08, 6:43 PM   #99
Beska
Von Kaiser
 
Beska's Avatar
 
Human Mage
 
The Venture Co (EU)
Originally Posted by Trouble View Post
Is it possible to detect whether there's oils on your weapon with DogTags?
I don't think so. They're not actual buffs are they? You can't see them when they're on other players, so I don't think DogTag can 'see' it.

Offline
Old 03/22/08, 7:05 PM   #100
Trouble
Bald Bull
 
Trouble's Avatar
 
Trouble
Blood Elf Druid
 
No WoW Account
Yeah they're not auras, it's a weapon enchant I think.

United States Offline
Old 03/23/08, 8:26 AM   #101
Sapo
Glass Joe
 
Draenei Shaman
 
Thrall (EU)
Is there a way to make a dogtag which shows my current +Spelldmg or AP?

Offline
Old 03/23/08, 3:40 PM   #102
Ele'
Piston Honda
 
Ele''s Avatar
 
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:
[SpellPower(x)]
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

Offline
Old 03/23/08, 4:29 PM   #103
shii
Banned
 
Undead Rogue
 
Mannoroth (EU)
Originally Posted by Trouble View Post
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!

Offline
Old 03/23/08, 5:14 PM   #104
badMonkey
Von Kaiser
 
badMonkey's Avatar
 
Night Elf Rogue
 
Tirion (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 5:32 PM.

Offline
Old 03/23/08, 7:05 PM   #105
Sapo
Glass Joe
 
Draenei Shaman
 
Thrall (EU)
Originally Posted by Ele' View Post
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:
[SpellPower(x)]
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?

Offline
Closed Thread

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

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
I thought I would share the best site ever just in wow Public Discussion 7 12/27/05 11:46 AM