Author Topic: Gene structure RESOLVED (NO REPRO)  (Read 2933 times)

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Gene structure RESOLVED (NO REPRO)
« 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:
Quote
''''''''''''''''''''''''  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.
« Last Edit: January 12, 2008, 01:51:29 PM by EricL »
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Gene structure RESOLVED (NO REPRO)
« Reply #1 on: January 10, 2008, 04:10:36 PM »
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.
« Last Edit: January 10, 2008, 04:12:04 PM by EricL »
Many beers....

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Gene structure RESOLVED (NO REPRO)
« Reply #2 on: January 10, 2008, 06:40:23 PM »
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.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline googlyeyesultra

  • Bot Destroyer
  • ***
  • Posts: 109
    • View Profile
Gene structure RESOLVED (NO REPRO)
« Reply #3 on: January 10, 2008, 07:31:22 PM »
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.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Gene structure RESOLVED (NO REPRO)
« Reply #4 on: January 12, 2008, 01:52:11 PM »
Resolved no repro for now.  Please re-open if you see this again.
Many beers....