Darwinbots Forum

Bots and Simulations => DNA - General => Tips and Tricks => Topic started by: PurpleYouko on April 28, 2005, 03:35:31 PM

Title: Snapshots
Post by: PurpleYouko on April 28, 2005, 03:35:31 PM
I have just uploaded a newer version of the snapshot decoder for Excel. (in both FTP sites)
I have added a feature allowing you to instantly create a robot DNA file from any one of the robots.
Just press the button, enter the robot ID number at the prompt and the program will create a text file containing all the DNA for your selected robot. This file will have the same name as the robot ID and will be stored in the same directory that you took the snapshot file from.
You can run the file directly into DB as a robot.
 :D
Title: Snapshots
Post by: shvarz on April 28, 2005, 03:45:49 PM
This is awesome!

Appreciate this a lot!
Title: Snapshots
Post by: PurpleYouko on April 28, 2005, 05:02:41 PM
It's not all altruism here though.

I started messing with some simple mutations myself and got frustrated that it was so darned hard to recombine the genes to make a viable robot again.
You can do it by cutting and pasting each gene one by one but that took too long and I am basically a lazy bastard  B)

It was actually faster for me to write the code to add the new option than it was for me to hand copy a dozen robots.

And they call "sloth" (laziness) one of the deadly sins too.  <_<

I think laziness is the driving force behind most labor saving inventions these days.
 :)
Title: Snapshots
Post by: shvarz on April 28, 2005, 05:26:58 PM
What I did was to paste the whole thing into notepad, highlight the long space and Ctrl-H it to single-space.  That made the DNA functional, although a bit messy :)  Your way is better :)
Title: Snapshots
Post by: shvarz on April 28, 2005, 07:30:03 PM
I don't see it on either FTP.  Could you give a direct link?
Title: Snapshots
Post by: PurpleYouko on April 29, 2005, 05:27:26 PM
Actually I don't see it on DarwinBots.com either. Wonder what happened there.

I do see it on the old FTP though. It is the same as always,
snapshot.xls (http://utenti.lycos.it/darwinbots/snapshot.xls)
Just click this link to directly open the Excel file or follow links to old ftp server to download it.
Title: Snapshots
Post by: Numsgil on April 29, 2005, 05:43:40 PM
Darwinbots.com requires you to change the index.html file manually.  I just haven't set up (don't know how) the FTP to do it automatically.
Title: Snapshots
Post by: PurpleYouko on April 29, 2005, 06:20:03 PM
It worked OK for other stuff that I uploaded.
Title: Snapshots
Post by: Numsgil on April 29, 2005, 07:44:29 PM
I don't know then...

Try linking to it directly.
Title: Snapshots
Post by: PurpleYouko on April 29, 2005, 10:43:29 PM
I was having a bunch of trouble logging into it for a while too