Download
(4 Kb)
Download
Updated: 07-04-11 07:01 AM
Pictures
File Info
Updated:07-04-11 07:01 AM
Created:04-23-09 10:17 PM
Downloads:23,826
Favorites:97
MD5:
DeathClock  Popular! (More than 5000 hits)
Version: 4.2.0.19
by: Ne0nguy [More]
About DeathClock:
DeathClock is a small movable frame that analyzes the current damage per second on the target and provides an estimated time til death if the DPS were to continue at that rate.
This may be useful in raid situations where you have an enrage timer to beat.
Current Features:
  • Displays damage taken per second
  • Displays estimated time til death
  • Interface Optionsh
  • Configurable Watch Unit
  • Movable Frame (LeftClick)
  • Party/Raid Stat Announcements (RightClick)

Slash Commands:
  • /DeathClock (opens the options panel)

DeathClock - Ryan West (ne0nguy.com)
Version 4.2.0.19 (07/04/11)
- This update was provided by sanguinawer
- Compatible with Patch 4.2
- Updated compatibility for new COMBAT_LOG_EVENT API

Version 4.1.0.18 (04/28/11)
- Compatible with Patch 4.1
- Updated compatibility for new COMBAT_LOG_EVENT API

Version 4.0.1.17 (11/08/10)
- Fixed error when broadcasting ETD when the ETD is under one minute (thanks Grungra)

Version 4.0.1.16 (10/12/10)
- Compatible with Patch 4.0

Version 3.3.5.15 (09/15/10)
- Fixed error when sending info to the chat channels

Version 3.3.5.14 (09/15/10)
- Compatible with Cataclysm Beta
- Added ability to change the Watch Unit (/deathclock to change)

Version 3.3.2.13 (03/11/10)
- Now handles RANGE_DAMAGE properly

Version 3.3.0.12 (12/8/09)
- Compatible with Patch 3.3
- Reduced number of files necessary to run DeathClock

Version 3.2.0.11 (8/4/09)
- Compatible with Patch 3.2

Version 3.1.1.10 (5/12/09)
- Corrected an issue where the countdown frame would get loaded in the wrong location.

Version 3.1.1.9 (5/5/09)
- Fixed a bug that would cause settings to get reset
- Corrected an issue where the stabilization factor would make the countdown display -X days

Version 3.1.1.8 (5/3/09)
- Changed the minimum cache time from 1 second to 5

Version 3.1.1.7 (4/30/09)
- Added Interface Options to allow users to change accuracy settings
- Minor performance increase
- Reflected Shield Damage now calulcated in DPS

Version 3.1.1.6 (4/27/09)
- Corrected an issue where the countdown frame would get loaded in the wrong location.
- DPS is counted from an average of the last 10 seconds of combat (down from 30)

Version 3.1.1.5 (4/25/09)
- LeftMouse now drags the frame
- RightMouse now reports stats
- Frame location is now saved across sessions
- DeathClock will now remain hidden unless the target is taking damage

Version 3.1.1.4 (4/25/09)
- Improved accuracy within the first 30 seconds of combat
- Healing taken no longer modifies DPS calculation

Version 3.1.1.3 (4/24/09)
- Fixed rounding error

Version 3.1.1.2 (4/24/09)
- Compatible with Non-Blizzard interfaces
- Slight improvement on DPS accuracy and timer stabilization

Version 3.1.1.1 (4/23/09)
- First Release
- Compatible with patch 3.1
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
4.1.0.18
4kB
Ne0nguy
04-28-11 03:10 PM


Post A Reply Comment Options
Unread 07-04-11, 07:02 AM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 205
Uploads: 21
Version 4.2.0.19 (07/04/11)

Version 4.2.0.19 (07/04/11)
- This update was provided by sanguinawer
- Compatible with Patch 4.2
- Updated compatibility for new COMBAT_LOG_EVENT API
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Unread 07-04-11, 05:14 AM  
sanguinawer
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
4.2 Fix

Hello i made this little fix for new 4.2 COMBAT_LOG_EVENT_UNFILTERED

Code:
function DeathClock.OnEvent(_, event, arg1, arg2, _, _, _, _, _, arg8, _, _, _, arg12, arg13, _, arg15)
	-- event = Event Name
	-- arg1  = Timestamp or Addon Name
	-- arg2  = Damage Type
	-- arg8  = Target GUID
	
	-- arg12 = Damage Amount (SWING)
	-- arg13 = Damage Amount (ENVIRONMENTAL)
	-- arg15 = Damage Amount (all other types)

	if (event == "ADDON_LOADED" and arg1 == "DeathClock") then
		DeathClock.OnLoad();
	elseif (event == "COMBAT_LOG_EVENT_UNFILTERED") then
		DeathClock.gametime = tonumber(arg1);
		if (arg2 == "SWING_DAMAGE") then
			DeathClock.Update(arg1, arg8, arg12);
		elseif (arg2 == "SPELL_DAMAGE") then
			DeathClock.Update(arg1, arg8, arg15);
		elseif (arg2 == "RANGE_DAMAGE") then
			DeathClock.Update(arg1, arg8, arg15);
		elseif (arg2 == "SPELL_PERIODIC_DAMAGE") then
			DeathClock.Update(arg1, arg8, arg15);
		elseif (arg2 == "SPELL_BUILDING_DAMAGE") then
			DeathClock.Update(arg1, arg8, arg15);
		elseif (arg2 == "DAMAGE_SHIELD") then
			DeathClock.Update(arg1, arg8, arg15);
		elseif (arg2 == "ENVIRONMENTAL_DAMAGE") then
			DeathClock.Update(arg1, arg8, arg13);
		else
			DeathClock.Update(arg1, 0, 0);
		end
	elseif (event == "PLAYER_ENTERING_WORLD") then
		DeathClock.LoadSettings();
	elseif (event == "PLAYER_TARGET_CHANGED") then
		DeathClock.Refresh();
	elseif (event == "UPDATE_MOUSEOVER_UNIT") then
		DeathClock.Refresh();
	end
end
Only change this function all go fine

Tnx for this addon
Last edited by sanguinawer : 07-04-11 at 05:19 AM.
sanguinawer is offline Report comment to moderator  
Reply With Quote
Unread 04-28-11, 03:10 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 205
Uploads: 21
Version 4.1.0.18 (04/28/11)

Version 4.1.0.18 (04/28/11)
- Compatible with Patch 4.1
- Updated compatibility for new COMBAT_LOG_EVENT API
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Unread 12-12-10, 12:40 PM  
Pumpken
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Design

Hey Mr. Neon

I would like to suggest options for design.
Font / Fontsize / Colour / Background texture

Im using the LUI-Interface and id like to integrate your Deathclock smothly into my UI.

Is there any possibility to ad those options or maybe adjust them in the
.lua file?

So long Pumpken
Pumpken is offline Report comment to moderator  
Reply With Quote
Unread 11-08-10, 08:43 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 205
Uploads: 21
Version 4.0.1.17 (11/08/10)

Version 4.0.1.17 (11/08/10)
- Fixed error when broadcasting ETD when the ETD is under one minute (thanks Grungra)
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Unread 11-08-10, 06:06 PM  
Grungra
A Murloc Raider

Forum posts: 8
File comments: 20
Uploads: 0
Getting the following error when I right click the frame to send it to grp or raid even by myself:

1x DeathClock-4.0.1.16\DeathClock.lua:359: attempt to compare nil with number
DeathClock-4.0.1.16\DeathClock.lua:347: in function `Bark'
DeathClock-4.0.1.16\DeathClock.lua:232: in function <DeathClock\DeathClock.lua:230>

Locals:
unitID = "target"
dps = 2
etd = 48

---

Only addons that were enabled were bugsack, buggrabber and deathclock.

Version i'm using is 4.0.1.16

Grungra
Grungra is online now Report comment to moderator  
Reply With Quote
Unread 10-24-10, 04:00 AM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 11
File comments: 207
Uploads: 0
Lightbulb Re: DeathClock is Back in Development

Originally posted by Ne0nguy
DeathClock is Back in Development for Cataclysm
http://www.wowinterface.com/download...o.php?id=17930

I have been reading your suggestions and I have decided I will take the plunge and try to make this thing work with LDB.
But first, I will be making this work with units other than your target (IE: target's target, focus, focus's target)

A CALL FOR INPUT:
1. What LDB addon do you guys use the most?
2. How would you like the info displayed on your LDB bar/addon thing?
3. Other than your target, what would you like DeathClock to watch?
4. How would you like to be able to change DeathClocks monitoring mode? (IE: TARGET => FOCUSTARGET)
That wowinterface link is broken.

1. Probably Skada, but also Broker_Cashflow and Broker_SysMon.
2. This format would allow multiple targets.

Regular display:
Code:
.------------------.
: 1,234 dps - 1:15 :
'------------------'
Mouseover tooltip:
Code:
.-----------------------------.
: Mob             DPS   Timer :
: Boss Name    12,345    1:15 :
: Target Name  12,345    0:06 :
'-----------------------------'
3. The boss!
4. Right-click displays a list. Click the item to switch to that mode.
__________________
spiralofhope.com
spiralofhope is offline Report comment to moderator  
Reply With Quote
Unread 10-14-10, 01:18 PM  
pajamasammi
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
I like the layout, but an option to possibly change the color of the titlebar, or change the opacity of the background so it can be made opaque and you can only see the numbers, something like that.

Otherwise, it's a great addon =)
pajamasammi is offline Report comment to moderator  
Reply With Quote
Unread 10-13-10, 11:36 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 205
Uploads: 21
Originally posted by pajamasammi
Are there any plans to change the appearance of the box itself? I still use it, but I just wish I could resize it to fit right in the corner of my UI =(
I have considered it a few times but it usually comes right back to its current state.
Mainly because of the way the numbers change.
The DPS needs to stay right-aligned and the ETD needs to stay left-aligned for readability.

I would be interested in seeing any pictures of how you think DeathClock should look.
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Unread 10-13-10, 11:23 PM  
pajamasammi
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Are there any plans to change the appearance of the box itself? I still use it, but I just wish I could resize it to fit right in the corner of my UI =(
pajamasammi is offline Report comment to moderator  
Reply With Quote
Unread 09-15-10, 03:24 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 205
Uploads: 21
Version 3.3.5.15 (09/15/10)

Version 3.3.5.15 (09/15/10)
- Fixed error when sending info to the chat channels
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Unread 09-15-10, 11:18 AM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 205
Uploads: 21
Version 3.3.5.14 (09/15/10)

Version 3.3.5.14 (09/15/10)
- Compatible with Cataclysm Beta
- Added ability to change the Watch Unit (/deathclock to change)
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Unread 09-07-10, 08:51 PM  
Ne0nguy
Periodic Developer
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 205
Uploads: 21
DeathClock is Back in Development

DeathClock is Back in Development for Cataclysm
http://www.wowinterface.com/download...o.php?id=17930

I have been reading your suggestions and I have decided I will take the plunge and try to make this thing work with LDB.
But first, I will be making this work with units other than your target (IE: target's target, focus, focus's target)

A CALL FOR INPUT:
1. What LDB addon do you guys use the most?
2. How would you like the info displayed on your LDB bar/addon thing?
3. Other than your target, what would you like DeathClock to watch?
4. How would you like to be able to change DeathClocks monitoring mode? (IE: TARGET => FOCUSTARGET)
__________________
Ne0nguy.com
Ne0nguy is offline Report comment to moderator  
Reply With Quote
Unread 03-12-10, 12:38 PM  
Taigen
A Defias Bandit
 
Taigen's Avatar

Forum posts: 3
File comments: 83
Uploads: 0
Was wondering... does this mod also work for your target of target? As a healer, these type of mods dont work for me as I am usually not targetting the boss.
Taigen is offline Report comment to moderator  
Reply With Quote
Unread 03-12-10, 05:28 AM  
Craker
A Defias Bandit

Forum posts: 3
File comments: 52
Uploads: 0
Originally posted by jeffy162
I second the request for LDB support. That would at least put the information at a "static" spot that is not taking space on your screen, and you won't have to worry about accidentally moving it.
Any progress on the LDB support. Would really be the icing on the cake for this addon
Craker is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: