Author Topic: Fertilized seems to be broken RESOLVED 2.43.1j  (Read 2961 times)

Offline Peksa

  • Bot Destroyer
  • ***
  • Posts: 118
    • View Profile
Fertilized seems to be broken RESOLVED 2.43.1j
« on: April 21, 2008, 06:29:32 AM »
I'm trying to get an evosim going with sexrepro but .fertilized doesn't seem to work. At first I thought it had something to do with a bot being hit with multiple -8 shots at once but that doesn't seem to be the case. The bots in the sim are designed to reproduce pretty much conditionlessly.

Edit: wrong version in the topic
« Last Edit: April 21, 2008, 10:21:58 AM by EricL »

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Fertilized seems to be broken RESOLVED 2.43.1j
« Reply #1 on: April 21, 2008, 10:21:30 AM »
Found it.  Had an off-by one error that manifested itself in cases where sexual reproduction is attempted but unsucessfull, such as when there is no physical room for the mother to reproduce.  Now I zero out .fertilized only if reproduction is actually sucessful.

Fixed in 2.43.j
Many beers....

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Fertilized seems to be broken RESOLVED 2.43.1j
« Reply #2 on: April 21, 2008, 10:35:27 AM »
While I'm in this code, do people have a preference on multiple births from the same fertiliziation event?  I could go either way: either zero out .fertilized and remove the sperm DNA when sexual reproduction is successful or leave it and allow the mother the option to potentially produce up to 10 offspring, one per cycle from the same sperm DNA?  Current code is the former.
Many beers....

Offline Peksa

  • Bot Destroyer
  • ***
  • Posts: 118
    • View Profile
Fertilized seems to be broken RESOLVED 2.43.1j
« Reply #3 on: April 21, 2008, 01:19:25 PM »
Thanks!

I believe the bot's should be able to have multiple births. They have always the choise not to use .sexrepro, even if they're fertilized. Also, there is no limit on .repro either.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Fertilized seems to be broken RESOLVED 2.43.1j
« Reply #4 on: April 21, 2008, 01:24:16 PM »
What I would like to see is a bot store multiple sperm shots and use one per birthing event.  That way some sort of English major virgin/whore/mother metaphor bot could solicit lots of sex during a whore phase, then produce those children during its mothering phase.