Category: Combat Mods
Addon Information
Works with 3.2
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 12:40 PM
Size:
703 b
Downloads:
1,323
Favorites:
21
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 08:07 AM
1
752B
Mickelus
08-19-2009 07:31 PM
  Comments - damagereport
Post A Reply Comment Options
Old 11-08-2009, 10:16 AM  
KleinerMink
A Deviate Faerie Dragon

Forum posts: 11
File comments: 71
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, 10:00 AM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 97
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, 09:17 AM  
KleinerMink
A Deviate Faerie Dragon

Forum posts: 11
File comments: 71
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, 08:00 AM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

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

Forum posts: 11
File comments: 71
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 11:13 PM.
KleinerMink is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-24-2009, 06:51 AM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 97
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 06:57 AM.
Mickelus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-23-2009, 11:41 PM  
Sintacks
A Kobold Labourer

Forum posts: 1
File comments: 1
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, 06:17 PM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 97
Uploads: 12
C=
Mickelus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-20-2009, 03: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, 01: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, 12:41 PM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 97
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, 11: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, 08:53 AM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 97
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, 08:05 AM  
Dawn
A Chromatic Dragonspawn
 
Dawn's Avatar
Interface Author - Click to view interfaces

Forum posts: 175
File comments: 401
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 offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-20-2009, 07:14 AM  
Mickelus
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 97
Uploads: 12
Quote:
Originally posted by Dawn
Nice, I always liked such a small summary at the end of a fight from eavesdrop.

Just curious, if I would want to show that in ChatFrame1 instead of the Error Frame. Would it be sufficient to use:

Code:
function f.PLAYER_REGEN_ENABLED()
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"))
end

and getting rid of
Code:
hooksecurefunc(UIErrorsFrame, "AddMessage", function()
if fix and vistime+5<GetTime() then
	fix=nil
	UIErrorsFrame:SetTimeVisible(2)
end
end)
?
I think so C=
Mickelus is offline 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 - 2009, Jelsoft Enterprises Ltd.