Darwinbots Forum
Code center => Bugs and fixes => Topic started by: Panda on July 15, 2010, 08:59:39 AM
-
I have noticed a problem... I don't know what it is that isn't working but it is something to do with delgene...
*.genes *.genes *.thisgene sub - 1 add 0 floor sub .delgene store
Check the maths out on that and it should work, it does for a part of it... but it does not delete any gene before *.thisgene. The same happens with... *.thisgene 1 sub sgn 1 sub abs 2 mult *.thisgene 1 sub sgn add .delgene *.genes 1 sub sgn mult store
check the maths on there as well. It should work perfectly. It is something to do with the program... If you want any more details, ask. :) ;p
PS: It only seems to do it with this bot. http://pastebin.com/raw.php?i=8aZxjFHd (http://pastebin.com/raw.php?i=8aZxjFHd)
-
I didn't find the problem, it just avoided it by putting the antivirus at the end of the gene. :)