Download
(5 Kb)
Download
Updated: 02-10-14 04:20 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:02-10-14 04:20 PM
Created:07-31-10 01:59 PM
Downloads:22,704
Favorites:203
MD5:
5.4
tullaCooldownCount  Popular! (More than 5000 hits)
Version: 5.4.3
by: Tuller [More]
tullaCooldownCount (tullaCC) is a minimal addon for displaying cooldown text on action buttons, inventory items, etc.

Source code for the addon can be found on GitHub

Why on Earth would you release two cooldown count addons?
Why not? :P
5.4.3
* Fixed a typo
* Handled cases where timer.start or timer.duration are nil.

5.4.2
* Fixed issues with the display of active cooldowns upon /reloadui
* Adjusted code to prevent conflicts with other addons.

5.4.1
* Fixed issues causing the shaman spell Ascendance to not show a cooldown.

5.4.0
* TOC bump for WoW 5.4

5.3.0
* TOC bump for WoW 5.3

5.2.0
* TOC bump for WoW 5.2

5.1.0
* TOC bump for WoW 5.1

5.0.2
* Added support for skills with charges

5.0.1
* Removed OmniCC flag, since it was making things a pain to debug

5.0.0
* TOC bump for WoW 5.0

4.3.1
* TOC bump for WoW 4.3

4.3.0
* Added fixes to make tullaCC work with WoW 4.3 (backward compatible with WoW 4.2)

4.2.0
* TOC bump for WoW 4.2

2.3
* TOC bump for WoW 4.1

2.2b
* Testing out creating a zip from my Git repo

2.2
* Added the noCooldownCount check.

2.1
* Updated for WoW v4.0.1
* Switched to using the animation system for timers, which makes things go faster :P

1.5
* Moved configuration to a separate file, config.lua
* Made min scale setting be independent of UI scale.

1.4
* Switched to using SetFormattedText (thanks nirp)
* Made days and hours a bit more blue. (Overall theory here is that colors get warmer the closer timers are to expiring)

1.3
* Added text shadowing
* Added colors
* Filtered out text on items with a scale that's too tiny

1.2:
* Initial release
Optional Files (0)


Archived Files (19)
File Name
Version
Size
Author
Date
5.4.2
5kB
Tuller
02-09-14 02:09 PM
5.4.1
5kB
Tuller
01-04-14 07:12 PM
5.4.0
5kB
Tuller
10-03-13 05:08 PM
5.3.0
5kB
Tuller
05-22-13 05:10 PM
5.2.0
5kB
Tuller
03-05-13 05:32 AM
5.1.0
5kB
Tuller
11-27-12 04:15 PM
5.0.2
5kB
Tuller
10-22-12 06:03 PM
5.0.1
5kB
Tuller
09-02-12 07:45 PM
5.0.0
5kB
Tuller
08-28-12 05:29 AM
4.3.1
5kB
Tuller
11-29-11 06:06 PM
4.3.0
5kB
Tuller
11-06-11 10:16 AM
4.2.0
4kB
Tuller
06-27-11 07:27 PM
2.3
4kB
Tuller
04-26-11 06:19 PM
2.2
4kB
Tuller
11-09-10 04:51 PM
2.1
4kB
Tuller
10-11-10 04:55 PM
1.5
4kB
Tuller
08-31-10 08:33 PM
1.4
3kB
Tuller
08-27-10 02:50 PM
1.3
3kB
Tuller
08-26-10 06:32 PM
1.2
3kB
Tuller
07-31-10 01:59 PM


Post A Reply Comment Options
Old 12-17-12, 09:39 PM  
Louna
A Kobold Labourer

Forum posts: 1
File comments: 32
Uploads: 0
Getting this:
Code:
Message: Interface\AddOns\tullaCC\cc.lua:62: attempt to index field 'updater' (a nil value)
Time: 12/18/12 06:35:38
Count: 3
Stack: Interface\AddOns\tullaCC\cc.lua:62: in function `SetNextUpdate'
Interface\AddOns\tullaCC\cc.lua:87: in function `UpdateText'
Interface\AddOns\tullaCC\cc.lua:159: in function <Interface\AddOns\tullaCC\cc.lua:150>
[C]: in function `SetCooldown'
Interface\FrameXML\Cooldown.lua:3: in function `CooldownFrame_SetTimer'
Interface\FrameXML\ActionButton.lua:427: in function `ActionButton_UpdateCooldown'
Interface\FrameXML\ActionButton.lua:272: in function `ActionButton_Update'
Interface\FrameXML\ActionButton.lua:511: in function `ActionButton_OnEvent'
Interface\FrameXML\ActionButton.lua:124: in function <Interface\FrameXML\ActionButton.lua:117>

Locals: self = <unnamed> {
 0 = <userdata>
 fontScale = 1
 nextUpdate = 0
 start = 370419.73
 text = <unnamed> {
 }
 enabled = true
 duration = 360
}
nextUpdate = 32.914999999979
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'updater' (a nil value)"

EDIT::
Nvm this i am blind.
apparently ifilger(that i installed today)has an edited lightweight OmniCC for it,a featureless, 'pure' version of OmniCC.As it's typed in the cds file.
Last edited by Louna : 12-18-12 at 04:23 AM.
Louna is offline Report comment to moderator  
Reply With Quote
Old 10-30-12, 07:05 AM  
Tuller
A Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 83
File comments: 1601
Uploads: 36
There's an option in XPerl to disable its timers.
Tuller is offline Report comment to moderator  
Reply With Quote
Old 10-29-12, 03:02 PM  
Nargarot88
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 25
Uploads: 2
Hi!

I have a problem with this addon! I'm using X-perl, and its shows the time reamings on my target buffs and debuffs, but this addon shows it too. Its a lil bit annoying :P It is possible to turn off the buff / debuff durations on target?
Nargarot88 is offline Report comment to moderator  
Reply With Quote
Old 09-26-12, 11:22 AM  
pas06
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Error

Hello,

I am getting many lua Errors with this addon:
Message: Interface\AddOns\tullaCC\cc.lua:72: attempt to index field 'updater' (a nil value)
Time: 09/26/12 18:57:01
Count: 205
Stack: Interface\AddOns\tullaCC\cc.lua:72: in function `Stop'
Interface\AddOns\tullaCC\cc.lua:163: in function `Start'
Interface\AddOns\tullaCC\compat43.lua:39: in function <Interface\AddOns\tullaCC\compat43.lua:34>
Interface\AddOns\tullaCC\compat43.lua:46: in function <Interface\AddOns\tullaCC\compat43.lua:44>
[C]: in function `CastSpellByName'
Interface\FrameXML\SecureTemplates.lua:312: in function `handler'
Interface\FrameXML\SecureTemplates.lua:560: in function <Interface\FrameXML\SecureTemplates.lua:508>

Locals: self = <unnamed> {
0 = <userdata>
fontScale = 0.97222222222222
nextUpdate = -0.012000002875924
start = 169437.524
text = <unnamed> {
}
duration = 6
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'updater' (a nil value)"

Am i the only one with this error?
Edit: Oops I'm a real idiot - never use 2 Cooldown Addons at the same time
Last edited by pas06 : 10-03-12 at 09:57 AM.
pas06 is offline Report comment to moderator  
Reply With Quote
Old 09-18-12, 03:49 PM  
Clamsoda
A Cobalt Mageweaver

Forum posts: 233
File comments: 33
Uploads: 0
Ahhh, many apologies sir, thank you for your response.
Clamsoda is offline Report comment to moderator  
Reply With Quote
Old 09-18-12, 08:14 AM  
Tuller
A Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 83
File comments: 1601
Uploads: 36
Jaliborc manages OmniCC. I manage tullaCC. So, someone reported the bug to him and not to me
Tuller is offline Report comment to moderator  
Reply With Quote
Old 09-17-12, 05:29 PM  
Clamsoda
A Cobalt Mageweaver

Forum posts: 233
File comments: 33
Uploads: 0
Cooldowns on spells with charges

Hello,

I'd like to inquire as to why you fixed the issue with cool downs initiating on spells with charges (paladin hands for instance) for OmniCC, and not for TullaCC.

It is apparent that you have been updating TullaCC, is this something you just haven't gotten around to yet, or an un-known bug?

Thank you for reading.
Clamsoda is offline Report comment to moderator  
Reply With Quote
Old 04-30-12, 09:51 PM  
CityPunch
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 2
Uploads: 1
I know it was quite a few months ago, but I'll throw this up for any future users, but for errors similar to those that shinchih2001 was having (I was trying to run ifilger as well), I found it will break if another addon is adding timers to buttons and doesn't check for tullaCC beforehand. In ifilger's case, it has it's own simple omniCC kind of thing, and it was checking for omniCC and tukUI/elvUI, but not tullaCC so they both ran. So in the end I don't think the issue is with tullaCC itself. Hopefully this helps!
Last edited by CityPunch : 04-30-12 at 09:52 PM.
CityPunch is offline Report comment to moderator  
Reply With Quote
Old 01-23-12, 08:39 AM  
Serafim74
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Serafim74 is offline Report comment to moderator  
Reply With Quote
Old 12-28-11, 10:20 AM  
shinchih2001
A Defias Bandit

Forum posts: 3
File comments: 211
Uploads: 0
Originally Posted by Biggi
Hello,

have downloaded the latest version and get this Error:




What shall I do? What's wrong?
I got same situation when i use IFILGER

1x tullaCC-4.3.1\cc.lua:65: attempt to index field "updater" (a nil value)
tullaCC-4.3.1\cc.lua:65: in function "SetNextUpdate"
tullaCC-4.3.1\cc.lua:90: in function "UpdateText"
tullaCC-4.3.1\cc.lua:160: in function <tullaCC\cc.lua:153>
<in C code>
FrameXML\Cooldown.lua:4: in function "CooldownFrame_SetTimer"
iFilger-3.4\ifilger-3.4.lua:227: in function <iFilger\ifilger.lua:84>
iFilger-3.4\ifilger-3.4.lua:307: in function <iFilger\ifilger.lua:262>

Locals:
self = <unnamed> {
0 = <userdata>
fontScale = 0.91666666666667
nextUpdate = 0
start = 10297.106
text = <unnamed> {}
enabled = true
duration = 60
}
remain = 60
formatStr = "|cffffffff%dm|r"
time = 1
nextUpdate = 0.5
GetTime = <func> =[C]:-1
round = <func> @tullaCC\cc.lua:22
UIParent = UIParent {
0 = <userdata>
firstTimeLoaded = 1
}
MIN_SCALE = 0.6
Timer = <table> {
UpdateText = <func> @tullaCC\cc.lua:81
Stop = <func> @tullaCC\cc.lua:73
SetNextUpdate = <func> @tullaCC\cc.lua:64
Start = <func> @tullaCC\cc.lua:153
OnSizeChanged = <func> @tullaCC\cc.lua:105
Create = <func> @tullaCC\cc.lua:125
ForceUpdate = <func> @tullaCC\cc.lua:98
}
getTimeText = <func> @tullaCC\cc.lua:43
Last edited by shinchih2001 : 12-28-11 at 10:54 AM.
shinchih2001 is offline Report comment to moderator  
Reply With Quote
Old 12-25-11, 07:57 PM  
berrybear
A Kobold Labourer

Forum posts: 1
File comments: 22
Uploads: 0
Any chance you could implement the 'Show cooldown models' option from OmniCC? That's the only thing I'm missing to fully replace OmniCC

Edit: This seems to work, in case someone else is interested

Code:
diff -urNp d:\Downloads\tullaCC\/cc.lua tullaCC\/cc.lua
--- d:\Downloads\tullaCC\/cc.lua	2011-11-30 02:03:16.000000000 +0100
+++ tullaCC\/cc.lua	2011-12-26 04:15:34.583862600 +0100
@@ -123,10 +123,14 @@ end
 
 --returns a new timer object
 function Timer.Create(cd)
+	cd:SetAlpha(0)
+
 	--a frame to watch for OnSizeChanged events
 	--needed since OnSizeChanged has funny triggering if the frame with the handler is not shown
 	local scaler = CreateFrame('Frame', nil, cd)
 	scaler:SetAllPoints(cd)
+	scaler:SetParent(cd:GetParent())
 
 	local timer = CreateFrame('Frame', nil, scaler); timer:Hide()
 	timer:SetAllPoints(scaler)
Last edited by berrybear : 12-25-11 at 08:20 PM.
berrybear is offline Report comment to moderator  
Reply With Quote
Old 12-05-11, 05:48 PM  
Tuller
A Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 83
File comments: 1601
Uploads: 36
Are you using an addon to adjust your font?
Have you adjusted config.lua in any way?
Tuller is offline Report comment to moderator  
Reply With Quote
Old 12-05-11, 06:23 AM  
Biggi
A Kobold Labourer
 
Biggi's Avatar

Forum posts: 0
File comments: 14
Uploads: 0
Hello,

have downloaded the latest version and get this Error:

[14:18:39] Interface\AddOns\tullaCC\cc.lua:85: <unnamed>:SetText(): Font not set
[C]: ?
[C]: in function `SetText'
Interface\AddOns\tullaCC\cc.lua:85: in function `UpdateText'
Interface\AddOns\tullaCC\cc.lua:160: in function <Interface\AddOns\tullaCC\cc.lua:153>
[C]: in function `SetCooldown'
Interface\FrameXML\CompactUnitFrame.lua:736: in function `CompactUnitFrame_UtilSetBuff'
Interface\FrameXML\CompactUnitFrame.lua:576: in function `CompactUnitFrame_UpdateBuffs'
Interface\FrameXML\CompactUnitFrame.lua:364: in function `CompactUnitFrame_UpdateAuras'
Interface\FrameXML\CompactUnitFrame.lua:240: in function `CompactUnitFrame_UpdateAll'
Interface\FrameXML\CompactUnitFrame.lua:134: in function `CompactUnitFrame_SetUnit'
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:316: in function `CompactRaidFrameContainer_AddUnitFrame'
...
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:131: in function `CompactRaidFrameContainer_TryUpdate'
...actRaidFrames\Blizzard_CompactRaidFrameContainer.lua:96: in function `CompactRaidFrameContainer_SetFlowSortFunction'
...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:408: in function <...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:403>
...mpactRaidFrames\Blizzard_CompactRaidFrameManager.lua:492: in function `CompactRaidFrameManager_SetSetting'
...rd_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua:560: in function `func'
...rd_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua:537: in function `CompactUnitFrameProfiles_ApplyProfile'
...rd_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua:170: in function `CompactUnitFrameProfiles_ApplyCurrentSettings'
...rd_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua:166: in function `CompactUnitFrameProfiles_ActivateRaidProfile'
...rd_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua:39: in function `CompactUnitFrameProfiles_ValidateProfilesLoaded'
...rd_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua:28: in function <...rd_CUFProfiles\Blizzard_CompactUnitFrameProfiles.lua:17>

What shall I do? What's wrong?
Biggi is offline Report comment to moderator  
Reply With Quote
Old 11-06-11, 01:41 PM  
sirann
A Fallenroot Satyr

Forum posts: 24
File comments: 36
Uploads: 0
Thanks for the update
sirann is offline Report comment to moderator  
Reply With Quote
Old 11-02-11, 03:57 PM  
sirann
A Fallenroot Satyr

Forum posts: 24
File comments: 36
Uploads: 0
So, what's happened is that in 4.3 the core UI delegates some of its ActionButton presentation management code into the C layer, and bypasses the lua API's - which is why you're not seeing the calls to SetCooldown. This is managed by the SetActionUIButton method.

Now, none of the events that would normally have triggered these activities to occur have gone anywhere, so if you're trying to track cooldown state then you should register for those events yourself (and it's recommended to register on ONE frame and dispatch to appropriate cooldowns, rather than the old action button style of having every button register for the event) and act accordingly.

There currently isn't a means to UN-register an action button, so if you need to modify the existing buttons (rather than making your own) then you'll want to do something with the cooldown frame (anchor it offscreen, or set its alpha to zero, or re-parent it onto a hidden frame) so that it doesn't show up.

I'm not sure the developers anticipated folks using some but not all of their action button rendering, so if there are specific problems that can't be solved by the suggestions above can you share them here.


^ A quote taken from your post roughly 4 hours ago.
sirann is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: