Download
(2Kb)
Download
Updated: 07-30-08 12:07 PM
Pictures
File Info
Updated:07-30-08 12:07 PM
Created:unknown
Downloads:3,735
Favorites:5
MD5:

SimpleDPS

Version: 0.1
by: Liggy [More]

A simple dps meter that shows your total dmg and dps.

Optional Files (0)


Post A Reply Comment Options
Unread 11-21-09, 08:05 PM  
Warrax
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Thanks Wildhorn666 for the fixes.

Nice add-on.
Report comment to moderator  
Reply With Quote
Unread 12-20-08, 05:57 AM  
Wildhorn666
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 4
Doesnt work

This mod doesnt work... alway show 0 damage done and 0 dps. I am currently checking the .lua to try to find whats the problem. If i can find a solution, I will post what to do to make it work because i think a such simple dpsmeter is the best.

EDIT: Found it. It was a very noob error the guy made.

The first function in Frame.lua file:

function SimpleDPS_Onload(frame)

should be:

function SimpleDPS_OnLoad(frame)

He used a 'l' instead a 'L' for Load.



EDIT2: After further testing, I discovered this addon doesnt calculated damage you do, but damage you take lol.

EDIT3: Found the problem. Doing the following will make it to calculate your DPS if you are alone (not sure of result if there is someone else doing damage around you).

Into:

function SimpleDPS_OnEvent(frame, event, ...)

instead of:

local unit,action,modifier,damage,damagetype = ...
if unit == "player" and action ~= "HEAL" then

write:

local unit,action,modifier,damage,damagetype = ...
if unit ~= "player" and action ~= "HEAL" then
Last edited by Wildhorn666 : 12-20-08 at 06:47 AM.
Report comment to moderator  
Reply With Quote
Unread 08-04-08, 07:34 PM  
cawfee
An Aku'mai Servant
 
cawfee's Avatar
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 94
Uploads: 1
Great idea in a non-obtrusive interface!
However, when booting, Swatter spouts this:

Code:
Date: 2008-08-04 21:32:41
ID: 2
Error occured in: Global
Count: 1
Message: [string "SimpleDPSFrame:OnLoad"] line 1:
   attempt to call global 'SimpleDPS_OnLoad' (a nil value)
Debug:
   [C]: SimpleDPS_OnLoad()
   [string "*:OnLoad"]:1:
      [string "*:OnLoad"]:1
AddOns:
  SimpleDPS, v1.0
  Swatter, v5.0.PRE.3164
I disabled all addons except Swatter, which prints error logs. Any ideas?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: