Download
(3Kb)
Download
Updated: 10-31-10 03:13 AM
Pictures
File Info
Updated:10-31-10 03:13 AM
Created:10-08-09 03:21 PM
Downloads:7,329
Favorites:45
MD5:

rTimeToDie  Popular! (More than 5000 hits)

Version: 4.001
by: zork [More]


Intro
Small mod that calculates the time left until a boss is going die.

How?
The mod tracks the health of your current target and calculates the difference in its hp value from the first time seen till now. It then uses the rule of three to calculate (predict) all the other needed values. The longer the timespan, the more accurate will be the numbers. Make sure the "show_time_mobtype" variable is set to the correct value, otherwise you may see nothing. For testing set it to 3 and test on mobs.

Features
- shows time until the target is going to die
- option which mobtypes will be tracked (raidboss, hc boss, all mobs)
- option if dps should be shown

Config

Code:

  --set your mobtype
  --1 = raidboss only
  --2 = raidboss and playerlevel + 3 mobs (hc instance bosses, 83 mobs etc.)
  --3 = show add for every mob available
  local show_time_mobtype = 2
  
  --show dps?
  local show_dps = 1

  --show fight_length
  local show_fightlength = 1
  
  --position
  local anchor = "TOP"
  local posx = 0
  local posy = -50
Git
https://github.com/zorker/rothui/blo....0/rTimeToDie/

4.001
- updated the toc file for 4.0.1

005
- added config option to show the fight length

004
- major bugfix for time error that happened when unit was not at 100% health at first time seen

003
- UnitHealthMax bugfix
- comments on mostly anything

002
- added config for dps
- added config for mobtype

001
- initial release
Optional Files (0)


Post A Reply Comment Options
Unread 10-09-09, 12:27 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Welcome.

Found a small bug before going to bed. SVN has it already fixed. Forgot to use UnitHealthMax when getting the max hp value. Upload will be available this evening. Quickfix: Use this file http://rothui.googlecode.com/svn/tru...rTimeToDie.lua
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-09-09 at 12:29 AM.
Report comment to moderator  
Reply With Quote
Unread 10-09-09, 08:21 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Let me guess... You took the code from the original author to TimeToDie and made a small version of it?
__________________
Livestream | Twitter | YouTube
Report comment to moderator  
Reply With Quote
Unread 10-09-09, 08:32 AM  
Moonwalker
A Kobold Labourer
 
Moonwalker's Avatar

Forum posts: 0
File comments: 16
Uploads: 0
does it scan your group/raid talent specs and take into account talents that increase dps when it gets under like 20% and stuff? i doubt it but i had to ask...
Report comment to moderator  
Reply With Quote
Unread 10-09-09, 09:52 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
@richerich
No I don't.

@Moonwalker
This comes into consideration on its own. If the dps increases the timer will go down faster.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 10-09-09, 01:19 PM  
Moonwalker
A Kobold Labourer
 
Moonwalker's Avatar

Forum posts: 0
File comments: 16
Uploads: 0
Originally posted by zork
@Moonwalker
This comes into consideration on its own. If the dps increases the timer will go down faster. [/b]
oOoO...lol i'm dumb. you are win zork
Report comment to moderator  
Reply With Quote
Unread 10-09-09, 01:22 PM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 648
File comments: 204
Uploads: 4
Originally posted by richerich
Let me guess... You took the code from the original author to TimeToDie and made a small version of it?
Accusations like that are just stupid.

Good work zork, I love the minimalistic addons you throw out to the community.
__________________
All I see is strobe lights blinding me in my hindsight.
Report comment to moderator  
Reply With Quote
Unread 10-09-09, 03:10 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
I think I found the last bug that I knew of.

If the unit is not at full health we need to calculate back in time >_<.

There is a time span from |first_time_seen -> current_time| and there is a timespan from |unit_is_at_100% -> first_time_seen|. Currently the last timespan is not subtracted thus the time may be sometimes to far in future if the first_time_seen and the unit_max_hp_value differ to much.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 10-11-09, 04:08 PM  
Gallahead
A Defias Bandit
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 199
Uploads: 1
spitzen addon, danke!

gibt es eine möglichkeit

1) ausschließlich die zeitangzeige einzufärben? evt sogar automatisch in abhängigkeit zur gesamtkampfzeit?

2) die länge des namens des gegners (statt des ganzen frames) auf eine selbst eingestellte maximale anzahl von buchstaben zu begrenzen um umschöne überlappungen mit anderen ui elementen zu vermeiden?

3) das zeitformat zu verändern? statt "XX Hr YY Min" bsp "XX:YY Hr" und statt "YY Min ZZ Sec" bsp "YY:ZZ Min"

ps: hier noch eine weitere einbaumöglichkeit
Last edited by Gallahead : 10-11-09 at 08:10 PM.
Report comment to moderator  
Reply With Quote
Unread 11-24-09, 04:50 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 918
File comments: 959
Uploads: 22
I added class colours to make it a little more "readable". Nice work on this, zork. Wish you wouldn't quit WoW.

__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Report comment to moderator  
Reply With Quote
Unread 10-31-10, 12:58 AM  
Slaxi81
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
hey zork,

me again,

planning to update this one? don´t work any more.

perhaps implementet in the new oUF_Diablo targetframes like gallahead a few lines below ?

see ya


slaxi
Last edited by : 10-31-10 at 12:58 AM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 10-31-10, 03:08 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Oh it does work. You have to read the config.

Code:
  --set your mobtype
  --1 = raidboss only
  --2 = raidboss and playerlevel + 3 mobs (hc instance bosses, 83 mobs etc.)
  --3 = show add for every mob available
  local show_time_mobtype = 2
Change that to 3 and it will appear on every mob. Additionally you can change the number in the toc file to 40000 to make it not show as outdated.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 04:26 AM  
Manaman
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 160
Uploads: 1
Aren't Heroic Bosses = Playerlevel + 2 ?
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 05:09 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Oh yeah, they are. Need to adjust that.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-31-10 at 05:10 AM.
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 06:44 AM  
neverg
A Frostmaul Preserver
 
neverg's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 498
Uploads: 2
Nice Addon

... again, zork.

I was implementing something like this on oUF_lumen the other day, it worked, used the rule of 3 too to estimate the mob time to die, but because I didn't have any boss to test it, I scratched the future for now.

But writing this post just to say that having this future on your frame would look cooler don't you think? In the target frame.
__________________
My oUF Layout: oUF Lumen
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 08:14 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Nice Addon

Well, no.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: