From the other topic,
Peter, I can add the list of users to the message box I configured in help menu. That second request is a bit more tricky as I hate named pipes after Ammeh. We can consider writing a file once in a while with info. timers are not too intensive when they are not running code. Please give me a file name I can use and a place to put it. I am thinking the IM out folder is as good as any.
How can you add the list of users to the message box? Wouldn't you need communication through the /in folder as well?
IM /out folder is good with me. Would a *.stats file be ok?
Sorry, posted in a wrong place.
The best way to go on this imo is to post a file every 15 seconds to the IM out folder.
I wouldn't use a set time. You could write to the file anytime the graph is also updated. Slow sims and quick sims would send enough datapoints this way.
Ok, time for a list!
Location?
IM /out folder.
What format to use?
The JSON format, Sammeh named is fine by me. I'm open for suggestions, though.
What to put in the stats files?
I'd like (at least)
population,
cyclenumber,
sim id(not sure what could be used for it, the random seed value seems to be a decent match)
unixtime
Other suggestions?
EditIt would look something like this.
{"simId": 4934934, "unixtime": 1410000000,"cycle": 1000000, "population":[{"botName":"Einstein", "count":550},{"botName":"The One", "count":450}]}