Code center > Bug reports

My evobots don't work in 2.43r RESOLVED (BY DESIGN)

<< < (2/2)

Numsgil:
Try deleting any logic operators.  Anything that's an and, or, xor, not, >, <, =, !=, >=, <=, ~=, %=, etc. etc.

EricL:
I am almost positive it is the new conditional paradym.  When I look at the evolved DNA of your bots, as see lines like:

 -5 17 >

in the gene body.  That is, following a start but before other commands which store to memory.  Where before lines such as the above were ignored, under the new paradym, they are exectued and the result - in this case False - impacts whether the following stores happen or not.  In this case, they will not.

As Nums says, you can preserve your bots and restore their functionality under the new paradym by removing any and all logic operators between start and end (or the end of the DNA.  Below is an attempt of mine to do so using one of yoru bots in the sim.  It seems to do much more in 2.43s than the original ChainBot did.

start
 dist 26
 -12 1 sqr inc
 -- mod
 -5 17
 floor angle rnd store
 sub mult 1 add .sx store
  start
 &
 *14 angle | *345
 1 | store
 | 3 floor dist & *.dn 481 -
 6 ~ store
 store
 6 rnd div 10 ceil ^ add 1
 *.up dec
 dec
 dist 18 ++ store
 1 mult 10 start
 *.up *.hitsx mult
 1
 & pow angle store
 add - floor .setaim store
 .up inc
 angle --

Testlund:
Ok, thanks. I see you have removed anything that is before a start command. If I do that with my tiebot there won't be much DNA left because it has a start command near the end of it's DNA. I'll try just removing the logic operators Nums mensioned in my tiebot to see how it turns out.

Navigation

[0] Message Index

[*] Previous page

Go to full version