Author Topic: Bugs in 2.42.5  (Read 11620 times)

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
Bugs in 2.42.5
« Reply #15 on: June 07, 2006, 02:36:08 PM »
Quote from: shvarz
I think there is no need to overload the program with options.  At some point we should just decide on the best idea and go with it.  A logical approach for me would be to load default settings on start-up as this is sort of the point of having default settings.  The only time I would want last used settings is if a program crashes.  And I would want a reminder at startup that the settings that were loaded are "last used".  

What do you think?

Personally, I prefer it to load default.set each time it starts
And good point, what is the point in default settings if you don't use them?

Anyone disagree with that?
« Last Edit: June 07, 2006, 02:38:20 PM by Elite »

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Bugs in 2.42.5
« Reply #16 on: June 07, 2006, 03:03:25 PM »
The reason for loading "last used" settings after crash is two-fold.  One, it is easier to track bugs that way and two - I like to tweak settings a lot step by step and I don't like saving them after each tweak just to make sure that I have them in case of crash.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Bugs in 2.42.5
« Reply #17 on: June 07, 2006, 10:16:22 PM »
I really prefer the load last settings.  It makes numerous things much easier for me, as there tends to be alot of coherence between simulations I run.
 
 Default.set is useful to load if you ever get a weird GUI setting somewhere and want to start from a known good setting.  Also, occassionally (rarely) something screwy happens and lastexit.set might not get loaded.
 
 It wouldn't be hard to create some kind of ini file for the program that stores these sort of long reaching preferences.  We could add a "show splash screen at start" toggle as well.

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Bugs in 2.42.5
« Reply #18 on: June 08, 2006, 12:18:39 AM »
The sanpshot routine is messed up in this version too. It makes files with incorrect formatting.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
Bugs in 2.42.5
« Reply #19 on: June 08, 2006, 07:42:01 AM »
Ouch, I'm getting tons of errors coming up when I try to load Eric's ex nihlo sim file, ending in a program-crashing overflow

It gives the following errors:

"Error while loading sim. Invalid procedure call or argument"

"File already open.  Path: C:\...\Alga_Minimalis.txt is not a valid robot"

Sim starts, but a couple of seconds later ...

"Error. Overflow. Saving sim in saves directory as error.sim"

"Error while loading sim. Object variable or With block variable not set"

"Error while loading sim.  ."

"Error while loading sim. Resume without error"

The sim resumes, but is frozen and I can't get it to unpause

If I click the cycle button ...

"Run-time error '6': Overflow"

Program spontaneously exits

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Bugs in 2.42.5
« Reply #20 on: June 08, 2006, 06:36:11 PM »
FYI, I'm starting to work on the bugs identified in this thread.

Elite's issue with loading my evo sim was a corruption in the uploaded file itself when it was uploaded to the forum.  I have re-uploaded the sim here.  Not a bug.

Testlund's corrupted save and Elite's overflow when using "transitory fluid" are the same issue, an overflow error in SphereCD().

Testlund's jumping bot and veggy counters were an issue with event handling updating the tray before the calculations had completed.

Shvarz's issue with snapshot saves and loads of robots was a problem in the hash checksum routine.

More details on these fixes can be found here.

I will continue working on the rest of the bugs.

A buddy drop with these and a few other fixes is attached.
« Last Edit: June 09, 2006, 01:43:37 AM by EricL »
Many beers....

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Bugs in 2.42.5
« Reply #21 on: June 08, 2006, 06:46:41 PM »
Good to see such quick feedback and fixes.  Just want to clarify that I had a problem with snapshot, not with loading robot files.  That's the button with the camera on it - it exports DNA of all bots in the sim in a single file in comma-delimited format for future analysis within Excel for common genotypes.  That does not work (although I have not tried the new version 2.42.6 yet)
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Bugs in 2.42.5
« Reply #22 on: June 08, 2006, 06:51:10 PM »
Quote from: shvarz
Good to see such quick feedback and fixes.  Just want to clarify that I had a problem with snapshot, not with loading robot files.  That's the button with the camera on it - it exports DNA of all bots in the sim in a single file in comma-delimited format for future analysis within Excel for common genotypes.  That does not work (although I have not tried the new version 2.42.6 yet)
AH, got it.  Thanks.  I was confused as the bot save routine is actually called... Snapshot.     I'll take a look at the uber export feature shortly.
Many beers....

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Bugs in 2.42.5
« Reply #23 on: June 08, 2006, 07:50:29 PM »
Quote from: EricL
A buddy drop with these and a few other fixes is attached.

I'm afraid your upload has been corrupted, Eric. I can't unzip it. Get a crc error.  
« Last Edit: June 08, 2006, 07:57:55 PM by Testlund »
The internet is corrupt and controlled by criminally minded people.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Bugs in 2.42.5
« Reply #24 on: June 08, 2006, 08:11:58 PM »
Quote from: Testlund
I'm afraid your upload has been corrupted, Eric. I can't unzip it. Get a crc error.  
Try it now.  I re-uploaded and tested that the upload is okay.  Somewhere along the line, something is dropping packets or something...

Note I'm still chasing a timing dependent bug in this build.  It won't fail for me under VB (yet) but the naked exe gets an overflow occasionally....
« Last Edit: June 08, 2006, 08:12:46 PM by EricL »
Many beers....

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Bugs in 2.42.5
« Reply #25 on: June 08, 2006, 09:59:52 PM »
I can't get it to work. I've tried downloading it several times now. I still get a CRC error and the file won't unzip.
The internet is corrupt and controlled by criminally minded people.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Bugs in 2.42.5
« Reply #26 on: June 09, 2006, 01:44:33 AM »
Lets try a new post then...

Edit:  Just verifed this one works for me...
« Last Edit: June 09, 2006, 01:45:30 AM by EricL »
Many beers....

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Bugs in 2.42.5
« Reply #27 on: June 09, 2006, 08:57:09 AM »
Didn't try the earlier one but the new one dowloads and unzips perfectly for me  
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Bugs in 2.42.5
« Reply #28 on: June 09, 2006, 10:26:28 AM »
Yes, now it worked! :-)
The internet is corrupt and controlled by criminally minded people.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Bugs in 2.42.5
« Reply #29 on: June 09, 2006, 11:46:10 AM »
And I found a bug in it already  

It's only a minor one though.

In the console where the program lists the genes that have been activated, it's listing the wrong genes.

My test bot is Destinatus preliator. Evolution is disabled, as is altzheimers (as for some reason DP doesn't get rid of his waste in this version). All other settings are default.

The console says that gene 19 is being executed on each cycle whereas it is actually gene 18 that is really running.
The same 1 gene offset is present all the way down the list.

Now back to why the waste isn't going away  
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D