Author Topic: Lets make another wikibot!  (Read 8878 times)

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Lets make another wikibot!
« on: February 14, 2014, 06:22:20 PM »
(look for the topic on the wiki...)
I'll start:

 .tie inc
To być albo nie być, oto jest ze pytanie

Offline PhiNotPi

  • Bot Builder
  • **
  • Posts: 64
    • View Profile
Re: Lets make another wikibot!
« Reply #1 on: February 16, 2014, 12:49:03 PM »
I might as well give this a try.

Code: [Select]
.tie inc
*.focuseye .eye5 add * 0 >
I am biased neither towards nor against any single mathematical constant.

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Lets make another wikibot!
« Reply #2 on: February 17, 2014, 06:10:22 AM »

.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor and *.venom 50 sub 1 add sgn 0 floor and 5 mult .mkvenom store
To być albo nie być, oto jest ze pytanie

Offline PhiNotPi

  • Bot Builder
  • **
  • Posts: 64
    • View Profile
Re: Lets make another wikibot!
« Reply #3 on: February 17, 2014, 09:52:07 AM »
Your added line doesn't seem to be functional.  For example, mkvenom should be strvenom, and the "and"s don't actually do anything because there aren't any other condition operators (like > < = != etc.).  You need to use "mult"s in this case.

What I think you meant to write is:

Code: [Select]
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
Which produces venom when there is currently less than 50 venom and there is at least 1000 nrg.

Anyways, what is the maximum size of a "line"?   I think we should make an upper limit.
I am biased neither towards nor against any single mathematical constant.

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Lets make another wikibot!
« Reply #4 on: February 17, 2014, 12:43:03 PM »
Thanks phi. Lets limit the size of the line to the width of a comment AND one one store a line.

Here's my next line:
7 .venloc store
To być albo nie być, oto jest ze pytanie

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Lets make another wikibot!
« Reply #5 on: February 19, 2014, 09:29:45 AM »
So far, it is:

tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store

 :)
To być albo nie być, oto jest ze pytanie

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Re: Lets make another wikibot!
« Reply #6 on: April 09, 2014, 10:58:48 PM »
Code: [Select]
start
.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store
59 << *.robage 192 ceil >> rnd << << ++ store
stop

Got one more line I'd love to add, would make it able to actually survive in F1 settings I think. But will have to wait :P
Also I'm assuming it's one store, inc, dec or logical operator per line.
« Last Edit: April 11, 2014, 02:28:53 AM by Moonfisher »

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Lets make another wikibot!
« Reply #7 on: April 10, 2014, 02:33:29 PM »
Code: [Select]
start
.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store
59 << *.robage 192 ceil >> rnd << << ++ store
*.eyef 0 sub sgn abs -- abs .focuseye mult inc
stop
In theory, since focuseye mods, it will allow the bot to focus on any eye.
To być albo nie być, oto jest ze pytanie

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Re: Lets make another wikibot!
« Reply #8 on: April 11, 2014, 02:40:37 AM »
Yeah, but the condition for the eyes right now takes the value in the focuseye and adds the memory location of eye5 (Not the value in it). So it's a bit of a confusing condition I think.

Anyway realized won't matter what lines I add until I clear the boolean stack.
Not sure if this counts as a line.
If not then I'd just add the line from before again after the clearbool :D

Code: [Select]
start
.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store
59 << *.robage 192 ceil >> rnd << << ++ store
*.eyef 0 sub sgn abs -- abs .focuseye mult inc
clearbool
stop

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Lets make another wikibot!
« Reply #9 on: April 11, 2014, 03:05:19 PM »
Code: [Select]
start
.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store
59 << *.robage 192 ceil >> rnd << << ++ store
*.eyef 0 sub sgn abs -- abs .focuseye mult inc
clearbool
*.refbody << *.timer rnd 3 ceil mult ++ .up store
stop
« Last Edit: April 11, 2014, 03:12:04 PM by MysticalDumpling »
To być albo nie być, oto jest ze pytanie

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Re: Lets make another wikibot!
« Reply #10 on: April 13, 2014, 05:52:50 AM »
Wish there was more people throwing line in here.
I always think wikibots make such great evo bases.

Code: [Select]
start
.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store
59 << *.robage 192 ceil >> rnd << << ++ store
*.eyef 0 sub sgn abs -- abs .focuseye mult inc
clearbool
*.refbody << *.timer rnd 3 ceil mult ++ .up store
59 << *.robage 192 ceil >> rnd << << ++ store
stop
« Last Edit: April 13, 2014, 05:54:36 AM by Moonfisher »

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Lets make another wikibot!
« Reply #11 on: April 16, 2014, 08:49:27 AM »
*.refeye 4 sub .sx store
Is my next line
To być albo nie być, oto jest ze pytanie

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Re: Lets make another wikibot!
« Reply #12 on: April 17, 2014, 12:34:10 AM »
.shoot dec

Felt that was missing :)

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Lets make another wikibot!
« Reply #13 on: April 17, 2014, 03:56:29 PM »
5 .sharenrg store
To być albo nie być, oto jest ze pytanie

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Re: Lets make another wikibot!
« Reply #14 on: April 18, 2014, 01:24:52 AM »
Code: [Select]
start
.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
7 .venloc store
-2 .venval store
59 << *.robage 192 ceil >> rnd << << ++ store
*.eyef 0 sub sgn abs -- abs .focuseye mult inc
clearbool
*.refbody << *.timer rnd 3 ceil mult ++ .up store
59 << *.robage 192 ceil >> rnd << << ++ store
*.refeye 4 sub .sx store
.shoot dec
5 .sharenrg store
*.body *.trefbody sub 10 div 65 floor .sharenrg store
stop

Sorry to mess with the exact same thing, but 5 .sharenrg was pretty suicidal.
Tried to run it like this, and it had a hard time surviving, thought it was dying out. But seems it uses .mrepro somewhere in there, so even with mutations turned off it was mutating. After only 1600 cycles (Possibly less) it had broken several lines and was now stable and able to survive with F1 conditions. I think one of the key lines was the line storing a high value in .up (line 9) which was now only storing 1 in .up i think (Assuming *323 is 0).
At least that's the visible effect i noticed, instead of zipping away at light speed it would suddenly cluster around the alge.
(Above is the wiki bot, bellow is the evolved result after 1660 cycles in F1 conditions, with mutations disabled, but likely using mrepro)

Code: [Select]
start
 .tie inc
 *.focuseye 505 add * 0 >
 *.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
 7 0 store
 -2 .venval store
 59 << *.robage 192 ceil >> rnd << << ++ store
 *.eyef 0 sub sgn abs -- abs 511 mult inc
 clearbool
 *.refbody << *.timer *323 rnd 3 ceil mult ++ .up store
 59 << *.robage 192 ceil >> rnd << << ++ store
 *.refeye 4 sub .sx store
 .shoot dec
 5 .sharenrg store
 *.body *.trefbody sub 10 div 65 floor .sharenrg store
 stop