I'm sure it was probably asked for, then again, probably not. The mod Recap, is probably the best combat monitor mod out there, unfortunately it seems abandoned and is littered with bugs still. It would be nice to have an optimized version of this, especially coming from the ace community.
I think I've tried every DPS AddOn out there, and Recap is still the best. But, as pointed out, it's no longer supported plus I'd really prefer a version that logs stats for only the player. Even with limited options enabled, Recap still has too much overhead.
I'm going to have a go at this one. I haven't coded any add-ons before (other than a couple which were little more than providing key bindings for things that didn't have them) so it may take a while.
I was thinking about breaking this add-on into two add-ons:
The first will be the gathering of the data and will, optionally, send a summary to the chat window after each fight.
The second will provide a recap style ui to report the data gathered by the first.
This will provide quite a lot of flexability as it will allow people to display the data how they want to. Some people will like bar charts and some people will prefer text etc. I'll probably do a third add-on which will do a ui in the style that I want.
The only real lacking features, is the ability to Sync, and a "cleaner" code for more optimal use. I mean, hell, I use a ton of Ace addons for the fact that the code is optimized greatly.
Well, I haven't done any LUA code before so it is unlikely to be optimized greatly I'm afraid. Also, I don't aim to change it more than splitting it into a data add-on and a ui add-on at the first stage.
I started converting Recap by starting with Rowne's template from the dev kit and pulling in each part of Recap in stages. I got a bit (or even a lot) overwhelmed at the amount of stuff I didn't know how to do and I nearly dropped the project.
I stopped and had a bit more of a think about it and came up with a plan (what do the people who have done this before think about it?):
1. Shoe-horn Recap into Rowne's template. This will result in an Add-On that is techically Ace'd but doesn't follow the spirit of Ace and only does the bare minimum of code required to be considered an Ace add-on.
2. Convert the event handling to Ace.
3. Convert the data handling to Ace.
4. Split the UI from the data handling to create two add-ons which will enable other UI designers to design their own look and feel without the need to worry about the data.
5. Streamline the code where possible - this is last so that I will have a better understanding of LUA and I'll be in a better position to ask for and understand advice on the topic.
I have almost got to the end of stage 1. I currently have an add-on that looks, feels and works like Recap. I haven't been able to check the data with Recap as they won't work together - they obviously use a global variable that they both share and one is clobbering the other's data.
Any comments about the plan? Does it seem like a good way to go about it?
Ok, this is coming from me, who the first thing he coded, ever, was an Ace AddOn, I think that Shoe-horning it in to start would be the way to go. You will learn the basis of Ace, and as you go along you will learn to code better and better, slightly making your code better at every turn. Not to mention within hours of release, someone, including me, will have ran over your code to see how you did it, and if you did it efficiently. Then, it will be like handing in an essay to the teacher early to look over, we will give you suggestions, and we will discuss them, and you will do what you think will make the AddOn better.
Sorry, I missed your last post until now Orione. I have completed stage 2 on my plan and it works alongside Recap and provides the same numbers in my tests. I am now looking at an extra stage of making it class based rather than procedural.
After that I'll either move onto the database structure (stage 3) or go to the UI seperation (stage 4) and do that first. I think it may be easier to look at the database structure when I have split all the UI code into a seperate add-on.
I'm not going to have much time to do this over the next week as I am out at Christmas parties and such (and going to see Black Eyed Peas in concert tonight :D )
when I have split all the UI code into a seperate add-on
I was specifically refering to AceRecap here. I plan to make two add-ons - AceRecap and AceRecapUI.
AceRecap will do nothing but gather data for other mods to show.
AceRecapUI will be a UI that is the same as Recap is now but gathers its data from AceRecap. I may use AceGUI to do this mod although it would be easier to just rip the code directly from Recap.
This will allow other people to write mods to display the data they want in the way that they want. Some people may like DamageMeters and others may like Recap. It would allow the interface to be configurable without the bloat of an add on that includes the options to do everything you may (or may not) want to do.
For me, I would like a much more plain UI than Recap offers and I may also code and release that option too.
I haven't looked into the sync feature of DamageMeters but I think that this seperation of code would allow someone to write an add on that uses AceRecap and implements the sync feature. This probably wouldn't want to include a reporting UI as AceRecapUI (or some other alternative) would do that bit.
Please please please make it have the one thing that I think Recap is missing (or at least I cannot find!) Add the option to do either (or both!):
a) Only gather your own and your pet's data
b) Clear out everyone's data but your own and your pet's
I honestly only use Recap to gather stats about myself, I use DamageMeters to gather stats about other people. Occasionally Recap warns me that my data set is getting enormous and I should clear it out but then I lose all my own stats and have to start building those up from scratch again.
Well, the only real thing Recap needs/needed was the ability to Synchronize it, as well as a nice clean up of code and bugs worked out. Sadly, I'd offer some help, but am coding illiterate. I've seen how much Rowne has put in time wise, and for me to pick up a project and learn it, means I neglect my wife and kids. :( So I will say, for all of you people that do this, Kudos. I commend you.
But please, please, don't forget to add some synchronization for a much more realistic and accurate display of stats.
Steve, if your still around, just wondering how the Ace'd version of Recap is going, or if it is going.
I'm still around and it is still on my list although I haven't done anything for a while. I put all development on hold over Christmas because I have much less WoW time in the holidays and I like to use it to play the game rather than code for it. Since the holidays I got distracted by Target Tracker which is a mod I've wanted for a while. I'll probably start back on AceRecap next week.
The next bit for me to do is to learn how to do modules so that I can put the GUI part into a seperate module.