Code center > Bugs and fixes

Delgene

(1/1)

Panda:
I have noticed a problem... I don't know what it is that isn't working but it is something to do with delgene...
--- Code: ---*.genes *.genes *.thisgene sub - 1 add 0 floor sub .delgene store
--- End code ---
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...
--- Code: ---*.thisgene 1 sub sgn 1 sub abs 2 mult *.thisgene 1 sub sgn add .delgene *.genes 1 sub sgn mult store
--- End code ---
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

Panda:
I didn't find the problem, it just avoided it by putting the antivirus at the end of the gene. :)

Navigation

[0] Message Index

Go to full version