Author Topic: Version 2.44.04 Delete Species  (Read 4217 times)

Offline Tj3

  • Bot Neophyte
  • *
  • Posts: 39
    • View Profile
Version 2.44.04 Delete Species
« on: March 20, 2010, 08:23:38 AM »
When you try to set up a sim in DB 2.44.04, and you want to delete a species from the list of species, something weird happens. If the species selected is not the last item on the list, it gets deleted, and it's fine. If it is the bottom one, DarwinBots crashes with this error:
Quote
Run-time error '380':
Invalid property value
« Last Edit: March 20, 2010, 08:25:27 AM by Tj3 »

Offline Houshalter

  • Bot Destroyer
  • ***
  • Posts: 312
    • View Profile
Version 2.44.04 Delete Species
« Reply #1 on: March 20, 2010, 11:33:10 AM »
I have the same problem. I just learned to live with it by starting the species I couldn't delete with zero starting bots.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Version 2.44.04 Delete Species
« Reply #2 on: March 20, 2010, 03:36:09 PM »
Can you post a settings file that I can use to repro this bug?  I fixed a bug where deleting a species when the species list was empty would crash the sim, so maybe I introduced this one on accident.

Offline Tj3

  • Bot Neophyte
  • *
  • Posts: 39
    • View Profile
Version 2.44.04 Delete Species
« Reply #3 on: March 20, 2010, 04:01:44 PM »
When it crashes, there is no error.sim. I think it's because the sim doesn't start.
To reproduce it, just add 2 or more species, then try to delete the last one on the list.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Version 2.44.04 Delete Species
« Reply #4 on: March 20, 2010, 04:28:43 PM »
I was able to repro it.  Weird, I specifically checked this when I fixed another bug.

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
Version 2.44.04 Delete Species
« Reply #5 on: March 20, 2010, 09:10:18 PM »
Sounds like the error you get when you try load a species and cancel, and you're left with a blank bot that you have to go back and remove from the list...
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan

Offline Houshalter

  • Bot Destroyer
  • ***
  • Posts: 312
    • View Profile
Version 2.44.04 Delete Species
« Reply #6 on: March 20, 2010, 10:50:46 PM »
Also when you try to save and cancel it crashes. I guess it really doesn't like cancelling/deleting things.

Offline Ammeh

  • Queen of the Internets
  • Bot Destroyer
  • ***
  • Posts: 169
    • View Profile
Version 2.44.04 Delete Species
« Reply #7 on: March 21, 2010, 01:36:32 PM »
while we're at it, clicking load sim, then clicking cancel shows the message "Cancel selected" and ends the program.

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
Version 2.44.04 Delete Species
« Reply #8 on: March 22, 2010, 12:39:35 AM »
Evil AIs get touchy when you don't do as they want you to...
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan