Category: Combat Mods
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
3
Date:
08-21-2009 11:40 AM
Size:
703 b
Downloads:
1,679
Favorites:
22
MD5:
Pictures
damagereport
Reports duration of combat, damage dealt and dps to the frame of your choice when you exit combat. Should be pretty lightweight compared to most damage meters since it makes use of statistics instead of combat log events.

By default this reports to UIErrorsFrame, that can be changed with this:
/run dmgrprtsv="frame" frame can be any frame with a AddMessage method C=.

Here's a few frames you may use:
UIErrorsFrame,
ChatFrame1,
ChatFrame2,
ChatFrame3
These might also work:
noticeFrame,
RaidWarningFrame,
RaidBossEmoteFrame

/run dmgrprtsv="ChatFrame1" for example.
  Optional Files - damagereport
Sorry, there are currently no optional files available.
  Archived Versions - damagereport
File Name
Version
Size
Author
Date
2
704B
Mickelus
08-20-2009 07:07 AM
1
752B
Mickelus
08-19-2009 06:31 PM
  Comments - damagereport
Post A Reply Comment Options
Old 01-02-2010, 12:10 AM  
brs2n
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
I love you.

I love you. I love you. I love you.

This + ALZA UI = Sex.
brs2n is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-08-2009, 09:16 AM  
KleinerMink
A Deviate Faerie Dragon

Forum posts: 11
File comments: 75
Uploads: 0
Quote:
Originally posted by Mickelus
Unless blizz changes the way the damage done statistic work it won't work on puppets.
Thank you for your quick answer!
KleinerMink is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-08-2009, 09:00 AM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 100
Uploads: 12
Unless blizz changes the way the damage done statistic work it won't work on puppets.
Mickelus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-08-2009, 08:17 AM  
KleinerMink
A Deviate Faerie Dragon

Forum posts: 11
File comments: 75
Uploads: 0
Quote:
Originally posted by Mickelus
It should count pet damage.
Great and what about training puppets?
KleinerMink is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-08-2009, 07:00 AM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 100
Uploads: 12
It should count pet damage.
Mickelus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-07-2009, 10:12 PM  
KleinerMink
A Deviate Faerie Dragon

Forum posts: 11
File comments: 75
Uploads: 0
Very nice and minimalistic!

It doesn't work with the training puppets in the capital cities though...

Another question: Does it count in pet damage?

Last edited by KleinerMink : 11-07-2009 at 10:13 PM.
KleinerMink is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-24-2009, 05:51 AM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 100
Uploads: 12
In the damagereport folder there is a file called moon.lua, open it up with a text editor. On line 11 and 12 change _G[dmgrprtsv]:AddMessage to MikSBT.DisplayMessage

Last edited by Mickelus : 10-24-2009 at 05:57 AM.
Mickelus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-23-2009, 10:41 PM  
Sintacks
A Kobold Labourer

Forum posts: 1
File comments: 6
Uploads: 0
Does anyone know of a way to get the report to display with MikScrollingCombatText in the Notification frame?
Sintacks is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-20-2009, 05:17 PM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 100
Uploads: 12
C=
Mickelus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-20-2009, 02:47 PM  
Namica
A Kobold Labourer

Forum posts: 0
File comments: 61
Uploads: 0
Works fine, simple and useful, thanks!
Namica is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-21-2009, 12:58 PM  
xJ3x
A Kobold Labourer
 
xJ3x's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Fixed it for me, thanks.
xJ3x is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-21-2009, 11:41 AM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 100
Uploads: 12
Ah yes, uploaded a new version that hopefully fixed it(or I just caused more problems). I can't log on to test it myself so you have to tell me if it works ^^
Mickelus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-21-2009, 10:32 AM  
xJ3x
A Kobold Labourer
 
xJ3x's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Not sure why I'm getting this

Message: Interface\AddOns\damagereport\moon.lua:11: attempt to perform arithmetic on global 'vistime' (a nil value)
Time: 08/21/09 10:30:33
Count: 2
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
(tail call): ?
[C]: ?
Interface\AddOns\damagereport\moon.lua:11: in function `?'
Interface\AddOns\damagereport\moon.lua:16: in function <Interface\AddOns\damagereport\moon.lua:14>

Locals:
xJ3x is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-20-2009, 07:53 AM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 100
Uploads: 12
Quote:
Originally posted by Dawn
If you want to print it to the ChatFrame1 as well, just add

Code:
ChatFrame1:AddMessage(((GetStatistic(197)-damage)>0) and ((GetStatistic(197)-damage).." damage dealt at "..(floor((GetStatistic(197)-damage)/(vistime-time))).." dps"))
ChatFrame1:AddMessage("Combat lasted: "..((floor((vistime-time)/60)>0) and ((floor((vistime-time)/60)).."m "..(floor((vistime-time)%60)).."s") or floor((vistime-time)).."s"))
and leave everything else as is.

Btw, How do I add Healing done? *AAAARGH feature request inc*
you need the statistic id for healing done, I'm out of gametime so you have to check for yourself. I hooked GetStatistic to get the id for damage done, perhaps you could do the same for healing done. Try something like this:

local funky = GetStatistic
hooksecurefunc(GetStatistic, function(id)
print(id, funky(id))
end)

Then open up the statistics frame and make your healing done show.
Now search trough your chat for an id followed by a value that's the same as your healing done. Then change 197 in every GetStatistic(197) you find to the id you got earlier. If you find an easier way to do this please let me know.
And I updated it by the way, so now you can pretty easily change what frame you want it to report to.
Mickelus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-20-2009, 07:05 AM  
Dawn
A Frostmaul Preserver
 
Dawn's Avatar
Interface Author - Click to view interfaces

Forum posts: 273
File comments: 524
Uploads: 14
Quote:
Originally posted by Purity
I would much rather it be printed to the chatframe1 as well. Please let me know if that change works.
If you want to print it to the ChatFrame1 as well, just add

Code:
ChatFrame1:AddMessage(((GetStatistic(197)-damage)>0) and ((GetStatistic(197)-damage).." damage dealt at "..(floor((GetStatistic(197)-damage)/(vistime-time))).." dps"))
ChatFrame1:AddMessage("Combat lasted: "..((floor((vistime-time)/60)>0) and ((floor((vistime-time)/60)).."m "..(floor((vistime-time)%60)).."s") or floor((vistime-time)).."s"))
and leave everything else as is.

Btw, How do I add Healing done? *AAAARGH feature request inc*
Dawn is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.