Darwinbots Forum
Code center => Bugs and fixes => Topic started by: Numsgil on December 17, 2007, 10:27:43 PM
-
Watch this sim run. There's a single infected bot, lots of stupid veggies, and a single smart veggy with apoptosis (it kills itself if it detects infection). After a while an equilibrium is reached between the apoptosis veggy and the dumb veggy repoping.
Until, after just a few seconds running, an immortal bot appears. An apoptosis veggy with a viral infection, attempting to kill itself, yet not only not dying, but growing! It doesn't spread the virus either, but I'm having a hard time deciding if this is because all the bots with this immortality have the virus inserted before the apoptosis gene, or if similar immortal bots are killed producing new viruses. You can tell these immortals because they're the only ones shooting.
-
Another bug in that same sim: let it run for a few minutes. Check on a couple of the immortals. They seem to occasionally get animal minimalis genes. Why?
-
Hmmm. I don't see any immortals. They all seem to die. But I don't have the SlimeMaker.txt bot file, so I cancel the opne dialog and it doessn't get repopulated, only Alga Min gets repopulated....
Are you maybe overlooking that repopulation chooses between all veggies now?
-
Hmmm. I don't see any immortals. They all seem to die. But I don't have the SlimeMaker.txt bot file, so I cancel the opne dialog and it doessn't get repopulated, only Alga Min gets repopulated....
Here's slimemaker:
'Slime prevent virus
'start
'50 *.slime sub 0 floor .mkslime store
'stop
'apoptosis when infected:
start
*50 0 = *.dnalen 50 store
*50 *.dnalen != *.nrg 99 mult 100 div .shootval store
-2 .shoot store
0 .mkvirus store
1000 .mkslime store
1000 .strvenom store
1000 .mkshell store
1000 .mkpoison store
stop
Are you maybe overlooking that repopulation chooses between all veggies now?
Nope, I got that taken in to account. Still seems funny.
-
Hm I also once tried to fire large amounts of energy in order to kill a bot and it shoot only small amounts no idea why it does that.
Also for the other stuff might have to do something with
http://www.darwinbots.com/Forum/index.php?showtopic=2387 (http://www.darwinbots.com/Forum/index.php?showtopic=2387)
There is an inconsitency in the counting of genes for different sysvar
P.S.: its funny when one of the immortals is constantly feeding a virus infected bot making it stay alive
-
P.S.: its funny when one of the immortals is constantly feeding a virus infected bot making it stay alive
My thoughts too. The irony is a little thick.
Oh, and Eric, I wrote this topic late last night, so I was being a little facetious. The bug isn't really that the bots are immortal. If you give them 0 nrg per cycle, they'll die like they should. The bug is that the apoptosis gene seems to work only most of the time. It should either work all of the time or not at all, right?
The immortals seem to shoot out all of their nrg down to like 3 or 4 every cycle, then gain that nrg back as veggies. But that remaining nrg should be more than used to build 1000 slime, shell, poison, venom, etc.
-
bump to bring open bug to first page