Elitist Jerks
Register
Blogs
Forums


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

Reply
 
LinkBack Thread Tools
Old 12/01/08, 9:08 AM   #466
weavil
Glass Joe
 
Human Warlock
 
Exodar
Yup, that's it. Thanks

Offline
Reply With Quote
Old 12/01/08, 10:28 AM   #467
Atallicus
Von Kaiser
 
Atallicus's Avatar
 
Blood Elf Mage
 
Ner'zhul
Originally Posted by Minimized View Post
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.

Offline
Reply With Quote
Old 12/01/08, 11:37 AM   #468
Dethnote
Glass Joe
 
Undead Rogue
 
Azjol-Nerub
Originally Posted by Atallicus View Post
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.

:Color('FFFFFF')

Offline
Reply With Quote
Old 12/01/08, 12:40 PM   #469
Atallicus
Von Kaiser
 
Atallicus's Avatar
 
Blood Elf Mage
 
Ner'zhul
Originally Posted by Dethnote View Post
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.

:Color('FFFFFF')
That doesn't seem to work either. I've tried it all sorts of different ways.

Offline
Reply With Quote
Old 12/01/08, 5:29 PM   #470
Minimized
Glass Joe
 
Gnome Rogue
 
<Ego>
Outland (EU)
Originally Posted by Atallicus View Post
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.

Offline
Reply With Quote
Old 12/01/08, 6:24 PM   #471
Firehoof
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.

Offline
Reply With Quote
Old 12/01/08, 8:36 PM   #472
Atallicus
Von Kaiser
 
Atallicus's Avatar
 
Blood Elf Mage
 
Ner'zhul
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.

Offline
Reply With Quote
Old 12/02/08, 10:30 AM   #473
Minimized
Glass Joe
 
Gnome Rogue
 
<Ego>
Outland (EU)
Originally Posted by Atallicus View Post
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")"

Offline
Reply With Quote
Old 12/02/08, 11:19 AM   #474
Atallicus
Von Kaiser
 
Atallicus's Avatar
 
Blood Elf Mage
 
Ner'zhul
Originally Posted by Minimized View Post
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 11:24 AM.

Offline
Reply With Quote
Old 12/02/08, 12:57 PM   #475
Montegos
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?

Offline
Reply With Quote
Old 12/02/08, 1:55 PM   #476
Minimized
Glass Joe
 
Gnome Rogue
 
<Ego>
Outland (EU)
Originally Posted by Montegos View Post
I had a dogtag earlier which made my ToT frames text increase vertically instead of horizontally but cant remember it.
Can anyone help me?
Think you could do it with something like:

[Name:Replace("", "\n"):Substring(2, Length(Name) * 2)]
Try it out, see if it's what you're looking for.

Last edited by Minimized : 12/02/08 at 2:10 PM.

Offline
Reply With Quote
Old 12/02/08, 5:00 PM   #477
Montegos
Glass Joe
 
Tauren Druid
 
Auchindoun (EU)
Thanks Mini, worked with no problems.

Offline
Reply With Quote
Old 12/05/08, 2:01 AM   #478
diospadre
Hero of the Horde
 
diospadre's Avatar
 
Undead Warrior
 
Mal'Ganis
Is there a way to get dogtags to differentiate between a debuff you applied to a mob and one someone else? i.e. My Crypt Fever vs. another DK's?

United States Offline
Reply With Quote
Old 12/05/08, 10:04 AM   #479
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by diospadre View Post
Is there a way to get dogtags to differentiate between a debuff you applied to a mob and one someone else? i.e. My Crypt Fever vs. another DK's?
Probably need to do some lua editing. The API still returns a flag for if the de/buff is yours, but DogTags doesn't seem to have an option to filter for it. And of course the old standby of checking for duration no longer works, since you can see all durations now.

United States Offline
Reply With Quote
Old 12/06/08, 3:00 PM   #480
Cobrakai
Von Kaiser
 
Tauren Hunter
 
Burning Legion
Dog Tag in game help window not working

I can't seem to get the in game Dog Tag lines "help" window to function correctly -- all that shows up is the window w/o any search able categories, only the line test box. I've downloaded the latest version but still no luck.

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