Code center > Darwinbots Program Source Code

Status of IM mode

<< < (9/36) > >>

Testlund:
We used to have stats about the total population in IM mode, as well as being able to see what user was sending the bots. What happened to that? It would be nice to have.

Billy:
Agreed, that would be awesome. :)

Peter:
Aye, what's left of EricL's code surrounding this, bots?  Is there any way you could easily hook up these graphs if you had the data from other sims.

I could add a name to receiving a bot in IM, but that needs a change in the server as well. Making them incompatible(edit, with current versions). I'll include it when I can send sim stats as well.

Botsareus:
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.

Peter:
From the other topic,

--- Quote from: Botsareus on September 03, 2014, 05:30:31 PM ---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.

--- End quote ---
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?


--- Quote from: Botsareus on September 03, 2014, 07:02:08 PM ---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.
--- End quote ---
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?

Edit

It would look something like this.

--- Code: ---{"simId": 4934934, "unixtime": 1410000000,"cycle": 1000000, "population":[{"botName":"Einstein", "count":550},{"botName":"The One", "count":450}]}
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version