Author Topic: Overflow error  (Read 3113 times)

Offline Beanspoon

  • Bot Neophyte
  • *
  • Posts: 26
    • View Profile
Overflow error
« on: March 15, 2013, 10:24:39 AM »
Hi,
I've recently evolved a few bots able to reproduce sustainably, so I extracted their DNA and started a new sim with just those.  After about 10-20 mins the simulation crashes, giving and overflow error.  When I re-open the error.sim file however, I can carry on running the sim for another 10-20 mins before it gives the same error again.  Does anyone know what might be causing this?

This is run using 2.45.01.  When I tried with 2.45.02 the overflow error happens immediately on reloading error.sim.

The file is attached.

Thanks!

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Overflow error
« Reply #1 on: March 15, 2013, 01:30:52 PM »
Try this version (This is my secret work in progress version  8) don't tell others yet)

The error was caused by the fact that you set point mutations to '500000' apparently the program was unable to handle that kind of setting.
« Last Edit: March 15, 2013, 01:37:06 PM by Botsareus »

Offline Beanspoon

  • Bot Neophyte
  • *
  • Posts: 26
    • View Profile
Re: Overflow error
« Reply #2 on: March 15, 2013, 02:34:10 PM »
Ah cool- thanks very much! I'll keep it secret  ;)
I feel like I should get involved with the coding- I've got experience with quite a few languages, including VB. is there any call for more coders?

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Overflow error
« Reply #3 on: March 15, 2013, 02:40:58 PM »
It will help if you can figure out how to implement this:

http://forum.darwinbots.com/index.php/topic,3671.0.html

Don't bother with the EricL I like Numsgils idea better because it will also solve the genetic distance problem.

Just send me the code when you done, so I can look it over before submission.

A warning: Most problems left to solve for DBII are very logically intensive, I hope you can handle it.
« Last Edit: March 15, 2013, 02:45:28 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Overflow error
« Reply #4 on: March 15, 2013, 02:48:36 PM »
Here is another post where I describe a fix I had in mind to make your life easier if you consider it:

http://forum.darwinbots.com/index.php/topic,3701.msg1384628.html#msg1384628