Code center > Darwinbots Program Source Code

Status of IM mode

<< < (3/36) > >>

Botsareus:

--- Quote ---It was an external application that would read raw bytes inside Darwinbots at specific memory locations.
--- End quote ---

wow, that is intense.

Botsareus:
Maybe we can make DB write this data into a file periodically. But honestly I don't think we need something this advanced.

Ammeh:
Well, this is what I was talking about with pipes. Pipes are basically sockets (like network connections) between applications running on a machine, and you can send and recieve data through them. I was thinking if DB sent it's stats in JSON format like so:

--- Code: ---{ "population":"12381412", "cyclespersec":"50"}

--- End code ---
down the pipe, then DBIM could just send that straight up to the server, which would process it server side. What this means is that we can make one modification to DB (adding pipe support + json), create a new DBIM and server script and then have all the functionality we currently have with the caveats that:
a) We wouldn't need to update DBIM ever again (unless a bug appeared or another overhaul was needed)
b) Adding new stats to track would be a simple case of adding the stat in DB's JSON sending bit and updating the server script to process the new stat, instead of an update to all three elements (DB, DBIM, server script)

Also, this potentially allows for complete control of the DBIM application from DB's interface if we want to go down that route.

rwill128:
This is so exciting to hear people talking about getting Internet mode active again.

It seems like the chances of really cool evolutionary dynamics/occurrences are going to be much, much higher if we can get a lot of people contributing to a larger simulation.

Botsareus:
I think I get it.

Go ahead and do that, just label your SVN Commit (source code) with your username for vb6, so I know it is you.

thx

edit: should be under Darwinbots2/trunk/Darwinbots2

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version