Please note that the addon is still in beta so don't expect everything to be perfect.
I made Combat Metrics basically for two reasons. First to have a tool to analyse my fights in a useful and comfortable manner. The second was to provide more insightful and meaningful damage parses.
Combat Metrics is an addon to track your fights. You can use it to measure your DPS, you can analyse which skills make your DPS or who caused your incoming damage. You can also analyse the heals you received or cast. You can check which buffs and debuffs were running, how much magicka or stamina per second you used and regenerated. You can Analyse the Combat log, filter it to analyse specific issues.
Combat Metrics basically just records your fight during combat and analyses it after you are out of combat. That way I hope to keep the impact on the fps as low as possible. Since it saves the data of the whole fight, you might hit the lua memory limit especially when a lot of heavy fights are happening in a row (I suspect Cyrodil is a candidate)
The main report window can be toggled by assigning a key to it or by typing /cmx into the chatbox.
You can also assign keys to post the damage per second (DPS) or healing per second (HPS) of your most recent fight to the chat. Alternatively you can use /cmx dps, /cmx sdps, /cmx mdps, /cmx alldps for automatic, single-target, multi-target or single + multitarget DPS respectively. You can use /cmx hps to post you healing per second.
I want to thank Atropos for letting me use his functions to build the user interface. Coolmodi's addons were also quite insightful especially for handling the event registrations. I also learned from the addons of Circonian and Spellbuilder. Finally I want to mention @EgoRush and all participants in his thread at Tamrielfoundry. The discussions there lead to my motivation for creating this addon.
Sometimes a buff event is missed (probably). The addon dismisses these cases which might lead to (slightly) reduced uptimes shown in the report.
If you want to see Statistics in AvA areas, disable "Light Mode in Cyrodil"
Decay2 aka Solinur (Pact EU)
Added some bugfixes to buff tracking (duplicate events, some buffs not showing)
Added some slash commands to post dps: /CMX dps, /CMX sdps, /CMX mdps, /CMX alldps for automatic, single-target, multi-target or single + multitarget DPS respectively. /CMX hps to post HPS
Fixed a typo and some small code improvements (thx @ Ayantir)
Changed buff tracking so it should behave more or less like before the Homestead update, with one exception: Enemy debuffs are now tracked globally (so they don't reflect your contribution but the one from the whole group. In a future update I will try to display both)
Added missing Icons
Fixed the broken bufftracking introduced recently.
Fixed a critical error introduced in last patch.
While we further wait for the API patch, I implemented a few fixes for stuff that stopped working due to the API change issue. (Group heal/incoming DPS not shown, Fight reset @ Mage ..)
Added a workaround for "better" buff tracking. It's a bit weird, but probably a bit better. You'll see.
Removed tracking of effects for other units than the player. This removes debuff tracking for now. This was necessary since all debuff events are broadcasted now which lead to performance issues.
Add setting to disable group damage monitoring in large groups
Added keybind to toggle the live damage window
Added option to turn off the automatic channel selection when posting damage
Added tracking of Crusher Enchantment
Replaced the delete icon. (It was confused with one indicating to close a window)
API Bump to Homestead (100018)
Fixed a bug where an error message appeared when a certain combination of selections was made
Added Ability IDs for buffs if the respective debug option is switched on
Added the possibility to replace ability names or icons. Refer to the addon description for more details
Outgoing Damage that gets absorbed by a shield now contributes towards total damage.
Added a check to ignore damage from "The Mage" and "The Warrior" when they blow up remaining adds on entering their enrage phase. This was setting the group damage values off.
The fight will now reset when The Mage reaches the ground.
You can now manually reset the fight (via Keybind or by typing "/cmx reset"). Use with caution, as it may cause issues.
Fixed a critical error introduced in last patch.
Updated LibAddonMenu to version 2.0 r23
Updated Japanese Translation
Added a light mode option to turn of statistic calculations (and only show dps/hps in the live window)
Added an option to turn on light mode for cyrodil
Added an option to turn all addon activity off for cyrodil
Fixed an issue where sometimes no outgoing buffs were shown in the "Healing caused" tab
Attempted to fix an issue where group members were used to name the fight.
Fixed a bug where player buffs were recorded twice when in group.
Fixed a bug where buffs in combat log wouldn't show other targets then the player.
Fixed a bug where player selfheal was not getting filtered properly in combat log
Fixed a bug where resource and stat data were not shown in the combat log when the fight was loaded from saved fights.
Fixed a bug where permanent buffs were not shown in the buff recap.
Note: Combat Metrics got moved to Combat Addons since a lot of things are working quite good, I'd say.
Note: Some entries in the Outgoing (De-)buffs tab are clearly not related to the player (The passive boni from repentance, Warhorn.. ). Since I have no good way to filter them without impairing functionality I'll leave it as it is.
API Bump to One Tamriel
implemented japanese translation from @Lionas (if someone wants to do other translations, just go ahead ;) )
fixed a bug that appeared in 0.6.2 when posting damage to chat
fixed some issues with the UI scaling (e.g. slider bars hiding some numbers)
Updated LibAddonMenu to 2.0r22
Added a timestamp to the Combat Start/end message in Chatlog
Added digit grouping to DPS posts
Fixed a bug that could appear if you were getting into combat but not participating
Fixed a bug that could appear if you were inviting someone into the group
Removed compatability with API 100015
add indication when Boss DPS is shown
Mark bosses in unit overview
Slight change in Boss DPS post to chat format to indicate when boss dps is shown.
removed forgotten debug output
fixed a bug that caused a lua error
Added tracking of group buffs and debuffs that you apply to an enemy (It looks to me like it is not possible to track debuffs applied from group members)
Added detailed tracking of resource drain/gain effects
Added two more layouts for the live report ("Horizontal" and "Vertical"), in addition to the standard one which is called "Compact".
Added several debug options. Most of them should not be needed for the average player but they might help in identifying bugs/problems.
Added a scaling option for the live report window
Added a scaling option for the fight report window
Added little info tooltips to explain the function of the buttons (hope I didn't miss any)
Added Major Force, Weapon Enchant procs and some set procs to the buffs tracking. They had to be added manually because the tracking for them works different than for the other buffs, which can be tracked directly via the API. Those Effects were taken from Srendarr, big thanks to @Phinix, check out his fantastic Addon if you haven't
Changed the way DPS is posted. There also is a new option which posts Boss DPS in bossfights and the Sum DPS in all other fights.
Added API Compatibility for the Shadows of the Hist DLC (I have run a Dungeon without problems but I didn't thoroughly test everything yet)
updated LibAddonMenu to version 2.0r20.2
Fixed an issue where the addon was still "stuck" in calculations for people who experienced this before the fix in version 0.5.8 and couldn't resolve it since (e.g. by resetting the SavedVariables).
Added a slash command to toggle the main window.
Attempted to fix a bug that caused the game to crash after bossfights with multiple enemies. (thx to @timidobserver and @code65536 for the detailed reports)
Fixed a bug that appeared when no fights had been saved and a recent fight was selected in the overview.
Combat log now shows blocked and shielded hits.
Attempted again to fix an issue where the addon gets "stuck" in calculations.
Fixed a bug that showed wrong colors for skills in fights with multiple targets
When all data has been deleted the panel will now properly reset.
You can now choose to hide the background for the live window
You can no longer save or load fights multiple times. The save button will be greyed out for fights which are already among the saved fights, when trying to load a fight which is already loaded you will jump to the fight instead.
Skills are now coloured by skill type. (note that this feature only works for new fights. Saved fights which were recorded previously will still shop up in the old way)
Sometimes long-term buffs were shown to have been active > 100% even if they were active all the time. This has been fixed to a degree but might still appear due to lag. (Thanks to @Scootworks for reporting)
Attempted to fix an issue with Blade of Woe causing problems with dps calculation
Attempted to fix an issue where "empty" fights were being recorded.
Attempted to fix an issue where the addon gets "stuck" in calculations
Fixed a bug where the page buttons for the combat log were not hiding properly
Fixed a bug where a fight would be named after a boss, when a boss was nearby but not participating in the fight.
Fixed a bug introduced in the previous version.
Fixed an error appearing when you browsed trough fights but had some units selected
Attempted to fix an issue where the Main Report Window got stuck and wouldn't update anymore. (thanks @mra4nii for reporting this)
Damage and Heal done by pets is now included. The respective skills are marked as (pet) in the skill overview. Please note that the activated ability of pets is technically originating from the player and not the pet. That means only the automatic actions of the pets are registered towards them. Right now I don't plan to implement incoming damage and heal on pets, as I don't know how to show that in the interface. If you really think you need this please contact me.
You can now choose account wide settings
The elements of the live window can now be disabled one by one
In order to save space you can now delete the log of saved fights, the calculated stats will still be available but of course will take up only very little space.
If the lines in the combat log exceed the limit page buttons will now appear on the header bar of the combat log frame. You can use them to browse trough the complete (filtered) log.
Added API compatibility for Dark Brotherhood Patch
fixed an error appearing when someone left the group
fixed an issue where the chat log tab was created even when the option was disabled.
fixed an issue of showing group damage when not in group
fixed an issue where the live report window was shown even when it was disabled in the options.
added combat log stream to chat window. When enabled this will automatically create a chat tab and stream damage and heal events to the combat log window. You can choose to show only e.g. outgoing damage or heal according to your preference.
added an option to disable the live report window
added more control bindings to selectively post only multi target or single target dps data.
fixed a bug that caused wrong calculations if the report window was opened too early. This was probably the main cause for the occurrence of buffs with more than 100% uptime.
increased the speed of report calculations. This is not due to an optimization, I just increased the limiter a bit, so it is now more aggressive, but still shouldn't be noticeable. If anyone notices big framerate drops just in the seconds after large fights please contact me.
Added a security check to prevent corruption of the SavedVariable/CombatMetrics.lua file. This is just an estimation and should keep the file size below 55MB. If anyone sees the file getting bigger than 60MB, please contact me.