In reply to Parnic: Do you plane fix dogtag error with global 'GetMouseFocus' in 11.0.0.2 . I am use dogtag a lot for thread plates dogtag functional for range and hp checks in nameplate.
I have some ideas for dogtags - ValuePerSecond ( in = value, in=time(seconds)) = result = buffer(summ(value)/time function for calculated dps(VPS) in UI frames(to difficult make time checks in dogtags and calculate dps) .
ColorGradient for any numeric value that have ability change and colorise any input numeric data
ColorGradient(in=value,in=lower(left) color(rgb),in=upper(rigth) color(rgb),in=scale(percent of value to change color in gradient color space( percent of gradient ) )
And another idea - dog tag need stats functions
From character api - ilevel and masteri speed universality and etc
It's much easier to add tags for stuff that the game supports, such as ilevel, than time-based abstract concepts, such as ValuePerSecond. I can see about adding ilevel support, but the others are less likely to happen. Pull Requests are very appreciated at the GitHub repo.
Any chance we could get an update to the [Icon] dog tag so that it supports "TexCoord" coordinates? Many icons nowadays aren't standalone files.
Something like [Icon("interface\path\to\file", size-height, size-width, texcoord-left, texcoord-right, texcoord-top, texcoord-bottom] texcoords can be specified as nil if the file is standalone.
Message: LibDogTag-3.0.90203: Error with code "[HP:Short:HPColor]" (Base;Unit). integer overflow attempting to store -1.#IND Time: 12/20/13 16:20:48 Count: 1 Stack: Interface\AddOns\LibDogTag-3.0\LibDogTag-3.0.lua:301: in function <Interface\AddOns\LibDogTag-3.0\LibDogTag-3.0.lua:287> Interface\AddOns\LibDogTag-3.0\LibDogTag-3.0.lua:345: in function `UpdateAllForFrame' Interface\AddOns\IceHUD\IceBarElement.lua:1299: in function `UpdateBar' Interface\AddOns\IceHUD\IceUnitBar.lua:282: in function `UpdateBar' Interface\AddOns\IceHUD\modules\PlayerHealth.lua:1397: in function `UpdateBar' Interface\AddOns\IceHUD\modules\PlayerHealth.lua:1212: in function `Update' Interface\AddOns\IceHUD\IceElement.lua:464: in function `?' ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147> [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4> [C]: ? [string "safecall Dispatcher[1]"]:13: in function `?' ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire' Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:120: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
I've been having trouble with my game freezing, usually during a raid but sometimes just after opening trade window with a vendor, etc. I don't have your add-on installed directly, but if I understand correctly, TellMeWhen uses your add-on, and it's through here that I'm getting LUA errors. I hope you can help!
Message: ...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:191: script ran too long
Time: 07/22/13 10:36:07
Count: 7
Stack: ...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:191: in function <...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:190>
...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:244: in function <...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:216>
...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:494: in function `func'
...rface\AddOns\TellMeWhen\Lib\LibDogTag-3.0\Events.lua:575: in function <...rface\AddOns\TellMeWhen\Lib\LibDogTag-3.0\Events.lua:504>
Locals: unit = "raid36target"
(*temporary) = <function> defined @Interface\AddOns\TellMeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:173
(*temporary) = nil
(*temporary) = "script ran too long"
getBestUnit = <function> defined @Interface\AddOns\TellMeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:173
9x LibDogTag-3.0-90203.90203: Error with code "[HP:HPColor]" (Base;Unit). integer overflow attempting to store -1.#IND IceHUD-1.8.11\libs\LibDogTag-3.0\LibDogTag-3.0-90203.lua:301: in function <IceHUD\libs\LibDogTag-3.0\LibDogTag-3.0.lua:287> IceHUD-1.8.11\libs\LibDogTag-3.0\LibDogTag-3.0-90203.lua:345: in function "UpdateAllForFrame" IceHUD-1.8.11\IceBarElement.lua:1299: in function "UpdateBar" IceHUD-1.8.11\IceUnitBar.lua:282: in function "UpdateBar" IceHUD-1.8.11\modules\PlayerHealth.lua:1397: in function "UpdateBar" IceHUD-1.8.11\modules\PlayerHealth.lua:1212: in function "Update" IceHUD-1.8.11\IceElement.lua:464: in function "?" Libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147> <string>:"safecall Dispatcher[1]":4: in function <string>:"safecall Dispatcher[1]":4 <in C code> <string>:"safecall Dispatcher[1]":13: in function "?" Libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire" Skillet-r302\Libs\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <Skillet\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>
cherryfizz55: That error is from LibDogTagUnit-3.0 and it's not happening in the latest version. Grab the latest version of whatever mod you're using that's causing it (Healbot?) or just download the latest lib directly: http://wow.curse.com/downloads/wow-addons/details/libdogtag-unit-3-0.aspx
Howdy CkKnight! LibDogTag's AuraDuration() function is only working for buffs, not debuffs. I'm not sure if this is a 4.0 bug report or a feature request. Just thought I'd let you know. functions tested to draw conclusion: [AuraDuration("Fel Armor", unit="player")] -- Functional [AuraDuration("Unstable Affliction", unit="playertarget")] -- Not Functional
I think it's a huge memory leak problem, for me. Didn't notice it but it caused my game to go from 80MB to 190MB and cuase mods to break and wow to crash. It only really happens in raids and instance to me mostly.
I'm trying to change the color value but it won't change to anything but the simple yellow or red, is there any way to do it or there's no support for it?
I've been needing an ismine filter for my buffs, since I use Pitbull 4 instead of grid. Here is a hack I made for any of the aura mods. I just copied some functions I wanted to be filtered and added some code in.
code = function(aura,unit)
local _, _, _, _, _, _, _, unitCaster = UnitAura(unit,aura) -- inserted
if unitCaster=="player" then -- inserted
--code
--code
end -- inserted
end,
This is a really crude hack, as I don't really know LUA, but hopefully the PB team will add a (unit,arg,ismine) type functionality. It works as I hoped, and doesn't spew out any obvious errors.
In reply to Parnic: Do you plane fix dogtag error with global 'GetMouseFocus' in 11.0.0.2 . I am use dogtag a lot for thread plates dogtag functional for range and hp checks in nameplate.
I have some ideas for dogtags - ValuePerSecond ( in = value, in=time(seconds)) = result = buffer(summ(value)/time function for calculated dps(VPS) in UI frames(to difficult make time checks in dogtags and calculate dps) .
ColorGradient for any numeric value that have ability change and colorise any input numeric data
ColorGradient(in=value,in=lower(left) color(rgb),in=upper(rigth) color(rgb),in=scale(percent of value to change color in gradient color space( percent of gradient ) )
And another idea - dog tag need stats functions
From character api - ilevel and masteri speed universality and etc
There is an 11.x release available.
It's much easier to add tags for stuff that the game supports, such as ilevel, than time-based abstract concepts, such as ValuePerSecond. I can see about adding ilevel support, but the others are less likely to happen. Pull Requests are very appreciated at the GitHub repo.
Any chance we could get an update to the [Icon] dog tag so that it supports "TexCoord" coordinates? Many icons nowadays aren't standalone files.
Something like [Icon("interface\path\to\file", size-height, size-width, texcoord-left, texcoord-right, texcoord-top, texcoord-bottom] texcoords can be specified as nil if the file is standalone.
I can look into this.
/e: nvm
This addon still doesn't work in 3.4.1 wotlk.
This Lib is broken as of WotLK 3.4.1
Even typing /dog doesn't work.
Trying to display an icon. Using:
[Icon("Interface\Buttons\inv_misc_herb_felblossom.jpg",size=10)]
This displays a small green icon, but not the actual jpg that I am trying to reference. I think I just need the correct path.
Original icon taken from:
https://wow.zamimg.com/images/wow/icons/small/inv_misc_herb_felblossom.jpg
Where is the base "Interface" directory? Or where to I add icons that I might like to have access to?
In reply to bzionic:
Nevermind! I figured it out. If anyone is looking to find the right icons that you might want to display, this reference was helpful:
https://wowwiki.fandom.com/wiki/Extracting_interface_files
As well as this resource:
https://www.wowhead.com/icons
Happens on zoning:
Message: LibDogTag-3.0.90203: Error with code "[HP:Short:HPColor]" (Base;Unit). integer overflow attempting to store -1.#IND
Time: 12/20/13 16:20:48
Count: 1
Stack: Interface\AddOns\LibDogTag-3.0\LibDogTag-3.0.lua:301: in function <Interface\AddOns\LibDogTag-3.0\LibDogTag-3.0.lua:287>
Interface\AddOns\LibDogTag-3.0\LibDogTag-3.0.lua:345: in function `UpdateAllForFrame'
Interface\AddOns\IceHUD\IceBarElement.lua:1299: in function `UpdateBar'
Interface\AddOns\IceHUD\IceUnitBar.lua:282: in function `UpdateBar'
Interface\AddOns\IceHUD\modules\PlayerHealth.lua:1397: in function `UpdateBar'
Interface\AddOns\IceHUD\modules\PlayerHealth.lua:1212: in function `Update'
Interface\AddOns\IceHUD\IceElement.lua:464: in function `?'
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
[C]: ?
[string "safecall Dispatcher[1]"]:13: in function `?'
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:120: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
Locals: <none>
I've been having trouble with my game freezing, usually during a raid but sometimes just after opening trade window with a vendor, etc. I don't have your add-on installed directly, but if I understand correctly, TellMeWhen uses your add-on, and it's through here that I'm getting LUA errors. I hope you can help!
Message: ...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:191: script ran too long
Time: 07/22/13 10:36:07
Count: 7
Stack: ...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:191: in function <...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:190>
...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:244: in function <...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:216>
...MeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:494: in function `func'
...rface\AddOns\TellMeWhen\Lib\LibDogTag-3.0\Events.lua:575: in function <...rface\AddOns\TellMeWhen\Lib\LibDogTag-3.0\Events.lua:504>
Locals: unit = "raid36target"
(*temporary) = <function> defined @Interface\AddOns\TellMeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:173
(*temporary) = nil
(*temporary) = "script ran too long"
getBestUnit = <function> defined @Interface\AddOns\TellMeWhen\Lib\LibDogTag-Unit-3.0\LibDogTag-Unit-3.0.lua:173
UnitGUID = <function> defined =[C]:-1
wackyUnitToBestUnit = <table> {
raid18target = "boss1"
raid9target = "boss1"
raid6target = "boss1"
party1pettargettarget = "raid1"
raidpet23 = "party2pet"
raid3target = "raid3"
partypet1target = "boss1"
raid5target = "raid1"
raid25target = "raid1"
playertargettargettarget = "boss1"
raid23pet = "party2pet"
raid13target = "boss1"
party4target = "raid1"
raid21pet = "partypet1"
raidpet21 = "partypet1"
raid1target = "boss1"
party3targettarget = "raid1"
raid10target = "boss1"
party2pettarget = "boss1"
}
normalUnitsWackyDependents = <table> {
boss1 = <table> {
}
raid1 = <table> {
}
raid3 = <table> {
}
partypet1 = <table> {
}
party2pet = <table> {
9x LibDogTag-3.0-90203.90203: Error with code "[HP:HPColor]" (Base;Unit). integer overflow attempting to store -1.#IND IceHUD-1.8.11\libs\LibDogTag-3.0\LibDogTag-3.0-90203.lua:301: in function <IceHUD\libs\LibDogTag-3.0\LibDogTag-3.0.lua:287> IceHUD-1.8.11\libs\LibDogTag-3.0\LibDogTag-3.0-90203.lua:345: in function "UpdateAllForFrame" IceHUD-1.8.11\IceBarElement.lua:1299: in function "UpdateBar" IceHUD-1.8.11\IceUnitBar.lua:282: in function "UpdateBar" IceHUD-1.8.11\modules\PlayerHealth.lua:1397: in function "UpdateBar" IceHUD-1.8.11\modules\PlayerHealth.lua:1212: in function "Update" IceHUD-1.8.11\IceElement.lua:464: in function "?" Libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147> <string>:"safecall Dispatcher[1]":4: in function <string>:"safecall Dispatcher[1]":4 <in C code> <string>:"safecall Dispatcher[1]":13: in function "?" Libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire" Skillet-r302\Libs\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <Skillet\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>
Locals: nil
ID: 1
Error occured in: Global
Count: 1
Message: ...Frames\Libs\LibDogTag-Unit-3.0\Categories\Talent.lua line 24:
attempt to concatenate field '?' (a nil value)
Debug:
(tail call): ?
(tail call): ?
...Frames\Libs\LibDogTag-Unit-3.0\Categories\Talent.lua:24:
...Frames\Libs\LibDogTag-Unit-3.0\Categories\Talent.lua:23
...Frames\Libs\LibDogTag-Unit-3.0\Categories\Talent.lua:48:
...Frames\Libs\LibDogTag-Unit-3.0\Categories\Talent.lua:40
[string "safecall Dispatcher[5]"]:4:
[string "safecall Dispatcher[5]"]:4
[C]: ?
[string "safecall Dispatcher[5]"]:13: ?()
...ags\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
...alBot\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:148: Query()
HealBot\HealBot.lua:4361: HealBot_TalentQuery()
HealBot\HealBot.lua:1150: HealBot_OnUpdate()
[string "*:OnUpdate"]:1:
[string "*:OnUpdate"]:1
http://wow.curse.com/downloads/wow-addons/details/libdogtag-unit-3-0.aspx
LibDogTag's
AuraDuration() function is only working for buffs, not debuffs. I'm not sure if this is a 4.0 bug report or a feature request. Just thought I'd let you know.
functions tested to draw conclusion:
[AuraDuration("Fel Armor", unit="player")] -- Functional
[AuraDuration("Unstable Affliction", unit="playertarget")] -- Not Functional
I think it's a huge memory leak problem, for me. Didn't notice it but it caused my game to go from 80MB to 190MB and cuase mods to break and wow to crash. It only really happens in raids and instance to me mostly.
code = function(aura,unit)
local _, _, _, _, _, _, _, unitCaster = UnitAura(unit,aura) -- inserted
if unitCaster=="player" then -- inserted
--code
--code
end -- inserted
end,
This is a really crude hack, as I don't really know LUA, but hopefully the PB team will add a (unit,arg,ismine) type functionality. It works as I hoped, and doesn't spew out any obvious errors.
Same here, started running 10MB+ easy on LDT alone between garbagedumps.