Elitist Jerks
Register
Blogs
Forums


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

Reply
 
LinkBack Thread Tools
Old 11/09/08, 4:48 AM   #451
Neza
Glass Joe
 
Neza's Avatar
 
Blood Elf Paladin
 
Lordaeron (EU)
Sadly, theese Tags don't seem to work anymore, atleast not for me... I've read on curse that Thread 2.0 is not working anymore ?

Offline
Reply With Quote
Old 11/09/08, 9:41 AM   #452
amele
Von Kaiser
 
Undead Rogue
 
Skullcrusher
Originally Posted by Neza View Post
Sadly, theese Tags don't seem to work anymore, atleast not for me... I've read on curse that Thread 2.0 is not working anymore ?
I would expect the 2.4.3 to 3.0.2 update broke it. I'm not sure if anyone is actively working to fix it, since there are new functions now that work directly with the server representation of threat instead of the guesswork that Threat 2.0 was doing.

If you're good with lua, you could probably rebuild ThreatLib yourself to use these; I know that Omen3 uses them offhand, so you could dig through it for examples of how to handle the arguments returned by the new built in functions.

Offline
Reply With Quote
Old 11/17/08, 2:28 PM   #453
IceShadow
Von Kaiser
 
IceShadow's Avatar
 
Tauren Warrior
 
Kirin Tor
Does anyone know what the conditional check/text return would be for the Class of a Pet's Owner?

Class(Owner) just returns a bad unit error, as does Class(Unit=Owner). Am I doing the syntax all wrong?

EDIT: In case anyone else is looking to do this, it was pointed out to me last night that it isn't really possible as that isn't information that can be directly queried in the API. Instead, if you want, you can do a [CreatureType] on the pet and work from that; demons would be warlocks, beasts would be hunters (and possibly shaman), etc.

Last edited by IceShadow : 11/18/08 at 9:48 AM.

Offline
Reply With Quote
Old 11/17/08, 3:32 PM   #454
Fulgurite
Von Kaiser
 
Undead Rogue
 
Gurubashi
Does anyone know how I can stop Dogtags from displaying a "class" for mobs?

I like how it colors class types/tooltip backgrounds by class color, but it annoys me when it tells me that a random mob is a "Paladin," "Warrior," or "Mage." Doesn't even usually make sense.

It usually works nicely for friendly NPCs, the Hostile ones are the problem.

Currently using mostly the default settings that come with Cowtip (with the worthless columns deleted).

Here's my code:
Left:
1) [Status] [Outline][(if [IsPlayer or [IsEnemy and not IsPet]] then ClassColor end) NameRealm]
2) [(if IsPlayer then GuildRank else " " end)]
3) [if IsPlayer or [IsEnemy and not IsPet] then Class:ClassColor else " " end]
4) [if HasThreat then FractionalThreat:Short ' ' PercentThreat:Percent:Paren else " " end]
5) [if TalentSpec then TalentTree ' ' TalentSpec:Paren end]
6) [Zone] [if true then " "]
7) Happiness:

Right:
1) [Classification] [Level]
2) [(if Guild and Guild = 'player':Guild then Green else [Guild ? [IsPlayerOrPet ? [IsFriend ? Cyan ! Cyan] ! HostileColor]] end) Guild:Angle]
3) [Faction] [if IsPlayer then Race else Creature end]
4) [if Target:Exists then ["Targeting: " [((Target:IsEnemy & Target:~IsPet) ? DifficultyColor ! ClassColor(unit=Target)) Target:NameRealm]] end]
5) <Blank>
6) [if XP ~= 0 then FractionalXP:Short ' ' PercentXP:Percent:Paren end]
7) [if IsUnit('pet') then HappyText end]


Again, the problem is that SOME normal hostile mobs are displayed as "Paladin," "Warrior," or "Mage." Not all the time if I recall, but enough that it's annoying.

Offline
Reply With Quote
Old 11/17/08, 4:02 PM   #455
IceShadow
Von Kaiser
 
IceShadow's Avatar
 
Tauren Warrior
 
Kirin Tor
Originally Posted by Fulgurite View Post
Does anyone know how I can stop Dogtags from displaying a "class" for mobs?

Here's my code:
Left:
3) [if IsPlayer or [IsEnemy and not IsPet] then Class:ClassColor else " " end]
I just went through this yesterday. This right here is your issue, I believe. It's saying that if it's a player, or if it's an enemy and not a pet, it should display the class (which is warrior, paladin, mage). Just get rid of the 'or [IsEnemy and not IsPet]' and you should be set.

Offline
Reply With Quote
Old 11/22/08, 7:50 PM   #456
Hinalover
Don Flamenco
 
Hinalover's Avatar
 
Pandaren Monk
 
Kil'Jaeden
hey guys, I'm having some combo point issues with Pitbull that I thought you guys might be able to answer. Ok, with WotLK adding Vehicles to the foray, some of these vehicles combine combo points into mix. For example when fighting Malygnos in Phase 3, you have to deal with Combo points using vehicles. Currently Pitbull does not show any combo points while in Vehicle mode. I went over to WowAces' forums only they said to work with Dogtag. I have not learned the nuance of the formating language so I'm at a loss of what to do.

I currently use "[Status or (FractionalMP ' | ' PercentMP:Percent)]" as my standard output but I'm wondering if there is a way to add combo points to the Power line.

United States Offline
Reply With Quote
Old 11/23/08, 8:26 PM   #457
Crankshaft
Glass Joe
 
Tauren Druid
 
Black Dragonflight
Originally Posted by Hinalover View Post
hey guys, I'm having some combo point issues with Pitbull that I thought you guys might be able to answer. Ok, with WotLK adding Vehicles to the foray, some of these vehicles combine combo points into mix. For example when fighting Malygnos in Phase 3, you have to deal with Combo points using vehicles. Currently Pitbull does not show any combo points while in Vehicle mode. I went over to WowAces' forums only they said to work with Dogtag. I have not learned the nuance of the formating language so I'm at a loss of what to do.

I currently use "[Status or (FractionalMP ' | ' PercentMP:Percent)]" as my standard output but I'm wondering if there is a way to add combo points to the Power line.
Combos:Hide(0) should do what you're after.

Offline
Reply With Quote
Old 11/29/08, 11:54 AM   #458
Atallicus
Von Kaiser
 
Atallicus's Avatar
 
Blood Elf Mage
 
Ner'zhul
Not quite sure where to start with this dogtag and wondering if someone else might have tried it. I'm specced Frost DPS on my death knight. I can have a total of 130 runic power. Basically what i want the dogtag to do is color from 80-130 runic power green, from 40-79 orange, from 20-39 yellow, from 1-19 red, and hide 0. Is this possible in any way? Thankyou in advance.


Offline
Reply With Quote
Old 11/29/08, 3:40 PM   #459
Minimized
Glass Joe
 
Gnome Rogue
 
<Ego>
Outland (EU)
Originally Posted by Atallicus View Post
Not quite sure where to start with this dogtag and wondering if someone else might have tried it. I'm specced Frost DPS on my death knight. I can have a total of 130 runic power. Basically what i want the dogtag to do is color from 80-130 runic power green, from 40-79 orange, from 20-39 yellow, from 1-19 red, and hide 0. Is this possible in any way? Thankyou in advance.
haven't looked at the dogtags for dk, but try to add this before your mana tags:
[if mp > 80 then green else if mp > 40 then orange else if mp >20 then yellow else red]
that is if it uses the mp tags, otherwise replace it with Runepower or w/e :|

Offline
Reply With Quote
Old 11/29/08, 3:57 PM   #460
Atallicus
Von Kaiser
 
Atallicus's Avatar
 
Blood Elf Mage
 
Ner'zhul
I will try that and edit with results. Thankyou!

[if MP > 80 then
    Color:Green
elseif MP > 40 then
    Color:orange
elseif MP > 20 then
    Color:Yellow
else
    Red
end]


I tried that and it gives me a bad tag.

Last edited by Atallicus : 11/29/08 at 4:03 PM.

Offline
Reply With Quote
Old 11/29/08, 7:46 PM   #461
Minimized
Glass Joe
 
Gnome Rogue
 
<Ego>
Outland (EU)
Originally Posted by Atallicus View Post
I will try that and edit with results. Thankyou!

[if MP > 80 then
    Color:Green
elseif MP > 40 then
    Color:orange
elseif MP > 20 then
    Color:Yellow
else
    Red
end]


I tried that and it gives me a bad tag.
Don't write color, just type Green, Orange, Yellow and Red. No need to do Color:Green and so on.

Offline
Reply With Quote
Old 11/30/08, 3:50 AM   #462
Lazhar
Glass Joe
 
Lazhar's Avatar
 
Orc Warrior
 
Gorgonnash (EU)
Originally Posted by Hinalover View Post
hey guys, I'm having some combo point issues with Pitbull that I thought you guys might be able to answer. Ok, with WotLK adding Vehicles to the foray, some of these vehicles combine combo points into mix. For example when fighting Malygnos in Phase 3, you have to deal with Combo points using vehicles. Currently Pitbull does not show any combo points while in Vehicle mode. I went over to WowAces' forums only they said to work with Dogtag. I have not learned the nuance of the formating language so I'm at a loss of what to do.

I currently use "[Status or (FractionalMP ' | ' PercentMP:Percent)]" as my standard output but I'm wondering if there is a way to add combo points to the Power line.
I was looking for a way to display my vehicle's combo points as well and [Combos:Hide(0)] is almost the tag you are looking for though you have to make a little adjustment:
The default "Combos"-Tag tries to read the player's combo points and not the vehicle's. To change the tag's behavior just open "\AddOns\Pitbull\libs\LibDogTag-Unit-3.0\Categories\Misc.lua" and add the following lines before the last "end" :
DogTag:AddTag("Unit", "CombosVehicle", {
	code = function () return GetComboPoints("vehicle") end,
	ret = "number",
	events = "UNIT_COMBO_POINTS",
	doc = L["Return the number of combo points your vehicle has"],
	example = '[Combos] => "5"',
	category = L["Miscellaneous"]
})
If you have multiple "LibDogTag-Unit-3.0"-folders make sure to change each one of them as, if i am not mistaken, all addons use the first loaded version of the library (in my case cowtip had it's own).

Now just add a [CombosVehicle:Hide(0)] to whatever position you want it to be shown.
I hope this helps.

Offline
Reply With Quote
Old 11/30/08, 5:07 PM   #463
kunksmoor
Glass Joe
 
kunksmoor's Avatar
 
Human Warlock
 
Outland (EU)
I'm looking for Dogtag help regarding to Malygos encounter as well.

I'm playing a dps class so my raidframes are really tiny on my ui. But i would like to be able take a healing role on the drake phase. So I set up my Pitbull to show raid pets larger, and tried to configure it showing drake owners names, instead of drakes. Sadly the tag [Owner] only works for real pets, and not vehicles. Is there a tag that works on vehicles as well? I tried searching dogtag help but for some reason it doesn't show anything for me.

Offline
Reply With Quote
Old 12/01/08, 1:39 AM   #464
weavil
Glass Joe
 
Human Warlock
 
Exodar
Hi everyone,

This is the Dog Tag that I am using right now.

[DruidForm:Paren (Level (if Classification then
    '+'
end)):Color('FFFFFF') Classification] [(if IsPlayer then
    Class:Lower
end):ClassColor]
What I want is the Dog Tag to display the Boss or Elite in lower case. An example would be 80 + boss or 80 + elite and to add a red or reddish color to "boss" and "elite" but not the level.

Also, there is not a "rare" unit anywhere around me but I am not sure if "Classification" would show "80 + rare" or "80 rare".

I tinkered around a bit as well as looked through this thread and couldn't find an answer. Any help appreciated.

Offline
Reply With Quote
Old 12/01/08, 8:30 AM   #465
Minimized
Glass Joe
 
Gnome Rogue
 
<Ego>
Outland (EU)
Originally Posted by weavil View Post
Hi everyone,

This is the Dog Tag that I am using right now.

[DruidForm:Paren (Level (if Classification then
    '+'
end)):Color('FFFFFF') Classification] [(if IsPlayer then
    Class:Lower
end):ClassColor]
What I want is the Dog Tag to display the Boss or Elite in lower case. An example would be 80 + boss or 80 + elite and to add a red or reddish color to "boss" and "elite" but not the level.

Also, there is not a "rare" unit anywhere around me but I am not sure if "Classification" would show "80 + rare" or "80 rare".

I tinkered around a bit as well as looked through this thread and couldn't find an answer. Any help appreciated.
Try
[DruidForm:Paren (Level (if Classification then
    '+'
end)):Color('FFFFFF') Classification:Lower:Red] [(if IsPlayer then
    Class:Lower
end):ClassColor]

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