This is my compact tooltip. Manged to finally get everything working besides the Guild display. I want it to be green when the person is in my guild. How is that done?
[if IsPlayer and not isPet then ClassColor NameRealm else Name]
[if IsPlayer then Guild:Angle:Green else Guild:Angle]
[~IsPlayerOrPet ? Faction]
[if TalentSpec then TalentTree:Hide("None")] [if IsPlayer or [IsEnemy and not IsPet] then Class:ClassColor] [Level] [Classification " " (if IsPlayer then Race else Creature)]
Tags actually got simpler, it's just that some people don't understand how to write them properly.
Have to add :Color("xxyyzz") after each tag. If I use [Color("xxyyzz")] at start of the line to color all tags at that line, I cant get correct spacing of tags, and also lines with all tags hidden are shown as empty lines instead then.
Also the I can't get an easy Target to work atm. Before I just used [Target:Bracket:Color("xxyyzz")] but now its more complex. I checked your target code Ellipsis, but I just want an easy tag nothing fancy.
Just updated to CowTip-r66258 for 2.4. With only CowTip installed, suddenly getting the following error: "...owTip\libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:38: Cannot find a library instance of : CallbackHandler-1.0".
Just updated to CowTip-r66258 for 2.4. With only CowTip installed, suddenly getting the following error: "...owTip\libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:38: Cannot find a library instance of : CallbackHandler-1.0".
same, though, im getting these errors:
Error: Cannot find a library instance of "CallbackHandler-1.0".
File: ...owTip\libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua
Line: 38
Count: 1
--------------------------------------------------
Error: attempt to call field 'RegisterCallback' (a nil value)
File: ...CowTip\libs\LibDogTag-Unit-3.0\Categories\Talent.lua
Line: 40
Count: 1
--------------------------------------------------
Error: bad argument #1 to 'pairs' (table expected, got nil)
String: *:OnEvent
Count: 1
--------------------------------------------------
Since the 2.4 patch i got a little problem. I don't know if cowtip is responsible for it, but i get a really ugly dropshadow on the 1st visible(!) line of the tooltip. If i c&p the code to the 2nd or 3rd line, it's clean. Someone have an idea?
Since the 2.4 patch i got a little problem. I don't know if cowtip is responsible for it, but i get a really ugly dropshadow on the 1st visible(!) line of the tooltip. If i c&p the code to the 2nd or 3rd line, it's clean. Someone have an idea?
Looks like some sort of outline on the text, have u looked through the dogtag formats?
Name (class colored) (hostile colored if npc) Realm if available
Guild name (with diff color for own guild)
Level (difficulty colored) Race/Classification Class
Target
Status
Talent spec
sounds simple right? :) i had a nice one before patch.
also wanna fix my pitbull frames so it just shows name on the top left and class/level on the top right.
Note: There are varying ways to format dogtag strings now. I hope these give you an idea of how they work. You can use ?,!,| like before or if, then, else also. Note: these are untested.
This Target tag is taken straight from the defaults - all I changed was the color if they're targeting you.
[(if Target:IsPlayer or (Target:IsEnemy and not Target:IsPet) then ClassColor(unit=Target)) (if IsUnit("player", Target) then "<<You>>":Color("f4750c") else Target:NameRealm)]
Again... Default:
[Status:StatusColor]
I fiddled with the Talents line, and I don't recall if I got it working the other night. This is what I think the default was:
[if TalentSpec then (TalentTree " " TalentSpec:Paren)]
Tags actually got simpler, it's just that some people don't understand how to write them properly.
(snip)
Not to be snarky, but, there's a few of us who aren't in the computer programming profession and thus find it tedious to try and figure out tags without any sort of list/guide. I'm patiently waiting for the dogtag wiki and/or in game help to be updated however, and I'm using the old versions of cowtip/pitbull.
If the wiki/in game help has been updated, hopefully someone announces it. <--------( edit, just found something ck whipped up)
I have my dogtags for pitbull health/mana to be in smart mode, class colored visible, and upon mouseover the absolute values pop up for health and mana. No idea where to start recoding that without lists! I don't even know what the rules changed to. I have customized tags for cowtip too.
I didn't read that as Ellipsis trying to be mean. It's just that tags are a bit different now and people don't know how to write them properly. Once you know what's been changed, they are easier.
edit: I'm no programmer either. But I had been keeping up with the "make dogtags easier" thread, saw what ck was changing, read his examples, read other people's examples, and figured it out on my own using those and some trial and error.
Just updated CowTip and [TalentTree] still does not show anything when I mouseover any player. Is there a fix for this issue or do we just have to wait?
I didn't read that as Ellipsis trying to be mean. It's just that tags are a bit different now and people don't know how to write them properly. Once you know what's been changed, they are easier.
From my perspective they seem smarter and more flexible, its just that I didn't follow the change discussion. Which creates some extra questions right now in the transition phase.
Maybe in the future there could be 3-5 presets from good and varied tooltips (all with big warning that it will overwrite your current). That way many can use a preset Tag-based tooltip and just tweak it a little to their liking or just use it for examples.
How do I get this to work?
I was starting to go like this: [(if [IsPlayer or [CanAttack then Name:HostileColor]] then Name:ClassColor)] but doesn't work.
I am pretty sure I mix those else, and or, and, or, then, if a little around.
Here are my CowTip lines, just as an example:
Have to add :Color("xxyyzz") after each tag. If I use [Color("xxyyzz")] at start of the line to color all tags at that line, I cant get correct spacing of tags, and also lines with all tags hidden are shown as empty lines instead then.
Also the I can't get an easy Target to work atm. Before I just used [Target:Bracket:Color("xxyyzz")] but now its more complex. I checked your target code Ellipsis, but I just want an easy tag nothing fancy.
same, though, im getting these errors:
Looks like some sort of outline on the text, have u looked through the dogtag formats?
Note: There are varying ways to format dogtag strings now. I hope these give you an idea of how they work. You can use ?,!,| like before or if, then, else also. Note: these are untested.
for this one, I'm assuming you want Race if it's a player, classification if it's an npc?
This Target tag is taken straight from the defaults - all I changed was the color if they're targeting you.
Again... Default:
I fiddled with the Talents line, and I don't recall if I got it working the other night. This is what I think the default was:
And as i said, if i just copy the code to the 2nd line, i do not get the shadow.
See:
Not to be snarky, but, there's a few of us who aren't in the computer programming profession and thus find it tedious to try and figure out tags without any sort of list/guide. I'm patiently waiting for the dogtag wiki and/or in game help to be updated however, and I'm using the old versions of cowtip/pitbull.
If the wiki/in game help has been updated, hopefully someone announces it. <--------( edit, just found something ck whipped up)
I have my dogtags for pitbull health/mana to be in smart mode, class colored visible, and upon mouseover the absolute values pop up for health and mana. No idea where to start recoding that without lists! I don't even know what the rules changed to. I have customized tags for cowtip too.
Here's the wiki: http://www.wowace.com/wiki/LibDogTag-3.0
I don't know if there's an in-game help yet.
edit: I'm no programmer either. But I had been keeping up with the "make dogtags easier" thread, saw what ck was changing, read his examples, read other people's examples, and figured it out on my own using those and some trial and error.
From my perspective they seem smarter and more flexible, its just that I didn't follow the change discussion. Which creates some extra questions right now in the transition phase.
Maybe in the future there could be 3-5 presets from good and varied tooltips (all with big warning that it will overwrite your current). That way many can use a preset Tag-based tooltip and just tweak it a little to their liking or just use it for examples.
That shows up as blank for me. /shrug
Then try my tag
This is what I worked out with ldt3 so far:
[code]["lefts"] = { "[(if IsPlayer then ClassColor else HostileColor) NameRealm] [Realm:Bracket] [PvP:Paren:HostileColor]", -- [1] nil, -- [2] "[Guild ? (if Guild = 'player':Guild then Fuchsia else Green) Guild:Angle]", -- [3] "[GuildRank ? (if Guild = 'player':Guild then Fuchsia else Green) GuildRank:Angle]", -- [4] "[if Level = \"??\" then Red else Level:DifficultyColor] [ShortClassification:DifficultyColor] [Classification:DifficultyColor] [(if IsPlayer then Race:Cyan else Creature:Hide(\"Nicht spezifiziert\"))] [if IsPlayer or [IsEnemy and not IsPet] then Class:ClassColor] [DruidForm:Paren:ClassColor]", -- [5] "[InGroup ? \"in Gruppe\":Angle:Green]", -- [6] "", -- [7] "[Faction:HostileColor]", -- [8] "[\"------------------\":Gray]", -- [9] }, ["rights"] = { "[Status:Paren:StatusColor] [InCombat ? \"X\":Paren:Red] [AFK] [(if IsUnit(\"pet\") then HappyIcon)]", -- [1] "[(if Target:IsPlayer or (Target:IsEnemy and not Target:IsPet) then ClassColor(unit=Target)) (if IsUnit('player', Target) then 'DU':Fuchsia else Target:NameRealm or 'None')]", -- [2] "", -- [3] "", -- [4] "", -- [5] "", -- [6] "", -- [7] "", -- [8][/code]
Please help...
Greetings Wavebow of Alleria[/code]
This now works on my machine. Thank you for the fix.