Bots and Simulations > Bot Tavern

The amazing wikibot

<< < (11/13) > >>

Botsareus:
funky, the only problem is if I disable mutations they still mutate because of mrepro. So I went in and disabled mutations internally for a test. Now they seem to just sit there, see picy:

Botsareus:
edit code to force them to move when they smell death...


--- Code: ---start
*.body 200 <
*.nrg 200 > and
20 .dn store
.backshot inc
618 .eye5dir .focuseye add store
-1 .shoot store
50 .strbody store
*.eyef 0 > and
*.in1 *.out2 = and
-6 .shoot store
20 .up store
*.refvelup .dx store
*.body 200 >=
*.nrg 20000 > and
.repro inc
swapbool
*.numties 0 = and
*.eye5 70 > and
.tie inc
swapbool
not
10 .up store
or
*.refxpos *.refypos angle *.aim sub 35 *.focuseye mult add .eye5dir *.focuseye add store
-1 .shoot store
*.nrg 1500 >
*.body 100 < and
10 .mrepro store
600 .aimdx store
.mkshell inc
0 0 =
50 *.sharenrg store
*.refxpos *.refypos add .setaim store
*.nrg 2000 sub 300 div .dx store
*.timer 123 mult 100 mod *.timer 321 mult abs 1000 mod store
*.body 200 <
3 .up store
0 .fixpos store
0 .dx store

--- End code ---

Tilthanseco:
I got rid of my random store; Its not very helpful when the bot is already schizophrenic. Replaced with eye4 omni-eye.

--- Code: ---start
*.body 200 <
*.nrg 200 > and
20 .dn store
.backshot inc
618 .eye5dir .focuseye add store
-1 .shoot store
50 .strbody store
*.eyef 0 > and
*.in1 *.out2 = and
-6 .shoot store
20 .up store
*.refvelup .dx store
*.body 200 >=
*.nrg 20000 > and
.repro inc
swapbool
*.numties 0 = and
*.eye5 70 > and
.tie inc
swapbool
not
10 .up store
or
*.refxpos *.refypos angle *.aim sub 35 *.focuseye mult add .eye5dir *.focuseye add store
-1 .shoot store
*.nrg 1500 >
*.body 100 < and
10 .mrepro store
600 .aimdx store
.mkshell inc
0 0 =
50 *.sharenrg store
*.refxpos *.refypos add .setaim store
*.nrg 2000 sub 300 div .dx store
*.timer 123 mult 100 mod *.timer 321 mult abs 1000 mod store
*.body 200 <
3 .up store
0 .fixpos store
0 .dx store

--- End code ---
"*.timer 123 mult 100 mod *.timer 321 mult abs 1000 mod store" is a freaky random generator which should be excluded and replaced with 1220 .eye4width store
Ok there, no cheating lol. I thought we were limited to one line, that's what most people did.

Botsareus:
eh, Is that cheating? I think the idea was once you posted something, and someone else posted, you can not take it back? Where is the rule book?

example: I realized I can post multiple lines only after I posted "0 0 =" So, I was waiting for someone else to post like a donkey.

Botsareus:
ok, we got:


--- Code: ---start
*.body 200 <
*.nrg 200 > and
20 .dn store
.backshot inc
618 .eye5dir .focuseye add store
-1 .shoot store
50 .strbody store
*.eyef 0 > and
*.in1 *.out2 = and
-6 .shoot store
20 .up store
*.refvelup .dx store
*.body 200 >=
*.nrg 20000 > and
.repro inc
swapbool
*.numties 0 = and
*.eye5 70 > and
.tie inc
swapbool
not
10 .up store
or
*.refxpos *.refypos angle *.aim sub 35 *.focuseye mult add .eye5dir *.focuseye add store
-1 .shoot store
*.nrg 1500 >
*.body 100 < and
10 .mrepro store
600 .aimdx store
.mkshell inc
0 0 =
1220 .eye4width store
*.nrg 2000 sub 300 div .dx store

--- End code ---

sorry, had to chop someone, ended up being havingphun :(

Please post only one line from now on

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version