This is just a suggestion about the core functions of the mod:
Is there any way to automatically detect if the timer for a buff/debuff is available, and display it if so? If it was possible, it seems like instead of having to add every single possible buff to the mod, which seems like a hassle and very often has things left out. I think that when updating the timers, it would be better to instead display a timer for every buff/debuff that returns the time left (which would only be your own buff/debuffs), and instead you could have a "filter" list of de/buffs to NOT show if they exist.
For example (forgive the poor coding, but just to explain what I mean):
for each buff, if buff timeleft not nil then create/update timer bar
I know that would probably require a fairly large re-write of the mod, but I think in the end it's better then having to maintain a list of every single potenial buff or debuff.
My issues I posted earlier are gone, thanks to our conversation on IRC :D
But this error popped up
[2007/06/19 22:48:58-1312-x2]: ClassTimer-1.0 r40272\ClassTimer.lua:325: bad argument #3 to 'gsub' (string/function/table expected)
ClassTimer-1.0 r40272\ClassTimer.lua:325: in function <Interface\AddOns\ClassTimer\ClassTimer.lua:321>
ClassTimer-1.0 r40272\ClassTimer.lua:502: in function `StickyUpdate'
ClassTimer-1.0 r40272\ClassTimer.lua:69: in function <Interface\AddOns\ClassTimer\ClassTimer.lua:59>
I just updated to r40752 and this error popped up after I put a Renew on me, then on the auctioneer in Ironforge and then unselected my target:
[2007/06/19 23:18:50-1314-x1]: ClassTimer-1.0 r40752\ClassTimer.lua:268: bad argument #3 to 'gsub' (string/function/table expected)
<in C code>: in function `CameraOrSelectOrMoveStop'
<string>:"CAMERAORSELECTORMOVE":4: in function <[string "CAMERAORSELECTORMOVE"]:1>
[2007/06/20 00:23:41-1316-x1]: ClassTimer-1.0 r40752\ClassTimer.lua:268: bad argument #3 to 'gsub' (string/function/table expected)
ClassTimer-1.0 r40752\ClassTimer.lua:268: in function <Interface\AddOns\ClassTimer\ClassTimer.lua:264>
ClassTimer-1.0 r40752\ClassTimer.lua:447: in function `StickyUpdate'
ClassTimer-1.0 r40752\ClassTimer.lua:69: in function <Interface\AddOns\ClassTimer\ClassTimer.lua:59>
All of a sudden, classtimers is showing timers for consumeables (flasks, elixirs). Is there any way to turn these off without doing it individually? I only want timers related to class abilities and weapon procs to show. Not food or potions PLEASE.