Author Topic: Crash  (Read 3218 times)

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Crash
« on: December 05, 2006, 11:28:36 AM »
If you are looking at "info" for a bot and the bot dies, then clicking on the "DNA" completely crashes the program.  Also, "age costs" don't work for me - I set them as:
1 per cycle
begins upon reaching 1000
Once cost begins being applied:
Increase(log-blah-blah)

This leads to "division by zero" almost immediately and then complete crash.

I am using 2.42.9
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Crash
« Reply #1 on: December 05, 2006, 12:44:10 PM »
The show DNA crash is a clear missing check for the bot with the focus still existing.  Fixed in 2.42.9j.

I can't reproduce the aging costs issue.  I use it all the time without problems.  Could I ask you to post your sim?

Thanks.
Many beers....

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Crash
« Reply #2 on: December 05, 2006, 01:14:31 PM »
Sim attached.

Here is another bug that's been bugging me forever:

Zoom into you simulation.
Select a bot.
Without deselecting this bot click somewhere else and drag the screen around.
The selected bot is moved to where your mouse is now.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Crash
« Reply #3 on: December 05, 2006, 01:48:14 PM »
Got it.  I recently changed the way the age cost works so that the amount the log(n) option increases is based upon the age of the bot beyond the number of cycles where the cost begins instead of the bot's total age I.e. log (bot age - starting point).  I neglected to update the check to insure that log(0) is not being performed, which is what is occuring in the current code when the bot's age equals the starting point.  

Fixed in 2.42.9j.

I will also see what I can do about the bot move issue.
Many beers....

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Crash
« Reply #4 on: December 05, 2006, 03:01:16 PM »
FYI, the bot move issue is addressed in 2.42.9j.
Many beers....

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Crash
« Reply #5 on: December 05, 2006, 04:13:48 PM »
You rock!

 
"Never underestimate the power of stupid things in big numbers" - Serious Sam