Download
(164 Kb)
Download
Updated: 03-05-13 09:02 PM
Pictures
File Info
Compatibility:
Thunder Isle (5.2)
Updated:03-05-13 09:02 PM
Created:11-06-08 04:24 AM
Downloads:7,971
Favorites:168
MD5:
Broker TradeCooldowns  Popular! (More than 5000 hits)
Version: 5.2.0-2.2.0
by: Zhinjio, Torhal
Very simple LDB data source that publishes the skills and current cooldowns in the tooltip.

Note: Skills are not visible in this display until you have opened them at least once.
-----------------------
For those of you new to using LDB based plugins

You can find a great description, and links to more information here:
  • http://forums.wowace.com/showthread.php?t=14903

Writing addons is hard work. If you feel the author deserves some compensation for those efforts, feel free to use the donation button below!

Click here to lend your support!
2.1.7 Release
- Updated ToC version for WoW 4.2
2.1.6 Release
- Fixed CLEU (need to open tradeskill 2x to pick up cooldown)
2.1.5 Release
- Force clear of cooldowns to clear possible corruption.
- I think I finally got a fix in for ticket 45. ]
- Fix for ticket 47 (typo)
2.1.1 Release
- fix stupid typo (ticket 46)
2.1.0 Release
- Bump TOC
- Added LibDBIcon (Ticket 42)
- Fixed finding Guild professions (Bug 44)
- Added Forged Documents (Bug 43)
- Added showing counter on display bar (ticket 16)
- using color code basedf on Ticket 20
- add showing any toon's CDs on display bar (ticket 24)
2.0.1 Release
- added Fire Prism, fixed a few dreamcloth entries, new gems
- added truegold and pyrium bar, volatile element transmutes
1.2.0 Release
- TOC bump
- "hide" cooldown working
- character data purge working
- general cleanup. ready for release
- removed weapon skills
- updated scanning method for new API (thanks Torhal)
- got rid of unused options, structures, etc
- fix dumb mistake in options table
- removed tainted call
- updated messages
- added help
- another attempt at proper cooldown cast detection
- Added Glacial Bag and several Cata cloth CDs
- Removing stuff noone cares about (armor,language,class)
- lots of code cleanup
- Added Epic Gem Transmutes
- Properly detect new cooldown
- Properly update LDB text
- Removed cooldowns that were removed from game up to 3.3.3
1.12.4 Release
- updated translator credits, thanks!
1.12.3 Release
- TOC bump
- fix minor embeds error
- repackage libs (some have updated)
1.12.2 Release
- fix improperly bundled libqtip
1.12.1 Release
- Toc bumped for 3.1
- fixed optdep for running disembedded
- fixed libqtip embed
1.12.0 Release
- added remove from SV for cooldowns no longer present in game
- added credits for zhTW and deDE contributions
- removed cooldowns removed from game
- added check for invalid spelllink
1.11.1 Release
- added same-key-is-true
- fix localization stupidity
- switch over to wowace localization
- re-included koKR (thanks amunra, 7destiny)
- doc push
- added koKR (thanks amunra)
- forgot locale entry for Guns
- updated pkgmeta to use "latest" tags
- added "Guns" to weapon skills
1.10.0 Release
- updated qtip embed
- added in showing a cooldown on the text field
1.9-release
- added ruRU (thanks xska!)
- added zhTW (thanks NightOw1), added frFR (thanks whynona2)
- removed stupid Ace3 loadline
- added Smelt Titansteel
- footer line added and colspan'd
- added zhCN (thanks tnt2ray)
1.81
- Forgot EnableMouse() on tooltip
1.8
- changed to data source
- tooltip now persists on mousein
- added addonloader support
1.7
fixed embedded libraries
fixed no values on initial loading
a couple more small fixes I can't remember
Archived Files (19)
File Name
Version
Size
Author
Date
2.1.7 Release
164kB
Zhinjio
11-11-11 08:17 AM
2.1.6 Release
164kB
Zhinjio
05-09-11 10:17 PM
2.1.5 Release
164kB
Zhinjio
05-09-11 07:44 PM
2.1.1 Release
163kB
Zhinjio
05-06-11 01:09 AM
2.1.0 Release
163kB
Zhinjio
05-01-11 05:56 PM
2.0.1 Release
151kB
Zhinjio
01-14-11 06:07 AM
1.2.0 Release
151kB
Zhinjio
10-13-10 11:51 PM
1.12.4 Release
138kB
Zhinjio
08-11-09 03:28 AM
1.12.3 Release
137kB
Zhinjio
08-07-09 04:43 PM
1.12.2 Release
136kB
Zhinjio
04-22-09 03:00 AM
1.12.1 Release
129kB
Zhinjio
04-15-09 03:11 AM
1.12.0 Release
125kB
Zhinjio
03-16-09 02:59 AM
1.11.1 Release
120kB
Zhinjio
01-19-09 02:27 AM
1.10.0 Release
117kB
Zhinjio
12-23-08 12:23 PM
1.9 Release
116kB
Zhinjio
12-09-08 04:40 AM
1.81 Release
106kB
Zhinjio
12-04-08 04:03 AM
1.8 Release
106kB
Zhinjio
12-04-08 03:40 AM
1.7 Release
106kB
Zhinjio
12-03-08 04:16 AM
1.6 Release
57kB
Zhinjio
12-01-08 07:48 PM


Post A Reply Comment Options
Old 03-17-09, 01:40 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 9
Originally posted by PProvost
Found a bug. I think the bug is with LibQTip, but it shows up here for me so I thought you should know.

I've got another addon that embeds LibQTip 1.0 with a minor revision of 9. You embed a minor of 7.

A get a QTip error unless I replace the copy of LibQTip that you shipped with the one from the other addon. Seems like a QTip versioning issue, but I thought you might wanna know you're shipping an out-of-date version of the library.
Noted. I'll update in the next push.
Zhinjio is offline Report comment to moderator  
Reply With Quote
Old 03-16-09, 08:55 PM  
PProvost
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 126
Uploads: 24
Found a bug. I think the bug is with LibQTip, but it shows up here for me so I thought you should know.

I've got another addon that embeds LibQTip 1.0 with a minor revision of 9. You embed a minor of 7.

A get a QTip error unless I replace the copy of LibQTip that you shipped with the one from the other addon. Seems like a QTip versioning issue, but I thought you might wanna know you're shipping an out-of-date version of the library.
PProvost is offline Report comment to moderator  
Reply With Quote
Old 03-16-09, 07:32 PM  
PProvost
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 126
Uploads: 24
Ah sweet. I was just about to write one of these.
PProvost is offline Report comment to moderator  
Reply With Quote
Old 03-16-09, 03:05 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 9
Re: Feature request: Time text

Originally posted by Mike-N-Go
In my addon, WintergraspTimer, I added some code that would display the time in this formant: 16:15 - 59m 31s. It would be nice if the addon would display a message like that instead of: 2d 4h 22m. Of course, you would have to add the parts for day, am/pm, but it is a start.
Thanks for the suggestion. I do not intend to support alternate time formats at this time. If I reconsider this decision in the future, I will take a look at your code snippet to see how best to implement.
Zhinjio is offline Report comment to moderator  
Reply With Quote
Old 03-16-09, 03:03 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 9
Originally posted by Mike-N-Go
There is a bug that I have noticed. Not an error, just an inconvenience. I am an addon author, so I may be able to explain this better then the average user. I have a high level miner and alchemist, I'll use mining in my example, yet I have this same problem with Alchemy.
...
Known issue. I'm still investigating the "proper" way to handle it.
Zhinjio is offline Report comment to moderator  
Reply With Quote
Old 03-16-09, 03:03 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 9
Re: Icy Prism

Originally posted by Greymonkey
Seems to be missing the CD for Icy Prism
Fixed in latest push.
Zhinjio is offline Report comment to moderator  
Reply With Quote
Old 03-12-09, 04:47 PM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 19
Feature request: Time text

In my addon, WintergraspTimer, I added some code that would display the time in this formant: 16:15 - 59m 31s. It would be nice if the addon would display a message like that instead of: 2d 4h 22m. Of course, you would have to add the parts for day, am/pm, but it is a start.


Here is the relevant chunk of code from my addon, if you do use it, just give me a comment credit "--Code originally from WintergraspTimer:ConvertSecondsToHourMinute() by MikeNGo" in your changelog and/or in the addon code.
Code:
--The parameter is the time in seconds of what we want to formant
function WintergraspTimer:ConvertSecondsToHourMinute(value)
    value = tonumber(value)
    local _, currentHour, currentMinute =	GameTime_GetTime()
    local currentSecond = 0
    local currentSecond = date"sec"
    if GetCVarBool("timeMgrUseLocalTime") == 1 then
        currentHour = date"%H"
        currentMinute = date"%M"
        currentSecond = date"%S"
    else
        currentHour, currentMinute = GetGameTime()
        currentSecond = date"%S"
    end
    value = value - currentSecond 
    value = value + (currentSecond+(currentHour*3600)+(currentMinute*60))
    local hours = floor(value / 3600)
    local minutes = (hours * 3600) - value
    minutes = floor(minutes / 60)
    local seconds = floor( ((hours * 3600) + (minutes * 60)) - value )
    minutes = math.abs(minutes)--Because it sometimes is negative, and the abs value is what we want
    if minutes == 60 then minutes = 0; hours = hours + 1 end
    if GetCVarBool("timeMgrUseMilitaryTime") then
        for i=1, hours/24 do if hours >= 24 then hours = hours - 24 end end
    else
        for i=1, hours/12 do if hours > 12 then hours = hours - 12 end end
    end
    if minutes < 10 then minutes = "0"..minutes end
    if hours > 0 then return hours,minutes,seconds
    elseif tonumber(minutes) > 0 then return 0,minutes,seconds
    else return 0,0,seconds
    end
end
Hope this is useful to you.
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Mike-N-Go is offline Report comment to moderator  
Reply With Quote
Old 03-12-09, 04:36 PM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 19
There is a bug that I have noticed. Not an error, just an inconvenience. I am an addon author, so I may be able to explain this better then the average user. I have a high level miner and alchemist, I'll use mining in my example, yet I have this same problem with Alchemy.

Environment:
This is with all my addons enabled and without this addon's debug feature enabled. Just recently saw this problem, so I will disable all but the addon and the LDB display and debug when my next cooldown comes up..

Reproduction:
1) I cast a tradeskill cooldown spell, like Smelt Titansteell
2) I close the trade window after the item is made
3) I do not see the count down indicator of Smelt Titansteell in your addon's tooltip
4) I re-open the tradeskill window
5) The count down for Smelt Titansteell is now in the mod

Hypotheses:
After looking at the addon code, it appears BTC:TRADE_SKILL_SHOW() and BTC:COMBAT_LOG_EVENT_UNFILTERED() are the events that update the cooldowns. I believe that BTC:COMBAT_LOG_EVENT_UNFILTERED() is either not working properly, or there is something interfering with the code that runs with COMBAT_LOG_EVENT_UNFILTERED event.

Possible solution:
Run the BTC:TRADE_SKILL_SHOW() code on BTC:COMBAT_LOG_EVENT_UNFILTERED(). I will report and edit this thread if this has any impact on the bug.. after my next cooldown comes up.

Update/edit 1: I enabled FuBar, AddonLoader, AddonControlPannel, and this mod, and the problem does not appear to be one of these mods messing up the addon event handling: when I used a tradeskill cooldown, the same problem (not updating unless the tradeskill window is reopened after the cooldown is used). Their is still some problem with the combat log event hook in scanning the tradeskill window.

Another possible error: The scanning via the opening of the craft window does not seam to see the cooldown if the header for that cooldown is hidden (like with Have Materials checked and no more mats for another cast of the CD. Hide Materials should be turned off and all headers expanded before the addon scans the craft, if this is a problem.
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Last edited by Mike-N-Go : 03-15-09 at 06:15 PM.
Mike-N-Go is offline Report comment to moderator  
Reply With Quote
Old 01-30-09, 01:07 PM  
Greymonkey
A Kobold Labourer

Forum posts: 1
File comments: 12
Uploads: 0
Icy Prism

Seems to be missing the CD for Icy Prism
Greymonkey is offline Report comment to moderator  
Reply With Quote
Old 01-16-09, 04:53 PM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 9
Good stuff. Thanks. I'll include this in my next push, should be in the next day or so...

Originally posted by EnSabahNur
Great Addon exactli what i was looking for but it's way too much. riding or armor skills or language is just useless and not of any interest for me. I modified it and removed this parts from the code and to make it work on my German client I wrote this:

here is a way to minimize the Loclisation work

Code:
-- Items with cooldowns:
local SaltShaker	= GetItemInfo(15846)
local Snowmaster9000= GetItemInfo(17716)
local EluneLantern	= GetItemInfo(21540)
-- Primary Skills
local Alchemy		= GetSpellInfo(2259)
local Blacksmithing	= GetSpellInfo(2018)
local Enchanting	= GetSpellInfo(7411)
local Engineering	= GetSpellInfo(4036)
local Herbalism		= GetSpellInfo(13614)
local Inscription	= GetSpellInfo(45357)
local Jewelcrafting	= GetSpellInfo(25229)
local Leatherworking= GetSpellInfo(2108)
local Mining		= GetSpellInfo(2575)
local Skinning		= GetSpellInfo(8613)
local Tailoring		= GetSpellInfo(3908)
local Lockpicking	= GetSpellInfo(1809)
local Runeforging	= GetSpellInfo(53428)
local Smelting		= GetSpellInfo(2656)
-- Secondary Skills
local FirstAid		= GetSpellInfo(3273)
local Cooking		= GetSpellInfo(2550)
local Fishing		= GetSpellInfo(7620)
ps here are the German Weapon names
Code:
-- Weapons
L["Axes"]				= "Äxte"
L["Bows"]				= "Bogen"
L["Crossbows"]			= "Armbrüste"
L["Daggers"]			= "Dolche"
L["Defense"]			= "Verteidigung"
L["Guns"]				= "Schusswaffen"
L["Maces"]				= "Streitkolben"
L["Polearms"]			= "Stangenwaffen"
L["Staves"]				= "Stäbe"
L["Swords"]				= "Schwerter"
L["Thrown"]				= "Wurfwaffe"
L["Two-Handed Axes"]	= "Zweihandäxte"
L["Two-Handed Maces"]	= "Zweihandstreitkolben"
L["Two-Handed Swords"]	= "Zweihandschwerter"
L["Unarmed"]			= "Unbewaffnet"
L["Wands"]				= "Zauberstäbe"
Zhinjio is offline Report comment to moderator  
Reply With Quote
Old 01-15-09, 09:14 AM  
EnSabahNur
A Defias Bandit
 
EnSabahNur's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 55
Uploads: 6
Great Addon exactli what i was looking for but it's way too much. riding or armor skills or language is just useless and not of any interest for me. I modified it and removed this parts from the code and to make it work on my German client I wrote this:

here is a way to minimize the Loclisation work

Code:
-- Items with cooldowns:
local SaltShaker	= GetItemInfo(15846)
local Snowmaster9000= GetItemInfo(17716)
local EluneLantern	= GetItemInfo(21540)
-- Primary Skills
local Alchemy		= GetSpellInfo(2259)
local Blacksmithing	= GetSpellInfo(2018)
local Enchanting	= GetSpellInfo(7411)
local Engineering	= GetSpellInfo(4036)
local Herbalism		= GetSpellInfo(13614)
local Inscription	= GetSpellInfo(45357)
local Jewelcrafting	= GetSpellInfo(25229)
local Leatherworking= GetSpellInfo(2108)
local Mining		= GetSpellInfo(2575)
local Skinning		= GetSpellInfo(8613)
local Tailoring		= GetSpellInfo(3908)
local Lockpicking	= GetSpellInfo(1809)
local Runeforging	= GetSpellInfo(53428)
local Smelting		= GetSpellInfo(2656)
-- Secondary Skills
local FirstAid		= GetSpellInfo(3273)
local Cooking		= GetSpellInfo(2550)
local Fishing		= GetSpellInfo(7620)
ps here are the German Weapon names
Code:
-- Weapons
L["Axes"]				= "Äxte"
L["Bows"]				= "Bogen"
L["Crossbows"]			= "Armbrüste"
L["Daggers"]			= "Dolche"
L["Defense"]			= "Verteidigung"
L["Guns"]				= "Schusswaffen"
L["Maces"]				= "Streitkolben"
L["Polearms"]			= "Stangenwaffen"
L["Staves"]				= "Stäbe"
L["Swords"]				= "Schwerter"
L["Thrown"]				= "Wurfwaffe"
L["Two-Handed Axes"]	= "Zweihandäxte"
L["Two-Handed Maces"]	= "Zweihandstreitkolben"
L["Two-Handed Swords"]	= "Zweihandschwerter"
L["Unarmed"]			= "Unbewaffnet"
L["Wands"]				= "Zauberstäbe"
Last edited by EnSabahNur : 01-15-09 at 09:32 AM.
EnSabahNur is offline Report comment to moderator  
Reply With Quote
Old 01-01-09, 02:42 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 9
Re: Timer

Originally posted by Lightor
I seem to have a problem. It doesnt update the timer I have on my titan bar unless I open my skill window. It will be stuck at like 19 hours 58 min, then i open my trade window and it jumps down to whatever the cooldown is at now.
Oh yeah. Hmm. I think I know where this is.
Zhinjio is offline Report comment to moderator  
Reply With Quote
Old 12-31-08, 03:34 PM  
Lightor
A Murloc Raider

Forum posts: 4
File comments: 15
Uploads: 0
Timer

I seem to have a problem. It doesnt update the timer I have on my titan bar unless I open my skill window. It will be stuck at like 19 hours 58 min, then i open my trade window and it jumps down to whatever the cooldown is at now.
Lightor is offline Report comment to moderator  
Reply With Quote
Old 12-09-08, 01:29 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 9
Originally posted by thetakerfan
upgraded to newest version and deleted saved variables again, seems to be working
Excellent!
Zhinjio is offline Report comment to moderator  
Reply With Quote
Old 12-09-08, 01:28 AM  
Zhinjio
A Murloc Raider
 
Zhinjio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 147
Uploads: 9
Originally posted by ironwulf
Seems to be missing Smelt Titansteel (20 hour cooldown, miner ability)
Added in to the latest revision. I should be pushing it up tonight.
Zhinjio is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.