ClassTimer
Deprecation Notice: If possible, please use WeakAuras instead, this addon is no longer maintained
This is an addon to create timers for your own buffs and debuffs.
General
player bars on left, target in middle, focus on right, all can be moved
To track CC Effects you must set the CCed mob as your focus if its not your target.
Only icons and time can be shown if you don't want bars.
The text can be customized in the options by using, "%s for spell name", "%a for applications", "%u for unit name eg target or player", "%n for mob name"
This mod is set up with AceLocale so anyone who wants to add other locals feel free :)
If you want other textures for the bars, get the AddOn SharedMedia.
Note: When adding values in the files, double parentheses are necessary on the last item in a table because it contains all the values from the function call and we only want the first one.
Options
/classtimer or the LDB Launcher
Credits
Must give Nymbia credits as he is a legend!
If you'd like to use this addon for your evoker you'll have to do a bit of work.
1) Open up the classtimer folder and open the ClassTimer TOC file.
Add this line to the bottom of the file:
Bars\Evoker.lua
Save and close.
2) Open up the bars folder and then "General" file.
Paste this into the general file, somewhere in the middle, after another race's closing bracket ( } )
or race == "Dracthyr" and {or race == "Dracthyr" and
{ GetSpellInfo(357214), -- Wing Buffet
(GetSpellInfo(368970)), -- Tail Swipe --Important: Double parentheses are necessary because the last item in a table contains all the values from the function call and we only want the first one. }
Save the file and close.
3) Open up a new notepad document.
I've uploaded a copy of what you'll need to paste here:
https://www.dropbox.com/s/wpyh37arpxf2reh/Evoker.lua?dl=0
If you have dropbox you can just dowload the file, if not copy and paste the info into your notepad file.
Then go to save as --> Evoker.lua
Make sure "All Files" is selected at the bottom.
Save this in your "Bars" folder.
I've only added some basic spells, all based on my Devastation build, but you can obviously add others the usual way via Extras.
In reply to kals_here:
Thank you so much, this works well!
Here are the contents of my "General.lua" file if anyone experiences trouble adding the Dracthyr information:
https://pastebin.com/yEyXjRDb
In reply to LeahWolf:
Thank you both very much.
In reply to kals_here:
hi.
I am getting these errors after working as described in kals_here
plz help me.
Interface/AddOns/ClassTimer/ClassTimer.lua:216: attempt to call method 'CreateTimers' (a nil value)
Count: 1
Call Stack:
[string "=(tail call)"]: ?
[string "@Interface/AddOns/ClassTimer/ClassTimer.lua"]:216: in function <Interface/AddOns/ClassTimer/ClassTimer.lua:200>
[string "=[C]"]: ?
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:66: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:494: in function `InitializeAddon'
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:619: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>
Interface/AddOns/ClassTimer/ClassTimer.lua:495: attempt to index field 'db' (a nil value)
Count: 5
Call Stack:
[string "=(tail call)"]: ?
[string "@Interface/AddOns/ClassTimer/ClassTimer.lua"]:495: in function `UpdateUnitBars'
[string "@Interface/AddOns/ClassTimer/ClassTimer.lua"]:370: in function <Interface/AddOns/ClassTimer/ClassTimer.lua:368>
[string "=[C]"]: ?
[string "@Interface/AddOns/Ace3/AceBucket-3.0/AceBucket-3.0.lua"]:69: in function <...nterface/AddOns/Ace3/AceBucket-3.0/AceBucket-3.0.lua:67>
[string "@Interface/AddOns/Ace3/AceBucket-3.0/AceBucket-3.0.lua"]:83: in function `func'
[string "@Interface/AddOns/Ace3/AceTimer-3.0/AceTimer-3.0.lua"]:57: in function <Interface/AddOns/Ace3/AceTimer-3.0/AceTimer-3.0.lua:50>
In reply to kals_here:
thanks for that..
the part about pasting the dracthyr info in 2)
I copied everything you had there but had to make some edits to make it match the other races stuff so I had this instead:
or race == "Dracthyr" and {or race == "Dracthyr" and { (GetSpellInfo(368970)), -- Tail Swipe --Important: Double parentheses are necessary because the last item in a table contains all the values from the function call and we only want the first one. }
its working perfect for my evoker now thank you
In reply to kals_here:
Works fine but I still get this error with or without Kaliel's Tracker enabled:
3x AceLocale-3.0-6: ClassTimer: Missing entry for 'Spells'
[string "@ClassTimer/ClassTimer.lua"]:222: in function <ClassTimer/ClassTimer.lua:199>
[string "=[C]"]: ?
[string "@!KalielsTracker/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...s/!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@!KalielsTracker/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:494: in function `InitializeAddon'
[string "@!KalielsTracker/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:619: in function <...s/!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>
In reply to Tanoshii2k1:
Im having the same issue but I dont have Kaliel's Tracker addon at all!
AceLocale-3.0: ClassTimer: Missing entry for 'Spells'
[string "@Interface/AddOns/ClassTimer/ClassTimer.lua"]:222: in function <Interface/AddOns/ClassTimer/ClassTimer.lua:199>
[string "=[C]"]: ?
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:66: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:494: in function `InitializeAddon'
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:619: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>
In reply to Vampilla:
Were you ever able to get this fixed?
In reply to Tanoshii2k1:
No unfortunately not :[
Man this is one of my most essential addons. It's goiing to hurt if it's truly dead and we can't get a fix for it.
Doesnt work, update pls
It works (thank you LeahWolf) but I was left with an error that I finally traced to this addon.
Message: AceEvent30Frame:RegisterEvent(): AceEvent30Frame:RegisterEvent(): Attempt to register unknown event "PLAYER_PET_CHANGED"
If you are having this issue then updatie line 342 and 361 of Classtimer.lua
Old:
Line 342: Self:RegisterEvent('PLAYER_PET_CHANGED')
Line 361: function ClassTimer:PLAYER_PET_CHANGED()
New:
Line 342: self:RegisterEvent('UNIT_PET')
Line 361: function ClassTimer:UNIT_PET()
Thanks to Palonblade, issue 113.
In reply to ZalidTheBur:
this really needs to be applied to the main release
None of the suggested fixes actually fix the addon. Typing /classtimer doesn't even load the menu anymore, and I can't load it with Escape > Options > Addons either. Changing DIALOG to OVERLAY only allows me to see the buffs and debuffs I'm already tracking. Without the ability to load the menu, I can't add or remove buffs and debuffs. It's stuck in its current state until there's a complete fix.
In reply to savipalooza:
Thats a problem on your end, its working perfectly on mine.
Try exit game and completely remove addon and redownload then change line 120 again before starting wow
In reply to kopidruid:
Nothing in any of these comments worked for me. I reinstalled the addon, installed different versions, changed a word in a line, etc. When I type /classtimer and hit Enter, it acts as if I'm not pressing Enter. I can pull up TellMeWhen with /tmw, and I can enter text in chat, but I just can't enter /classtimer. The addon is bricked.
In reply to savipalooza:
Hopfully you got it working as it definetly does work with the fix from LeahWolf.
FYI I removed the old install and reinstalled 2.4.90001.1 and then applied the fix.
In reply to savipalooza:
Seeing that the addon uses Ace3, I checked their changelog, and found out what had broken our beloved ClassTimer:
"In 10.0.0.45687, the Tab functionality was re-designed, requiring us to keep a local copy if we want identical behavior to continue to be available in the future."
So what I did is I just copied the latest release of Ace3 to the Libs directory.
Since then, it works fine.
In reply to jaurin:
I have been trying this fix for a couple of hours, and I haven't been able to be successful.
Did you simply copy-and-paste the full entirety of the latest Ace3 addon directly into Classtimer's "LIbs" folder?
Also, were you using an unedited version of Classtimer, or had you already applied the "DIALOG" to "OVERLAY" fix?
In reply to LeahWolf:
Yes, I applied the fix, and copied the whole Ace3 addon into the folder.