 |
| Welcome to Elitist Jerks |
|
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.
To start viewing messages, select the forum that you want to visit from the selection below.
|
10/11/08, 3:46 PM
|
#401 (permalink)
|
|
Glass Joe
Gnome Mage
Zirkel des Cenarius (EU)
|
Originally Posted by Nabor
I think your code should be but all that might do is change the period to red.
|
both worked to make the dot itself become red, but none of them made the outline appear red, unfortunately it always stays black
|
|
|
|
|
|
10/12/08, 3:22 PM
|
#403 (permalink)
|
|
Glass Joe
Tauren Druid
Auchindoun (EU)
|
Hello
I need help with a dogtag that shows my mana unless it is full or I have 0 mana. I've had some thought but couldn't come up with the right solution.
|
|
|
|
|
|
10/12/08, 4:24 PM
|
#404 (permalink)
|
|
Glass Joe
|
if hasmana then if 0<PercentMP<100 then PercentMP:percent end
Should solve your problem, I have a similar tag for my own mana except it shows my mp if its not full. if you don't want a percent i think the correct tag is But im not entirely sure
|
|
|
|
|
|
10/12/08, 6:21 PM
|
#405 (permalink)
|
|
Von Kaiser
Tauren Shaman
Neptulon (EU)
|
Is there any way to get the dogtad to pull data out from the buff interface, I'm trying to set up a "timer" with dogtags but it doesn't let me pull out the timers of buffs that aren't casted by me.
|
|
|
|
|
|
10/14/08, 11:41 PM
|
#406 (permalink)
|
|
Piston Honda
|
Looking for some help re-writing some 2.0 dog tags for 3.0(boy am I regretting lazy and not doing this earlier), I'll include what they were to make it easier to know what I'm looking for:
Player Health: Missing HP | Current HP | Max HP | afk/dnd/dead info
[~Status?MissingHP:Short:HideZero:HPColor] | [~Status?CurHP:Hide([MaxHP]):Short:HPColor] | [Status:Gray:MaxHP:Short:Color(2A8430)] | [AFKDND]
Player Mana: Max MP | Cur MP | hides current MP if at max mana
[MaxMP:Short:Color(1E57AB)] | [~HasNoMP?CurMP:Hide([MaxMP]):Color(81BEF7)] | [~HasNoMP?MissingMP:HideZero:Color(1E57AB)]
ToT/ToTT Name/Health: Guess this was just % hp/dead info | Name/afk info
[~Dead ? ~IsMaxHP ? PercentHP:Round:Percent:HPColor] | [Name:Trunc(20):ClassColor] [AFKDND:Angle]
If theirs a list with all these commands thats pretty simple to understand(my understanding of code is pretty basic so it'd need to be pretty straightforward :P) a link to that would be helpful too.
|
|
|
|
|
|
10/16/08, 12:01 AM
|
#407 (permalink)
|
|
Failed at Quitting
Undead Rogue
Lightbringer
|
I'm having problems using the DogTag "Combos" after the patch, using the latest versions of LibDogTag-Unit-3.0 and LibDogTag-3.0. I use it as a text in Pitbull, and after my first combo point change (out of combat), they don't update. For example:
Cheap Shot -> it goes to 2
anything else that changes combo points will not change it from 2 while I'm in combat
as soon as I drop combat and switch targets, it gets reset properly to 0
I already found that in PitBull\libs\LibDogTag-Unit-3.0\Categories\Misc.lua the latest version had PLAYER_COMBO_POINTS instead of the new UNIT_COMBO_POINTS, but that doesn't fix the problem.
Can anyone help me figure out what I need to change?
Edit: Did some more testing:
If I create my first CP while already in combat, it won't show. If I create it while in out of combat (i.e. from stealth), it will show. This leads me to conclude that something about the Combos DogTag is using a protected function.
Last edited by Andeh : 10/16/08 at 12:10 AM.
|
|
|
|
|
|
10/16/08, 7:14 AM
|
#408 (permalink)
|
|
Piston Honda
Human Paladin
Kul Tiras (EU)
|
There is a ticket for that. I manually changed it, and it seems to have fixed the problem for me.
|
|
|
|
|
|
10/16/08, 2:21 PM
|
#409 (permalink)
|
|
Failed at Quitting
Undead Rogue
Lightbringer
|
Originally Posted by Camaris
There is a ticket for that. I manually changed it, and it seems to have fixed the problem for me.
|
Out of curiosity, how exactly are you using the [Combos] tag? Are you using it simply as [Combos], on the target frame? Was the only change you made to get it to work "UNIT_COMBO_POINTS"?
I have the custom text [Combos:Hide(0)] on my player frame (rather than the target frame), specifically on my energy bar, and simply changing PLAYER to UNIT didn't fix my problem. I spent a couple hours last night trying to fix Combos in Misc.lua last night, and simply could not get it to work.
|
|
|
|
|
|
10/17/08, 12:13 AM
|
#410 (permalink)
|
|
Von Kaiser
|
Originally Posted by Andeh
Out of curiosity, how exactly are you using the [Combos] tag? Are you using it simply as [Combos], on the target frame? Was the only change you made to get it to work "UNIT_COMBO_POINTS"?
I have the custom text [Combos:Hide(0)] on my player frame (rather than the target frame), specifically on my energy bar, and simply changing PLAYER to UNIT didn't fix my problem. I spent a couple hours last night trying to fix Combos in Misc.lua last night, and simply could not get it to work.
|
Correct me if I'm wrong, but I believe that if there is an addon loaded before pitbull that also uses the LibDogTag-Unit-3.0 library it would load that one (unmodified one) instead of the modified one in Pitbull?
p.s. The following fix worked for me:
In PitBull\libs\LibDogTag-Unit-3.0\Categories\Misc.lua change PLAYER_COMBO_POINTS to UNIT_COMBO_POINTS
Last edited by Gere : 10/17/08 at 1:21 AM.
|
|
|
|
|
|
10/17/08, 1:27 AM
|
#411 (permalink)
|
|
Von Kaiser
Undead Rogue
Skullcrusher
|
If you're having trouble with the UNIT_COMBO_POINTS fix, I'd bet it's because something else is loading the lib first (in my case it was cowtip.) fix it in every plugin that uses dog tags and it should start working.
I am not sure how Blizzard chooses which lib to load; if I had to guess, I'd say it happens alphabetically... so probably wouldn't *need* to fix it in pitbull\libs\ but could fix it in just cowtip\libs\.. but I would fix it in both places just the same.
edit: also, the following code stub will make a tickto counter for people who like having one: substitute the target power quantity for 25 (e.g. 25/40/60 etc)
if MP < 25 then
((25 - MP) / 10):Round(1):Color('FF0000')
else
'25':Color('00FF00')
end]
this will show either: a green '25' if you have at least 25 energy, or the number of seconds in red (to the nearest tenth of a second) until you do have 25 energy.
if you have 3 points in vitality, the 10 should be an 8 (and is the reason for the Round(1) this will keep it in nearest 10ths of a second, instead of showing it in thousands, eg: 1.6 instead of 1.625)
I stuck this (and another two for 40 and 60) on my power meter. I'm not sure how to make it reference my power if it's on another unit (is there a way to do this?)
Last edited by amele : 10/17/08 at 1:42 AM.
|
|
|
|
|
|
10/17/08, 4:33 PM
|
#412 (permalink)
|
|
Failed at Quitting
Undead Rogue
Lightbringer
|
Thanks, that makes sense. Ironically, last night I got it to work last night with only changing Pitbull's lib, simply because there were other lib problems in Cowtip, Cartographer, & Chinchilla which prevented Pitbull from loading at all. Disabling them not only got Pitbull to load, but actually handle my combo points correctly!
|
|
|
|
|
|
10/17/08, 6:29 PM
|
#413 (permalink)
|
|
Piston Honda
|
re: library fixes, just bump the minor revision number in the file you're changing. LibStub (I think it is) will recognize your modified version is the most recent one and will load it, regardless of when it would normally get loaded in sequence.
I vaguely recall the minor revision being "90000 + tonumber( SVN rev )" or some such. i just changed it to 99000.
|
|
|
|
|
|
10/18/08, 7:35 AM
|
#414 (permalink)
|
|
Glass Joe
Undead Warrior
Daggerspine (EU)
|
can someone help me with this one please?
i want the first line of tip to look like this
if target has target:
"targetname : totname"
if it's me:
"targetname : <<YOU>>"
if he has no target:
"targetname"
i've tried this for like hours, but i can't make the " : " work correctly.. either it shows all the time, so that with no target the line looks like this "targetname : ", or it does not show at all
|
|
|
|
|
|
10/18/08, 8:27 AM
|
#415 (permalink)
|
|
Von Kaiser
Undead Rogue
Skullcrusher
|
Originally Posted by stupidfish
can someone help me with this one please?
i want the first line of tip to look like this
if target has target:
"targetname : totname"
if it's me:
"targetname : <<YOU>>"
if he has no target:
"targetname"
i've tried this for like hours, but i can't make the " : " work correctly.. either it shows all the time, so that with no target the line looks like this "targetname : ", or it does not show at all
|
both of these blocks together (one after the other) should do it:
[if Target:IsPlayer or (Target:IsEnemy and not Target:IsPet)
then ClassColor(unit=Target) end]
[if IsUnit('player', Target)
then '<<YOU>>' else Target:NameRealm or "none" end]
|
this you're familiar with, establishes Targetname, classcolored, <<you>> if it's you etc.
[if Target:Target:Exists
then ' : ':White]
[if Target:Target:IsPlayer or (Target:Target:IsEnemy and not Target:Target:IsPet)
then ClassColor(unit=Target:Target) end]
[if IsUnit('player', Target:Target)
then '<<YOU>>' else Target:Target:NameRealm]
|
this is the part you were having trouble with; I took the liberty of assuming you wanted the same classcolor logic/<<you>> stuff that the earlier target does. if you don't, you can obviously modify as necessary. I bolded the bit that makes the ":" appear dynamically.
Target:Target:Exists was the way I found to identify target of the target, if there's a direct tag please let me know! I've been learning dogtags without the help of the wiki since all the wowace/wiki/ links I've found have been redirects to the top page; and the self-doc in the lua only goes so far :x
|
|
|
|
|
|
10/18/08, 10:30 AM
|
#416 (permalink)
|
|
Work like you don't need the money.
|
Is AuraDuration for target debuffs broken?
When I use [AuraDuration("Judgement of Wisdsom")] on a target frame, I get a very large number, like 1005873.23. Using [AuraDuration("Seal of Righteousness")] on my player frame is working correctly.
I'm using Pitbull 3.2.6 with LibDogtags-3.0.
|
|
|
|
|
|
10/18/08, 10:37 AM
|
#417 (permalink)
|
|
Glass Joe
Undead Warrior
Daggerspine (EU)
|
Originally Posted by amele
...
|
thanks a lot!
|
|
|
|
|
|
10/18/08, 8:14 PM
|
#418 (permalink)
|
|
Don Flamenco
|
This is my target frame raid synergy script.

[(IsEnemy ? ~IsPlayerOrPet ? NumDebuffs:Hide(0)) (if (IsEnemy ? ~IsPlayerOrPet) then
(if (HasAura("Demoralizing Shout") or HasAura("Demoralizing Roar") or HasAura("Curse of Weakness")) then
" DS":Green
else
" DS":Red
end) (if (HasAura("Icy Touch") or HasAura("Infected Wounds") or HasAura("Judgements of the Just") or HasAura("Thunder Clap")) then
" TC":Green
else
" TC":Red
end) (if HasAura("Sunder Armor") then
" SA":Green
else
" SA":Red
end) (if (HasAura("Faerie Fire") or HasAura("Faerie Fire (Feral)") or HasAura("Curse of Recklessness")) then
" MA":Green
else
" MA":Red
end) (if (HasAura("Curse of the Elements") or HasAura("Earth and Moon") or HasAura("Ebon Plaguebringer")) then
" SV":Green
else
" SV":Red
end) (if (HasAura("Blood Frenzy") or HasAura("Savage Combat")) then
" PV":Green
else
" PV":Red
end) (if (HasAura("Curse of Tongues") or HasAura("Mind-numbing Poison") or HasAura("Slow")) then
" T":Green
else
" T":Red
end) (if (HasAura("Insect Swarm") or HasAura("Scorpid Sting")) then
" M":Green
else
" M":Red
end) (if (HasAura("Aimed Shot") or HasAura("Furious Attacks") or HasAura("Mortal Strike") or HasAura("Wound Poison VI")) then
" MS":Green
else
" MS":Red
end) (if (HasAura("Improved Faerie Fire") or HasAura("Misery")) then
" SH":Green
else
" SH":Red
end) (if (HasAura("Heart of the Crusader") or HasAura("Master Poisoner") or HasAura("Totem of Wrath")) then
" CR":Green
else
" CR":Red
end) (if HasAura("Judgement of Wisdom") then
" W":Green
else
" W":Red
end) (if HasAura("Judement of Light") then
" L":Green
else
" L":Red
end)
end)]
|
|
|
|
|
|
10/20/08, 2:30 AM
|
#419 (permalink)
|
|
Glass Joe
Night Elf Rogue
Emeriss (EU)
|
Heya!
I'm quite new to DogTags and actually the reason why I started to play around with them is that my old tooltip addon kind of died during 3.0.2 patch and I decided to move to CowTip. I tried looking for some documentation or even list of tags but without luck. It seems that the wowace-link which was in many places has died due to the events in wowace.com so I'm wondering are the help or manual to dogtags available somewhere else since I'm getting somewhat annoyed to do everything with "trial & error"-style. I know there is dogtag "help" withing CowTip options but can't seem to get that work either.
And while I'm at it, I also have few other questions relating to dogtags:
- Is it possible to have an empty line in cowtip or some workaround for it? Like
Jenkins
Lvl 70 Human paladin
I've got it by accident but never when I've tried to get it. 
- I've seen people modifying the background color of the tooltip, like in post #5. I wonder can the bg color be changed just with CowTip or does it require some additional addon?
- Using post #5 as a reference again: the tooltips there have a healthbar and energy/mana bar too below the actual tip. Is there a tag for them or are they created by another addon? I've seen a picture of CowTip configuration with some Powerbar-option in them which I don't have so could that be it? Didn't find anything relating to powerbar from curse.com tho...
|
|
|
|
|
|
10/20/08, 4:05 AM
|
#420 (permalink)
|
|
Von Kaiser
Undead Rogue
Skullcrusher
|

Originally Posted by Ryazan
Heya!
I'm quite new to DogTags and actually the reason why I started to play around with them is that my old tooltip addon kind of died during 3.0.2 patch and I decided to move to CowTip. I tried looking for some documentation or even list of tags but without luck. It seems that the wowace-link which was in many places has died due to the events in wowace.com so I'm wondering are the help or manual to dogtags available somewhere else since I'm getting somewhat annoyed to do everything with "trial & error"-style. I know there is dogtag "help" withing CowTip options but can't seem to get that work either.
And while I'm at it, I also have few other questions relating to dogtags:
- Is it possible to have an empty line in cowtip or some workaround for it? Like
Jenkins
Lvl 70 Human paladin
I've got it by accident but never when I've tried to get it. 
- I've seen people modifying the background color of the tooltip, like in post #5. I wonder can the bg color be changed just with CowTip or does it require some additional addon?
- Using post #5 as a reference again: the tooltips there have a healthbar and energy/mana bar too below the actual tip. Is there a tag for them or are they created by another addon? I've seen a picture of CowTip configuration with some Powerbar-option in them which I don't have so could that be it? Didn't find anything relating to powerbar from curse.com tho...
|
the background coloring and power/health bars are a feature of cowtip. you should have an appearance section in cowtip's configuration UI - if you don't then libsharedmedia isn't loading correctly and you'll need to figure out what's causing it to fail (usually having an old version of cowtip or another addon that's loading a bad sharedmedia would do it.)
as for making a space, I imagine that making a text line with [' '] would do it, but I wouldn't quote me on that.
|
|
|
|
|
|
10/20/08, 4:47 AM
|
#421 (permalink)
|
|
Glass Joe
Night Elf Rogue
Emeriss (EU)
|
Originally Posted by amele
the background coloring and power/health bars are a feature of cowtip. you should have an appearance section in cowtip's configuration UI - if you don't then libsharedmedia isn't loading correctly and you'll need to figure out what's causing it to fail (usually having an old version of cowtip or another addon that's loading a bad sharedmedia would do it.)
as for making a space, I imagine that making a text line with [' '] would do it, but I wouldn't quote me on that.
|
Ok thanks! Will investigate and test a bit after I get off work.
Edit: Silly question but if I have separate Libsharedmedia (as in Interface/Addons/Libsharedmedia), will it override the Libsharedmedia loaded by an other addon which has it in it's respective addon dir?
|
|
|
|
|
|
10/20/08, 7:39 PM
|
#422 (permalink)
|
|
Piston Honda
|
Looking for a way to separate the missing hp and fractional hp tags in this line with just a simple | one that goes away when missing HP is hiding/zero, would be even better if I could get it the same color as the fractional HP.
[~Dead ? (-MissingHP):Hide(0):HPColor] [~Dead ? ''] [(~Dead ? FractionalHP:Short:Color('008000')) (Dead ? 'Dead':Color('FE2E08')) (Offline ? 'Offline':Color('9B9B9B'))]
|
|
|
|
|
|
10/20/08, 9:07 PM
|
#423 (permalink)
|
|
Von Kaiser
Undead Rogue
Skullcrusher
|
Originally Posted by Yessia
Looking for a way to separate the missing hp and fractional hp tags in this line with just a simple | one that goes away when missing HP is hiding/zero, would be even better if I could get it the same color as the fractional HP.
[~Dead ? (-MissingHP):Hide(0):HPColor] [~Dead ? ''] [(~Dead ? FractionalHP:Short:Color('008000')) (Dead ? 'Dead':Color('FE2E08')) (Offline ? 'Offline':Color('9B9B9B'))]
|
try adding [MissingHP ? ('|':Color('008000'))] in the area where you have [~Dead ? ''].
my server is down so I can't test it, but I'm pretty sure that MissingHP will evaluate as false when it's 0.
|
|
|
|
|
|
|