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,681
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-24-09, 02:11 PM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
Originally posted by delgado1
Could it be that the "ü" in Vampirberührung is causing the problem?
Testet it with my rogue, Expose Armor - > Rüstung schwächen
also doesnt show, but rupture works fine.
This is because wow lua can't handle ä ö ü ß in it's "normal" form ... you have to use some short code instead.

i.e.
ü >> \195\188
ö >> \195\182
ß >> \195\159

"Vampirber\195\188hrung"

I can't remember "ä" right now *cough* .. if you google one of those codes you can find a list with all codes.
Report comment to moderator  
Reply With Quote
Unread 01-24-09, 10:38 AM  
delgado1
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Could it be that the "ü" in Vampirberührung is causing the problem?
Testet it with my rogue, Expose Armor - > Rüstung schwächen
also doesnt show, but rupture works fine.
Report comment to moderator  
Reply With Quote
Unread 01-24-09, 10:12 AM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
Originally posted by delgado1
Hello,
first I have to say this is a great addon, but I have a problem:
Im playing a shadow priest on a german client, so i translated all debuffs that are important for me, for example Devouring plague -> Verschlingende Seuche

This worked fine for all debuffs, except of Vampiric Touch -> Vampirberührung, this just doesnt show.

Do you have any ideas how this could happen?

Btw, excuse me for my bad english
Cast it on target, place mouse point on debuff on target frame to look tooltip and make screenshot. Then carefully write name of debuff to LUA. Maybe you just make a mistake.
Report comment to moderator  
Reply With Quote
Unread 01-24-09, 10:10 AM  
delgado1
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hello,
first I have to say this is a great addon, but I have a problem:
Im playing a shadow priest on a german client, so i translated all debuffs that are important for me, for example Devouring plague -> Verschlingende Seuche

This worked fine for all debuffs, except of Vampiric Touch -> Vampirberührung, this just doesnt show.

Do you have any ideas how this could happen?

Btw, excuse me for my bad english
Report comment to moderator  
Reply With Quote
Unread 01-24-09, 10:07 AM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
Originally posted by Widersinnes
Tried this on the priest. Dots work well but was wondering about heal over times (renew), divine aegis (discipline talent), inspiration, and power word:shield. Is it ok just to add them to the areas in the code or will that break the mod?

Also in the debuffs section under priest, the following racial-only spells are no longer available to priests (the took away all the racial specific priest spells and made some available to all (devouring plague and desperate prayer for example).

["Starshards"] = 0,
["Hex of Weakness"] = 0,
["Chastise"] = 0,
Addon shows buffs/debuffs of enemy target. Buffs - only icons with digits. So priests spells like Renew, Shield and others will be tracked on enemyes if you add.
Report comment to moderator  
Reply With Quote
Unread 01-24-09, 06:43 AM  
Widersinnes
A Kobold Labourer

Forum posts: 0
File comments: 51
Uploads: 0
Originally posted by Sagewind
Fixed bug and added spells. Will be in the next version.
Tried this on the priest. Dots work well but was wondering about heal over times (renew), divine aegis (discipline talent), inspiration, and power word:shield. Is it ok just to add them to the areas in the code or will that break the mod?

Also in the debuffs section under priest, the following racial-only spells are no longer available to priests (the took away all the racial specific priest spells and made some available to all (devouring plague and desperate prayer for example).

["Starshards"] = 0,
["Hex of Weakness"] = 0,
["Chastise"] = 0,
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 06:28 PM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
Originally posted by Kom
hi
I added "Living Bomb" & "Improved Scorch".
"Living Bomb"is fine.
but It does not work "Improved Scorch".

["MAGE"] =
{
["Sheep"] = 1,
["Living Bomb"] = 0,
["Improved Scorch"] = 0,
["Frostbolt"] = 1,
Fixed bug and added spells. Will be in the next version.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 06:01 PM  
Kom
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
hi
I added "Living Bomb" & "Improved Scorch".
"Living Bomb"is fine.
but It does not work "Improved Scorch".

["MAGE"] =
{
["Sheep"] = 1,
["Living Bomb"] = 0,
["Improved Scorch"] = 0,
["Frostbolt"] = 1,
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 01:00 PM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
Originally posted by leizeQ
["Mangle - Cat"] = 0,
["Mangle - Bear"] = 0,
["Infected Wounds"] = 0,
Fixed/Added (from next version)
Last edited by Sagewind : 01-23-09 at 01:01 PM.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 12:50 PM  
leizeQ
A Murloc Raider
 
leizeQ's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 8
File comments: 44
Uploads: 1
hi

i also wanted to suggest the up/down grow variable.

but have another wish/bug report:
i play a feral druid and found these missing/wrong

["Mangle - Cat"] = 0,
["Mangle - Bear"] = 0,
["Infected Wounds"] = 0,

for now, i added them myself, but have to do it every update

btw, really great addon, love at first sight (;
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 10:24 AM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
Originally posted by sush
if i have seen it right, the addon shows all debuffs not only my own right?
where in the lua i can the change the expand up to down?
Yes. To change direction open LUA in any editor and make Replace All for
Code:
DEBUFFS_POS_Y + i
to
Code:
DEBUFFS_POS_Y - i
(3 replaces must be)

In the next version will add global variable for this.
Last edited by Sagewind : 01-23-09 at 10:25 AM.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 09:38 AM  
sush
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
if i have seen it right, the addon shows all debuffs not only my own right?

very nice addon

edit:
where in the lua i can the change the expand up to down?
-> i've found out it
Last edited by sush : 01-23-09 at 10:23 AM.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 08:07 AM  
villiv
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 73
Uploads: 8
I really like this idea. I even made my own one b4.

/cheer!!
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 08:03 AM  
Sagewind
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 10
Originally posted by ragnarok00
Oh.. I meant using that function to obtain the name of the spell
i.e. passing the spell id into it and get its name
So that little work has to be done for translations for other clients like German 's
Ok. Will add in the next version with many new additions...

And guys, need help with Death Knight coz i have never played with this class. Need: list of your debuffs and list of buffs of other classes (Cloak f Shadows for example) that you (when playing Death Knight) want to track on target.
Report comment to moderator  
Reply With Quote
Unread 01-23-09, 07:41 AM  
ragnarok00
A Kobold Labourer

Forum posts: 0
File comments: 49
Uploads: 0
Originally posted by Sagewind
With this function i can get also: rank, cost, isFunnel, powerType, minRange, maxRange. But i dont think that its needed... And what do you mean when say "other clients"?

Last, that i want really add its tracking some enemy cooldowns...
Oh.. I meant using that function to obtain the name of the spell
i.e. passing the spell id into it and get its name
So that little work has to be done for translations for other clients like German 's
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: