Darwinbots Forum
Bots and Simulations => Evolution and Internet Sharing Sims => Internet Mode Commentary => Topic started by: Billy on February 10, 2012, 08:54:30 AM
-
Yesterday Numsgil and I worked out a way to use file syncing software for IM. It seems to be working okay-ish. Definitely better than nothing. :)
Instructions:
- Download and install Allway Sync (http://allwaysync.com/)
- Download This File (https://skydrive.live.com/?cid=1C503BDFFDFA8C50#cid=1C503BDFFDFA8C50&id=1C503BDFFDFA8C50%21103)
- In Allway Sync, go to File>Import>Import profile (all jobs) settings and load the file you just downloaded. Replace the word "Billy" with your Windows username in each file path which contains the word "Billy."
- Start by disabling automatic synchronisation on all jobs. Then enable it, one job at a time, starting from the left, with one minute between each enablisation. So, enable it on the first job, wait one minute, enable it on the second job, wait one minute, etc.. You will have to do this every time you open Allway Sync.
- Start a simulation in DB.
- Click on the internet mode button and close the DOS window which pops up.
That's it! Your simulation is now connected to internet mode. :D
-
Please don't use this for a while, I'm trying to work something out.
-
I have modified the instructions and updated the settings file in the first post. It should now be ready for use.
-
I'll see if I can get a sim going this weekend to kickstart things
-
Thanks. :)
-
Updated settings file and instructions again. Yeah, they're more complicated, but it fixes a problem I've been having with bots building up in the outbound folder.
-
You might post the settings file you're using. (Or I'll post something if I work on this at all tonight). Not bots or anything, just the settings you're using. Would make it easier for people to jump in, since tuning a long term simulation is a pain.
-
I can never get simulations stable.
-
define stable...
-
Neither bots nor veg dying out?
-
Or becoming overpopulated?
-
http://forum.darwinbots.com/index.php/topic,2819.0.html (http://forum.darwinbots.com/index.php/topic,2819.0.html) this thread contains a working evo sim and may also be interesting for you to read.
-
Yay, I just got a predator prey cycle working without using population caps! :D (https://jxqr0g.sn2.livefilestore.com/y1pxbwqoKktwAz43hzGayP5fXXDT9vpH0Jz3cz0pyYsTTCGEDetRsmsfABEOKYf9oSBUg9-tRTqYowdIhROI2RwuSpx6R5mzEZ0/predator%20prey%20cycle.jpg?psid=1)
-
Start by disabling automatic synchronisation on all jobs. Then enable it, one job at a time, starting from the left, with one minute between each enablisation. So, enable it on the first job, wait one minute, enable it on the second job, wait one minute, etc.. You will have to do this every time you open Allway Sync.
How do i do that? Because, it just says Automatic synchronisation is on...
Also I am getting an inbound error and/or no inbound robots
Is https://docs.live.net/DarwinbotsIM up?
-
Never mind;
-
Anyone still doing this?! I'll try to jump in tonight if so.
-
sorry to burst your bubble. (again)
But this was also abandoned due to instability...
-
Haha, damn. Seems like it would still be a viable option.
-
I think the issue is that Darwinbots would try to read a file before it was finished downloading. If you could figure out a system to get around that, it would basically work.
-
lol, really? So, if I would of implemented p2p I would still have the same problem? Wow, that's good to know...
We can upload a second file that simply contains the length of the main file, but I still need to know what IM software we are using: Shasta's or this?
edit: I still need to know what we are using, but that will not work ether because the two files are not attached to each other in any way... I'll think of something else...
-
I think I have something, I need to know two more things:
1.) Does darwinbots trow an error when it tries to read a file being written to?
2.) If darwinbots trys to read a file while it is being downloaded does it screw up the file downloader?
-
I just tried the following that may actually work. I have tested it using a vb.net script. I hope the file sharing program writes using similar methods. The following is written in C# , to extract the program itself for testers that don't have C# 2K08 or later go to the bin > debug folder.
-
Looks reasonable enough. Have you tested it with some running instances of Darwinbots and Always Sync?
-
*Crosses fingers*
-
ah, Here is a better version that uses StringDictionary hashtables (I am putting my MCPD homework to use)
sorry, no time to test , rwill128 please do...
If you don't have a newer c# compiler head down to the bin > debug folder ...
-
Will do.
-
I'm not experienced with how IM normally operates, and I'm not sure how test whether the intermediate file checker is doing what it's supposed to do, or solving any problems..
-
Step 1.) rename my intermidate checker as "DarwinbotsIM.exe" and place at in the same folder as the program(Darwin2.45.01).
Step 2.) set the outbound* folder within the program(Darwin2.45.01) to match the out file folder of allway sinc.
Step 3.) make a folder to be an "in file" folder of allway sinc.
Step 4.) set the inbound* folder inside the program(Darwin2.45.01) as a third folder, lets call this "finalinfolder"
Step 5.) enable internet mode, my code should open. First select the "in file" allway sinc. folder, then select finalinfolder.
-
I think it's working! The syncing has been going on just fine, but I'm not sure how you had the live drive set up... how did it keep track of whose bots were whose, and when my "Skydrive Clean" routine runs, couldn't I be wiping everyone else's bots out before I downloaded them?
-
I am getting no inbound files, are you?
https://docs.live.net/DarwinbotsIM/ does not contain any robots, I am sending 5 robots per minute to it, whats going on?
-
I'll turn it back on and see.
-
ok, now I am getting stuff.
I am getting IFlamma from my last run on the laptop, but I am not getting any 'the one' that I was sending from my laptop currently.
You should double click on a robot to and look at the "coming from" if you want to see who sent the robot
-
Holy sh* IM actually works :D