Go to Page... |
Updated: | 03-15-12 04:11 AM |
Created: | 12-26-11 02:36 AM |
Downloads: | 3,873 |
Favorites: | 10 |
MD5: |
This is a simple combat meters addon that I've been toying with and I finally decided to post it. It lacks a lot of features of some of the other damage meter addons, but does add one of its own.
It does not store tons of information about fights so if you want a larger memory foot print and tons of data about the fight keep looking because this isn't the addon for you.
What this addon will do for you is display information about the current/last fight about total damage, dps, hps, interrupts, dispells or threat.
For those of you who do BGs or even rBGs. Unlike other combat meter addons, my addon gets blizzard's information which covers the entire BG (both factions) not just those that were in-range of your combat log. This actually allows you to scroll through the list of people prior to the beginning of a BG and see what classes and specs are on both sides and to keep track of where you stack up in damage or healing for the whole BG at a glance without opening the score panel. Selecting horde/alliance/all on the score panel will change the information displayed in the combat meters as well.
The addon will not report information to chat. I had this feature at one time and decided to remove it. Too many people spam meters already. Everyone else should have a meter if they want to know what it says.
This is still a work in progress and does have some odd little nuances. I am still working to integrate a threat meter (another one of my addons I decided would be best incorporated in this addon for release). I will be updating as I find bugs or bugs are reported in the comments.
The addon can be resized by dragging the bottom right corner and moved by dragging with the right mouse button on the buttons across the top. Later I may add some configuration options, but for now it is a work in progress.
To allow the addon to become extra small and compact, if the addon gets to small to fit all the buttons the interrupts and dispells buttons will each disappear in turn to allow room for the other buttons.
The addon has a slash command for some basic options like hiding/showing the addon, resetting its position on the screen and setting the scale of the addon. There may be additional options in the future and a list of options can be obtained by simply using the slash command "/cm" or "/combatmeters" without any options.
Comment Options |
12-26-11, 04:42 AM | |
|
This looks very promising.
|
|
Haleth |
View Public Profile |
Send a private message to Haleth |
Find More Posts by Haleth |
Add Haleth to Your Buddy List |
sacrife |
View Public Profile |
Send a private message to sacrife |
Find More Posts by sacrife |
Add sacrife to Your Buddy List |
12-26-11, 04:21 PM | ||
|
__________________
Author of: Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip |
|
|
Cowmonster |
View Public Profile |
Send a private message to Cowmonster |
Find More Posts by Cowmonster |
Add Cowmonster to Your Buddy List |
12-26-11, 04:31 PM | ||
|
Now the smooth health are you referring to the refresh rate? Right now it is on a 2 second interval. As for hiding in/out of combat, right now that presents a problem. Because of the buttons for damage, dps, heals, interrupts, threat and reset across the top the addon can't be moved or shown/hidden in combat. I've tried configuring it different ways using different frame types and such, but the result remains the same. If anyone knows a better way to handle those elements, I'm all ears.
__________________
Author of: Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip |
|
|
Cowmonster |
View Public Profile |
Send a private message to Cowmonster |
Find More Posts by Cowmonster |
Add Cowmonster to Your Buddy List |
sacrife |
View Public Profile |
Send a private message to sacrife |
Find More Posts by sacrife |
Add sacrife to Your Buddy List |
12-27-11, 01:26 AM | |||
|
__________________
Author of: Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip |
||
|
Cowmonster |
View Public Profile |
Send a private message to Cowmonster |
Find More Posts by Cowmonster |
Add Cowmonster to Your Buddy List |
12-27-11, 01:06 PM | ||||
|
__________________
Author of: Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip |
|||
|
Cowmonster |
View Public Profile |
Send a private message to Cowmonster |
Find More Posts by Cowmonster |
Add Cowmonster to Your Buddy List |
12-27-11, 01:39 PM | |
|
Hehe, Yeah. Don't shoot the messenger
I personally like setting its position in lua and never worry about it again. Really see no need to move it around. However, I guess most people like this so I would just edit the lua and set movable to false You could add a movable true/false to the "config" though if you would as well as pos x and pos y for us that set it to false.
__________________
|
|
sacrife |
View Public Profile |
Send a private message to sacrife |
Find More Posts by sacrife |
Add sacrife to Your Buddy List |
12-27-11, 03:26 PM | ||
|
__________________
Author of: Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip |
|
|
Cowmonster |
View Public Profile |
Send a private message to Cowmonster |
Find More Posts by Cowmonster |
Add Cowmonster to Your Buddy List |
12-29-11, 03:42 AM | ||
|
This comment intrigued me. You don't need secure frames to do incombat show/hide unless your addon is trying to take protected actions. A damage meter normally wouldn't actually "do" anything (like trying to cast / use / move etc) so :Hide() :Show() should work without any issues. |
|
|
Dridzt |
View Public Profile |
Send a private message to Dridzt |
Find More Posts by Dridzt |
Add Dridzt to Your Buddy List |
12-29-11, 04:05 AM | |||
|
__________________
Author of: Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip |
||
|
Cowmonster |
View Public Profile |
Send a private message to Cowmonster |
Find More Posts by Cowmonster |
Add Cowmonster to Your Buddy List |
12-29-11, 07:24 AM | ||
|
I tidied up a little but tried to "tread lightly" so the code should remain very close to the original I added visibility settings at the top and some barebones functionality to show hide automatically. (it would need to apply the setting on load as well but I saw you haven't yet "plugged in" addon_loaded or P_E_W so didn't mess further) I don't have a pet class so can't test the full functionality but I don't think I broke anything. Modified file: http://pastebin.com/5WuHH0X1 Hope it's of use. Edit: I tested the modified version in combat had no problems with show/hide functionality. * "OnEvent" was a particularly dangerous global as it's a very common name, there's no way to tell what it was overwriting.
Last edited by Dridzt : 12-29-11 at 07:47 AM.
|
|
|
Dridzt |
View Public Profile |
Send a private message to Dridzt |
Find More Posts by Dridzt |
Add Dridzt to Your Buddy List |
12-29-11, 10:13 AM | |||
|
__________________
Author of: Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip |
||
|
Cowmonster |
View Public Profile |
Send a private message to Cowmonster |
Find More Posts by Cowmonster |
Add Cowmonster to Your Buddy List |
12-29-11, 04:32 PM | |
|
Glad you got it working but you're still leaking globals alot... that was the main issue.
When you have a global function named OnEvent you can't really tell what you might be overwriting from other addons or even blizzard stuff. If you look at the code I posted I just wrapped your functions inside your addon private table so there's 0 chance of conflicts and in the process local-ized some variables (_, dps1, dps2, missing etc) that there's no reason to have as globals. That said, it's your addon so I'm butting out again |
|
Dridzt |
View Public Profile |
Send a private message to Dridzt |
Find More Posts by Dridzt |
Add Dridzt to Your Buddy List |
12-29-11, 07:41 PM | ||
|
You can't but out yet, teach, class is still in session. :-)
__________________
Author of: Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip |
|
|
Cowmonster |
View Public Profile |
Send a private message to Cowmonster |
Find More Posts by Cowmonster |
Add Cowmonster to Your Buddy List |