Here's an example of what the result looks like.
download
Instructions on how to use it are in the archive along with the source.
To extract the stats, a modified version of Hotstats is used that dumps the stats to the logfile.
Forged Alliance Forever Forums
Moderator: Morax
SeraphimLeftNut wrote:This works. I had in mind just a text file with the data. I guess the log file is exactly that, but I was hoping it was a little more easily organized. Your program does a good job understanding that log file and replotting the data in html. I would have liked just some column text files of time vs energy etc. instead of those graphics. I think I would be able to get to that point from the logfile, but it might take a little work for a noob like me.
This is really awesome. The plots show a bit more comparison than the plots at the end of hotstats.
You chose to plot the data in incriments of 10 seconds. Was this choice done during the reading of the log file and creation of the html? Or was this choice made during the creation of the logfile?
My favorite thing to do would be to get the highest time resolution tme vs resources data sets and play around with them, plotting them in different ways. Having the plots already made for you, kind of takes the fun out of it.(even though they are nice)
The html files have the data in nice columns, but the 10 second step hides a lot of things. Would be nice to get at least a 0.5 second increment version.
in hotstats.zip\hook\lua\ui\game\scoreaccum.lua:
local scoreInterval = 10
this line means that every 10 seconds a snapshot will be taken.
in FAF-STATS\src\faf\stats\html\Generate.java
int SecondsPerTick = 10;
this is the constant that represents the one in the lua file
peanot wrote:Oh and also, let me know if you mind that I am using your thread for this fffmmm, if so I will happily take this some place else.
Also, if you yourself want to do something like that, we probably should communicate and not both do the same thing.
Though I guess competition can be a good thing?
Users browsing this forum: No registered users and 1 guest