Code center > Darwinbots Program Source Code
Status of IM mode
Botsareus:
It is going to be "Simdata.stats"
Peter:
Could it be a unique name? Just in case the client is very busy waiting for a bot. And you'll have 2 datapoints in the mean time.
Botsareus:
No problemo, as long as you clean it up on your side.
Botsareus:
I am also giving you field sizes, make good use of it.
Peter:
I'm getting this,
localtime and width got a " too many. Could validate the json, with something like this.
Is simId correct? it gives me the starting time of the sim in local time?
localtime doesn't give me unixtime.
{
"cycle": 200,
"simId": "07-Sep-14 17-30-25",
"localtime" : 63027",
"width":64000",
"height": 48000,
"population": [
{
"botName": "Alga_Minimalis_Chloroplastus.txt",
"count": 5
},
{
"botName": "Bubbles (F2)(Jez)-21.08.06.txt",
"count": 23
}
]
}
Here I get (I think teleported in) a empty.txt that's set at repopulating, is that correct?
{
"cycle": 64000,
"simId": "07-Sep-14 17-30-25",
"localtime": 63793","width":64000",
"height": 48000,
"population": [
{
"botName": "Mutate.txt",
"count": 8
},
{
"botName": "Alga_Minimalis_Chloroplastus.txt",
"count": 2,
"repopulating": true
},
{
"botName": "empty.txt",
"count": 1,
"repopulating": true
}
]
}
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version