[attachment=308:attachment]Okay, I found this one. What a royal fricking pain in the butt tracking this one down has been.
So, the issue is that some of the bots in Testlund's sim have really wacky mutation means and standard deviations, like -1 X 10 ^20. My assumption is that this happened when this sim was saved prior to 2.42.5 and then re-loaded or when specific bots were so saved. A long value paremter in ChangeDNA() was overflowing when a super large Single was being passed to it from PointMutation(), the result of the wacky point mutation probability values.
The reason it only occurred in the EXE and not in the VB IDE probably has to do with the IDE using different calling conventions or having some sort of underlying implicit Single to Long aliasing scheme.
Anyway, In 2.42.6, I've added some sanity checking for both the Gauss routine (which consumes these parameters to determine the mutation length) as well as in the sim file load routine itself. If you load a pre 2.42.5 saved sim (or any other sim) and the mutation values are way out of wack (negative or over 32000) then I set the mutation mean and standard deviation to the default values. This way, old sims should run okay even if they were saved with mucked up values.
Whew. This one was really bugging me.
Testlund, attached is your sim, saved without mutation details and with the default mutation values. Hopefully, it uploaded okay.
By the way, you owe me a beer.