Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - MysticalDumpling

Pages: 1 2 [3] 4
31
F2 bots / Christian(F2)(MysticalDumpling)8.3.14
« on: March 08, 2014, 11:50:11 AM »
This is the first in my religion-named bots. It is reasonably effective- the larger the sim, the better it can retreat
Code: [Select]
'Has anti-chameleon conspec (checks if in1/out1= and in2/out2 != a 1/31000 chance of failure)

'--------Quickdraw baby booms- Moonfisher--------
start
50 .repro store
341 .aimsx store
500 .dn store
500 .dx store
*.thisgene .delgene store
stop

start
50 .repro store
341 .aimsx store
500 .dn store
500 .dx store
*.thisgene .delgene store
stop

start
50 .repro store
341 .aimsx store
500 .dn store
500 .dx store
*.thisgene .delgene store
stop

'----Fixpos and Ties----
start
.fixpos dec
*.myeye *.trefeye =
.deltie inc
stop

'-------- Eyes & Junk---------
cond
*.robage 0 =
start

-436 .eye9dir store
-327 .eye8dir store
-218 .eye7dir store
-109 .eye6dir store
 109 .eye4dir store
 218 .eye3dir store
 327 .eye2dir store
 436 .eye1dir store
109 .eye1width store
109 .eye2width store
109 .eye3width store
109 .eye4width store
109 .eye5width store
109 .eye6width store
109 .eye7width store
109 .eye8width store
109 .eye9width store

10 .out1 store
*.out1 .tout1 store
31000 rnd .out2 store
*.out2 .tout2 store

.eye9 .ploc store
1000 .pval store
stop

'---------Aiming, Movement, and Veggie "Hunting"----------

'Turn towards things
cond
*.in1 *.out1 !=
*.out2 *.in2 =
or
*.eyef 0 >
and
start
*.refxpos *.refypos angle .setaim store
stop

'Move away from anything dangerous approaching me
cond
*.in1 *.out1 !=
*.in2 *.out2 =
or
*.refkills 0 >
*.eyef 0 >
*.refvelup 0 >
start
*.refvelup 10 add *.maxvel ceil .dn store
stop

'Move towards prey
cond
*.in1 *.out1 !=
*.refkills 0 =
*.eyef 0 >
*.eyef 30 <
start
*.refveldx .dx store
*.refvelup abs 30 add *.maxvel ceil .up store
stop

'Shoot and link
cond
*.in1 *.out1 !=
*.out2 *.in2 =
or
*.refkills 0 =
*.eyef 0 >
*.eyef 30 >=
start
*.refveldx .dx store
-6 .shoot store
.tie inc
stop

'Force target to share (no, it's not tie-feeding!)
cond
*.tin1 *.tout1 !=
*.tout2 *.tin2 =
or
*.numties 0 !=
and
start
*.tiepres .tienum store
*.trefxpos *.trefypos angle .setaim store
.tieval .tieloc store
1000 .tieval store
.fixlen1 inc
stop

'Boot shootval
cond
*.nrg 695 >
start
15 .shootval store
stop

cond
*.shflav -2 =
'start
*.shang .setaim store
stop

'-----Enemy Evasion-----

cond
*.shflav 0 !=
*.shflav -2 !=
start
*.shang .setaim store
*.maxvel .dn store
stop

cond
*.paralyzed 0 !=
*.poisoned 0 !=
or
start
0 .shoot store
0 .sexrepro store
0 .mrepro store
0 .fixpos store
0 .paralyzed store
0 .poisoned store
stop
 
'-----Adaptive Defences-----
cond
*.numties 1 >=
*.pain 100 >
start
*.tiepres .deltie store
*.nrg 1000 >
100 .mkslime store
stop

cond
*.shflav -2 !=
*.shflav 0 !=
start
*.shang setaim store
*.maxvel .dn store
0 .timer store

*.shflav -6 =
*.shflav -3 =
xor
*.nrg 3 div 10 ceil .mkshell store
.out3 inc
clearbool

*.shflav -1 =
*.nrg 3 div 10 ceil .strpoison store
.out4 inc
clearbool

*.shflav 0 >
0 .shoot store
0 .sexrepro store
0 .mrepro store
0 .fixpos store
stop

cond
*.shflav -2 =
*.shflav 0 =
xor
100 *.timer =
start
0 .out3 store
0 .out4 store
stop

cond
*.in1 *.out1 !=
*.in2 *.out2 =
or
*.nrg 1000 >
and
start
*.in3 0 >
*.in4 0 =
*.nrg 3 div 10 ceil .mkshell store
*.in4 0 >
*.in3 0 =
*.nrg 3 div 10 ceil .strpoison store
*.in3 *.in4 mult 0 !=
*.nrg 5 div 10 ceil .mkshell store
*.nrg 5 div 10 ceil .strpoison store
stop

'------Bodily Fluids------
cond
*.nrg 3000 >
start
*.poison 1000 <
20 .strpoison store
*.shell 1000 <
20 .mkshell store
stop

cond
*.body 80 >
start
50 .fdbody store
stop

cond
*.nrg 3000 >
*.robage 2 >
start
100 .strbody store
stop

cond
*.waste 100 >
start
.backshoot inc
*.waste .shootval store
-4 shoot store
stop

'-------Children Production---------
cond
*50 1 =
start
628 .aimsx store
0 50 store
stop

cond
*.nrg 1000 >
*.body 500 >
*.eye5 50 <
start
628 .aimsx store
50 .repro store
1 50 store
stop
 
'-----Aiming-----
'Change only if there is nothing noteworthy in current eyef
'Order: 9,1,8,2,7,3,6,4,5
cond
*.eyef 0 =
start
*.eye9 0 !=
9 .focuseye store
*.eye9 0 =
*.eye1 0 !=
1 .focuseye store
*.eye9 0 =
*.eye1 0 =
*.eye8 0 !=
8 .focuseye store
*.eye9 0 =
*.eye1 0 =
*.eye8 0 =
*.eye2 0 !=
2 .focuseye store
*.eye9 0 =
*.eye1 0 =
*.eye8 0 =
*.eye2 0 =
*.eye7 0 !=
7 .focuseye store
*.eye9 0 =
*.eye1 0 =
*.eye8 0 =
*.eye2 0 =
*.eye7 0 =
*.eye3 0 !=
3 .focuseye store
*.eye9 0 =
*.eye1 0 =
*.eye8 0 =
*.eye2 0 =
*.eye7 0 =
*.eye3 0 =
*.eye6 0 =
6 .focuseye store
*.eye9 0 =
*.eye1 0 =
*.eye8 0 =
*.eye2 0 =
*.eye7 0 =
*.eye3 0 =
*.eye6 0 =
*.eye4 0 !=
4 .focuseye store
*.eye9 0 =
*.eye1 0 =
*.eye8 0 =
*.eye2 0 =
*.eye7 0 =
*.eye3 0 =
*.eye6 0 =
*.eye4 0 =
*.eye5 0 !=
0 .focuseye store
clearbool
stop

cond
*.in1 *.out1 =
*.in2 *.out2 !=
and
start
10 .aimsx store
stop

cond
*.in1 *.out1 =
*.in2 *.out2 !=
and
*.eyef 0 =
start
100 .aimsx store
stop

'----Pack Motion----
cond
*.in1 *.out1 !=
*.refkills 0 =
or
*.eyef 0 !=
start
*.refxpos .out9 store
*.refypos .out10 store
stop

cond
*.in1 *.out1 =
*.in2 *.out2 !=
and
*.in9 *.in10 mult 0 =
start
*.in9 *.in10 angle .setaim store
stop

cond
*.eyef 0 =
*.in9 *.in10 mult 0 =
*.xpos *.in9 %=
*.ypos *.in10 %=
start
0 .out9 store
0 .out10 store
618 rnd .aimsx store
*.maxvel .dn store
stop

cond
*.in1 *.out1 =
*.in2 *.out2 !=
and
*.in9 *.in10 mult 0 =
start
*.in9 .out9 store
*.in10 .out10 store
stop

32
Mutations / Hybrid of the Wiki's tiefeeder tutorial bot and Flitter
« on: March 05, 2014, 04:26:28 PM »
Out of all of my demented hybrids (thanks to Botsareus), this one is by far the best. It both tie-feeds and shoots.
Code: [Select]
start
 -4 *.eye1 *.eye9 sub sgn 0 floor mult *.eye1 *.eye8 sub sgn 0 floor mult *.eye1 *.eye7 sub sgn 0 floor mult *.eye1 *.eye6 sub sgn 0 floor mult *.eye1 *.eye5 sub sgn 0 floor mult *.eye1 *.eye4 sub sgn 0 floor mult *.eye1 *.eye3 sub sgn 0 floor mult *.eye1 *.eye2 sub sgn 0 floor mult 4 *.eye9 *.eye8 sub sgn 0 floor mult *.eye9 *.eye7 sub sgn 0 floor mult *.eye9 *.eye6 sub sgn 0 floor mult *.eye9 *.eye5 sub sgn 0 floor mult *.eye9 *.eye4 sub sgn 0 floor mult *.eye9 *.eye3 sub sgn 0 floor mult *.eye9 *.eye2 sub sgn 0 floor mult *.eye9 *.eye1 sub sgn ++ sgn mult add -3 *.eye2 *.eye9 sub sgn ++ sgn mult *.eye2 *.eye8 sub sgn 0 floor mult *.eye2 *.eye7 sub sgn 0 floor mult *.eye2 *.eye6 sub sgn 0 floor mult *.eye2 *.eye5 sub sgn 0 floor mult *.eye2 *.eye4 sub sgn 0 floor mult *.eye2 *.eye3 sub sgn 0 floor mult *.eye2 *.eye1 sub sgn ++ sgn mult add 3 *.eye8 *.eye9 sub sgn ++ sgn mult *.eye8 *.eye7 sub sgn 0 floor mult *.eye8 *.eye6 sub sgn 0 floor mult *.eye8 *.eye5 sub sgn 0 floor mult *.eye8 *.eye4 sub sgn 0 floor mult *.eye8 *.eye3 sub sgn 0 floor mult *.eye8 *.eye2 sub sgn ++ sgn mult *.eye8 *.eye1 sub sgn ++ sgn mult add -2 *.eye3 *.eye9 sub sgn ++ sgn mult *.eye3 *.eye8 sub sgn ++ sgn mult *.eye3 *.eye7 sub sgn 0 floor mult *.eye3 *.eye6 sub sgn 0 floor mult *.eye3 *.eye5 sub sgn 0 floor mult *.eye3 *.eye4 sub sgn 0 floor mult *.eye3 *.eye2 sub sgn ++ sgn mult *.eye3 *.eye1 sub sgn ++ sgn mult add 2 *.eye7 *.eye9 sub sgn ++ sgn mult *.eye7 *.eye8 sub sgn ++ sgn mult *.eye7 *.eye7 sub sgn 0 floor mult *.eye7 *.eye6 sub sgn 0 floor mult *.eye7 *.eye5 sub sgn 0 floor mult *.eye7 *.eye4 sub sgn ++ sgn mult *.eye7 *.eye2 sub sgn ++ sgn mult *.eye7 *.eye1 sub sgn ++ sgn mult add -1 *.eye4 *.eye9 sub sgn ++ sgn mult *.eye4 *.eye8 sub sgn ++ sgn mult *.eye4 *.eye7 sub sgn ++ sgn mult *.eye4 *.eye6 sub sgn 0 floor mult *.eye4 *.eye5 sub sgn 0 floor mult *.eye4 *.eye3 sub sgn ++ sgn mult *.eye4 *.eye2 sub sgn ++ sgn mult *.eye4 *.eye1 sub sgn ++ sgn mult add 1 *.eye4 *.eye9 sub sgn ++ sgn mult *.eye4 *.eye8 sub sgn ++ sgn mult *.eye4 *.eye7 sub sgn ++ sgn mult *.eye4 *.eye6 sub sgn ++ sgn mult *.eye4 *.eye5 sub sgn 0 floor mult *.eye4 *.eye3 sub sgn ++ sgn mult *.eye4 *.eye2 sub sgn ++ sgn mult *.eye4 *.eye1 sub sgn ++ sgn mult add 0 *.eye5 *.eye9 sub sgn ++ sgn mult *.eye5 *.eye8 sub sgn ++ sgn mult *.eye5 *.eye7 sub sgn ++ sgn mult *.eye5 *.eye6 sub sgn ++ sgn mult *.eye5 *.eye4 sub sgn ++ sgn mult *.eye5 *.eye3 sub sgn ++ sgn mult *.eye5 *.eye2 sub sgn ++ sgn mult *.eye5 *.eye1 sub sgn ++ sgn mult add .focuseye store
 336 .memloc store
 *.nrg 3 div *.body sub dup .strbody store
 - .fdbody store
 *.maxvel .up store
 *.dnalen *.memval sub sgn abs *.eye5 40 sub sgn 0 floor mult .fixpos store
 99 .sharenrg store
 -1 .tieloc store
 -1000 .tieval store
 stop
''''''''''''''''''''''''  Gene:  1 Ends at position  566  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  2 Begins at position  567  '''''''''''''''''''''''
 cond
 *.eyef 0 =
 start
 *.numties .memloc store
 .tie inc
 stop
''''''''''''''''''''''''  Gene:  2 Ends at position  577  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  3 Begins at position  578  '''''''''''''''''''''''
 cond
 *.nrg 3000 >
 *.body 100 >
 start
 50 300 1 rnd 2 mult add .dx store
 stop
''''''''''''''''''''''''  Gene:  3 Ends at position  595  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  4 Begins at position  596  '''''''''''''''''''''''
 cond
 *.dnalen *.memval !=
 *.refnrg 0 >
 start
 314 rnd *.aim add .setaim store
 store
 stop
''''''''''''''''''''''''  Gene:  4 Ends at position  611  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  5 Begins at position  612  '''''''''''''''''''''''
 cond
 *.numties 2 >
 start
 .deltie inc
 stop
''''''''''''''''''''''''  Gene:  5 Ends at position  619  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  6 Begins at position  620  '''''''''''''''''''''''
 cond
 *.nrg 3000 >
 *.body 100 <
 start
 100 *.body sub .strbody store
 stop
''''''''''''''''''''''''  Gene:  6 Ends at position  633  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  7 Begins at position  634  '''''''''''''''''''''''
 cond
 *.eye5 0 >
 *.myeye *.refeye !=
 start
 *.maxvel *.vel sub 2 div .up store
 stop
''''''''''''''''''''''''  Gene:  7 Ends at position  649  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  8 Begins at position  650  '''''''''''''''''''''''
 cond
 *.myeye *.refeye !=
 *.eye5 0 >
 start
 *.refxpos *.refypos angle .setaim store
 stop
''''''''''''''''''''''''  Gene:  8 Ends at position  663  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  9 Begins at position  664  '''''''''''''''''''''''
 cond
 *.eye5 1000 >
 *.dnalen *.memval !=
 *.reffixed 0 !=
 start
 *.nrg 10 div .shootval store
 stop
''''''''''''''''''''''''  Gene:  9 Ends at position  680  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  10 Begins at position  681  '''''''''''''''''''''''
 cond
 *.eye5 40 >
 *.dnalen *.memval !=
 *.reffixed 0 !=
 start
 -6 .shoot store
 .tie inc
 stop
''''''''''''''''''''''''  Gene:  10 Ends at position  697  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  11 Begins at position  698  '''''''''''''''''''''''
 cond
 *.eye5 40 >
 *.dnalen *.memval !=
 *.reffixed 0 =
 start
 .shootval inc
 216 .shoot store
 stop
''''''''''''''''''''''''  Gene:  11 Ends at position  714  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  12 Begins at position  715  '''''''''''''''''''''''
 cond
 *.nrg 1000 >
 start
 45 .repro store
 stop
''''''''''''''''''''''''  Gene:  12 Ends at position  723  '''''''''''''''''''''''

33
Mutations / Hybrid of a tiefeeder and Alga Chloroplastus
« on: March 05, 2014, 02:59:13 PM »
This was made with Bot's manual crossover app. It actually responds to day/night- it gos sex-wild in day, sits there at night. It, of course, produces chloroplasts.

Code: [Select]
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 cond
 *.eye5 0 =
 start
 .aimleft inc
 stop
''''''''''''''''''''''''  Gene:  1 Ends at position  37  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  2 Begins at position  38  '''''''''''''''''''''''
 cond
 *.eye5 0 !=
 start
 *.refxpos *.refypos angle .setaim store
 *.refveldx .dx store
 *.eye5 20 <
 *.refxpos *.refypos dist 1 .mkchlr store
 stop
''''''''''''''''''''''''  Gene:  2 Ends at position  60  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  3 Begins at position  61  '''''''''''''''''''''''
 cond
 *.body 50 >=
 0 inc
 stop
''''''''''''''''''''''''  Gene:  3 Ends at position  67  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  4 Begins at position  68  '''''''''''''''''''''''
 cond
 *.nrg 30000 >
 start
 .mrepro inc
 stop
''''''''''''''''''''''''  Gene:  4 Ends at position  75  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  5 Begins at position  76  '''''''''''''''''''''''
 cond
 *.nrg 10000 >
 *.body 1000 >
 start
 1 .strbody store
 stop
''''''''''''''''''''''''  Gene:  5 Ends at position  87  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  6 Begins at position  88  '''''''''''''''''''''''
 cond
 *.nrg 10000 >
 *.body 3999 >
 *.nrg 1000 >
 start
 50 .repro store
 32 .aimright store
 stop
''''''''''''''''''''''''  Gene:  6 Ends at position  105  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  7 Begins at position  106  '''''''''''''''''''''''
 cond
 *.refxpos 0 >
 *.chlr *.light <
 *.daytime 1 =
 start
 -8 .shoot store
 30 .sexrepro store
 100 .dn store
 stop
''''''''''''''''''''''''  Gene:  7 Ends at position  126  '''''''''''''''''''''''[code]

34
Untagged bots / Przykrość 2.0 [Vexator](F3)(MysticalDumpling)1.3.14
« on: March 01, 2014, 06:41:39 AM »
Przykrość, but completely revamped, in/out removed and with Quickdraw's repro trick. Hopes it does better!

Code: [Select]
def maxpop 971
def type 972

cond
start
50 .repro store
341 .aimsx store
500 .dn store
500 .dx store
*.thisgene .delgene store
1 rnd .type store
stop

start
50 .repro store
341 .aimsx store
500 .dn store
500 .dx store
*.thisgene .delgene store
stop

start
50 .repro store
341 .aimsx store
500 .dn store
500 .dx store
*.thisgene .delgene store
stop

start
50 .repro store
341 .aimsx store
500 .dn store
500 .dx store
*.thisgene .delgene store
stop

start
50 .repro store
341 .aimsx store
500 .dn store
500 .dx store
*.thisgene .delgene store
stop

'1-gene, but not SStr format.
start
*.numties sgn abs .deltie mult inc

'Baby-making
*.body 15 >
*.nrg 300 > and
*.totalmyspecies .maxpop 2 mult < and
314 rnd .aimsx store
50 .repro store
clearbool

'Body
*.body 30 >
10 .fdbody store
*.nrg 500 >
10 .strbody store
clearbool

*.robage 0 =
50 rnd 0 mod 2 rnd 1 floor mult *.type store
314 rnd .aimdx store
700 .maxpop store
*.maxvel .dn store
'Choose type                             
*.robage 0 =
50 rnd 1 floor 0 =
1 rnd .type store
clearbool



clearbool
'Turn and move
*.eyef 0 >
*.myshoot *.refshoot !=
*.refxpos *.refypos angle .setaim store
*.refvelup 0 >
*.refveldx .dx store
30 *.refvelup add *.maxvel ceil .up store
clearbool

'Turn if I see cons or nothin'
*.eyef 0 =
*.myshoot *.refshoot !=
or
and
20 .aimsx store
clearbool

'Hey... Food! Lemme at 'im
*.myshoot *.refshoot !=
and
*.eyef 1000 >
*.type 0 =
and
-6 .shoot store
clearbool

*.myshoot *.refshoot !=
and
*.eyef 1000 >
*.type 1 =
and
-1 .shoot store
clearbool

*.pain 100 >
*.pain .dx store
stop

start
'Oculus
-4 *.eye1 *.eye9 sub sgn 0 floor mult *.eye1 *.eye8 sub sgn 0 floor mult *.eye1 *.eye7 sub sgn 0 floor mult *.eye1 *.eye6 sub sgn 0 floor mult *.eye1 *.eye5 sub sgn 0 floor mult *.eye1 *.eye4 sub sgn 0 floor mult *.eye1 *.eye3 sub sgn 0 floor mult *.eye1 *.eye2 sub sgn 0 floor mult 4 *.eye9 *.eye8 sub sgn 0 floor mult *.eye9 *.eye7 sub sgn 0 floor mult *.eye9 *.eye6 sub sgn 0 floor mult *.eye9 *.eye5 sub sgn 0 floor mult *.eye9 *.eye4 sub sgn 0 floor mult *.eye9 *.eye3 sub sgn 0 floor mult *.eye9 *.eye2 sub sgn 0 floor mult *.eye9 *.eye1 sub sgn ++ sgn mult add -3 *.eye2 *.eye9 sub sgn ++ sgn mult *.eye2 *.eye8 sub sgn 0 floor mult *.eye2 *.eye7 sub sgn 0 floor mult *.eye2 *.eye6 sub sgn 0 floor mult *.eye2 *.eye5 sub sgn 0 floor mult *.eye2 *.eye4 sub sgn 0 floor mult *.eye2 *.eye3 sub sgn 0 floor mult *.eye2 *.eye1 sub sgn ++ sgn mult add 3 *.eye8 *.eye9 sub sgn ++ sgn mult *.eye8 *.eye7 sub sgn 0 floor mult *.eye8 *.eye6 sub sgn 0 floor mult *.eye8 *.eye5 sub sgn 0 floor mult *.eye8 *.eye4 sub sgn 0 floor mult *.eye8 *.eye3 sub sgn 0 floor mult *.eye8 *.eye2 sub sgn ++ sgn mult *.eye8 *.eye1 sub sgn ++ sgn mult add -2 *.eye3 *.eye9 sub sgn ++ sgn mult *.eye3 *.eye8 sub sgn ++ sgn mult *.eye3 *.eye7 sub sgn 0 floor mult *.eye3 *.eye6 sub sgn 0 floor mult *.eye3 *.eye5 sub sgn 0 floor mult *.eye3 *.eye4 sub sgn 0 floor mult *.eye3 *.eye2 sub sgn ++ sgn mult *.eye3 *.eye1 sub sgn ++ sgn mult add 2 *.eye7 *.eye9 sub sgn ++ sgn mult *.eye7 *.eye8 sub sgn ++ sgn mult *.eye7 *.eye7 sub sgn 0 floor mult *.eye7 *.eye6 sub sgn 0 floor mult *.eye7 *.eye5 sub sgn 0 floor mult *.eye7 *.eye4 sub sgn ++ sgn mult *.eye7 *.eye2 sub sgn ++ sgn mult *.eye7 *.eye1 sub sgn ++ sgn mult add -1 *.eye4 *.eye9 sub sgn ++ sgn mult *.eye4 *.eye8 sub sgn ++ sgn mult *.eye4 *.eye7 sub sgn ++ sgn mult *.eye4 *.eye6 sub sgn 0 floor mult *.eye4 *.eye5 sub sgn 0 floor mult *.eye4 *.eye3 sub sgn ++ sgn mult *.eye4 *.eye2 sub sgn ++ sgn mult *.eye4 *.eye1 sub sgn ++ sgn mult add 1 *.eye6 *.eye9 sub sgn ++ sgn mult *.eye6 *.eye8 sub sgn ++ sgn mult *.eye6 *.eye7 sub sgn ++ sgn mult *.eye6 *.eye6 sub sgn ++ sgn mult *.eye6 *.eye5 sub sgn 0 floor mult *.eye6 *.eye3 sub sgn ++ sgn mult *.eye6 *.eye2 sub sgn ++ sgn mult *.eye6 *.eye1 sub sgn ++ sgn mult add 4 add *.focuseye 4 add sub dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- 9 add - dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec --
stop

35
Interesting behaviour bots / Hitchhiker, Swinging Amoeba (evo)27.2.14
« on: February 27, 2014, 12:59:01 PM »
In an evosim, this pair evolved. One sends out ties and seems to move about with them by making amoebas, and the other latches on for a ride to find food. They are Martian Tanks at 2m cycles.

Swinger:
Code: [Select]
cond
 *.tiepres -3 >
 start
 * stop
''''''''''''''''''''''''  Gene:  1 Ends at position  7  '''''''''''''''''''''''
 store
 453 1000 455 cond
 *.sx 0 =
 start
 .tie inc
 7 .memloc store
 7 dist store
 -2 836 .ploc store
 stop
''''''''''''''''''''''''  Gene:  2 Ends at position  29  '''''''''''''''''''''''
 cond
 *.robage 1 =
 start
 .deltie inc
 stop
''''''''''''''''''''''''  Gene:  3 Ends at position  37  '''''''''''''''''''''''
 start
 *.waste 500 >
 store
 -4 .shoot store
 0 .shflav store
 stop
''''''''''''''''''''''''  Gene:  4 Ends at position  49  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye1 *.eye2 >=
 *.eye1 *.eye3 >=
 *.eye1 *.eye4 >=
 *.eye1 *.eye5 >=
 *.eye1 *.eye6 >=
 *-668 *.eye1 *.eye7 >=
 *.eye1 *.eye8 >=
 *.eye1 *.eye9 >=
 start
 mult -140 stop
''''''''''''''''''''''''  Gene:  5 Ends at position  82  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye9 *.eye2 >=
 *.eye9 *.eye3 >=
 *.eye9 *.eye4 >=
 *.eye9 *.eye5 >=
 *.eye9 *.eye6 >=
 *.eye9 *.eye7 >=
 *.eye9 *.eye8 >=
 *.eye9 *.eye1 >=
 start
 140 stop
''''''''''''''''''''''''  Gene:  6 Ends at position  113  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye2 *.eye9 >=
 *.eye2 *.eye3 >=
 *.eye2 *.eye4 >=
 *.eye2 *.eye5 >=
 *.eye2 *.eye6 >=
 *.eye2 *.eye7 >=
 *.eye2 *.eye8 >=
 *.eye2 *.eye1 >=
 start
 mult -105 stop
''''''''''''''''''''''''  Gene:  7 Ends at position  145  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye8 *.eye9 >=
 *.eye8 *.eye3 >=
 *.eye8 *.eye4 >=
 *.eye8 *.eye5 >=
 *.eye8 *.eye6 >=
 *.eye8 *.eye7 >=
 *.eye8 *.eye2 >=
 *.eye8 *.eye1 >=
 start
 mult 105 stop
''''''''''''''''''''''''  Gene:  8 Ends at position  177  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye3 *.eye9 *.eye3 >=
 *.eye8 *.eye3 >=
 *.eye4 >=
 *.eye3 *.eye5 >=
 *.eye3 *.eye6 >=
 *.eye3 *.eye7 >=
 *.eye3 *.eye2 >=
 *.eye3 *.eye1 >=
 start
 mult *.refeye *.myeye !=
 *.eye7 *.eye9 >=
 *.eye7 *.eye8 >=
 *.eye7 *.eye4 >=
 *.eye7 *.eye5 >=
 *.eye7 *.eye6 >=
 *.eye7 *.eye3 >=
 *.eye7 *.eye2 >=
 *.eye7 *.eye1 9
''''''''''''''''''''''''  Gene:  9 Ends at position  234  ''''''''''''''''''''''' start
 mult 70 stop
''''''''''''''''''''''''  Gene:  10 Ends at position  238  '''''''''''''''''''''''
 cond
 *.eye9 *.eye4 !=
 *.myeye *.refeye >=
 *.eye4 *.eye8 >=
 *.eye4 *.eye7 >=
 *.eye4 *.eye5 >=
 *.eye4 *.eye6 >=
 *.eye3 >=
 *.eye4 *.eye2 >=
 *.eye4 *.eye1 >=
 start
 mult -35 stop
''''''''''''''''''''''''  Gene:  11 Ends at position  269  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye6 *.eye9 >=
 *.eye6 *.eye8 >=
 *.eye6 *.eye7 >=
 *.eye6 *.eye5 >=
 *.eye6 *.eye4 >=
 *.eye6 *.eye3 >=
 *.eye6 *.eye2 >=
 *.eye6 *.eye1 >=
 else
 mult 35 stop
''''''''''''''''''''''''  Gene:  12 Ends at position  301  '''''''''''''''''''''''
 cond
 *606 *.myeye !=
 *.eye5 *.eye9 >=
 *.eye5 *.eye8 >=
 *.eye5 *.eye7 >=
 *.eye5 *.eye6 >=
 *.eye5 *.eye4 >=
 *.eye5 *.eye3 >=
 *.eye5 *.eye2 >=
 *.eye5 *.eye1 >=
 start
 mult stop
''''''''''''''''''''''''  Gene:  13 Ends at position  332  '''''''''''''''''''''''
 cond
 *.eye5 0 >
 *.refeye *.myeye =
 start
 mult 900 rnd 100 add 100 .up store
 stop
''''''''''''''''''''''''  Gene:  14 Ends at position  349  '''''''''''''''''''''''
 cond
 *.eye1 =
 store
 *.eye2 =
 0 *.eye3 =
 0 *.eye4 =
 0 *.eye5 =
 0 *.eye6 =
 0 *.eye7 =
 0 *.eye8 =
 0 *.eye9 =
 0 *.robage 50 mod =
 0 start
 mult 900 rnd 100 add stop
''''''''''''''''''''''''  Gene:  15 Ends at position  389  '''''''''''''''''''''''
 cond
 -2 *.shoot =
 store
 *.eye5 !=
 *.refeye *.myeye !=
 start
 mult 500 .up store
 mult 900 rnd and
 add stop
''''''''''''''''''''''''  Gene:  16 Ends at position  410  '''''''''''''''''''''''
 cond
 *.nrg 5100 >
 start
 mult 599 50 inc
 50 .repro store
 100 .strbody store
 >
 stop
''''''''''''''''''''''''  Gene:  17 Ends at position  427  '''''''''''''''''''''''
 cond
 *50 0 >
 start
 mult 628 50 dec
 stop
''''''''''''''''''''''''  Gene:  18 Ends at position  437  '''''''''''''''''''''''
 cond
 start
 .aimright store
 stop
''''''''''''''''''''''''  Gene:  19 Ends at position  442  '''''''''''''''''''''''
 cond
 *.eye1 =
 0 *.eye2 =
 0 *.eye3 =
 0 *.eye4 =
 0 *.eye5 =
 0 *.eye6 =
 0 *.eye7 =
 0 *.eye8 =
 0 *.eye9 =
 0 start
 100 .up store
 stop
''''''''''''''''''''''''  Gene:  20 Ends at position  475  '''''''''''''''''''''''
 cond
 *.eye5 0 >
 *.refeye *.myeye !=
 start
 *.refxpos *.refypos angle .setaim store
 *.refveldx .dx store
 *.refvelup 30 add .up dec
 stop
''''''''''''''''''''''''  Gene:  21 Ends at position  497  '''''''''''''''''''''''
 cond
 *.eye5 25 >
 *.refeye *.myeye !=
 *.memval -2 !=
 *.refeye 0 !=
 start
 50 .shootval store
 -3 .shoot store
 stop
''''''''''''''''''''''''  Gene:  22 Ends at position  518  '''''''''''''''''''''''
 cond
 *.eye5 25 >
 *.refeye *.myeye !=
 *.memval -2 sub sgn abs 1 sub -1 mult *.refeye 0 sub sgn abs 1 sub -1 mult add sgn abs 1 =
 *.refpoison *.refshell 0 start
 16 .shootval store
 -6 .shoot store
 stop
''''''''''''''''''''''''  Gene:  23 Ends at position  559  '''''''''''''''''''''''
 cond
 *.eye5 25 >
 *.refeye *.myeye !=
 *.memval sgn sub -2 abs 1 sub -1 mult *.refeye 0 sub sgn abs 1 sub -1 div add sgn abs 1 =
 *.refpoison *.refshell <
 start
 16 .shootval store
 -1 .shoot store
 stop
''''''''''''''''''''''''  Gene:  24 Ends at position  600  '''''''''''''''''''''''
 cond
 *.shflav 0 !=
 *.refpoison *.refshell <
 *.memval -2 =
 start
 *.shang .aimshoot store
 32 .shootval store
 .up store
 store
 0 .shflav store
 and
 stop
''''''''''''''''''''''''  Gene:  25 Ends at position  625  '''''''''''''''''''''''
 cond
 *.shflav 0 !=
 *.refpoison *.refshell %=
 *.memval -2 =
 start
 >=
 .aimshoot store
 32 .shootval store
 -6 .shoot store
 0 .shflav store
 stop
''''''''''''''''''''''''  Gene:  26 Ends at position  649  '''''''''''''''''''''''
 cond
 false
 *.shflav 0 !=
 *.memval -2 !=
 start
 *.shang .aimshoot store
 25 .shootval store
 -3 .shoot store
 0 .shflav store
 stop
''''''''''''''''''''''''  Gene:  27 Ends at position  671  '''''''''''''''''''''''
 cond
 *.venom 250 <
 *.nrg 1000 !%=
 .strvenom store
 stop
''''''''''''''''''''''''  Gene:  28 Ends at position  681  '''''''''''''''''''''''
 cond
 *.poison 500 1000 *.nrg <
 >
 start
 50 .mkpoison store
 stop
''''''''''''''''''''''''  Gene:  29 Ends at position  693  '''''''''''''''''''''''
 cond
 *.shell 300 <
 *.nrg 1000 >
 start
 50 .mkshell store

''''''''''''''''''''''''  Gene:  30 Ends at position  704  '''''''''''''''''''''''
 cond
 *.fixed add =
 start
 .fixpos dec
 stop
''''''''''''''''''''''''  Gene:  31 Ends at position  712  '''''''''''''''''''''''

Hitchhiker
Code: [Select]
*.tiepres 0 >
 start
 *.tiepres 455 1000 .tieval dec
 stop
''''''''''''''''''''''''  Gene:  1 Ends at position  10  '''''''''''''''''''''''
 cond
 *.robage 0 =
 start
 .tie inc
 7 .memloc store
 7 .vloc store
 -2 .venval store
 7 .ploc store
 stop
''''''''''''''''''''''''  Gene:  2 Ends at position  30  '''''''''''''''''''''''
 cond
 *.robage 1 =
 start
 .deltie inc
 stop
''''''''''''''''''''''''  Gene:  3 Ends at position  38  '''''''''''''''''''''''
 cond
 *.waste 500 >
 start
 *.waste .shootval store
 -4 .shoot store
 0 .shflav store
 stop
''''''''''''''''''''''''  Gene:  4 Ends at position  53  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye1 *.eye2 >=
 *.eye1 *.eye3 >=
 *.eye1 *.eye4 >=
 *.eye1 *.eye5 >=
 *.eye1 *.eye6 >=
 *-668 *.eye1 *.eye7 >=
 *.eye1 *.eye8 >=
 *.eye1 *.eye9 >=
 start
 mult -140 stop
''''''''''''''''''''''''  Gene:  5 Ends at position  86  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye9 *.eye2 >=
 *.eye9 *.eye3 >=
 *.eye9 *.eye4 >=
 *.eye9 *.eye5 >=
 *.eye9 *.eye6 >=
 *.eye9 *.eye7 *.eye8 *.eye9 >=
 >=
 *.eye9 *.eye1 >=
 start
 mult 140 stop
''''''''''''''''''''''''  Gene:  6 Ends at position  118  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye2 *.eye9 >=
 *.eye2 *.eye3 >=
 *.eye2 *.eye4 >=
 *.eye2 *.eye5 >=
 *.eye2 *.eye6 >=
 *.eye2 *.eye7 >=
 *.eye2 *.eye8 >=
 *.eye2 *.eye1 >=
 start
 mult -105 stop
''''''''''''''''''''''''  Gene:  7 Ends at position  150  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye8 *.eye9 >=
 *.eye8 *.eye3 >=
 *.eye8 *.eye4 *.eye8 *.eye5 >=
 *.eye8 *.eye6 >=
 *.eye8 *.eye7 >=
 *.eye8 *.eye2 >=
 *.eye8 *.eye1 >=
 start
 mult 105 stop
''''''''''''''''''''''''  Gene:  8 Ends at position  181  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye3 *.eye9 >=
 *.eye3 *.eye8 >=
 *.eye3 *.eye4 >=
 *.eye3 *.eye5 >=
 *.eye3 *.eye6 >=
 *.eye3 *.eye7 >=
 *.eye3 *.eye2 >=
 *.eye3 over *.eye1 >=
 start
 mult *.refeye *.myeye !=
 *.eye7 *.eye9 >=
 *.eye7 *.eye8 >=
 *.eye7 *.eye4 >=
 *.eye7 *.eye5 >=
 *.eye7 *.eye6 >=
 *.eye7 *.eye3 >=
 *.eye7 *.eye2 >=
 *.eye7 *.eye1 >=

''''''''''''''''''''''''  Gene:  9 Ends at position  239  ''''''''''''''''''''''' start
 mult 70 stop
''''''''''''''''''''''''  Gene:  10 Ends at position  243  '''''''''''''''''''''''
 cond
 *.eye9 *.eye4 !=
 *.myeye *.refeye >=
 *.eye4 *.eye8 *.eye4 *.eye7 >=
 *.eye4 *.eye5 >=
 *.eye4 *.eye6 >=
 *.eye3 >=
 *.eye4 *.eye2 >=
 *.eye4 *.eye1 >=
 start
 mult -35 stop
''''''''''''''''''''''''  Gene:  11 Ends at position  273  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye6 *.eye9 >=
 *.eye6 *.eye8 >=
 *.eye6 *.eye7 >=
 *.eye6 *.eye5 >=
 *.eye6 *.eye4 >=
 *.eye6 *.eye3 >=
 *.eye6 *.eye2 >=
 *.eye6 *.eye1 >=
 start
 mult 35 stop
''''''''''''''''''''''''  Gene:  12 Ends at position  305  '''''''''''''''''''''''
 cond
 *.refeye *.myeye !=
 *.eye5 *.eye9 >=
 *.eye5 *.eye8 >=
 *.eye5 *.eye7 >=
 *.eye5 *.eye6 >=
 *.eye5 *.eye4 >=
 *.eye5 *.eye3 >=
 *.eye5 *.eye2 >=
 *.eye5 *.eye1 >=
 start
 mult stop
''''''''''''''''''''''''  Gene:  13 Ends at position  336  '''''''''''''''''''''''
 cond
 *.eye5 0 >
 *.refeye *.myeye =
 start
 mult 900 rnd 100 add 100 .up store
 stop
''''''''''''''''''''''''  Gene:  14 Ends at position  353  '''''''''''''''''''''''
 cond
 *.eye1 =
 0 *.eye2 =
 pyth 0 *.eye3 =
 0 *.eye4 =
 0 *.eye5 =
 0 *.eye6 =
 0 *.eye7 =
 0 *.eye8 =
 0 *.eye9 =
 0 *.robage 50 mod >=
 0 start
 mult 900 rnd 100 add stop
''''''''''''''''''''''''  Gene:  15 Ends at position  394  '''''''''''''''''''''''
 cond
 -2 *.shoot =
 0 *.eye5 *.dx *.refeye *.myeye !=
 start
 store
 mult 900 rnd 100 add stop
''''''''''''''''''''''''  Gene:  16 Ends at position  412  '''''''''''''''''''''''
 cond
 *.nrg 5100 >
 start
 abs 628 50 inc
 <
 .repro store
 100 .strbody store
 >
 stop
''''''''''''''''''''''''  Gene:  17 Ends at position  429  '''''''''''''''''''''''
 cond
 *50 0 >
 start
 mult 628 50 dec
 stop
''''''''''''''''''''''''  Gene:  18 Ends at position  439  '''''''''''''''''''''''
 cond
 start
 .aimright store
 stop
''''''''''''''''''''''''  Gene:  19 Ends at position  444  '''''''''''''''''''''''
 cond
 *.eye1 =
 0 *.eye2 =
 0 *.eye3 >
 0 *.eye4 =
 0 *.eye5 =
 0 *.eye6 =
 0 *.eye7 =
 0 *.eye8 =
 0 *.eye9 =
 0 else
 100 .aimleft store
 stop
''''''''''''''''''''''''  Gene:  20 Ends at position  477  '''''''''''''''''''''''
 cond
 *.eye5 0 >
 *.refeye *.myeye !=
 start
 *.refxpos *.refypos angle .setaim store
 *.refveldx .dx store
 *.refvelup 30 add *.up dec
 stop
''''''''''''''''''''''''  Gene:  21 Ends at position  499  '''''''''''''''''''''''
 cond
 *.eye5 25 >
 *.refeye *.myeye !=
 *.memval -2 !=
 *.refeye -4 !=
 start
 50 .shootval store
 -3 .shoot store
 stop
''''''''''''''''''''''''  Gene:  22 Ends at position  520  '''''''''''''''''''''''
 cond
 *.eye5 25 >
 *.refeye *.myeye !=
 -2 sub sgn abs 1 sub 16 mult *.refeye 0 sub sgn abs 1 sub -1 mult add sgn abs 1 =
 *.refpoison *.refshell 1 start
 16 .shootval store
 -6 .shoot store
 stop
''''''''''''''''''''''''  Gene:  23 Ends at position  560  '''''''''''''''''''''''
 cond
 *.eye5 25 >
 *.refeye *.myeye !=
 *.memval sgn sub -2 abs 1 sub -1 mult *.refeye 0 sub sqr sgn abs 1 sub -1 sgn abs 1 =
 *.refpoison *.refshell <
 start
 16 .shootval store
 -1 .shoot store
 stop
''''''''''''''''''''''''  Gene:  24 Ends at position  600  '''''''''''''''''''''''
 cond
 *.shflav 0 !=
 *.refpoison *.refshell <
 *.memval -2 =
 start
 *222 .aimshoot store
 32 .shootval store
 -1 .shoot store
 0 .shflav store
 stop
''''''''''''''''''''''''  Gene:  25 Ends at position  624  '''''''''''''''''''''''
 cond
 !=
 0 *.shflav *.refpoison *.refshell inc
 *.memval -2 =
 start
 *.shang .aimshoot store
 32 .shootval store
 -6 .shoot store
 0 .shflav store
 stop
''''''''''''''''''''''''  Gene:  26 Ends at position  648  '''''''''''''''''''''''
 cond
 false
 *.shflav 0 !=
 *.memval -2 !=
 start
 *.shang .aimshoot store
 25 .shootval store
 -3 .shoot store
 0 .shflav store
 stop
''''''''''''''''''''''''  Gene:  27 Ends at position  670  '''''''''''''''''''''''
 cond
 *.venom clear <
 *.nrg 1000 >
 start
 50 .strvenom store
 stop
''''''''''''''''''''''''  Gene:  28 Ends at position  682  '''''''''''''''''''''''
 cond
 *.poison 500 1000 *.nrg <
 >
 start
 50 .mkpoison store
 stop
''''''''''''''''''''''''  Gene:  29 Ends at position  694  '''''''''''''''''''''''
 cond
 *.shell 300 <
 *.nrg 1016 >
 start
 38 .mkshell store
 stop
''''''''''''''''''''''''  Gene:  30 Ends at position  706  '''''''''''''''''''''''
 start
 *.fixed 1 =

''''''''''''''''''''''''  Gene:  31 Ends at position  710  ''''''''''''''''''''''' start
 .fixpos dec
 stop
''''''''''''''''''''''''  Gene:  32 Ends at position  714  '''''''''''''''''''''''

Its the closest to symbiosis I ever seen, as well as evolved tie locomotion. I used F1 default costs but no tie costs.
Hitchhiker's native locomotion quickly mutates to a much more effective one- guess I chose the defunc strain  :P However, the new strain doesn't rely on the amoeba to locomote, making it less interesting

36
Mutations / Evolved Tribolis (F2MB/F3MB)(evo)(mut)(MysticalDumpling)25.2.14
« on: February 25, 2014, 06:59:45 PM »
Code: [Select]
#generation: 94
'#mutations: 101
 cond
 0 =
 start
 .tie inc
 654 .out1 store
 1 999 store
 654 .tout1 store
 stop
''''''''''''''''''''''''  Gene:  1 Ends at position  16  '''''''''''''''''''''''
 dupbool
 cond
 *.robage 1 %=
 start
 628 .aimright store
 =
 25
''''''''''''''''''''''''  Gene:  2 Ends at position  27  '''''''''''''''''''''''
 cond
 stop
''''''''''''''''''''''''  Gene:  3 Ends at position  29  '''''''''''''''''''''''
 >
 0 *.numties start
 *.tin9 ++ .tout9 store
 dist stop
''''''''''''''''''''''''  Gene:  4 Ends at position  39  '''''''''''''''''''''''
 cond
 *.numties 0 =
 start
 .tout9 store
 3 999 store
 50 .repro store
 stop
''''''''''''''''''''''''  Gene:  5 Ends at position  53  '''''''''''''''''''''''
 cond
 *999 1 =
 start
 10 *.tout9 3 mult add *.vel sub .up store
 628 .fixang store
 *.eye9 sub sgn mult floor 0 *.eye1 0 floor mult *.eye1 *.eye7 sub sgn 0 floor mult *.eye1 *.eye6 sub sgn 0 floor mult *.eye1 *.eye5 sub sgn mult *.eye1 *.eye4 add sgn 0 floor mult *.eye1 *.eye3 sub sgn 0 floor mult *.eye1 *.eye2 sub dup 0 floor mult 4 *.eye9 *.eye8 sub sgn 0 floor mult *.eye9 sub sgn 0 floor mult *.eye9 *.eye6 sub sgn 0 floor mult *.eye9 *.eye5 0 sgn ~ ^ sub mult *.eye9 *.eye4 sub sgn 0 floor mult *.eye9 *.eye3 sub sgn 0 !=
 floor mult *.eye9 *.eye2 sub sgn 0 ceil mult *.eye9 *.eye1 sub sgn mult sgn ++ add -3 *.eye2 *.eye9 sub sgn ++ sgn mult *.eye2 *.eye8 sub sgn 0 floor *.eye2 *.eye7 sub sgn 0 floor mult *.eye2 *.eye6 sub sgn 0 floor mult *.eye2 *.trefnrg sub sgn 0 floor mult *.eye2 *.eye4 sub sgn 0 floor mult *.eye2 *.eye3 sub sgn 0 floor *.eye2 *.eye1 sub sgn ++ add mult sub 3 *.eye8 *.eye9 sub sgn ++ sgn mult *.eye8 *.eye7 sub angle sgn 0 floor *.eye8 *.reffixed sub sgn 0 floor mult *.tin9 *.eye5 sub sgn 0 floor mult *.eye8 *.eye4 sub sgn 0 xor
 floor mult *.eye8 *.eye3 sub sgn 0 floor mult *.eye8 *555 sub sgn ++ sgn mult *.eye8 *.eye1 sub sgn ++ sgn mult add -2 *.eye3 *.eye9 swap sgn ++ sgn mult *.eye3 *.eye8 sub sgn ++ sgn mult *.eye3 *.eye7 sub floor 0 sgn mult *.eye3 *.eye6 floor sub sgn 0 floor mult *.eye3 *.eye5 sub sgn 0 floor mult *.eye3 *.eye4 sub sgn 0 floor mult *.eye3 *.eye2 sub sgn ++ sgn mult *.eye3 *.eye1 sub sgn ++ sgn mult add *.eye9 sub sgn ++ sgn mult *.eye7 !~=
 sub sgn ++ sgn mult *.eye7 *.eye7 sub sgn 0 floor mult *.eye7 *.eye6 sub over 0 floor mult *.eye7 *.eye5 sub sub 0 floor *.eye4 *.eye7 mult sub sgn !~=
 ++ sgn mult *.eye7 *.eye2 *.refypos ++ *.eye7 mult sgn *.eye1 sub sgn ++ sgn mult add -1 *.eye4 *.eye9 sub sgn ++ mult sgn ++ sgn mult *.eye4 *.eye7 sub sgn ++ sgn mult *.eye4 *.eye6 sub sgn 0 floor *.eye5 *.eye4 mult sub sgn 0 floor mult *.eye4 <
 *.eye3 sub sgn ++ sgn mult *.eye4 *.eye2 sub sgn ++ sgn mult *.eye4 *.eye1 sub sgn ++
''''''''''''''''''''''''  Gene:  6 Ends at position  461  ''''''''''''''''''''''' start
 sgn mult add 1 *.eye4 ++ angle sub sgn mult *.eye4 *.eye8 sgn ++ sgn clear *.eye4 *.eye7 sub abs ++ sgn mult *.eye4 sub sgn ++ sgn mult *.eye4 *.eye5 sub over 0 floor mult *.eye4 *.eye3 sub sgn ++ sgn mult *.eye4 *.eye2 sub sgn ++ abs mult *.eye4 *.eye1 sub sgn ++ sgn mult add 0 *.eye5 *.eye9 sub sgn ++ sgn mult *.eye5 *.eye8 sub sgn dec
 ++ sgn mult *.eye5 *.eye7 sub sgn ++ sgn mult *.eye5 *.eye6 sub sgn ++ sgn mult *.eye5 *.eye4 sub sgn ++ sgn mult *.eye5 *.eye3 sub sgn ++ sgn mult *.eye5 *.eye2 sub sgn ++
''''''''''''''''''''''''  Gene:  7 Ends at position  569  ''''''''''''''''''''''' else
 mult *.eye5 *.eye1 sub sgn ++ sgn add add .focuseye store
 stop
''''''''''''''''''''''''  Gene:  8 Ends at position  582  '''''''''''''''''''''''
 cond
 *999 1 =
 *.eyef 0 >
 *.in1 *.out1 !=
 start
 *.refxpos *.refypos angle .setaim store
 stop
''''''''''''''''''''''''  Gene:  9 Ends at position  599  '''''''''''''''''''''''
 cond
 *999 1 =
 *.eyef *.in1 =
 *.out1 =
 *.shang .aimright store
 .shflav store
 stop
''''''''''''''''''''''''  Gene:  10 Ends at position  614  '''''''''''''''''''''''
 cond
 *.in1 *.out1 !=
 *.eye5 dec
 40 >
 *999 1 =
 start
 4 *.reffixed 28 mult add 14 store
 -6 *.refshell sgn 5 mult add .shoot store
 *.veldx .sx store
 *.vel 2 sub .dn store
 stop
''''''''''''''''''''''''  Gene:  11 Ends at position  650  '''''''''''''''''''''''
 cond
 *999 2 =
 start
 *.tout9 3 mult *.vel sub .up store
 stop
''''''''''''''''''''''''  Gene:  12 Ends at position  663  '''''''''''''''''''''''
 cond
 *999 >
 100 *.mkshell =
 2 start
 *.waste .shootval store
 -4 .shoot store
 stop
''''''''''''''''''''''''  Gene:  13 Ends at position  678  '''''''''''''''''''''''
 cond
 *999 2 =
 *.eye5 18
''''''''''''''''''''''''  Gene:  14 Ends at position  684  '''''''''''''''''''''''
 cond
 >
 *.in1 start
 !=
 *.out1 4 *.reffixed 28 mult add .shootval store
 -1 -17 store
 stop
''''''''''''''''''''''''  Gene:  15 Ends at position  701  '''''''''''''''''''''''
 cond
 *999 311 10 *.tout9 750 *.body =
 mult add >
 start
 20 store
 stop
''''''''''''''''''''''''  Gene:  16 Ends at position  716  '''''''''''''''''''''''
 cond
 *999 3 =
 *.in1 *.out1 !=
 *.eye5 30 >
 0 =
 start
 .shootval inc
 216 .shoot store
 stop
''''''''''''''''''''''''  Gene:  17 Ends at position  735  '''''''''''''''''''''''
 cond
 *999 3 =
 *.shflav 0 =
 *.eyef 0 ~=
 *.in1 or
 =
 *.out1 start
 *.trefxpos *.trefypos angle 628 add .setaim store
 stop
''''''''''''''''''''''''  Gene:  18 Ends at position  758  '''''''''''''''''''''''
 cond
 *999 3 =
 *.reffixed 0 >
 *.eye5 30 .shoot store
 896 .dn store
 .vloc store
 *.venom .shootval store
 -3 .shoot store
 stop
''''''''''''''''''''''''  Gene:  19 Ends at position  781  '''''''''''''''''''''''
 cond
 *999 3 =
 *.in1 *.out1 =
 0 !=
 start
 *.shang .aimright store
 .shflav store
 stop
''''''''''''''''''''''''  Gene:  20 Ends at position  797  '''''''''''''''''''''''
 cond
 *.shflav -1 =
 start
 50 *.poison sub .mkpoison store
 7 834 stop
''''''''''''''''''''''''  Gene:  21 Ends at position  810  '''''''''''''''''''''''
 cond
 *.numties 1 =
 *999 1 =
 *.nrg . dec
 >
 *.eye5 30 <
 *.robage 25 >
 start
 2 999 store
 50 .repro store
 314 .aimright inc
 stop
''''''''''''''''''''''''  Gene:  22 Ends at position  838  '''''''''''''''''''''''
 0 0 cond
 *998 *.nrg >
 *.numties >
 start
 .tout9 store
 inc
 stop
''''''''''''''''''''''''  Gene:  23 Ends at position  851  '''''''''''''''''''''''
 cond
 *.tin1 !=
 start
 -1 .tieloc store
 -1000 .tieval store
 stop
''''''''''''''''''''''''  Gene:  24 Ends at position  862  '''''''''''''''''''''''
 cond
 *.timer 50 mod 1 =
 angle start
 10 .shareshell store

''''''''''''''''''''''''  Gene:  25 Ends at position  873  ''''''''''''''''''''''' start

''''''''''''''''''''''''  Gene:  26 Ends at position  874  ''''''''''''''''''''''' start
 40 .stifftie store
 100 .tielen store
 -15 *999 3 sub sgn abs -- drop mult .eye5width store
 *999 .tout2 store
 *.numties 998 store
 *999 2 sub sgn abs -- abs 314 mult *.timer 2 mod 2 mult -- mult dup .aimshoot inc
 525 50 .sharenrg store
 50 dropbool
 store
 500 *.tout9 10 mult add *.body clear -- dup .strbody store
 - .fdbody store
 .fixpos store
 .backshot store
 *.mkvirus 340 stop
''''''''''''''''''''''''  Gene:  27 Ends at position  945  '''''''''''''''''''''''

It still functions as a MB, but does a lot of strange things
It starts out as a bibot that both tiefeeds and shots. Reproduction causes it to fall apart into little blobs of tied bots. It is actually rather effective- but it dies out quick if the smaller offspring don't fling over to food

37
Internet Mode Commentary / IM is kinda, sorta working
« on: February 25, 2014, 04:53:58 PM »
However, go to http://forum.darwinbots.com/index.php/topic,6285.msg1389000.html#msg1389000 Unzip in the main Darwinbots folder, not any of the subfolders and create the subfolder IM, with 2 folders inside that- inbound and outbound. It is rather large, though. So far, do not put spaces in your IM username.

38
Suggestions / Free Radicals and chloroplasts
« on: February 25, 2014, 04:24:29 PM »
From my limited knowledege of biology, chloroplasts produce huge amounts of free radicals, and high light intensity drives up the equivalent of point mutations. So:

-If a bot has chloroplasts, boost mutation rates linearly
-Free radicals can also be expressed as special waste
-This radical waste also affects memory, making it super-nasty. It should have a much lower threshold.
-If a bot is in a high-light position, (turn body, ect. into radicals, not necessary) as well as just add some
-The amount of slime or shell a bot has decreases the amount of free radicals- or even create a new substance, like the waxy bloom or fuzz found on many Mediterranean plants. 0Even better, create several with different costs, effectivenesses, and other properties [blocking venom, shots, and whatnot]  :D )

This might balance out the chloroplast problem. Also, it would increase the barrier b/w plants and animals- plants would have special functions to get rid of the more toxic free radical waste due to chloroplasts. This most likely mean new sysvars, but not something simple, like just shooting it out. No, veggies should have to go through some sort of metabolism to get rid of it! Maybe intermediate steps, like what real living things do. They must have something to move the waste to the vesicle (but they must form the vesicles, too!) metabolise it into normal waste, then get rid of it, or something like that.

The light function causing damage to bots could also cause interesting behavior, like finding/making shelter
 8)
 

On a completely unrelated note, I just realized the code-box button (the pound sign)  :wub:

39
RANT / Slow sexrepro
« on: February 25, 2014, 02:49:15 PM »
Heh. I like IM...

Maybe put in some LoveBots and rape/crash/murder some sims.

40
RANT / Of Many Celebrations! IM is working!
« on: February 24, 2014, 06:26:23 PM »
Thanks:
-Peter
-Botsareus

 :D
*now l can put random crap in IM...*

41
F3 bots / Przykrość [Vexation] (F3)(MysticalDumpling)23.2.14
« on: February 23, 2014, 02:13:56 PM »
This is my first F3 bot. Not all of the features may be working, but it seems to do well. It has
-Oculus
-Fruitfly reproduction gene
-Alpha's hunting mechanisms
 
'Przykrosc - pain or botherance
'F3 bot that forms clouds of teeny bots
'Uses .body funcs to make tiny high-nrg bots

'Shares potential targets via in/out and a qualifier
'qualifier -1
'x- 3
'y- 4

'-6 shots

Code: [Select]
def bxpos 21
def bypos 22
def hunting 23

0 0 0
'Reproduce, fruit-fly style!
cond
*.body 5 >
*.nrg 80 >
start
*.maxvel .dn store
50 .repro store
stop

'Handle body and nrg
cond
*.nrg 500 >
start
50 *.body 10 mult sub 0 floor .strbody store
stop

cond
*.body 20 >
start
*.body 10 mult 10 sub 0 floor .fdbody store
stop

'Set baby stuff
cond
*.robage 1 =
start
1886 .out1 store
.deltie inc
314 rnd .aimsx store
stop

'Use in/out to share targets
cond
*.in1 *.out1 =
*.in1 *.bxpos mult *.bypos mult 0 !=
start
*.out3 .bxpos store
*.out4 .bypos store
stop

'Search for prey
'If there is nothing, use x/ypos defs
'If everything is empty, spin!
cond
*.myup *.refup =
*.eyef 0 =
or
*.hunting 0 <=
and
start
*.bxpos *.bypos mult 0 !=
*.bxpos *.bypos angle .setaim store
1 .hunting store
clearbool
*.bxpos *.bypos mult 0 =
100 rnd .aimsx store
0 .hunting store
stop

start
 -4 *.eye1 *.eye9 sub sgn 0 floor mult *.eye1 *.eye8 sub sgn 0 floor mult *.eye1 *.eye7 sub sgn 0 floor mult *.eye1 *.eye6 sub sgn 0 floor mult *.eye1 *.eye5 sub sgn 0 floor mult *.eye1 *.eye4 sub sgn 0 floor mult *.eye1 *.eye3 sub sgn 0 floor mult *.eye1 *.eye2 sub sgn 0 floor mult 4 *.eye9 *.eye8 sub sgn 0 floor mult *.eye9 *.eye7 sub sgn 0 floor mult *.eye9 *.eye6 sub sgn 0 floor mult *.eye9 *.eye5 sub sgn 0 floor mult *.eye9 *.eye4 sub sgn 0 floor mult *.eye9 *.eye3 sub sgn 0 floor mult *.eye9 *.eye2 sub sgn 0 floor mult *.eye9 *.eye1 sub sgn ++ sgn mult add -3 *.eye2 *.eye9 sub sgn ++ sgn mult *.eye2 *.eye8 sub sgn 0 floor mult *.eye2 *.eye7 sub sgn 0 floor mult *.eye2 *.eye6 sub sgn 0 floor mult *.eye2 *.eye5 sub sgn 0 floor mult *.eye2 *.eye4 sub sgn 0 floor mult *.eye2 *.eye3 sub sgn 0 floor mult *.eye2 *.eye1 sub sgn ++ sgn mult add 3 *.eye8 *.eye9 sub sgn ++ sgn mult *.eye8 *.eye7 sub sgn 0 floor mult *.eye8 *.eye6 sub sgn 0 floor mult *.eye8 *.eye5 sub sgn 0 floor mult *.eye8 *.eye4 sub sgn 0 floor mult *.eye8 *.eye3 sub sgn 0 floor mult *.eye8 *.eye2 sub sgn ++ sgn mult *.eye8 *.eye1 sub sgn ++ sgn mult add -2 *.eye3 *.eye9 sub sgn ++ sgn mult *.eye3 *.eye8 sub sgn ++ sgn mult *.eye3 *.eye7 sub sgn 0 floor mult *.eye3 *.eye6 sub sgn 0 floor mult *.eye3 *.eye5 sub sgn 0 floor mult *.eye3 *.eye4 sub sgn 0 floor mult *.eye3 *.eye2 sub sgn ++ sgn mult *.eye3 *.eye1 sub sgn ++ sgn mult add 2 *.eye7 *.eye9 sub sgn ++ sgn mult *.eye7 *.eye8 sub sgn ++ sgn mult *.eye7 *.eye7 sub sgn 0 floor mult *.eye7 *.eye6 sub sgn 0 floor mult *.eye7 *.eye5 sub sgn 0 floor mult *.eye7 *.eye4 sub sgn ++ sgn mult *.eye7 *.eye2 sub sgn ++ sgn mult *.eye7 *.eye1 sub sgn ++ sgn mult add -1 *.eye4 *.eye9 sub sgn ++ sgn mult *.eye4 *.eye8 sub sgn ++ sgn mult *.eye4 *.eye7 sub sgn ++ sgn mult *.eye4 *.eye6 sub sgn 0 floor mult *.eye4 *.eye5 sub sgn 0 floor mult *.eye4 *.eye3 sub sgn ++ sgn mult *.eye4 *.eye2 sub sgn ++ sgn mult *.eye4 *.eye1 sub sgn ++ sgn mult add 1 *.eye6 *.eye9 sub sgn ++ sgn mult *.eye6 *.eye8 sub sgn ++ sgn mult *.eye6 *.eye7 sub sgn ++ sgn mult *.eye6 *.eye6 sub sgn ++ sgn mult *.eye6 *.eye5 sub sgn 0 floor mult *.eye6 *.eye3 sub sgn ++ sgn mult *.eye6 *.eye2 sub sgn ++ sgn mult *.eye6 *.eye1 sub sgn ++ sgn mult add 4 add *.focuseye 4 add sub dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- dup sgn -- sgn ++ .focuseye mult inc -- 9 add - dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec -- dup sgn -- sgn ++ .focuseye mult dec --
stop

'Withdraw from any pain and report the roundabouts
'This gene is not always functional...
cond
*.pain 100 >
start
*.xpos .out3 store
*.ypos .out4 store
*.shang .setaim store
1000 .dn store
stop

'Approach prey
cond
*.eyef 0 !=
*.myup *.refup !=
start
*.refveldx .dx store
*.refvelup 55 add .up store
stop

cond
 *.refup *.myup !=
 *.eyef 2000 >
start
 *.refxpos *.refypos angle .setaim store
 *.refxpos *.refypos angle *.refaim *.refvel mult 40 *.refxpos *.xpos sub 2 pow *.refypos *.ypos sub 2 pow add sqr div mult 60 *.focuseye mult mult .aimdx store
 *.refxpos *.refypos angle `(*.refaim *.aim sub abs mult) .aimshoot store
 *.refvelup .up store
 -6 .shoot store
stop

end

42
The Gene depository / Powerful half-evolved shooting gene
« on: February 22, 2014, 04:42:22 PM »
This evolved froma complex web of Blue On Blue evolution sims- whatever it is, it works well! I do not know how evolved it is, exactly.

start
*.eyef 0 !=
 *.refxpos *.refypos angle .setaim store
 *.refxpos *.refypos angle *.refxpos *.refypos dist 700 div *.maxvel mult *.refvelup add 9 floor *.maxvel mult .up store
 *.veldx .sx store
 -6 .shoot store
 *.nrg 50 div 20 floor 1000 ceil 15 store
stop

However, you have to add a conspec line to the top.

 :D

43
F1 bots / Evolved BlueOnBlue Evolved(F2,F1,evo)(MysticalDumpling)21-2-14
« on: February 21, 2014, 06:07:23 PM »
Apparently, the wiki was right- this rather powerful bot formed at the extreme edge of the environment. I put a copy of the first BlueonBlue evo sim under very high gravity, and this formed. Sadly, the bots were overcome after about 3h. (It is very hard to reproduce when there was no falling vegs to tie to.)

Since it was started in a new program, the generations and mutations are a bit off.

Again, I do not know why this works better than the original, other than breakdown of certain "useless" genes. Be warned- sometimes these can be cannibotistic (very weak conspec)

Code: [Select]
'#generation: 39
'#mutations: 14
 *.robage 3 =
 start
 .tie inc
 100 .shell store
 600 986 store
 1000 985 store
 stop
''''''''''''''''''''''''  Gene:  1 Ends at position  16  '''''''''''''''''''''''
 cond
 *.in1 0 !=
 *.in1 *.out1 <
 start
 *.in1 .out1 store
 stop
''''''''''''''''''''''''  Gene:  2 Ends at position  28  '''''''''''''''''''''''
 cond
 *.in2 0 !=
 *.in2 *.out2 !=
 start
 *.in2 .out2 store
 stop
''''''''''''''''''''''''  Gene:  3 Ends at position  40  '''''''''''''''''''''''
 cond
 *.robage 5 >
 *.memval *.genes *.refbody *986 >
 start
 *.refbody 30000
''''''''''''''''''''''''  Gene:  4 Ends at position  52  ''''''''''''''''''''''' else
 986 inc

''''''''''''''''''''''''  Gene:  5 Ends at position  55  '''''''''''''''''''''''
 cond
 stop
''''''''''''''''''''''''  Gene:  6 Ends at position  57  '''''''''''''''''''''''
 ceil 30000 *.refbody *.robage 5 >
 *.memval *.genes <
 *.refnrg *985 >
 start
 *.refnrg store
 *.refnrg 30000 ceil .out2 store
 stop
''''''''''''''''''''''''  Gene:  7 Ends at position  78  '''''''''''''''''''''''
 cond
 *.robage 5 >
 *.memval *.genes =
 986 *.in3 stop
''''''''''''''''''''''''  Gene:  8 Ends at position  88  '''''''''''''''''''''''
 store
 *.in3 .out3 store
 stop
 cond
 *.robage 5 >
 *.memval ceil =
 *.in4 *985 >
 2 *.in4 985 store
 *860 .out4 store
 stop
''''''''''''''''''''''''  Gene:  9 Ends at position  111  '''''''''''''''''''''''
 cond
 *0 5 >
 *.memval *.genes =
 and
 *.shflav -1 =
 or
 200 50 *.poison *.nrg <
 >
 inc
 stop
''''''''''''''''''''''''  Gene:  10 Ends at position  131  '''''''''''''''''''''''
 cond
 *.ploc 7 !=
 start
 7 .ploc store
 stop
''''''''''''''''''''''''  Gene:  11 Ends at position  140  '''''''''''''''''''''''
 cond
 *.refage *987 *.robage 0 !=
 start
 *.aim 280 add .setaim store
 stop
''''''''''''''''''''''''  Gene:  12 Ends at position  153  '''''''''''''''''''''''
 cond
 *.memval *.genes =
 *.refage 0 >
 *.eye5 0 pow >
 angle 280 add *.setaim store
 stop
''''''''''''''''''''''''  Gene:  13 Ends at position  170  '''''''''''''''''''''''
 cond
 *987 *.refage !=
 *.robage 0 !=
 *.memval *.genes !=
 start
 *.refxpos *.refypos angle .setaim store
 *.refxpos *.refypos angle *.refxpos *.refypos dist 700 div *.maxvel mult *.refvelup add 9 floor *.maxvel mult .up store
 *.veldx .sx store
 -6 .shoot store
 *.nrg 50 div 20 floor 1000 ceil 15 store
 stop
''''''''''''''''''''''''  Gene:  14 Ends at position  220  '''''''''''''''''''''''
 cond
 *990 0 !=
 start
 *.aim *71 628 add .setaim store
 990 dec
 1 .deltie store
 0 .shoot store
 stop
''''''''''''''''''''''''  Gene:  15 Ends at position  240  '''''''''''''''''''''''
 cond
 *.refage !=
 *.robage 0 !=

''''''''''''''''''''''''  Gene:  16 Ends at position  246  '''''''''''''''''''''''
 cond
 *.genes =
 start
 *.aim 628 add .setaim store
 stop
''''''''''''''''''''''''  Gene:  17 Ends at position  256  '''''''''''''''''''''''
 cond
 *987 *.refage <
 *.robage 0 !=
 *.nrg *985 >
 *.body *974 >
 *990 0 =
 start
 25 .repro store
 628 mod .setaim store
 1 990 store
 stop
''''''''''''''''''''''''  Gene:  18 Ends at position  284  '''''''''''''''''''''''
 angle *.tiepres 0 *.memval or
 >
 0 start
 *.tiepres .deltie store
 stop
''''''''''''''''''''''''  Gene:  19 Ends at position  296  '''''''''''''''''''''''
 cond
 *.shell 30 <
 *.shflav 3 =
 or
 *.shflav -3 =
 or
 >
 *.shell 32000 <
 *.nrg 1000 >
 start
 100 *.shell sub .shell store
 stop
''''''''''''''''''''''''  Gene:  20 Ends at position  322  '''''''''''''''''''''''
 cond
 *.body 31901 <
 *.nrg >
 start
 100 .strbody store
 stop
''''''''''''''''''''''''  Gene:  21 Ends at position  333  '''''''''''''''''''''''
 cond
 *.nrg 300 <
 start
 100 .fdbody store
 stop
''''''''''''''''''''''''  Gene:  22 Ends at position  342  '''''''''''''''''''''''
 cond
 *.robage 32000 =
 start
 stop
''''''''''''''''''''''''  Gene:  23 Ends at position  348  '''''''''''''''''''''''
 cond
 *.waste 50 >
 *.memval *265 !=
 dist -4 .shoot store

''''''''''''''''''''''''  Gene:  24 Ends at position  359  '''''''''''''''''''''''
 cond

''''''''''''''''''''''''  Gene:  25 Ends at position  360  '''''''''''''''''''''''
 cond
 *.fixpos 0 >
 start
 .fixpos dec
 !=
 0 *.delgene
''''''''''''''''''''''''  Gene:  26 Ends at position  370  '''''''''''''''''''''''
 cond
 stop
''''''''''''''''''''''''  Gene:  27 Ends at position  372  '''''''''''''''''''''''
 start
 0 340 *.up stop
''''''''''''''''''''''''  Gene:  28 Ends at position  377  '''''''''''''''''''''''
 cond
 *.shoot -2 =
 start
 0 .shoot store
 << 0 floor .shootval store
 stop
''''''''''''''''''''''''  Gene:  29 Ends at position  391  '''''''''''''''''''''''
 cond
 *.paralyzed 0 >
 start
 0 763 store
 0 8 *984 0 !=

''''''''''''''''''''''''  Gene:  30 Ends at position  404  ''''''''''''''''''''''' start
 0 997 store
 stop
''''''''''''''''''''''''  Gene:  31 Ends at position  409  '''''''''''''''''''''''
 div cond
 *981 0 =
 *.memval *.genes !=
 *.refaimsx *.myaimsx <
 *987 *.refage !=
 *.robage 0 !=
 *.refeye 0 !=
 start
 store
 953 sub *.refaimsx *.myaimsx stop
''''''''''''''''''''''''  Gene:  32 Ends at position  436  '''''''''''''''''''''''
 cond
 *981 0 =
 *.memval *.genes !=
 *.refaimdx *.myaimdx <
 *987 *.refage !=
 !=
 *.refeye -1 !=
 start
 *.myaimdx *.refaimdx sub 980 store
 stop
''''''''''''''''''''''''  Gene:  33 Ends at position  460  '''''''''''''''''''''''
 cond
 *979 0 *.genes *.memval =
 !=
 *.refeye *.myeye << <
 *956 *.refage !=
 *.robage 0 !=
 *.refeye 0 inc
 !~=
 start
 *.myeye sub 979 store
 stop
''''''''''''''''''''''''  Gene:  34 Ends at position  487  '''''''''''''''''''''''
 cond
 start
 *.genes dec
 mult *.fixed 216 340 *318 sub dup div mult *.robage sgn mult store
 .genes inc
 368 .memloc store
 *136 *.refage 987 store
 stop


:)

44
F1 bots / BlueOnBlue evolved(evo)(F1)(MysticalDumpling)20-2-14
« on: February 20, 2014, 05:19:09 PM »
This is BlueOnBlue evolved for 80k cycles- there used to be huge diversity, but it almost hit 0 when this formed. I got it in a size 5 sim with a running alga and F1 default costs.

I wonder how well it will run against an f1 bot...
Code: [Select]
'#generation: 41
'#mutations: 34
 *.robage 0 =
 start
 .tie inc
 100 .shell store
 600 986 store
 1000 985 store
 stop
''''''''''''''''''''''''  Gene:  1 Ends at position  16  '''''''''''''''''''''''
 cond
 *.in1 0 !=
 *.in1 *.out1 !=
 start
 *.in1 .out1 store
 stop
''''''''''''''''''''''''  Gene:  2 Ends at position  28  '''''''''''''''''''''''
 cond
 *.in2 0 !=
 *.in2 *.out2 !=
 start
 *.in2 .out2 store
 stop
''''''''''''''''''''''''  Gene:  3 Ends at position  40  '''''''''''''''''''''''
 cond
 *.robage 5 >
 *.memval *.genes !=
 *.refbody *986 >
 start
 *.refbody 30000 ceil 986 store
 *.refbody 30000 ceil .out1 store
 stop
''''''''''''''''''''''''  Gene:  4 Ends at position  62  '''''''''''''''''''''''
 cond
 *.robage 5 >
 *.memval *.genes !=
 *.refnrg *985 >
 start
 *.refnrg 30000 ceil 985 store
 *.refnrg 30000 ceil .out2 store
 stop
''''''''''''''''''''''''  Gene:  5 Ends at position  84  '''''''''''''''''''''''
 cond
 *.robage 5 >
 *.memval *.genes =
 *.in3 *986 >
 stop
''''''''''''''''''''''''  Gene:  6 Ends at position  95  '''''''''''''''''''''''
 *.in3 986 store
 *.in3 .out3 store
 stop
 cond
 *.robage 5 >
 *.memval *.genes =
 *.in4 *985 >
 start
 *.in4 985 store
 *.in4 .out4 store
 stop
''''''''''''''''''''''''  Gene:  7 Ends at position  120  '''''''''''''''''''''''
 cond
 *0 0 >
 *.memval *.genes =
 and
 *.shflav -1 =
 or
 *.poison 50 200 *.nrg <
 >
 start
 100 *.poison sub .mkpoison store
 0 inc
 stop
''''''''''''''''''''''''  Gene:  8 Ends at position  147  '''''''''''''''''''''''
 cond
 *.ploc 7 !=
 start
 7 .ploc store
 stop
''''''''''''''''''''''''  Gene:  9 Ends at position  156  '''''''''''''''''''''''
 cond
 =
 *.refage *987 *.robage 0 !=
 start
 *.aim 280 add .setaim store
 stop
''''''''''''''''''''''''  Gene:  10 Ends at position  170  '''''''''''''''''''''''
 cond
 *.memval *.genes =
 *.refage 0 >
 *.eye5 0 >
 angle 280 add .setaim store
 stop
''''''''''''''''''''''''  Gene:  11 Ends at position  186  '''''''''''''''''''''''
 cond
 *987 *.refage !=
 *.robage 0 !=
 *.memval *.genes !=
 start
 *.refxpos *.refypos angle .setaim store
 *.refxpos *.refypos angle *.refxpos *.refypos dist 700 div *.maxvel mult *.refvelup add 9 floor *.maxvel ceil .up store
 *.veldx .sx store
 -6 .shoot store
 *.nrg 50 div 20 floor 1000 ceil .shootval store
 stop
''''''''''''''''''''''''  Gene:  12 Ends at position  236  '''''''''''''''''''''''
 cond
 *990 0 !=
 start
 *.aim 628 add .setaim store
 990 dec
 1 .deltie store
 0 .shoot store
 stop
''''''''''''''''''''''''  Gene:  13 Ends at position  255  '''''''''''''''''''''''
 cond
 *.robage 1 *.refage !=
 *.robage 0 !=
 *.memval *.genes =
 start
 *.aim 628 add .setaim store
 stop
''''''''''''''''''''''''  Gene:  14 Ends at position  273  '''''''''''''''''''''''
 cond
 *987 *.refage =
 *.robage 0 !=
 *.nrg *985 >
 *.body *974 >
 *990 0 =
 start
 25 .repro store
 628 mod .setaim store
 1 990 store
 stop
''''''''''''''''''''''''  Gene:  15 Ends at position  301  '''''''''''''''''''''''
 cond
 *.tiepres 0 >
 *.numties 0 >
 or
 start
 *.tiepres .deltie store
 stop
''''''''''''''''''''''''  Gene:  16 Ends at position  314  '''''''''''''''''''''''
 cond
 *.shell 30 <
 *.shflav 3 =
 or
 *.shflav -3 =
 or
 *.shell 32000 <
 *.nrg 1000 >
 start
 100 *.shell sub .shell store
 stop
''''''''''''''''''''''''  Gene:  17 Ends at position  339  '''''''''''''''''''''''
 cond
 *.body 31901 <
 *.nrg 1000 >
 start
 100 .strbody store
 stop
''''''''''''''''''''''''  Gene:  18 Ends at position  351  '''''''''''''''''''''''
 cond
 *.nrg 300 <
 start
 100 .fdbody store
 stop
''''''''''''''''''''''''  Gene:  19 Ends at position  360  '''''''''''''''''''''''
 cond
 *.robage 32000 =
 start
 stop
''''''''''''''''''''''''  Gene:  20 Ends at position  366  '''''''''''''''''''''''
 cond
 *.waste 50 >
 *.memval *265 !=
 dist -4 .shoot store

''''''''''''''''''''''''  Gene:  21 Ends at position  377  '''''''''''''''''''''''
 cond

''''''''''''''''''''''''  Gene:  22 Ends at position  378  '''''''''''''''''''''''
 cond
 *.fixpos 0 >
 start
 .fixpos dec
 stop
''''''''''''''''''''''''  Gene:  23 Ends at position  386  '''''''''''''''''''''''
 cond
 *.delgene 0 !=
 start
 0 .delgene store
 stop
''''''''''''''''''''''''  Gene:  24 Ends at position  395  '''''''''''''''''''''''
 cond
 *.shoot -2 =
 start
 0 .shoot store
 << 0 .shootval store
 stop
''''''''''''''''''''''''  Gene:  25 Ends at position  408  '''''''''''''''''''''''
 cond
 *.paralyzed 0 >
 start
 0 .mkshell store
 0 .shootval store
 stop
''''''''''''''''''''''''  Gene:  26 Ends at position  420  '''''''''''''''''''''''
 cond
 *984 0 !=
 start
 0 984 store
 stop
''''''''''''''''''''''''  Gene:  27 Ends at position  429  '''''''''''''''''''''''
 cond
 *981 0 =
 *.memval *.genes !=
 *.refaimsx *.myaimsx <
 *987 *.refage !=
 *.robage 0 !=
 *.refeye 0 !=
 start
 store
 953 sub *.refaimsx *.myaimsx stop
''''''''''''''''''''''''  Gene:  28 Ends at position  455  '''''''''''''''''''''''
 cond
 *981 0 =
 *.memval *.genes !=
 *.refaimdx *.myaimdx <
 *987 *.refage !=
 0 !=
 *.refeye 0 !=
 start
 *.myaimdx *.refaimdx sub 980 store
 stop
''''''''''''''''''''''''  Gene:  29 Ends at position  480  '''''''''''''''''''''''
 cond
 *979 0 *.genes *.memval =
 !=
 *.refeye *.myeye << <
 *956 *.refage !=
 *.robage 0 !=
 *.refeye 0 inc
 !~=
 start
 *.myeye sub 979 store
 stop
''''''''''''''''''''''''  Gene:  30 Ends at position  507  '''''''''''''''''''''''
 cond
 start
 *.genes 340 216 *.fixed mult dec
 *.thisgene sub dup div mult *.robage sgn mult store
 .genes inc
 341 .memloc store
 *136 *.refage 987 store
 stop
''''''''''''''''''''''''  Gene:  31 Ends at position  534  '''''''''''''''''''''''

45
Bugs and fixes / DEf limit?
« on: February 14, 2014, 07:53:26 PM »
I tried to create a bot to see whether eyeval evolution has an effet. Half of the defs are 0 in the sim. Helpings?

Quote
'Defs
'Evals (stored in epigemem)
def e1w 971
def e2w 972
def e3w 973
def e4w 974
def e5w 975
def e6w 976
def e7w 977
def e8w 978
def e9w 979

def e1 980
def e2 981
def e3 982
def e4 983
def e5 984
def e6 985
def e7 986
def e8 987
def e9 988

'If it is 1, coose random eyevals
def ie1w 21
def ie2w 22
def ie3w 23
def ie4w 24
def ie5w 25
def ie6w 26
def ie7w 27
def ie8w 28
def ie9w 29

def ie1 30
def ie2 31
def ie3 32
def ie4 33
def ie5 34
def ie6 35
def ie7 36
def ie8 37
def ie9 38

cond
*.robage 0 =
start
1 rnd .ie1 store
1 rnd .ie1 store
1 rnd .ie2 store
1 rnd .ie3 store
1 rnd .ie4 store
1 rnd .ie5 store
1 rnd .ie6 store
1 rnd .ie7 store
1 rnd .ie8 store
1 rnd .ie9 store
1 rnd .iew1 store
1 rnd .iew2 store
1 rnd .iew3 store
1 rnd .iew4 store
1 rnd .iew5 store
1 rnd .iew6 store
1 rnd .iew7 store
1 rnd .iew8 store
1 rnd .iew9 store

-1221 1221 rnd *.iew1 .ew1 mult store
-1221 1221 rnd *.iew2 .ew2 mult store
-1221 1221 rnd *.iew3 .ew3 mult store
-1221 1221 rnd *.iew4 .ew4 mult store
-1221 1221 rnd *.iew5 .ew5 mult store
-1221 1221 rnd *.iew6 .ew6 mult store
-1221 1221 rnd *.iew7 .ew7 mult store
-1221 1221 rnd *.iew8 .ew8 mult store
-1221 1221 rnd *.iew9 .ew9 mult store

-1221 1221 rnd *.ie1 .ew1 mult store
-1221 1221 rnd *.ie2 .ew2 mult store
-1221 1221 rnd *.ie3 .ew3 mult store
-1221 1221 rnd *.ie4 .ew4 mult store
-1221 1221 rnd *.ie5 .ew5 mult store
-1221 1221 rnd *.ie6 .ew6 mult store
-1221 1221 rnd *.ie7 .ew7 mult store
-1221 1221 rnd *.ie8 .ew8 mult store
-1221 1221 rnd *.ie9 .ew9 mult store

*.e1 521 store
*.e2 522 store
*.e3 523 store
*.e4 524 store
*.e5 525 store
*.e6 526 store
*.e7 527 store
*.e8 528 store
*.e9 529 store

*.ew1 531 store
*.ew2 532 store
*.ew3 533 store
*.ew4 534 store
*.ew5 535 store
*.ew6 536 store
*.ew7 537 store
*.ew8 538 store
*.ew9 539 store
stop

Pages: 1 2 [3] 4