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

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Re: Lets make another wikibot!
« Reply #15 on: April 18, 2014, 08:30:07 AM »
I let the sim continue for another 24K cycles.
This is what it ended up like. Does quite well in F1 conditions with a larger field.
Uses chloroplasts somehow, good add forming fungus like structures around alge as well.
It no longer shoots, it only seems to share nrg (Although not sure how that part of the code works now) and makes some chloroplast.
Very interesting development for only 24K cycles. And just using mrepro with no mutations on it would seem. (Unless disabling mutations is broken, but fairly sure it isn't)

Code: [Select]
start
 .tie inc
 *.focuseye 505 add 0 xor
 * *.nrg 1000 sub *.venom 49 floor 0 sgn sgn 0 floor mult 5 mult .strvenom store
 store
 0 7 -2 .venval floorstore
 59 clearbool
 *.robage 192 ceil >> rnd << << ++ store
 *.eyef 0 sub abs -- abs 511 clearbool
 inc
 mult << *.timer store
 div rnd 3 logx mult ++ .up store
 59 *.robage 176 ceil >> rnd << << ++ store
 store
 7 830 10 div 65 floor 830 overbool
 store
 stop

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Lets make another wikibot!
« Reply #16 on: April 20, 2014, 09:23:36 AM »
Yay! I love wikibots


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
*.tmemloc .chlr sub sgn abs .chlr mult .tmemloc *.tmemval 0 sub sgn abs 99 mult .sharenrg store 
stop

I don't know how well that line will work, though...
To być albo nie być, oto jest ze pytanie

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Re: Lets make another wikibot!
« Reply #17 on: April 27, 2014, 07:26:18 AM »

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
*.tmemloc .chlr sub sgn abs .chlr mult .tmemloc *.tmemval 0 sub sgn abs 99 mult .sharenrg store 
*.refxpos *.refypos angle .aimshoot store
stop

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Lets make another wikibot!
« Reply #18 on: April 27, 2014, 11:32:05 AM »
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
*.tmemloc .chlr sub sgn abs .chlr mult .tmemloc *.tmemval 0 sub sgn abs 99 mult .sharenrg store 
*.refxpos *.refypos angle .aimshoot store
.chlr .memloc store
stop
To być albo nie być, oto jest ze pytanie

Offline Niemci

  • Bot Neophyte
  • *
  • Posts: 11
    • View Profile
Re: Lets make another wikibot!
« Reply #19 on: September 26, 2014, 11:54:44 AM »
Quote

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
*.tmemloc .chlr sub sgn abs .chlr mult .tmemloc *.tmemval 0 sub sgn abs 99 mult .sharenrg store 
*.refxpos *.refypos angle .aimshoot store
.chlr .memloc store
*.refxpos *.refypos dist 300 div *.maxvel mult *.refvel add 0 floor *.maxvel ceil .up store
stop

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Lets make another wikibot!
« Reply #20 on: September 26, 2014, 12:41:41 PM »
This robot is definitely behaving more coherently now. Good contribution!  :)

Offline Niemci

  • Bot Neophyte
  • *
  • Posts: 11
    • View Profile
Re: Lets make another wikibot!
« Reply #21 on: September 26, 2014, 08:15:03 PM »
Yay! Want to join in? It is fun, but I must wait for someone to post a line...

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Lets make another wikibot!
« Reply #22 on: September 26, 2014, 08:27:57 PM »
Thx for the offer though.  8)

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Lets make another wikibot!
« Reply #23 on: October 18, 2014, 06:03:42 AM »
Ok, I am new to darwinbots, but lets have a go at this then *Cracks nuckles*
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
*.tmemloc .chlr sub sgn abs .chlr mult .tmemloc *.tmemval 0 sub sgn abs 99 mult .sharenrg store 
*.refxpos *.refypos angle .aimshoot store
.chlr .memloc store
*.refxpos *.refypos dist 300 div *.maxvel mult *.refvel add 0 floor *.maxvel ceil .up store
cond *.availability 50 > start *.mkchlr 1

stop
Oh btw did anyone else notice that XNOR & if is missing from the operators on WikiManual
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Lets make another wikibot!
« Reply #24 on: October 18, 2014, 05:54:55 PM »
off topic:

There is no 'if' in db, just 'start' and 'else.' You can not make a duplex gene that uses both though. Amplification mutations take care of that.
Not sure if we need 'xnor'

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Lets make another wikibot!
« Reply #25 on: October 19, 2014, 08:33:25 AM »
off topic:

There is no 'if' in db, just 'start' and 'else.' You can not make a duplex gene that uses both though. Amplification mutations take care of that.
Not sure if we need 'xnor'
So what would be the fill-in for if........Would it be else?
And If you have Xor and not then Xnor just helps to compact the code, its litterally 'not Xor'
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Lets make another wikibot!
« Reply #26 on: October 19, 2014, 12:06:01 PM »
offtopic:

A fill in for if would be

Code: [Select]
cond
1 1 =
start
blablabla
stop

remember that everything is in reverse polish notation.

I get where you are going with xnor. Three points:

1.) No one uses xor in the first place.
2.) You can always use 'xor not' (bot you probably already knew that)
3.) The last and only time I upgraded the DNA logic (breaking forward compatibility pretty well) was back in early 2013 when I introduced chloroplasts. Xnor was not on my list :( (I really want to avoid doing that until the release of DB3) sorry.



Fun fact, DB3 will have even less shorthand commands then DB2, 'addstore' and all that other stuff will be gone and be replaced with codules.



Also, please try to stay on topic or post a question in Newbee...

Thx.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Lets make another wikibot!
« Reply #27 on: October 19, 2014, 05:32:52 PM »
off topic: I just scoped out the code. I will not be able to add any new logic because that will mean a complete overhall of sexrepro. Sorry. But you did inspire me to add notes to the wiki that explain forwards compatibility.
« Last Edit: October 19, 2014, 05:38:51 PM by Botsareus »

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Lets make another wikibot!
« Reply #28 on: October 23, 2014, 06:43:55 AM »
off topic: I just scoped out the code. I will not be able to add any new logic because that will mean a complete overhall of sexrepro. Sorry. But you did inspire me to add notes to the wiki that explain forwards compatibility.
Yay, I have no clue about reverse polish notation & forward compatibility...The more descriptions the better :P

Anyway, most bots I use will have Xor cuz its useful, Its good if you want only 1 condition to be reached then it do X but not do it if both reached...

*Yep I know a lot about logic gates :P*
Btw, I noticed your puns, bot I have to say, they were cheesy.

Mhm, Im tempted to make a more fruity veg and very...Moudly bot...but if their anything in the DNA I can do to hold them together...fruit bots going solo would be weird XD
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Lets make another wikibot!
« Reply #29 on: October 23, 2014, 10:36:43 AM »
Quote
Btw, I noticed your puns, bot I have to say, they were cheesy.

If you are talking about the rant. It is actual stuff happening to me from my pov.