Download
(7Kb)
Download
Updated: 01-28-23 09:03 AM
Pictures
File Info
Compatibility:
Dragonflight patch (10.0.5)
Updated:01-28-23 09:03 AM
Created:04-23-09 10:17 PM
Downloads:43,359
Favorites:111
MD5:
Categories:Casting Bars, Cooldowns, Raid Mods, Unit Mods, Utility Mods

DeathClock  Popular! (More than 5000 hits)

Version: 10.0.5.33
by: Ne0nguy [More]

About DeathClock:

DeathClock adds an estimated time until death to health bars based on the current damage per second on the target.
Use DeathClock to:
  • Beat enrage timers!
  • Easily see which target is going to die first!
  • Determine when to wipe your raid!
  • Almost accidentally wipe your raid!
  • Share /DeathClock with your group!

Features:
  • Adds estimated time until death to healthbars
  • Enable, disable, or change alignment in Options Panel
  • Slash commands to post DeathClock in chat

Compatible With:
  • Blizzard UI
  • Plater Nameplates
  • ElvUI

Slash Commands:
  • /DeathClock (posts the DeathClock for the current target in chat)
  • /DeathClock options (opens the options panel)
  • /DeathClock debug (used for testing, functionality may change)
  • /Death
  • /DC

Find more projects by Ne0nguy at:

Version 10.0.5.33 (2023-01-28)
- Increased accuracy when combat time is shorter than 10 seconds
- Added "options" and "debug" parameters to /DeathClock slash command
- /DeathClock without parameters will still announce to group

Version 10.0.5.32 (2023-01-24)
- Compatible with Patch 10.0.5

Version 10.0.2.31 (2023-01-09)
- Added Options Panel
- DeathClock can now be enabled/or disabled on specific unit frames
- Alignment of DeathClock within the health frame can now be configured in the options panel
- Added the following slash commands /DeathClock /Death /DC
- Slash command will post the DeathClock for the current target in chat
- Tip: Make a /macro containing one of those slash commands to add a button to your actionbar

Version 10.0.2.30 (2023-01-08)
- Compatible with ElvUI
- Alignment for all nameplates changed to CENTER (will be configurable in future)
- Added DeathClock to Pet frame

Version 10.0.2.29 (2023-01-04)
- Fixed bug which caused DeathClock to sometimes not appear on nameplates

Version 10.0.2.28 (2023-01-02)
- Compatible with Plater Nameplates

Version 10.0.2.27 (2023-01-02)
- Compatible with Patch 10.0.2
- Standalone DeathClock unit frame has been removed
- DeathClock is now overlayed onto the health bar for the following Units:
Player
Target
Focus
Target of Target
Focus Target
Floating Nameplates
- This has been tested on Blizzard UI only at the moment

Version 9.0.1.26 (2020-10-13)
- TOC update for Retail patch 9.0.1

Version 8.3.0.25 (2020-01-22)
- TOC update for Retail patch 8.3.0

Version 8.2.0.24 (2019-06-25)
- Compatible with Patch 8.2

Version 8.1.0.23 (2019-02-17)
- Compatible with Patch 8.1

Version 8.0.1.22 (2018-07-17)
- Compatible with Battle for Azeroth
- Updated compatibility for new COMBAT_LOG_EVENT API
- Fixed bug relating to Environment Damage
- Fixed memory leak

Version BETA-8.0.1.b1 (2018-05-02)
- Compatible with Battle for Azeroth: Beta
- Updated compatibility for new COMBAT_LOG_EVENT API
- Fixed bug relating to Environment Damage

Version 7.3.5.21 (2018-04-26)
- Compatible with Patch 7.3.5
- Various bug fixes

Version 6.0.3.20 (2014-12-14)
- Compatible with Patch 6.0
- Various bug fixes

Version 4.2.0.19 (2011-07-04)
- This update was provided by sanguinawer
- Compatible with Patch 4.2
- Updated compatibility for new COMBAT_LOG_EVENT API

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

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

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

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

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

Version 3.3.2.13 (2010-03-11)
- Now handles RANGE_DAMAGE properly

Version 3.3.0.12 (2009-12-08)
- Compatible with Patch 3.3
- Reduced number of files necessary to run DeathClock

Version 3.2.0.11 (2009-08-04)
- Compatible with Patch 3.2

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

Version 3.1.1.9 (2009-05-05)
- 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 (2009-05-03)
- Changed the minimum cache time from 1 second to 5

Version 3.1.1.7 (2009-04-30)
- 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 (2009-04-27)
- 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 (2009-04-25)
- 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 (2009-04-25)
- Improved accuracy within the first 30 seconds of combat
- Healing taken no longer modifies DPS calculation

Version 3.1.1.3 (2009-04-24)
- Fixed rounding error

Version 3.1.1.2 (2009-04-24)
- Compatible with Non-Blizzard interfaces
- Slight improvement on DPS accuracy and timer stabilization

Version 3.1.1.1 (2009-04-23)
- First Release
- Compatible with patch 3.1
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Author
Date
10.0.5.32
7kB
Ne0nguy
01-24-23 06:45 PM
10.0.2.31
7kB
Ne0nguy
01-09-23 07:14 PM
10.0.2.30
4kB
Ne0nguy
01-08-23 11:58 AM
10.0.2.29
4kB
Ne0nguy
01-04-23 06:27 PM
10.0.2.28
4kB
Ne0nguy
01-02-23 09:46 AM
10.0.2.27
4kB
Ne0nguy
01-02-23 08:14 AM


Post A Reply Comment Options
Unread 01-28-23, 09:26 AM  
Ne0nguy
A Fallenroot Satyr
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 245
Uploads: 16
Version 10.0.5.33 (2023-01-28)

Version 10.0.5.33 (2023-01-28)
- Increased accuracy when combat time is shorter than 10 seconds
- Added "options" and "debug" parameters to /DeathClock slash command
- /DeathClock without parameters will still announce to group
Report comment to moderator  
Reply With Quote
Unread 01-09-23, 07:17 PM  
Ne0nguy
A Fallenroot Satyr
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 245
Uploads: 16
Version 10.0.2.31 (2023-01-09)

Version 10.0.2.31 (2023-01-09)
- Added Options Panel
- DeathClock can now be enabled/or disabled on specific unit frames
- Alignment of DeathClock within the health frame can now be configured in the options panel
- Added the following slash commands /DeathClock /Death /DC
- Slash command will post the DeathClock for the current target in chat
- Tip: Make a /macro containing one of those slash commands to add a button to your actionbar

Version 10.0.2.30 (2023-01-08)
- Compatible with ElvUI
- Alignment for all nameplates changed to CENTER (will be configurable in future)
- Added DeathClock to Pet frame
Report comment to moderator  
Reply With Quote
Unread 01-04-23, 06:29 PM  
Ne0nguy
A Fallenroot Satyr
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 245
Uploads: 16
Version 10.0.2.29 (2023-01-04)

Version 10.0.2.29 (2023-01-04)
- Fixed bug which caused DeathClock to sometimes not appear on nameplates

Version 10.0.2.28 (2023-01-02)
- Compatible with Plater Nameplates

Version 10.0.2.27 (2023-01-02)
- Compatible with Patch 10.0.2
- Standalone DeathClock unit frame has been removed
- DeathClock is now overlayed onto the health bar for the following Units:
Player
Target
Focus
Target of Target
Focus Target
Floating Nameplates
Report comment to moderator  
Reply With Quote
Unread 06-25-19, 11:52 AM  
Ne0nguy
A Fallenroot Satyr
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 245
Uploads: 16
Version 8.2.0.24 (2019-06-25)

Version 8.2.0.24 (2019-06-25)
- Compatible with Patch 8.2
Report comment to moderator  
Reply With Quote
Unread 02-17-19, 03:12 PM  
Ne0nguy
A Fallenroot Satyr
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 245
Uploads: 16
Version 8.1.0.23 (2019-02-17)

Version 8.1.0.23 (2019-02-17)
- Compatible with Patch 8.1
Report comment to moderator  
Reply With Quote
Unread 07-17-18, 02:23 PM  
Ne0nguy
A Fallenroot Satyr
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 245
Uploads: 16
Version 8.0.1.22 (2018-07-17)

Version 8.0.1.22 (2018-07-17)
- Compatible with Battle for Azeroth
- Updated compatibility for new COMBAT_LOG_EVENT API
- Fixed bug relating to Environment Damage
- Fixed memory leak
Report comment to moderator  
Reply With Quote
Unread 04-26-18, 07:59 PM  
Ne0nguy
A Fallenroot Satyr
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 245
Uploads: 16
Version 7.3.5.21 (2018-04-26)

Version 7.3.5.21 (2018-04-26)
- Compatible with Patch 7.3.5
- Various bug fixes
Report comment to moderator  
Reply With Quote
Unread 12-15-14, 08:31 AM  
Ruven
A Kobold Labourer
 
Ruven's Avatar

Forum posts: 0
File comments: 56
Uploads: 0
Thanks a lot for updating this, I was actually looking for an addon of this kind for quite a freaking long time now, but to no avail.
Report comment to moderator  
Reply With Quote
Unread 12-14-14, 02:30 PM  
Ne0nguy
A Fallenroot Satyr
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 245
Uploads: 16
Version 6.0.3.20 (12/14/14)

Version 6.0.3.20 (12/14/14)
- Compatible with Patch 6.0
- Various bug fixes
Report comment to moderator  
Reply With Quote
Unread 07-04-11, 07:02 AM  
Ne0nguy
A Fallenroot Satyr
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 245
Uploads: 16
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
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.
Report comment to moderator  
Reply With Quote
Unread 04-28-11, 03:10 PM  
Ne0nguy
A Fallenroot Satyr
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 245
Uploads: 16
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
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
Report comment to moderator  
Reply With Quote
Unread 11-08-10, 08:43 PM  
Ne0nguy
A Fallenroot Satyr
 
Ne0nguy's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 245
Uploads: 16
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)
Report comment to moderator  
Reply With Quote
Unread 11-08-10, 06:06 PM  
Grungra
A Deviate Faerie Dragon

Forum posts: 14
File comments: 29
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
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: