Author Topic: The amazing wikibot  (Read 22525 times)

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
The amazing wikibot
« Reply #45 on: May 17, 2010, 12:31:40 PM »
Sweet hadn't noticed people where building on this again
Last version I tryed could barely survive without costs on, but after a few mutations it started coming up with all sorts of tricks to survive, dispite it's somewhat skitzofrenic design.
(When reproducing it would first make a very small offspring, then move towards the offspring while incrementing .repro, aparently t doesn't reset if you can't reproduce, or something. Anyway it allowed it to produce larger offspring of random sizes using just .repro inc)
Point is, when running it mutations will usualy improve it rather fast.

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

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The amazing wikibot
« Reply #46 on: November 20, 2011, 05:33:33 PM »
It seems that any code I put at the end simply gets ignored...

nm, got it:

Code: [Select]
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 =

Come on , someone post something random, I have an idea for a store command...
« Last Edit: November 22, 2011, 03:28:21 PM by Botsareus »

Offline havingphun

  • Bot Builder
  • **
  • Posts: 54
    • View Profile
Re: The amazing wikibot
« Reply #47 on: April 02, 2012, 05:35:37 PM »
I dont know if this is right but:

Code: [Select]
50 *.sharenrg store
*.refxpos *.refypos add .setaim store

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The amazing wikibot
« Reply #48 on: August 05, 2012, 10:36:02 AM »
Code: [Select]
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

 8)

Offline Tilthanseco

  • Bot Builder
  • **
  • Posts: 60
    • View Profile
Re: The amazing wikibot
« Reply #49 on: August 06, 2012, 02:06:45 AM »
Code: [Select]
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
Undisputed creator of bot Sonar!

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The amazing wikibot
« Reply #50 on: August 06, 2012, 12:07:55 PM »
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:
« Last Edit: August 06, 2012, 12:11:11 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The amazing wikibot
« Reply #51 on: August 06, 2012, 12:40:09 PM »
edit code to force them to move when they smell death...

Code: [Select]
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
« Last Edit: August 06, 2012, 12:46:42 PM by Botsareus »

Offline Tilthanseco

  • Bot Builder
  • **
  • Posts: 60
    • View Profile
Re: The amazing wikibot
« Reply #52 on: August 06, 2012, 02:03:02 PM »
I got rid of my random store; Its not very helpful when the bot is already schizophrenic. Replaced with eye4 omni-eye.
Code: [Select]
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
"*.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.
« Last Edit: August 06, 2012, 07:01:17 PM by Tilthanseco »
Undisputed creator of bot Sonar!

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The amazing wikibot
« Reply #53 on: August 06, 2012, 03:36:26 PM »
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.
« Last Edit: August 06, 2012, 04:10:22 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The amazing wikibot
« Reply #54 on: August 07, 2012, 04:47:41 PM »
ok, we got:

Code: [Select]
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

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

Please post only one line from now on
« Last Edit: August 07, 2012, 05:15:07 PM by Botsareus »

Offline Tilthanseco

  • Bot Builder
  • **
  • Posts: 60
    • View Profile
Re: The amazing wikibot
« Reply #55 on: August 07, 2012, 09:23:18 PM »
Naa; I think we should leave the multi-line editions alone, just now only stick to one line.
I added them back in.
Added *51 .out1 store

Code: [Select]
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
1220 .eye4width store
*.body 200 <
3 .up store
0 .fixpos store
0 .dx store
*51 .out1 store
Undisputed creator of bot Sonar!

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The amazing wikibot
« Reply #56 on: August 08, 2012, 12:25:57 PM »
Some reasons I really want to chop HavingPhun:

1.) It's just that my version does a lot better with Wrap Around Off (Default settings)
having phuns version makes the robot face right most of the time, They end up in the bottom right corner.
2.) He was the first one to place an illogical post. I was supposed to catch it then, but I was too excited to post my stuff...
3.) I am keeping his sharenrg, it actually improves the robot


Code: [Select]
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
*.nrg 2000 sub 300 div .dx store
1220 .eye4width store
*.body 200 <
*51 .out1 store
« Last Edit: August 08, 2012, 08:14:11 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The amazing wikibot
« Reply #57 on: August 13, 2012, 12:49:27 PM »
Code: [Select]
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
*.nrg 2000 sub 300 div .dx store
1220 .eye4width store
*.body 200 <
*51 .out1 store
*.refxpos *.refypos add 999 store

Offline Tilthanseco

  • Bot Builder
  • **
  • Posts: 60
    • View Profile
Re: The amazing wikibot
« Reply #58 on: August 13, 2012, 04:01:37 PM »
Code: [Select]
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
*.nrg 2000 sub 300 div .dx store
1220 .eye4width store
*.body 200 <
*51 .out1 store
*.refxpos *.refypos add 999 store
*.eyef 40 >=
Undisputed creator of bot Sonar!

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The amazing wikibot
« Reply #59 on: August 14, 2012, 04:20:02 PM »
Code: [Select]
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
*.nrg 2000 sub 300 div .dx store
1220 .eye4width store
*.body 200 <
*51 .out1 store
*.refxpos *.refypos add 999 store
*.eyef 40 >=
*.refypos 998 store
« Last Edit: August 14, 2012, 04:22:03 PM by Botsareus »