 |
11/09/08, 5:48 AM
|
#451
|
|
Glass Joe
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 ?
|
|
|
|
|
11/09/08, 10:41 AM
|
#452
|
|
Von Kaiser
Undead Rogue
Skullcrusher
|
Originally Posted by Neza
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.
|
|
|
|
|
11/17/08, 3:28 PM
|
#453
|
|
Von Kaiser
|
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 10:48 AM.
|
|
|
|
|
11/17/08, 4:32 PM
|
#454
|
|
Von Kaiser
|
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.
|
|
|
|
|
11/17/08, 5:02 PM
|
#455
|
|
Von Kaiser
|
Originally Posted by Fulgurite
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.
|
|
|
|
|
11/22/08, 8:50 PM
|
#456
|
|
Piston Honda
|
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.
|
|
|
|
|
11/23/08, 9:26 PM
|
#457
|
|
Glass Joe
Tauren Druid
Black Dragonflight
|
Originally Posted by Hinalover
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.
|
|
|
|
|
11/29/08, 12:54 PM
|
#458
|
|
Von Kaiser
|
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.
|
|
|
|
11/29/08, 4:40 PM
|
#459
|
|
Glass Joe
|
Originally Posted by Atallicus
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 :|
|
|
|
|
|
11/29/08, 4:57 PM
|
#460
|
|
Von Kaiser
|
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 5:03 PM.
|
|
|
|
|
11/29/08, 8:46 PM
|
#461
|
|
Glass Joe
|
Originally Posted by Atallicus
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.
|
|
|
|
|
11/30/08, 4:50 AM
|
#462
|
|
Glass Joe
Orc Warrior
Gorgonnash (EU)
|
Originally Posted by Hinalover
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.
|
|
|
|
|
11/30/08, 6:07 PM
|
#463
|
|
Glass Joe
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.
|
|
|
|
|
12/01/08, 2:39 AM
|
#464
|
|
Glass Joe
|
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. 
|
|
|
|
|
12/01/08, 9:30 AM
|
#465
|
|
Glass Joe
|
Originally Posted by weavil
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]
|
|
|
|
|
12/01/08, 10:08 AM
|
#466
|
|
Glass Joe
|
Yup, that's it. Thanks
|
|
|
|
|
12/01/08, 11:28 AM
|
#467
|
|
Von Kaiser
|
Originally Posted by Minimized
Don't write color, just type Green, Orange, Yellow and Red. No need to do Color:Green and so on.
|
This works, except that orange doesn't. If I add a color code for orange, it says for example FF660045, with the last two numbers being my runic power. Still trying to fix it.
|
|
|
|
|
12/01/08, 12:37 PM
|
#468
|
|
Glass Joe
|
Originally Posted by Atallicus
This works, except that orange doesn't. If I add a color code for orange, it says for example FF660045, with the last two numbers being my runic power. Still trying to fix it.
|
Correct me if I'm worng as I can't test it right now but I'm pretty sure Hex Codes have to be expressed like this.
|
|
|
|
|
12/01/08, 1:40 PM
|
#469
|
|
Von Kaiser
|
Originally Posted by Dethnote
Correct me if I'm worng as I can't test it right now but I'm pretty sure Hex Codes have to be expressed like this.
|
That doesn't seem to work either. I've tried it all sorts of different ways.
|
|
|
|
|
12/01/08, 6:29 PM
|
#470
|
|
Glass Joe
|
Originally Posted by Atallicus
That doesn't seem to work either. I've tried it all sorts of different ways.
|
Yeah, I should've remembered that orange is not one of the colors that have it's own dogtag.
This is what it should look like:
[if MP > 80 then
Green
elseif MP > 40 then
Color("ff6000")
elseif MP > 20 then
Yellow
else
Red
end]
In Color("ff6000"), ff6000 can be swapped with whatever hex color you like.
|
|
|
|
|
12/01/08, 7:24 PM
|
#471
|
|
Glass Joe
Tauren Druid
Outland (EU)
|
I hope this thread is the right place to post this. If not I apologize.
As has been mentioned earlier in this thread, the dogtag "Auraduration(aura,unit)" has been giving the wrong value for debuffs since a chance in the Warcraft API.
I think it's possible to make it work again by opening the file: "\libs\LibDogTag-Unit-3.0\Categories\Auras.lua"
and moving
for k, time in pairs(v) do
v[k] = time + currentTime
end
from line 131 to line 114.
This solved the problem for me, however there was another error I was not able to track down.
Tracking a buff will return the correct value until another buff is applied. When another buff gets applied, auraduration refreshes the duration of the original buff to full, even though the buff might be about to run out.
I was hoping someone will have a solution to this.
|
|
|
|
|
12/01/08, 9:36 PM
|
#472
|
|
Von Kaiser
|
Well it turns out it doesn't give an error, but now it shows no numbers at all.
[( MP > 80 ? Green ! (MP > 39 ? Orange ! (MP > 19 ? Yellow ! Red)) ) MP:Hide(0)]
I have another solution but am not sure how to fix the orange color in this tag. It works fine otherwise.
|
|
|
|
|
12/02/08, 11:30 AM
|
#473
|
|
Glass Joe
|
Originally Posted by Atallicus
Well it turns out it doesn't give an error, but now it shows no numbers at all.
[( MP > 80 ? Green ! (MP > 39 ? Orange ! (MP > 19 ? Yellow ! Red)) ) MP:Hide(0)]
I have another solution but am not sure how to fix the orange color in this tag. It works fine otherwise.
|
There is no "Orange" dogtag, you'll have to do it with a hex code instead, like "Color("ff6000")"
|
|
|
|
|
12/02/08, 12:19 PM
|
#474
|
|
Von Kaiser
|
Originally Posted by Minimized
There is no "Orange" dogtag, you'll have to do it with a hex code instead, like "Color("ff6000")"
|
I understand that there is no orange tag, but if I put those numbers in, at the point when it turns orange, it only adds those numbers to the tag, it never actually becomes orange. I've tried ("FF6600"), I've tried ('FF6600') I've tried :Color at the beginning, and color:. I just don't understand why that part doesn't work.
Edit: I know why I think, because I was adding a : in between color and the text. Thankyou for your help.
Last edited by Atallicus : 12/02/08 at 12:24 PM.
|
|
|
|
|
12/02/08, 1:57 PM
|
#475
|
|
Glass Joe
Tauren Druid
Auchindoun (EU)
|
I had a dogtag earlier which made my ToT frames text increase vertically instead of horizontally but cant remember it.
Can anyone help me?
|
|
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| [DogTags] - Share yours! |
Fulnir |
User Interface and AddOns |
164 |
03/30/08 2:30 AM |
|