Code center > Bugs and fixes
Another strange behavior
Testlund:
But if you look at the zerobots you will find they have different levels of energy in them and no dna instruction telling them to reproduce if energy reaches a certain level. I whould expect them to reproduce more randomly. For instance I've been running the sim through the whole night and not a single bot has reproduced. With all the random mutations going on in the sim I don't understand how this can be. So I have two choices here: Either let it continue like this forever or turn off the sun treshold and let in a swarm of energy causeing a cancerous reproduction and slow down of the sim to a freeze.
EricL:
When I look at the zerobots in the sim you posted, I can't find any that have reproduced at all. The Best Bot has no offspring. Perhaps the reproducers you evolved are now dead and could not survive without the steady stream of nrg shots from the veggies, which stopped when the sun went down. Stopping all the nrg shots but makign the sun go down is a drastic environmental change. If yoru zero's evolved in a sim with lots of free nrg shots that suddenly dry up, it's not surprising that they should all die off. The ones that remain are mutants that have lost the reproduction capability.
When I turn on the sun, your veggies start shooting as expected but no one suddenly starts reproducing.
When I add a bot such as Animal Min. it reproduces fine with the sun on or off.
Sorry, but I don't see a bug in the sim you posted. I see a stagnant sim with zerobots that don't know how to reproduce.
Testlund:
Try this one then. Here I just loaded the sim, went into the ui and unchecked "Sun goes down if nrg >" and clicked "change". After just a few seconds the number of bots changed from 55 to 56. Here I save the sim, zip it and upload it here. If the bots don't continue to reproduce when you load it then we have a force major or a devil in my computer.
Testlund:
And it gets even more weird. just started a new sim with only 10 NRG Providers and 10 zerobots. After just 3000 cycles I had over 40 zerobots, but their DNA is all 0's.
EricL:
Okay, here is what happening.
Your bots are reproducing through altzheimers. Your waste threshold is set at 400. When a bot's waste level exceeds this, the altzheimers routine writes random stuff to the bot's memory, occasionally hitting .repro or .mrepro and they reproduce.
Bot 344 (lower right quadrant) is positioned right in the sights of a veggy. With the sun off, it's waste level is below 400 but when you turn on the sun, it gets a mouth full of nrg shots, a small percentage of which goes to waste. The threshold is exceeded, altzheimers kicks in and it is the first to reproduce and does so several times over the next few 100 cycles.
This is why turning off the sun appears to stop reproduction and why your bots can reproduce without DNA to do so. It's all about waste as a side effect of absorb ing nrg shots from the veggies.
It's not a bug, its a feature!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version