CombatGraph 1.2 - November 29th, 2005


by John "Cryect" Rittenhouse

A customizable realtime DPS/HPS graph. If you've ever wanted to visually see how your DPS is over time or just don't feel like looking up on top of Ragnaros's head or reading your combat to see your damage now you can graphically see it.

This mod was created when I was trying to come up with some ideas for how could improve my healing by delivering information about the current fight to me better. So I came up with the idea of tracking the current DPS on the main tank in a graphical form. But first before doing that I figured I should make a mod that tracks the DPS you do in a graph and this is the result of that. Its somewhat loosely based on the mod called Gram which I used as a base since this is the first UI mod I've ever done but its almost completely rewritten from scratch and a lot better performing (http://www.curse-gaming.com/mod.php?addid=349).

All there is to it is a draggable frame that has a graph of your DPS over time and states your current average DPS. Your burst DPS is determined through a running exponetial falloff sum of damage and the falloff rate can be adjusted. The graph is displayed using gradients because well they look cool and are fully adjustable to whatever colors you want for the top and bottom (default is black on the bottom and red on top).

The easy way to change settings is just to right click on the window to get the above options screen though as well the below commands can be used.

Commands

/cg options - Toggles the option window
/cg toggle - Toggles whether CombatGraph is visible or not
/cg togglelock - Toggles whether CombatGraph can be moved
/cg height - Sets the new height of the frame (default 52 min 30 max 200)
/cg falloff - Lets you adjust the falloff rate the higher the number the slower the falloff and the smaller the faster it adjust (range 0.1-0.95)
/cg peakdps - This is whatever your max peak DPS you want to see on the graph (default 500 min 5)
/cg peakhps - Basically whatever the max value for your peak HPS is on the graph
/cg timestep - Lets you adjust the window size of each little bar in how much time they gather damage over (default 0.1 min 0.1 max 10) With default settings you are seeing the last 17.8 seconds of damage.
/cg window - Adjust the window used for adding damage in to the running DPS average
/cg hwindow - Adjust the window used for adding healing in to the running HPS average
/cg gradient - Allows you to adjust the gradient used.
/cg hgradient - Allows you to adjust the gradient used for the healing bars.

Download
Download CombatGraph 1.2 (57kb)

Images

Video

Download Small Video of the Addon in Action (4MB & uses Xvid)

Revision History

1.2 - November 29th, 2005 (First Public Release)
-Option Window Added
-What was known as Avg DPS/HPS before is now called Burst DPS/HPS which is more befitting due to the swift changes
-Added a feature for Avg DPS/HPS which is a large time window of your Burst DPS/HPS
1.1 - November 26th, 2005
-Added Healing Bars
-Windowing has been added in to allow you to smooth out your DPS/HPS
-Few new various commands
1.0 - November 25th, 2005
-First release
-Features just gradient damage bars

Code Sources

The following sources were used for some code if there is a request the appropriate section can be removed and rewritten

Gram - Initial Code base (Heavily rewritten since then)
AllInOneInventory - Function for breaking the arguments from the msg for the slash command
CombatStats - For some of the code that processes the healing events