Author Topic: Zerobot Sim Help  (Read 5578 times)

Offline Rent-2-Pwn

  • Bot Neophyte
  • *
  • Posts: 9
    • View Profile
Zerobot Sim Help
« on: June 17, 2007, 05:32:05 PM »
Hi guys, I'm new to DarwinBots but I've been reading the forums for a while and have a basic understanding of how it works.

I recently started a zerobot sim but I'm having a little trouble. From what I understand it usually takes 10-15M cycles for a repro to show but mine has been running for 23M and none of the bots are showing any sign of intelligent anything, and no reproducers yet.

Did I do something wrong or is it just gonna take longer?

The sim is attached.
« Last Edit: June 17, 2007, 08:04:39 PM by Rent-2-Pwn »

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
Zerobot Sim Help
« Reply #1 on: June 17, 2007, 07:19:46 PM »
Randomness is still an unpredictable factor. No two sims are equal.  

I'd try to go to the species tab, and cut by 10 or 100 the copy mutation rate of the zerobot.

If you aren't going to manually reproduce and kill the bots until you get an autoreplicator, cut down the point mutations too. It won't harm them much when they are just developing the first genes.
Sometimes you win, and sometimes you lose...

Offline Rent-2-Pwn

  • Bot Neophyte
  • *
  • Posts: 9
    • View Profile
Zerobot Sim Help
« Reply #2 on: June 17, 2007, 08:02:55 PM »
Ok, I cut down the point and copy mutations.

A bunch have died from ones that develop random movement/shooting. =[

What's the best way to teach them how to move/hunt after they start replicating?

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Zerobot Sim Help
« Reply #3 on: June 18, 2007, 12:39:44 AM »
The most effective method is to introduce very subtle costs once a replicator gets going.  Your initial population will either evolve to survive it or die off (you'd need to start from an earily save and try again).  Then you keep jacking the costs up, being careful not to drive the bots to extinction (dynamic costs are good for this, but you run the risk of the bots learning to game the system).

Now, you can't really control how the bots are gaining energy.  The idea is just to encourage them to find some way of surviving by killing the ones that don't.  Surprisingly (or not, depending on your background) bots can learn to do some rather neat, if still primitive, things.  Such as turning, moving, and firing at the same time.  I don't think anyone's managed to develop a population that does more than that yet, though.  No real intelligent behavior yet (like hunting down something it sees).

Interestingly, it's more common to see viruses develop and act as the primary vector for evolution.  The simplest viruses methodically twiddle different memory locations, causing all sorts of random behavior such as reproduction, creating and firing viruses, shots, etc.  I think you're going to find this to be the primary route your simulation will take to adapt to your changes, because it allows for rapid adaptation.
« Last Edit: June 18, 2007, 12:40:44 AM by Numsgil »

Offline Rent-2-Pwn

  • Bot Neophyte
  • *
  • Posts: 9
    • View Profile
Zerobot Sim Help
« Reply #4 on: June 18, 2007, 12:57:35 AM »
Well I just got an error =/

Error. Division by zero. Saving sim in saves directory as error.sim.

What happened there?

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Zerobot Sim Help
« Reply #5 on: June 18, 2007, 10:27:17 AM »
Post the error.sim, it seems you've managed to find a way to crash the program, congratulations!

Offline Rent-2-Pwn

  • Bot Neophyte
  • *
  • Posts: 9
    • View Profile
Zerobot Sim Help
« Reply #6 on: June 18, 2007, 04:49:25 PM »
Haha alrighty then.

56million cycles and still no replicator. If one doesn't come soon I'll probably restart it and hope for one next time.

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
Zerobot Sim Help
« Reply #7 on: June 19, 2007, 02:36:27 PM »
Note: Species mutation rates are to be changed before running the sim.

Also, your zerobots will evolve faster if you start with 400-500 zeros no less.
Sometimes you win, and sometimes you lose...

Offline Rent-2-Pwn

  • Bot Neophyte
  • *
  • Posts: 9
    • View Profile
Zerobot Sim Help
« Reply #8 on: June 19, 2007, 05:01:36 PM »
Sim restarted.

DNA length is now 601 with all zeros.

Mutation multiplier is at 2x.

Lets see how she goes.

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
Zerobot Sim Help
« Reply #9 on: June 19, 2007, 11:51:13 PM »
Good luck!
Sometimes you win, and sometimes you lose...

Offline Rent-2-Pwn

  • Bot Neophyte
  • *
  • Posts: 9
    • View Profile
Zerobot Sim Help
« Reply #10 on: June 21, 2007, 06:09:17 PM »
24 million cycles in and it says I have 94 born, can't figure out which ones are replicators though.

Only have 19 bots alive.

Some have developed ties.

EDIT: 25 mil cycles with 262 born. 20 bots alive.
« Last Edit: June 21, 2007, 06:41:11 PM by Rent-2-Pwn »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Zerobot Sim Help
« Reply #11 on: June 22, 2007, 10:06:12 AM »
It might be counting bots that are being repopulated as "birthed".

Offline Rent-2-Pwn

  • Bot Neophyte
  • *
  • Posts: 9
    • View Profile
Zerobot Sim Help
« Reply #12 on: June 22, 2007, 10:27:57 AM »
Yeah I think it was. The bots had a recent explosion of reproducing goodness and activity until it all got messed up. See my thread in bug reports.