Download
(55Kb)
Download
Updated: 08-21-11 02:29 PM
Pictures
File Info
Updated:08-21-11 02:29 PM
Created:09-30-10 09:14 AM
Downloads:9,718
Favorites:25
MD5:

Show My DPS  Popular! (More than 5000 hits)

Version: 0.4.4
by: ZergRael [More]

What does Show my DPS do ?
If your old computer can't handle the cpu-ogre recount in raid or you don't need that much functionalities, you may need a simple dps meter to show only what you're doing in the combat.

Show my DPS is here for you !
Tracks HPS too

It will simply show you your own dps, the combat length and your own total damage over the combat.
It has built-in recount-like damage handle and should say the same dps as recount.
Absolutely no data saving except the position of the frame.

It means ultra light-weight addon and nearly no cpu consumption

Important notes
Some of you may underline the fact that without comparison, the DPS means nearly northing. It's true, but I like to know my average DPS on each fight in order to keep in mind if I do my job well in the raid. There's lots of raiders with Recount or Skada who will tell you your DPS rank

Usage

  • Left click : toggle HPS / DPS
  • Right click : open options pannel

Incoming improvements
  • Maybe Absorbs
  • Overall dps

Thanks to Brandho, reminding me to update this addon

>> 0.4.4 >> 08/21/2011

* Easier display configuration
* Performance improvements

>> 0.4.3 >> 07/30/2011

* TOC update for 4.2
* Combatlog event update

>> 0.4.2 >> 04/27/2011

* TOC update for 4.1
* Combatlog event update

>> 0.4.1 >> 03/26/2011

* Libs update
* Adding AceAddon lib (ahem.. yea)

>> 0.4.0 >> 03/04/2011

* Added combat duration toggle
* Libs update
* Added compatibility with 4.1 combatlog
* Known issue : Recount ignores inactive time in dps calculation. SMD doesn't.
SMD dps may be lower than the recount one.

>> 0.3.3 >> 10/28/2010

* BugFix : Not conting after combat damages
* Bug : Last hit messes dps

>> 0.3.2 >> 10/28/2010

* BugFix : One hit fights
* BugFix : Combat start detection
* Heal meter is back
* No absorb detection

>> 0.3.1 >> 10/27/2010

* BugFix : 1.000k dmg fix

>> 0.3.0 >> 10/26/2010

* Back to DPS meter only
* Improved Damage detection
* Nearly perfect Recount imitation

>> 0.2.5 >> 10/26/2010

* BugFix : Empty frame

>> 0.2.4 >> 10/25/2010

* Toc bump for 4.0.1

>> 0.2.3 >> 10/01/2010

* BugFix : just a stupid '=' Damn..

>> 0.2.2 >> 09/30/2010

* Added : Frame position reset command

>> 0.2.2 >> 08/30/2010

* BugFix : Out of combat heals / damages

* Added : Damage / heals toggle notification
* Added : Out of combat hide option
* Added : Needed libs (Ace3)

>> 0.2 >> 08/30/2010

* First beta
* Need some reports

* BugFix : Great accuracy with damage
* BugFix : Improved handle of pets and exterior sources of DPS

* Healing is still buggy
* KnowBug : Out of combat heals makes the HPSmeter fool
* BugFix : Handle of pets heals (yup, licking wounds is sort of heal)

>> 0.1b >> 08/03/2010

* Multiples minor bugfixes because I developped this addon only on lvl 6 pigs in durotar ;o

* BugFix : Handle of environnemental damage
* BugFix : Handle of pets
* BugFix : Refresh frame when switching between heal and damage

>> 0.1a >> 08/01/2010

* First alpha of ShowMyDPS
* Awesome idea huh ?
Optional Files (0)


Post A Reply Comment Options
Unread 11-01-10, 02:13 PM  
TehFurbolg
A Defias Bandit
 
TehFurbolg's Avatar

Forum posts: 3
File comments: 58
Uploads: 0
is this addon a lot better than Recount in terms of CPU usage?

Greets
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 03:14 AM  
ZergRael
A Kobold Labourer
 
ZergRael's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 5
Originally posted by thomasjohnshannon
It may not be a big issue in normal combat since the target is dead but I changed a bit of the code in AddAmount function to make sure it stops updating after I drop out of combat since any kind of dots left on a target (ie target dummies) messes up the display.
Already tried that but still doesn't work on 1 hit fights
Anyway, you gave me an idea : new solution on 0.3.3
Last edited by ZergRael : 10-28-10 at 03:44 AM.
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 12:48 AM  
thomasjohnshannon
A Theradrim Guardian
 
thomasjohnshannon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 79
Uploads: 5
It may not be a big issue in normal combat since the target is dead but I changed a bit of the code in AddAmount function to make sure it stops updating after I drop out of combat since any kind of dots left on a target (ie target dummies) messes up the display.

Code:
	if bit.band(arg5, 0x1111) == 0x1111 or bit.band(arg5, 0x511) == 0x511 then -- Checking source
		if arg2 and string.find(arg2, "_DAMAGE") then
			-- Get recount-like feature
			if InCombatLockdown() then
				cbtDmgAmount = cbtDmgAmount or 0
				cbtStart = cbtStart or GetTime() - 3.5
				
				-- DPS crap
				if not arg12 then -- Checking dps type
					cbtDmgAmount = cbtDmgAmount + arg9 -- Melee swing
				else
					cbtDmgAmount = cbtDmgAmount + arg12 -- Anything else
				end

				-- Calc
				self:CalculateDmg()
				
				-- Show
				self:RefreshFrame()
			else
				cbtDmgAmount = 0
				cbtStart = GetTime() - 3.5
			end
		end
__________________
Thomas aka Urnn
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 03:58 PM  
ZergRael
A Kobold Labourer
 
ZergRael's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 5
Originally posted by thomasjohnshannon
Yeah I was just about to post that I figured out that it was the problem. Works fine with out that line. It was taking me two min to get to that point as an ICC25 geared rogue so if you where testing it with someone with less dps it would take even longer.
I'm mostly testing with my priest and my tank, so I don't often go over 1 million damage. 0.3.1 fixes this
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 03:29 PM  
thomasjohnshannon
A Theradrim Guardian
 
thomasjohnshannon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 79
Uploads: 5
Originally posted by ZergRael
I'm seriously so dumb.. When total damage comes to 1.000.000, I'm adding a 'k' to lower required space, by the way it becomes a string
New upload in a few hours
Thanks for u're report
Yeah I was just about to post that I figured out that it was the problem. Works fine with out that line. It was taking me two min to get to that point as an ICC25 geared rogue so if you where testing it with someone with less dps it would take even longer.
__________________
Thomas aka Urnn
Last edited by thomasjohnshannon : 10-27-10 at 03:31 PM.
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 03:08 PM  
ZergRael
A Kobold Labourer
 
ZergRael's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 5
Originally posted by thomasjohnshannon
From my testing I have seen that these errors normally pop up about two mins into the fight.

Code:
--Error 1
Message: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:155: attempt to compare number with string
Time: 10/27/10 14:20:46
Count: 1
Stack: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:155: in function `RefreshFrame'
Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:135: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[18]"]:4: in function <[string "safecall Dispatcher[18]"]:4>
[C]: ?
[string "safecall Dispatcher[18]"]:13: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>

--Error 2
Message: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:121: attempt to perform arithmetic on upvalue 'cbtDmgAmount' (a string value)
Time: 10/27/10 14:26:54
Count: 35
Stack: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:121: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[21]"]:4: in function <[string "safecall Dispatcher[21]"]:4>
[C]: ?
[string "safecall Dispatcher[21]"]:13: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>

--Error 3
Message: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:119: attempt to perform arithmetic on upvalue 'cbtDmgAmount' (a string value)
Time: 10/27/10 14:26:49
Count: 10
Stack: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:119: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[18]"]:4: in function <[string "safecall Dispatcher[18]"]:4>
[C]: ?
[string "safecall Dispatcher[18]"]:13: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>
I'm seriously so dumb.. When total damage comes to 1.000.000, I'm adding a 'k' to lower required space, by the way it becomes a string
New upload in a few hours
Thanks for u're report
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 02:31 PM  
thomasjohnshannon
A Theradrim Guardian
 
thomasjohnshannon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 79
Uploads: 5
Originally posted by ZergRael
Yumm, can't reproduce the issue, any details ?
When, where, class or anything special ?
From my testing I have seen that these errors normally pop up about two mins into the fight.

Code:
--Error 1
Message: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:155: attempt to compare number with string
Time: 10/27/10 14:20:46
Count: 1
Stack: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:155: in function `RefreshFrame'
Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:135: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[18]"]:4: in function <[string "safecall Dispatcher[18]"]:4>
[C]: ?
[string "safecall Dispatcher[18]"]:13: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>

--Error 2
Message: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:121: attempt to perform arithmetic on upvalue 'cbtDmgAmount' (a string value)
Time: 10/27/10 14:26:54
Count: 35
Stack: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:121: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[21]"]:4: in function <[string "safecall Dispatcher[21]"]:4>
[C]: ?
[string "safecall Dispatcher[21]"]:13: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>

--Error 3
Message: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:119: attempt to perform arithmetic on upvalue 'cbtDmgAmount' (a string value)
Time: 10/27/10 14:26:49
Count: 10
Stack: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:119: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[18]"]:4: in function <[string "safecall Dispatcher[18]"]:4>
[C]: ?
[string "safecall Dispatcher[18]"]:13: in function `?'
...que\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...\FishermansFriend\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>
__________________
Thomas aka Urnn
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 12:38 PM  
kaimox
A Fallenroot Satyr

Forum posts: 25
File comments: 100
Uploads: 0
Heal meter?

It shows only the words ... no numbers ... in effect, it's not working at all for me. Neither heal nor damage.

Version >> 0.2.4 >> 10/25/2010 as stated in the changelog.

Ok, newest changelog:
>> 0.2.5 >> 10/26/2010
* BugFix : Empty frame

I will try the 0.30 now.
Last edited by kaimox : 10-27-10 at 12:41 PM.
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 10:35 AM  
ZergRael
A Kobold Labourer
 
ZergRael's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 5
Originally posted by kaimox
This would be nice if it would show anything meaningful. At the moment it is not throwing errors but also nothing else - exept the words "Damage" and "Heal" - and yes, you can switch those. Somehow I expected numbers ... ;-)

(German client if thats of importance)
Latest version doesn't include Heal meter, maybe you're using an old one ?
Last edited by ZergRael : 10-27-10 at 10:37 AM.
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 09:08 AM  
kaimox
A Fallenroot Satyr

Forum posts: 25
File comments: 100
Uploads: 0
This would be nice if it would show anything meaningful. At the moment it is not throwing errors but also nothing else - exept the words "Damage" and "Heal" - and yes, you can switch those. Somehow I expected numbers ... ;-)

(German client if thats of importance)
Last edited by kaimox : 10-27-10 at 09:54 AM.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 04:46 PM  
ZergRael
A Kobold Labourer
 
ZergRael's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 5
Originally posted by thomasjohnshannon
It is working now but its throwing a few bugs (doesn't stop working) all them seem to be related to "cbtDmgAmount" being compared to a string.

Code:
Message: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:155: attempt to compare number with string
Code:
Message: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:119: attempt to perform arithmetic on upvalue 'cbtDmgAmount' (a string value)
Yumm, can't reproduce the issue, any details ?
When, where, class or anything special ?
Last edited by ZergRael : 10-26-10 at 04:48 PM.
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 03:55 PM  
ZergRael
A Kobold Labourer
 
ZergRael's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 5
Originally posted by Sideshow
Being curious, I tested it out. It's quite nice.
I think very few people are interested in the time string and also not in the 'Dmg' string.
Rounding dps to 0.01 is not very informative.
You could localize your functions for even less cpu time
Could I ask why you use a lib for a slash command? Probably my ignorance, but writing a slash function is 3 lines.
Also a little bug: the text is not updated for 1 hit fights.

Just some thoughts
Thanks for u're comment
I'm nearly discovering lua programming, so my addons may be not optimized. I try to use libs as much as possible, maybe not a good option
Since it's still in beta, I think I can let 0.01 dps and time cuz I need to compare with Recount each parameter in order to get a great imitation
"Dmg" thing may be useless, "dps" is already written, you're right
Anyway I'm looking for something to fix the 1 hit fights issue
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 03:26 PM  
thomasjohnshannon
A Theradrim Guardian
 
thomasjohnshannon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 79
Uploads: 5
It is working now but its throwing a few bugs (doesn't stop working) all them seem to be related to "cbtDmgAmount" being compared to a string.

Code:
Message: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:155: attempt to compare number with string
Code:
Message: Interface\AddOns\ShowMyDPS\ShowMyDPS.lua:119: attempt to perform arithmetic on upvalue 'cbtDmgAmount' (a string value)
__________________
Thomas aka Urnn
Report comment to moderator  
Reply With Quote
Unread 10-26-10, 06:29 AM  
Sideshow
A Flamescale Wyrmkin
 
Sideshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 103
File comments: 321
Uploads: 3
Being curious, I tested it out. It's quite nice.
I think very few people are interested in the time string and also not in the 'Dmg' string.
Rounding dps to 0.01 is not very informative.
You could localize your functions for even less cpu time
Could I ask why you use a lib for a slash command? Probably my ignorance, but writing a slash function is 3 lines.
Also a little bug: the text is not updated for 1 hit fights.

Just some thoughts
Last edited by Sideshow : 10-26-10 at 06:30 AM.
Report comment to moderator  
Reply With Quote
Unread 10-25-10, 05:12 PM  
ZergRael
A Kobold Labourer
 
ZergRael's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 5
Re: Not working.

Originally posted by thomasjohnshannon
It isn't giving me any errors but its not working at all for me. It shows up when I enter combat but it just says "Damage".
Interesting thing, without any other addon than SMD, it stays empty like you said. Some other addon must hook the combat event...
Anyway, a fix is incoming.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: