Download
(33 Kb)
Download
Updated: 10-15-10 07:10 AM
Pictures
File Info
Updated:10-15-10 07:10 AM
Created:01-08-09 03:46 PM
Downloads:49,973
Favorites:115
MD5:
DrainSoulTimer  Popular! (More than 5000 hits)
Version: 2.4
by: Sloth [More]
Nothing special, just gives a warning and/or plays a sound when drain soul ticks and when the target's health is in execute range.
Should work with any client, the language is only german and english though (but you're welcome to translate it to any other language )

Slashcommands:

/dst
shows the config.
Version 2.4
====================
- converted the wav files to ogg vorbis
- replaced "this" with "self"
- updated the toc

Version 2.3
====================
- changed VARIABLES_LOADED to ADDON_LOADED (thank you very much bahuur!)

Version 2.2
====================
- fixed a bug where the savedvariables were overwritten with the defaults (or at least i hope so)
- changed the toc to interface 3.3

Version 2.1
====================
- added the config to the interface options addons panel
- changed the code to use spellIDs instead of spellnames

Version 2.0
====================
- added gui for the config
- removed the old slashcommands
- changed DS Tick sound

Version 1.2
====================
- added an execute warning (25%)

Version 1.1
====================
- added the option to play a sound
- added slashcommands
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Author
Date
2.3
125kB
Sloth
03-31-10 09:35 AM
2.2
125kB
Sloth
12-24-09 06:06 PM
2.1
125kB
Sloth
05-09-09 06:02 AM
2.0
126kB
Sloth
04-22-09 04:42 PM
1.2
104kB
Sloth
01-26-09 05:03 PM
1.1
11kB
Sloth
01-10-09 08:24 AM
1.0
2kB
Sloth
01-08-09 03:46 PM


Post A Reply Comment Options
Unread 05-13-09, 06:43 AM  
001500
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Re: Suggestion

I don't know what is the problem but the tick sound doesn't work for my russian client =(( (EW works)
Soul Drain in russian is "Похищение души"
May be i can change somewhere in addon code the name of the spell to make the tick sound work?
001500 is offline Report comment to moderator  
Reply With Quote
Unread 05-09-09, 09:10 AM  
miros
A Defias Bandit
 
miros's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 83
Uploads: 9
Suggestion

Thanks for this great addon. I've got a suggestion, though. What if we were able to customise the colors of the messages? (and yeah, I know I can change it by configuring the .lua file but testing is just painful xD)
Last edited by miros : 05-09-09 at 09:18 AM.
miros is offline Report comment to moderator  
Reply With Quote
Unread 05-09-09, 06:05 AM  
Sloth
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 22
Uploads: 1
New update: the problem with the checkboxes is fixed, and dst is using spellIDs now, so you shouldn't have any problems with other clients
Sloth is offline Report comment to moderator  
Reply With Quote
Unread 05-04-09, 01:22 AM  
Sloth
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 22
Uploads: 1
P.S.: I have russian client, so the spell is not "Drain Soul".
That's the problem.

Will be fixed when I remember to test and upload the new version at home *sigh*
Last edited by Sloth : 05-04-09 at 01:23 AM.
Sloth is offline Report comment to moderator  
Reply With Quote
Unread 05-03-09, 03:25 PM  
001500
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Hello. I have EW but I don't have any sound or raid warning announce of the "tick" of drain soul. Does anyone know what is the problem?
P.S.: I have russian client, so the spell is not "Drain Soul".
Last edited by 001500 : 05-03-09 at 03:26 PM.
001500 is offline Report comment to moderator  
Reply With Quote
Unread 04-29-09, 02:12 AM  
Sloth
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 22
Uploads: 1
So, i changed the code to work with spellIDs instead of spellnames (so you don't have any problems changing the localization), and I added the config to the interface option addon panel.
I'll test it when I get home from work.

The colors could be changed in your SavedVariables, i was just too lazy to add an option ingame

And I'll check the bug with the checkboxes
Sloth is offline Report comment to moderator  
Reply With Quote
Unread 04-28-09, 04:10 PM  
smapty
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Cosmetic changes

Oh yea, I did wanna mention some cosmetic changes I made that others might like...

As I said, this is a great addon... but since we cast Drain Soul a LOT I figured the sound effects needed to be a lot more subtle so I wouldn't quickly get sick of hearing em. So I found some free sound effects online and changed em as follows:

Execute warning:
http://www.pacdv.com/sounds/interfac...ts/sound98.wav

Tick warning:
http://www.pachd.com/sfx/pop2.wav

These sounds meld into the background just enough to give you the hints you need without distracting you, I think. I did have to amplify the volume on these sound files a little, though, since boss fights can be pretty noisy.


Other minor tweaks I made to various lua files:
1) I changed the execute warning text from "FINISH HIM" to "DRAIN SOUL EXECUTE!".
2) I changed the tick warning from "!Drain Soul!" (which didn't make much sense to me) to "-TICK-", and changed the warning color to the same purple as the execute message, to help tie the two messages together and distinguish em on a crowded screen with other raid warnings flying around.

Have a good one!
Last edited by smapty : 04-30-09 at 02:39 PM.
smapty is offline Report comment to moderator  
Reply With Quote
Unread 04-28-09, 01:13 AM  
smapty
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Config bug

First off, awesome addon!

While playing with it today I did notice a bug... after setting the config options and logging out, upon logging back in it remembered the text field info (min HP), but reset all the check boxes to their default settings.

Also, very minor, but I was playing around with the localization file to tweak the warning text... could you break "DST_String_DrainSoul" into two separate entries? It uses that text both for the spell name AND the text for the tick raid warning, meaning the tick text can't be customized.

Thanks!
smapty is offline Report comment to moderator  
Reply With Quote
Unread 04-27-09, 05:36 AM  
Sloth
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 22
Uploads: 1
Overwrite the "tick.wav" file in the Sound directory with your soundfile.

Or you could search in "DrainSoulTimer.lua" for the lines
Code:
if(DST_Tick_Sound) then
	PlaySoundFile("Interface\\AddOns\\DrainSoulTimer\\Sounds\\tick.wav");
end
and change the path to your soundfile.
Sloth is offline Report comment to moderator  
Reply With Quote
Unread 04-27-09, 04:47 AM  
zakeita
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
How do we change the sound

Thanks for the fix its a great addon

How do we change the sound its a strange bomming noise..

Zak
Last edited by zakeita : 04-27-09 at 04:48 AM.
zakeita is offline Report comment to moderator  
Reply With Quote
Unread 04-22-09, 04:48 PM  
Sloth
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 22
Uploads: 1
Well, I had some issues in RL, sorry for the break.
I've added the GUI now, changed the tick sound and fixed that annoying bug (thanks Noryia )

Oh, and feel free to correct my engrish, if the translation is kinda strange
Sloth is offline Report comment to moderator  
Reply With Quote
Unread 03-31-09, 09:04 AM  
sharkee
A Defias Bandit

Forum posts: 2
File comments: 8
Uploads: 0
Re: possible fix

Originally posted by Noryia
I spent some time with it and I think I might have a solution.

Edit the DrainSoulTimer.lua file and move the PlayerName = UnitName("player"); line from DST_OnLoad() to DST_OnEvent(). I also made it local so DST_OnLoad() should look like this :
function DST_OnLoad()

DST_Sound = true;
DST_Raidwarning = true;
DST_RWColor = {r=0.0, g=1.0, b=0.75};
DST_EWColor = {r=1.0, g=0.0, b=0.75};
DST_EWarning = true;
DST_EW_MinHP = 180000;

EWPlayed = false;

SlashCmdList["DrainSoulTimerCommand"] = DST_SlashHandler;
SLASH_DrainSoulTimerCommand1 = "/dst";
end


and DST_OnEvent() should start out like this :
function DST_OnEvent(event,...)
local info = ChatTypeInfo["COMBAT_MISC_INFO"];
local PlayerName = UnitName("player");
local eventType = select(2,...);
local srcName = select(4,...);

I haven't raided yet so I dont know if something will break with the changes but it looks to work.
It does get rid of the annoying popup at the start anyway, so that's a plus. I'll check how it goes when I've raided again. Fingers crossed.
sharkee is offline Report comment to moderator  
Reply With Quote
Unread 03-20-09, 02:18 PM  
Noryia
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: possible fix

I tested this last night in Naxx 25 and didn't see any issues.


Originally posted by Noryia
I spent some time with it and I think I might have a solution.

Edit the DrainSoulTimer.lua file and move the PlayerName = UnitName("player"); line from DST_OnLoad() to DST_OnEvent(). I also made it local so DST_OnLoad() should look like this :
function DST_OnLoad()

DST_Sound = true;
DST_Raidwarning = true;
DST_RWColor = {r=0.0, g=1.0, b=0.75};
DST_EWColor = {r=1.0, g=0.0, b=0.75};
DST_EWarning = true;
DST_EW_MinHP = 180000;

EWPlayed = false;

SlashCmdList["DrainSoulTimerCommand"] = DST_SlashHandler;
SLASH_DrainSoulTimerCommand1 = "/dst";
end


and DST_OnEvent() should start out like this :
function DST_OnEvent(event,...)
local info = ChatTypeInfo["COMBAT_MISC_INFO"];
local PlayerName = UnitName("player");
local eventType = select(2,...);
local srcName = select(4,...);

I haven't raided yet so I dont know if something will break with the changes but it looks to work.
Noryia is offline Report comment to moderator  
Reply With Quote
Unread 03-18-09, 08:09 PM  
Noryia
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
possible fix

I spent some time with it and I think I might have a solution.

Edit the DrainSoulTimer.lua file and move the PlayerName = UnitName("player"); line from DST_OnLoad() to DST_OnEvent(). I also made it local so DST_OnLoad() should look like this :
function DST_OnLoad()

DST_Sound = true;
DST_Raidwarning = true;
DST_RWColor = {r=0.0, g=1.0, b=0.75};
DST_EWColor = {r=1.0, g=0.0, b=0.75};
DST_EWarning = true;
DST_EW_MinHP = 180000;

EWPlayed = false;

SlashCmdList["DrainSoulTimerCommand"] = DST_SlashHandler;
SLASH_DrainSoulTimerCommand1 = "/dst";
end


and DST_OnEvent() should start out like this :
function DST_OnEvent(event,...)
local info = ChatTypeInfo["COMBAT_MISC_INFO"];
local PlayerName = UnitName("player");
local eventType = select(2,...);
local srcName = select(4,...);

I haven't raided yet so I dont know if something will break with the changes but it looks to work.
Noryia is offline Report comment to moderator  
Reply With Quote
Unread 03-17-09, 12:59 PM  
SamadhiUF
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally posted by sharkee
Any chance this mod gets updated? I absolutely love it, but it's a bit annoying having to log in with an error frame popping up all the time.
I'm here as well. I'd like to be able to use this but can't given the current status.
SamadhiUF is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: