Download
(30Kb)
Download
Updated: 09-11-13 08:49 AM
Pictures
File Info
Updated:09-11-13 08:49 AM
Created:11-02-10 11:45 AM
Downloads:33,363
Favorites:118
MD5:
Categories:Data Mods, Combat Mods

alDamageMeter  Popular! (More than 5000 hits)

Version: 50400.15
by: Allez [More]

alDamageMeter is a simple and lightweight damage meter addon.

Features

  • Minimalistic design
  • LDB support
  • Low Memory usage

Tracking modes:
  • damage/dps
  • healing/hps
  • absorbs
  • dispels
  • interrupts

Hints:
  • Hold shift to move
  • Right click to display addon menu
  • /dmg - show/hide addon

https://github.com/Allez/alDamageMeter/commits/master
*50400.15
- update for patch 5.4
- fix errors

*50300.14
- update for patch 5.3

*50200.14
- Updated Boss IDs
- .toc update for patch 5.2

*50100.13
- Fixed calculations when window is hidden
- Updated Boss IDs

*50001.12
- Fixed random error

*50001.11
- MoP support
- Fixed bug with color dialog
- /dmg hides/shows addon
- Changed report string: "alDamageMeter : Damage"

*40300.10
- Ingame settings in menu
- ClassColor settings
- Truncated DPS value

*40300.9
- (test) New absorb system
- Allow the bars to be created from the maximum width of the damage meter (thx memborsky)

*40300.8
- updated boss IDs

*40300.7
- patch 4.3

*40200.7
- hotfix. now working :)

*40200.6
- fixed some lua errors

*40200.5
- Fix: Some clients has a bug with guardians and totem's pets

*40200.4
- updated for patch 4.2
- updated LibBossIDs
- added option for showing only boss fights (default - off)
- added total damage tracking

*40100.4
- Update for 4.1. No new features

*40000.4
- Spell and target details in tooltip

*40000.3
- "LoadAddon" support
- option for merging healing and absorbs. It will be displayed as healing

*40000.2
- zero values no longer included in the reports
Optional Files (0)


Post A Reply Comment Options
Unread 03-26-12, 10:06 AM  
Siannus
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 90
Uploads: 2
The only problem I have with this now is that when playing a priest or seeing a priest on the meter is the contrast of white. I do not like THINOUTLINE as it just makes text look bulky and creating a minimal looking UI, well, THINOUTLINE doesnt fit.

So, could anyone offer some help with what Id like to do.

1- No bar color (no bars at all? just the players name)
2- Players name, DPS and Dmg in class color.

Ive given up on bars accending in order of highest to lowest and rearranged my UI a bit.

Im realizing that feature #1 would strip code, and Im fine with that. Less code = smaller size, smaller size = minimal

Any help with this would and is appreciated.

Edit: Thinking about it, Im really not concerned too much about #2, but other might. However, is it possible to actually have EVERY bar in the color white? Or a color of choice and the players name in black? Or a color of choice? I so could live that that if thats possible.
Last edited by Siannus : 03-26-12 at 10:12 AM.
Report comment to moderator  
Reply With Quote
Unread 03-22-12, 08:30 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
It does work on the background only. Don't try it on a displayed bar.
__________________
| 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 03-18-12, 09:55 AM  
Molotov
A Kobold Labourer
 
Molotov's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
On one of my characters, I cannot move the frame. Holding shift and dragging works fine on my other characters but not on my Shaman. Anybody have this problem?
Report comment to moderator  
Reply With Quote
Unread 03-15-12, 01:53 PM  
evilbib
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 44
Uploads: 2
hello, is there a way to show always the total damage/healing count?
Report comment to moderator  
Reply With Quote
Unread 03-14-12, 08:21 PM  
aba9900
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi, I really love this AddOn! But have a question. Is it support a function of "classcolorname" ? and i wanna start it , but there is no any effction in wow.
How can i start it ? Thanks
Code:
local classcolorname = true
Report comment to moderator  
Reply With Quote
Unread 03-02-12, 03:55 PM  
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 523
Uploads: 3
Originally Posted by zork
@Qupe
Boy you really want to keep things complicated? You can do that but only if you have the number of current bars to display and the number of maximum bars visibile. So you want sth like this:
lua Code:
  1. local adjust = 0
  2. if (#barguids<maxbars)
  3.   adjust = maxbars-#barguids
  4. end
  5. bar[i]:SetPoint("TOP", 0, -(barheight + spacing) * (i-1+adjust))
By doing that you substract the currently displayable number of bars (#baguids) from the maximum number auf bars to display (maxbars). This will create a gap if there are bars that are currently blank.

IMPORTANT: Since you have to calculate the bar position dynamically (because they can change at any time) you have to move the SetPoint out of the condition. Bars will only be created once but your setpoint needs to be called on each update.

And I think you know that this will probably kill mousewheel scrolling?
Yeah that really did end up complicating the hell out of it. I messed around with the code you posted, think I got it right once (because scrolling broke) but it still didn't grow properly.

But in all seriousness, breaking mousewheel scrolling isn't worth the aesthetics. So I just need to reposition things a bit better and deal with it I think!

Thanks for your help, sir, appreciate it!
__________________
Quse UI
WoW :: EQ2
Report comment to moderator  
Reply With Quote
Unread 03-02-12, 03:19 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
@Qupe
Boy you really want to keep things complicated? You can do that but only if you have the number of current bars to display and the number of maximum bars visibile. So you want sth like this:
lua Code:
  1. local adjust = 0
  2. if (#barguids<maxbars)
  3.   adjust = maxbars-#barguids
  4. end
  5. bar[i]:SetPoint("TOP", 0, -(barheight + spacing) * (i-1+adjust))
By doing that you substract the currently displayable number of bars (#baguids) from the maximum number auf bars to display (maxbars). This will create a gap if there are bars that are currently blank.

IMPORTANT: Since you have to calculate the bar position dynamically (because they can change at any time) you have to move the SetPoint out of the condition. Bars will only be created once but your setpoint needs to be called on each update.

And I think you know that this will probably kill mousewheel scrolling?
__________________
| 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 : 03-02-12 at 03:50 AM.
Report comment to moderator  
Reply With Quote
Unread 03-01-12, 06:56 PM  
Maxen
A Fallenroot Satyr

Forum posts: 23
File comments: 235
Uploads: 0
Thank you a lot Zork, works like a charm !
Report comment to moderator  
Reply With Quote
Unread 03-01-12, 06:41 PM  
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 523
Uploads: 3
Originally Posted by zork
For bottom->top search for:
Code:
bar[i]:SetPoint("TOP", 0, -(barheight + spacing) * (i-1))
Change "TOP" to "BOTTOM" and invert the y-axis value. (the second one)
That's about as far as I got in terms of changing growth, but I wasn't as clear as I should have been when I explained how I wanted it to grow in my previous post.

I'm looking for it to grow from bottom to top but still show the highest value bar on top. So if there's one bar it's on the bottom, if there are two combatants the second bar spawns under the first bar and moves the first bar up. I feel like I'm still doing a terrible job of explaining this.

-Showing 5 bars (with only two combatants) how it is now:

[Top of frame]
Bar 1 ###
Bar 2 ###
-
-
-
[Bottom of Frame]


-Showing 5 bars (with only two combatants) how I'd like it:

[Top of frame]
-
-
-
Bar 1 ###
Bar 2 ###
[Bottom of Frame]

As more people are in the same combat Bar #1 rises from the bottom spot to the top.

I hope that made sense =/
__________________
Quse UI
WoW :: EQ2
Report comment to moderator  
Reply With Quote
Unread 03-01-12, 06:25 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
For bottom->top search for:
Code:
bar[i]:SetPoint("TOP", 0, -(barheight + spacing) * (i-1))
Change "TOP" to "BOTTOM" and invert the y-axis value. (the second one)

The numFormat function I'm using is
lua Code:
  1. --number format func
  2.   local numFormat = function(v)
  3.     if v > 1E10 then
  4.       return (floor(v/1E9)).."b"
  5.     elseif v > 1E9 then
  6.       return (floor((v/1E9)*10)/10).."b"
  7.     elseif v > 1E7 then
  8.       return (floor(v/1E6)).."m"
  9.     elseif v > 1E6 then
  10.       return (floor((v/1E6)*10)/10).."m"
  11.     elseif v > 1E4 then
  12.       return (floor(v/1E3)).."k"
  13.     elseif v > 1E3 then
  14.       return (floor((v/1E3)*10)/10).."k"
  15.     else
  16.       return floor(v)
  17.     end
  18.   end

But that requires editing the SetFormatedText calls because I return strings and no number values. (Thus you have to use %s)
__________________
| 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 : 03-01-12 at 06:26 PM.
Report comment to moderator  
Reply With Quote
Unread 03-01-12, 06:01 PM  
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 523
Uploads: 3
Mind sharing the code to truncate the actual and HPS/DPS numbers?

Also, no one would have any idea how to make the frame grow from bottom to top would they? Been messing with it for a few days now and gaining any ground =|
__________________
Quse UI
WoW :: EQ2
Report comment to moderator  
Reply With Quote
Unread 03-01-12, 05:45 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Config
lua Code:
  1. local cfg = {}
  2.   cfg.statusbars = {
  3.     bg = {
  4.       texture       = "Interface\\AddOns\\rThreat\\media\\statusbar",
  5.       color         = { r = 0, g = 0, b = 0, a = 0.7 },
  6.     },
  7.     texture = {
  8.       texture       = "Interface\\AddOns\\rThreat\\media\\statusbar",
  9.       multiplier    = 0.5,    -- multiplier allows darker background colors
  10.       alpha         = { background = 0.6, foreground = 1},
  11.     },
  12.     inactive = {
  13.       color         = { r = 0.5, g = 0.5, b = 0.5, a = 0.1 },
  14.     },
  15.   }

Add a new object to newbar the background. (newbar.bg)
lua Code:
  1. newbar.bg = newbar:CreateTexture(nil, "BACKGROUND",nil,-6)
  2.   newbar.bg:SetTexture(cfg.statusbars.texture.texture)
  3.   newbar.bg:SetAllPoints(newbar)
  4.   newbar.bg:SetVertexColor(cfg.statusbars.inactive.color.r, cfg.statusbars.inactive.color.g, cfg.statusbars.inactive.color.b, cfg.statusbars.inactive.color.a)

Adding color in updateBars function
lua Code:
  1. bar[i].bg:SetVertexColor(color.r*cfg.statusbars.texture.multiplier, color.g*cfg.statusbars.texture.multiplier, color.b*cfg.statusbars.texture.multiplier, cfg.statusbars.texture.alpha.background)

I choose my own cfg (since I do not need the alInterface stuff)
__________________
| 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 03-01-12, 05:04 PM  
Maxen
A Fallenroot Satyr

Forum posts: 23
File comments: 235
Uploads: 0
Nice one Zork! I too changed the DPS/HPS values for a text string using his truncate function. I really do like the class colored statusbar background you did there, would mind sharing with us ?
Report comment to moderator  
Reply With Quote
Unread 03-01-12, 04:57 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Finally a DPS meter that fits my interface.

I had to adjust some code though to get the look I wanted. (Like class colored statusbar background, two text strings for values on the right side and a different kind of border)





Top is alDamageMeter
Bottom is rThreat

Addionally I made it hide OOC and changed the slash command to show/hide the frame when needed OOC.
__________________
| 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 : 03-01-12 at 05:41 PM.
Report comment to moderator  
Reply With Quote
Unread 02-28-12, 12:52 AM  
Qupe
A Warpwood Thunder Caller
 
Qupe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 523
Uploads: 3
Damage and healing amounts seem to be right on par.

If anything some individual absorb amounts seem to be a bit higher compared to other meters now.
__________________
Quse UI
WoW :: EQ2
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.