Numeration Damage Meter

It aims to be as memory and cpu efficient as possible for the data it stores.
I have used it for a long time, but never polished it enough to release it to the general public, mainly because of the lack of ingame configuration options. It still has a long way to go in that regard, so please don't bitch if you don't find all the options that you think should be there (or any at all -.-).
You can watch a really old version of it in action here: http://www.youtube.com/watch?v=f_yoYs0teSo. The code has been rewritten a lot since then, but the appearance did not change too much.

Report (no gui elements for this yet so top 9 are always being reported, except you report by clicking with the middle button on one of the bars, then all lines up to the selected bar are being reported)

Automatically hides in battleground/arena if "Record Only In Instances" is activated

Always shows the current segment that is being viewed in the titlebar ("O" = Overall, "C" = Current or a Number for the segmentnumber)

If a bar represents a spell, the tooltip of the spell is shown upon mouseovering the bar

Not Supported and probably won't be included in the future

Multiple windows with different views/modes

Spell Details like hits/crits/misses/(partial) resists and so on

Navigation
The navigation system is mainly inspired by Assessment, which is also used by the Skada Damage Meter addon.
The basic idea:

Left-click: get more detailed information about the content of the bar under the mouse

Right-click: go back to the previous layer

The first layer of navigation shows all fight-segments to choose from (also "overall" and "current fight"), leftclick one to view all available Modes. After choosing a Mode by leftclicking it, you can see the first overview. Left-clicking further will give you more information about the selected item as long as there is something else available. Right-clicking anywhere will bring you back to the previous layer. You can always go back directly to the segment-selection layer by clicking on the "current viewed segment indicator" in the topright corner of the window.
Scrolling is done with the mousewheel.
To move the window: click&drag the left mousebutton while pressing the alt-key.
To open the dropdown menu: just click the arrow-thingie in the topright corner of the window.

Appearance customization
Unfortunately none of the options to customize the appearance of the main window can be found ingame. They are only available to you if you know how to use an editor to open the Config.lua file, found in the addon folder.
I think every option there should be pretty much self-explanatory. And in case you where wondering why nothing happens when you change the "pos" option in that file: Once you used alt+leftclick drag to move the window, the coordinates are being read from the savedvariables. In order to use the ones in this file again, you have to delete the character-specific savedvariables for Numeration.

Obviously i'm trying to improve it even further, so if you have any bug reports or suggestions, post away, but no promises on implementing features fast (or at all if I don't like them ).

1.3.8
* fixed a small glitch with new option for shorter values, when dps values where smaller than 1000

1.3.7
* fix assigning of elementals to shamans. blizzard broke sequence of events in combatlog, so this fix is kind of hacky and possibly does not work in every case :(
* added the ability to display numbers in a shorter form, as they are getting quite large (thanks raqi)
* added the option of changing the button highlight color

1.3.4
* fixed to work with 4.1
* added support for SpamageMeters (but SpamageMeters also needs an update, don't know when/if it will be updated soon)
* added "Healing Taken" mode, is disabled by default (see Config.lua)

1.3.2
* fix nil error when manually resetting using the popup on the mainwindow

1.3.1
* deathlog detail now supports reporting
* throttle showing of reset dialog when option "log only in instances" is disabled
* new feature: middle mouse button is now the "report until this bar"-trigger. this way you can now choose how many lines should be reported

1.3
* added bossIds from cataclysm raids [Baradin Hold, Blackwing Descent, Throne of the Four Winds, Bastion of Twilight]
* keep segment logging when dead. keeps segments from splitting in fights where you die and there is a phaseswitch with no combat for more than 3 seconds.
* changed absorb system from guessed heuristics to the new blizzard event mechanics

1.2.2
* updated absorb ids from 4.0.1 (added Blood Shield (DK), Illuminated Healing (Pa), Power Word: Barrier (Pr), Nether Ward (WL))
[ i'd love to change the absorb system to the new 4.0 combat log events so they are not guessed any more, but the system only works with Power Word: Shield, Divine Aegis, Illuminated Healing and Anti-Magic Shell (kinda) .. so i'm holding back on that until i have a hybrid solution which seems to be complicated to implement or until blizzard "fixes" it ]

1.1.2
* added the ability to report to the officer chat
* fixed a bug that prevented periodic power gains from being collected

1.1.1
* oops, forgot to embed CallbackHandler-1.0 when including libdatabroker

1.1
* added basic support for !ClassColors (when changing colors with it ingame, you have to reload ui for numeration to adapt)
* added key binding options for visibility toggle and reset data
* extracted all the config possibilities to Config.lua for easier access to all options
* added additional options to the window appearance: alpha of background/title/lines and the scrollbar can now be hidden
* it is now possible to remove unneeded modes completely (collecting and viewing), but only via lua: edit the "n.types"-table in Config.lua. you can also rearrange them, change their name and bar(+title)color. This made the ingame option to disable deathlog recording obsolete and has been removed.
* fixed a small bug that prevented segment selection view from being updated during combat
* added monitoring of DAMAGE_SPLIT and ENVIRONMENTAL_DAMAGE cl-events, oops

1.0.2
* fixed a nil error on clean install or data reset that i introduced with 1.0.1

1.0.1
* changed Mana Gains to Power Gains
* added libdatabroker feed with personal dps from "current" segment
* added toggleable minimap icon with the ability to toggle visibility of the main window and reset data on click

First off, sorry for the late response, i was busy with exams last few weeks

@GlideRoggan and ckaotik: atm there is no option to shorten the values. i guess i should implement something along those lines, as the values are getting quite large ^^

@672698901: i don't have a localization system in place atm, so i don't know if i can implement your translation any time soon, but if i do, i will use them, thanks

@Theondry: i'll think about implementing the ability to delete indivudual fights, but i cannot make any promises right now

@ckaotik: i'll look into ldb additions, but i'm not sure i'm gonna implement all because i dont use it at all -.-, but i accept patches if they are well-coded

@Joschasa: I'm going to investigate, but to be frank, i think it's a problem on the combat log side again

again: if anyone wants support for a feature and kinda knows how to write code, i'll happily review the code and include it if it doesn't violate my goal: "Numeration aims to be as memory and cpu efficient as possible for the data it stores." - so basically i don't want it to bloat with features that no one really needs (i don't want a world of logs inside wow, thats what world of logs is for)

Originally posted by GlideRoggan Is there any way we could get "dynamic" value?
Like instead of 1200544, it could be outputted as 1.20M?

Otherwise, nice work!

I have to agree with that, an option to shorten those values would be awesome. Also, I quite enjoy just the LDB display - it shows my DPS just fine. However, I would love if it also showed the rank that I'm at (like "1. 1337" or "1337 (1)" :P). Additionally, to make it interesting for healing - why not show the value that was last selected in the whole data frame? Healing, Absorbs, Friendly damage, whatever you name, since you already should have that data at your hands

__________________
It all starts to make a creepy kind of sense. Avatar

Originally posted by Manube If possible could the options in the config file be saved to the savedvars so when there is an update there is no need to change the config file again. This would be very helpful. Thanks.

I guess i could add a UserConfig.lua file or something along these lines, where a user can put his changed settings and that wouldn't get overwritten everytime there is an update for numeration.

Originally posted by Polaba41 Thanks very much Would there be any way to make that text outline more thin so it's just a slight outline so that I can see the text even if it's on a class that is a similar color? Also would it be possible to make the text based on classcolor of whichever bar it's on? I love the way Skada looks when I have it configured like this, but Skada is pretty inaccurate.

Thanks in advance.

To get the same color for the Text as for the bar, add these 2 lines after "f:SetStatusBarColor(r, g, b, a or s.linealpha)" on line 257 in Window.lua:

Code:

f.name:SetTextColor(r, g, b)
f.value:SetTextColor(r, g, b)

Be aware that all text on bars will have the same color as the bar itself.
For the outline part: you can, instead of setting "OUTLINE", play around with
(name/value):SetShadowColor(0,0,0) and (name/value):SetShadowOffset(1,1) settings.

As for the color value: In lua rgb values are represented by numbers between 0 and 1 and not 0-255 so you have to scale them down: your colorcode (30-144-255) scales down to (0.12-0.56-1)

Thanks very much Would there be any way to make that text outline more thin so it's just a slight outline so that I can see the text even if it's on a class that is a similar color? Also would it be possible to make the text based on classcolor of whichever bar it's on? I love the way Skada looks when I have it configured like this, but Skada is pretty inaccurate.

Originally posted by Polaba41 Hi, how would I go about trying to add a black outline to the bar text through the LUA file? Additionally I've been trying to edit the color of the text to a turquoise-ish color with this code (30-144-255) but it turns it purple (I'm not very savvy with RBG colors). Thanks in advance!

Hi, how would I go about trying to add a black outline to the bar text through the LUA file? Additionally I've been trying to edit the color of the text to a turquoise-ish color with this code (30-144-255) but it turns it purple (I'm not very savvy with RBG colors). Thanks in advance!

I'm using this addon for quite a while now and it has all what im looking for in a combat meter. There's just one minor thing that i would like to see fixed (if that would be possible). I like how this damage meter reports spell/ability links but if you try to report from the damage taken tab then it reports without them. Possibly because on top there's always melee damage and i believe there's no single ability link for that, but it should still report the links of the other abilities below it. Dunno if this is easily fixed, or this is left out intentionally maybe?