46
DNA - General / Self Inflicting Virus
« on: November 27, 2006, 07:38:04 PM »Quote from: Numsgil
Welcome. DNA takes a bit of practice, but you should be able to pick it up fairly quickly.
The problem is that you replaced code in the wrong places. The first gene is the one that fires the virus. The second one is the actual virus. Here's what I think you meant to do:
That should do what you want (just replace the 2nd and 3rd genes in your bot with these.
This is a little more stable against viruses infecting your own bots:
Thank you, it makes more sense now.
Sorry if this is a really stupid question, but how do you change values to make the virus fire after you have started a simulation and the virus has been generated?