Darwinbots Forum

Code center => Bugs and fixes => Topic started by: Schigum on January 12, 2007, 02:25:44 PM

Title: Crash with 2.42.9t
Post by: Schigum on January 12, 2007, 02:25:44 PM
Sim crashed with an "Error. Überlauf. Saving sim in saves directory as error.sim".
Hope it's not a problem I zipped it with Winrar, but the filesize is way better...

Edit: Mh, no rar-file allowed  , well, then the bigger one:
Title: Crash with 2.42.9t
Post by: EricL on January 12, 2007, 02:51:38 PM
Nice find.  Using a shot energy proportion of 200% allows body shots released as a result of a body feeding shot to potentially contain more than 32000 nrg.  An overflow check was in the wrong place in newShot().

Fixed in 2.42.9u.  If you want to run in the meantime, don't use a shot energy proportion over 100%.