Download
(6Kb)
Download
Updated: 01-29-09 03:25 PM
Pictures
File Info
Updated:01-29-09 03:25 PM
Created:01-21-09 06:25 AM
Downloads:4,672
Favorites:39
MD5:

TextTimers

Version: 4.2
by: Sagewind [More]

Because of bad quality of code (high CPU usage) i dont support this addon anymore. But have created optimized version of addon's features:
TextEnemyBuffsTimers
TextCCTimers




Description
Small addon that do big things TextTimers shows buffs and debuffs of your current targeted enemy and spell cooldowns of enemies around you. Addon doesn't have in-game settings and they can be edited only in LUA code. TextTimers does't use any libs. So he has very small size. Works with all classes, spells and client languages.

If you found any bugs or added any spells please write in comments.

Features

  • Show filtered debuffs of your selected enemy target: all debuffs of your class and only important of others.
  • Show filtered buffs of your selected enemy target.
  • Show filtered cooldowns of enemies spells. If you are on Arena then addon will track all enemies. Else - only current selected target.
  • Each timer shows spell icon and remaining time.
  • Each debuff bar have color depends on class.
  • Remaining seconds change color depends on time and timer type.
Read change log for details of current version.

FAQ
How to change positions, number of timers and thier direction?
Open TextTimers.lua with any editor and find next code lines (first from the top):
Code:
local DBF_WORK = true
local DBF_X = -490
...
local CD_DIR = -1
Description of variables:
  • DBF_WORK - controls working of debuff timers (true - turned on, false - turned off)
  • DBF_X - debuff timers position X
  • DBF_Y - debuff timers position Y
  • DBF_N - number of debuff timers
  • DBF_LEN - length of debuff timer bars
  • DBF_DIR - debuff timers grow direction (1 - up, -1 - down)
  • BF_WORK - controls working of buff timers (true - turned on, false - turned off)
  • BF_X - buff timers position X
  • BF_Y - buff timers position Y
  • BF_N - number of buff timers
  • BF_DIR - buff timers grow direction (1 - up, -1 - down)
  • CD_WORK - controls working of cooldown timers (true - turned on, false - turned off)
  • CD_X - cooldown timers position X
  • CD_Y - cooldown timers position Y
  • CD_N - number of cooldown timers
  • CD_DIR - cooldown timers grow direction (1 - up, -1 - down)
Edit values and save file. Restart game.

How to add/edit/delete tracked debuffs?
Open LUA with any editor and find next code lines:
Code:
DEBUFFS = 
{
	...
	["DRUID"] =
	{
		["GLOBAL"] =
		{
			5211,	-- Bash
			9005,	-- Pounce
			...
			16922	-- Starfire Stun
		},
		["LOCAL"] =
		{
			99,	-- Demoralizing Roar
			770,	-- Faerie Fire
			...
			8921	-- Moonfire
		}
	},
	...
}
Addon will track global and local debuffs from group with the same name as your current character class and only global debuffs from other groups. To add spell you need to know ID (use http://www.wowhead.com/, for example Faerie Fire has ID 770, so you will see in the browser address line "http://www.wowhead.com/?spell=770"). Not-player spells add to group "OTHER". Enough to add just one any rank of spell (by default first). From "--" begins comment to line, add comments to added spells. Don't edit group names for correct work. In the end save file and restart game.

How to add/edit/delete tracked buffs?
Open LUA with any editor and find next code lines:
Code:
BUFFS = 
{
	...
	["DRUID"] =
	{
		48707,	-- Anti-Magic Shell
		51271,	-- Unbreakable Armor
		...
		23920	-- Spell Reflection
	},
	...
}
Addon will track only spells from group with the same name as your current character class and "GENERAL". You need to write spell ID (same as adding debuffs). Use group "GENERAL" to add spells that must be tracked by all classes.

How to add/edit/delete tracked cooldowns?
Open LUA with any editor and find next code lines:
Code:
COOLDOWNS =
{
	...
	["DRUID"] =
	{
		[47476] = 120,	-- Strangulate
		[48707]	= 60,	-- Anti-Magic Shell
		...
		[23920] = 10	-- Spell Reflection
	},
	...
}
Addon will track only spells from group with the same name as your current character class and "GENERAL". You need to write spell ID (same as adding debuffs) and spell cooldown. Use format [ID] = Cooldown_in_sec. Use group "GENERAL" to add spells that must be tracked by all classes.

I want track only my debuffs!
Open LUA with any editor and replace code
Code:
local name, _, icon, _, _, dur, rem = UnitDebuff("target", di)
with
Code:
local name, _, icon, _, _, dur, rem, isMine = UnitDebuff("target", di)
and code
Code:
if ((gi == CurClass and li == "LOCAL") or li == "GLOBAL") and 
	GetSpellInfo(id) == name and ti <= DBF_N then
with
Code:
if ((gi == CurClass and li == "LOCAL") or li == "GLOBAL") and 
	GetSpellInfo(id) == name and ti <= DBF_N and isMine then

Version 4.2:
  • Fixed cooldown timers bug: now correctly clear all timers of dead target.
  • Fixed Freezing Trap timer.

Version 4.1:
  • Global code modifications.
  • Full localization.
  • Optimization of some code parts.
  • New default position for timers.
  • Added cooldown timers.
  • Changed default settings for buff timers.
  • Options to turn off any timers.

Version 3.1:
  • Small code modifications.
  • Fixed/added debuff from Improved Scorch (mage talent), Living Bomb (mage spell).

Version 3.0:
  • Added enemy buffs timers (thanks for test to Widersinnes).
  • Swapped icons and digits on debuffs timers for better look.
  • Some fixes in core.
  • Some fixes in spells.
  • Added direction variables.

Version 2.1:
  • Fixed bug with bar length.
  • Global code modifications.
  • Shows bars only on enemyes from this version.

Version 2.0:
  • Fixed bug with remaining time (thanks to Widersinnes).
  • Add icons to spells.
  • Bars now have color depends on class.
  • Rewrote addon core.
  • Added priorityes to spells.
Optional Files (0)


Post A Reply Comment Options
Unread 01-20-10, 09:13 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 640
Uploads: 22
Originally posted by vacua
Actually i like this Addon alot, but the massive usage of CPU just sucks imho. its up to 12-21% of CPU cycles. And tbh thats sowhat much compared to other Addons doing this Job, maybe using much less Memory, but of cost of the CPU. Maybe you can "fix" here and there something.
I wrote a much more simplistic version of this addon. I do intend to add Focus Target as well when I get a chance. Give it a go if you like.

XanDebuffTimers
http://www.wowinterface.com/download...uffTimers.html
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 03-28-09, 07:48 AM  
vacua
A Kobold Labourer
 
vacua's Avatar

Forum posts: 0
File comments: 52
Uploads: 0
Actually i like this Addon alot, but the massive usage of CPU just sucks imho. its up to 12-21% of CPU cycles. And tbh thats sowhat much compared to other Addons doing this Job, maybe using much less Memory, but of cost of the CPU. Maybe you can "fix" here and there something.
Report comment to moderator  
Reply With Quote
Unread 03-09-09, 05:18 AM  
Monolit
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 81
File comments: 428
Uploads: 7
Originally posted by Sagewind
I understand what you mean. But i think that when icons always stay on one position you can better track what you need during hot fight. When same timers in another addons moving i always lost it with my eyes and wasting time for finding...
Yeah, I see your point. I guess it's just a matter of personal habit (I used classtimers for a long time, so kind of got used to that type of behavior)
Though if there is an easy way to set up that kind of debuff sorting via some code changes could you point me how to do it. If not - don't bother
I appreciate your work on that addon, great job.
Report comment to moderator  
Reply With Quote
Unread 03-08-09, 05:15 PM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
I understand what you mean. But i think that when icons always stay on one position you can better track what you need during hot fight. When same timers in another addons moving i always lost it with my eyes and wasting time for finding...
Report comment to moderator  
Reply With Quote
Unread 03-07-09, 05:16 PM  
Monolit
A Black Drake
AddOn Author - Click to view AddOns

Forum posts: 81
File comments: 428
Uploads: 7
dynamic sorting debuff timers

Hello there, thanks for the great addon!

I have a question/feature request here:
I wonder if there is a way to dynamically sort debuff timers by expiration time, i.e. in current version of this addon if I cast Vampiric Touch (15 s) then Devouring Plague (24 s) ->
VT will appear on the first line, DP on second
but after VT expires and I recast it, it will appear on 1st position, although DP will expire sooner.

Excuse me for my poor explanation, but i hope you get what i mean. This feature would make this addon even better than it is already!
Last edited by Monolit : 03-07-09 at 05:17 PM.
Report comment to moderator  
Reply With Quote
Unread 02-04-09, 08:46 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Originally posted by Sagewind
Cooldown works in different modes depends on where you are: on arena or BG/world. If you are on arena then timers track all cooldowns (that selected in LUA) from all opponents. If someone die only his cooldown timers will be cleared. If you are on BG/world then you track only your current target. Selecting friend or "nothing" after target will not clear timers (made for rogues that can stealth and you will loose selecting). After target dieing timers will be cleared all. I didnt test on arena well, but on BG/world works perfect now. If something works not same way as i wrote plz comment.
That's strange, cause everytime im in a bg, and if i encounter a rouge (for example), he often uses either Evasion or CoS and when he goes down, the timer doesn't disappear until im dead or the cd is over. Same with world pvp. Dunno about arena, haven't played much, but i'd guess the same here.

Originally posted by Sagewind
Thanks for comment but its not a bug. Debuff timers show all debuffs that are selected in LUA. Not only yours. If you want track only your debuffs read FAQ how to set this.
I did follow it and it only gives me a update error...
Last edited by Dajova : 02-04-09 at 09:06 PM.
Report comment to moderator  
Reply With Quote
Unread 02-04-09, 02:16 PM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
Sorry, but now im only supporting this addon - fixing bugs. Everything that i wanted for myself i have created already. Nothing new will not be added coz cant waste a lot of time for free.
Last edited by Sagewind : 02-04-09 at 02:17 PM.
Report comment to moderator  
Reply With Quote
Unread 02-04-09, 01:17 PM  
Megerka
A Kobold Labourer

Forum posts: 0
File comments: 30
Uploads: 0
can u add "ghost timer" for DOTs ?
like this
-----------------------------
spawn timer
10 sec
5 sec
0 sec
0 sec
0 sec
dismiss timer
-----------------------------
or even
-----------------------------
spawn timer
10 sec
5 sec
0 sec
-5 sec
-10 sec
dismiss timer
-----------------------------

ps
as afflict warlock i have 6 timers and realy hard to remember they all =(
Report comment to moderator  
Reply With Quote
Unread 02-04-09, 06:55 AM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
Originally posted by richerich
1. Several timers that is not from myself is displayed as well
Thanks for comment but its not a bug. Debuff timers show all debuffs that are selected in LUA. Not only yours. If you want track only your debuffs read FAQ how to set this.
Originally posted by richerich
2. The icon for enemy cooldowns persists after un-target/death.
Cooldown works in different modes depends on where you are: on arena or BG/world. If you are on arena then timers track all cooldowns (that selected in LUA) from all opponents. If someone die only his cooldown timers will be cleared. If you are on BG/world then you track only your current target. Selecting friend or "nothing" after target will not clear timers (made for rogues that can stealth and you will loose selecting). After target dieing timers will be cleared all. I didnt test on arena well, but on BG/world works perfect now. If something works not same way as i wrote plz comment.
Originally posted by richerich
And some timers doesn't show up at al... (like Paladin's Divine Shield)
You can add it easy. Read FAQ. I will not make new release because of only adding spells.
Last edited by Sagewind : 02-04-09 at 07:28 AM.
Report comment to moderator  
Reply With Quote
Unread 02-03-09, 10:26 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Found 2 bugs


1. Several timers that is not from myself is displayed as well

2. The icon for enemy cooldowns persists after un-target/death.


And some timers doesn't show up at al... (like Paladin's Divine Shield)
Report comment to moderator  
Reply With Quote
Unread 02-03-09, 02:16 PM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
Originally posted by Thizzelle
is it possible to put the enemies' buffs and cooldowns in the same anchor? thanks
No and dont think that its a good idea. You will no able to know where buff and where cooldown...
Report comment to moderator  
Reply With Quote
Unread 02-03-09, 05:01 AM  
Thizzelle
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 1
is it possible to put the enemies' buffs and cooldowns in the same anchor? thanks
Report comment to moderator  
Reply With Quote
Unread 01-30-09, 11:10 AM  
Dameek
A Murloc Raider
 
Dameek's Avatar

Forum posts: 6
File comments: 36
Uploads: 0
AMAZING

I'm loving this addong.....I've been able to get rid of several larger addons with this simple and filled out one.


I see that you added Enemy cooldowns .....any chance of monitoring having it monitor the players(my own) cooldowns? I.E. trinkets.....and on priests....Inner Focus, Devouring Plague, Mind Blast...etc etc.
Report comment to moderator  
Reply With Quote
Unread 01-27-09, 08:28 AM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
Originally posted by Sagewind
Done. Read FAQ
nice, thanks a lot
Report comment to moderator  
Reply With Quote
Unread 01-27-09, 04:45 AM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
Originally posted by leizeQ
so for example i set the CD_N to 0. the addon still executes the CreateCooldownTimers(), UpdateCooldownTimers(), ... functions.

i know that it does nothing. but they are called for no reason then. only couple of checks.

dont take me wrong, i dont want to insist, its up to you. i really love this addon and will use it as it is. i am just too much into clean code as possible (;
Done. Read FAQ
Last edited by Sagewind : 01-27-09 at 05:01 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: