View Single Post
01-17-05, 12:52 PM   #14
bahzeel
A Deviate Faerie Dragon
Join Date: Jan 2005
Posts: 10
Thanks for the quick response Cide. Not the response I wanted to hear you understand

I'm not really planning to try and build one of these things myself - my development skills aren't all that grand, but if a person were going to attempt such a thing, is there an existing script/mod that you'd point them to as a good start?


(thinking out loud now )
I'm reasonably confident that I can work out the logic for such a thing (need to keep track of time and dmg taken, and convert them to DPS). What more is there to track?

H'mm - some way of noticing the start and stop of a fight. Fight ending at mob death is probably pretty easy. I bet there's an event of some kind when character transitions out of combat mode.

Fight starting - I'm thinking this is best started when I dish out some damage (which will lower the reported DPS taken, but better represents those situations where I control the start of things and what I can do as a result of that control).

Heck - I bet there's an event for character transitioning into combat mode. That's probably the height of easy - report on DPS taken from beginning to end of combat mode....

With start and stop of a fight, in time, seconds elapsed can be calculated. With a counter that increments damage taken, you'd have total damage taken. And damage / elapsed time (sec) would be DPS.

And it shouldn't be too hard to use end of the fight as <current time> if the end of the fight hasn't been reached yet to provide numbers for constant updating.


I bet there's a DPS mod already in existence that tracks start and end of a fight. Is it a good bet that all that a DPS Taken mod would need is to change the guts of such a thing to track dmg done to the player, instead of damage they do? Then apply all the same math after that?


I'm specifically interested in 1:1 fights that are player initiated for my defensive testing. So a mod that's more tuned for these situations, and not as robust for those long running / many mob battles are not as important to me (though that wouldn't stop me from using it in those situations just to see what happens).

I think COSMOS gets around this problem with a simple window type of control that sets the time window within which to track damage dealt. So it has a way to roll old damage off the end of the stack while adding new damage dealt to the top of the stack. I think I'd rather have something that relies on quiescence / out of combat as an end, and then reports everything over an entire fight.


Anyway, if I could trouble you for your thoughts on how to go about this Cide, as well as advice on any mods you know of that are pretty close already, I'd appreciate it. If I'm as close as I think I am, then I think it might be time to learn some .lua
  Reply With Quote