Darwinbots Forum
Code center => Bugs and fixes => Topic started by: shvarz on January 10, 2008, 02:31:32 PM
-
Not sure if this is the same problem that is described in EndGene bug topic, but the following DNA is not interpreted consistently:
'''''''''''''''''''''''' Gene: 5 Begins at position 42 '''''''''''''''''''''''
cond
*.robage 1000 >
*.shell 10000 <
stop
'''''''''''''''''''''''' Gene: 5 Ends at position 49 '''''''''''''''''''''''
1 .mkshell store
stop
'''''''''''''''''''''''' Gene: 6 Begins at position 54 '''''''''''''''''''''''
cond
*.robage 30 <
start
30 .up store
stop
'''''''''''''''''''''''' Gene: 6 Ends at position 62 '''''''''''''''''''''''
It appeared as a mutation in the gene 5 where a start command was mutated into stop command, splitting gene 5. There are no other shell-making genes in the bot. The gene 5 still works even though it is split in this way. All bots with this gene have 10000 shell units.
-
It's not the same issue as the EndGene() bug.
I cannot reproduce this. Testing a bot with just the DNA above works correctly (I.e. no shell is made) and I can find no issues in the code which could cause this from a manual code inspection. Can you please post the sim and indicate the specific bot(s) where this is happening? Thanks.
-
Shoot, I did not save! And autosave did not have any saves near that time either. Now all those bots are dead... Never mind. I'll let you know if I see it again, but forget it for now.
-
The bots probably had a large amount of shell already built up before they mutated. Half of your shell is passed to your children (or however much you put in repro), so a whole line of non-shell making bots could still have lots of shell.
-
Resolved no repro for now. Please re-open if you see this again.