Author Topic: sexbau and version 2.45.03  (Read 3746 times)

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
sexbau and version 2.45.03
« on: April 17, 2013, 11:47:53 AM »
This robot was designed to test sexual reproduction in pond mode with left/right screen wrap enabled.

Code: [Select]
'sexbau by Botsareus to test type b repro.
'shipped with some junk dna
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
'vision setup
cond
*.robage 2 <
start
358 .eye0dir store
538 .eye1dir store
717 .eye2dir store
897 .eye3dir store
1076 .eye4dir store
1435 .eye6dir store
1614 .eye7dir store
1794 .eye8dir store
1973 .eye9dir store
50 .eye0width store
50 .eye1width store
50 .eye2width store
50 .eye3width store
50 .eye4width store
50 .eye5width store
50 .eye6width store
50 .eye7width store
50 .eye8width store
50 .eye9width store
'cospec setup
55 .out1 store
'bouy setup
10 .setboy store
stop
'I see something in a waird eye, lets turn so I see it with eye5

cond
*.eye1 0 >
start
556 .aimdx store
stop
cond
*.eye9 0 >
start
-556 .aimdx store
stop

cond
*.eye2 0 >
start
417 .aimdx store
stop
cond
*.eye8 0 >
start
-417 .aimdx store
stop

cond
*.eye3 0 >
start
278 .aimdx store
stop
cond
*.eye7 0 >
start
-278 .aimdx store
stop

cond
*.eye4 0 >
start
139 .aimdx store
stop
cond
*.eye6 0 >
start
-139 .aimdx store
stop

cond
*.eye5 0 >
start
0 .aimdx store
stop

'If conspec and not time to reproduce, then move -20

cond
55 *.in1 =
*.body 3000 <
start
-20 .up store
stop

'if not conspec and not time to reproduce, slowly move forward and shoot for food

cond
55 *.in1 !=
*.body 3000 <
start
-6 .shoot store
stop

cond
55 *.in1 !=
*.body 3000 <
start
1 .up store
stop

'if conspec and time to reproduce, slowly move forward shoot sperm and sexreproduce
'this gene will be amplifyed x8 and we distribute the male/female sex organs

cond
55 *.in1 =
*.body 3000 >
start
-8 .shoot store
'store this until body is less then 3000
1 999 store
stop

cond
55 *.in1 =
*.body 3000 >
start
50 .sexrepro store
'store this until body is less then 3000
1 999 store
stop

cond
55 *.in1 =
*.body 3000 >
start
-8 .shoot store
'store this until body is less then 3000
1 999 store
stop

cond
55 *.in1 =
*.body 3000 >
start
50 .sexrepro store
'store this until body is less then 3000
1 999 store
stop

cond
55 *.in1 =
*.body 3000 >
start
-8 .shoot store
'store this until body is less then 3000
1 999 store
stop

cond
55 *.in1 =
*.body 3000 >
start
50 .sexrepro store
'store this until body is less then 3000
1 999 store
stop

cond
55 *.in1 =
*.body 3000 >
start
-8 .shoot store
'store this until body is less then 3000
1 999 store
stop

cond
55 *.in1 =
*.body 3000 >
start
50 .sexrepro store
'store this until body is less then 3000
1 999 store
stop

cond
55 *.in1 =
*.body 3000 >
start
1 .up store
stop

'if robot already reproduced give some space

cond
*.body 3000 >
*999 1 =
55 *.in1 =
0 *.sexrepro =
start
-20 .up store
stop

'resets special case

cond
*.body 3000 <
start
0 999 store
stop

cond
*.edge 1 =
start
314 .setaim store
20 .up store
stop

999
998
997
996
995
994
993
992
991
990
989
988
987
986
985
984
983
982
981
980
979
978
977
976
end

Here also is the unofficial release of 2.45.03Beta.
Do not report in-sim crashes yet, I am still working on improving in-sim error handling.
You can report on anything else if you like.

For the specific experiment I ran, I disable asexual reproduction from the 'edit' menu
I also went into global settings and set kill all robots more then 6000 body points to avoid big berthas.
Also, Vegs starting position rectangle was repositioned to the top of the screen, and I put a small ledge 25/1000 height by 550/1000 width on near the top of the screen

Unfortunately the robots tend to lose the ability to reproduce as soon as they start mutating.
I was using default mutation rates, although I don't know if disabling point mutations will have any effect
Some ideas on this topic will be appreciated as well.
« Last Edit: April 18, 2013, 10:18:54 AM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: sexbau and version 2.45.03
« Reply #1 on: April 18, 2013, 10:01:35 AM »
I have a stable sexually reproducing Eco-System.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: sexbau and version 2.45.03
« Reply #2 on: April 18, 2013, 10:02:40 AM »
Here is a zip of the sim. (hope it fits)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Re: sexbau and version 2.45.03
« Reply #3 on: April 18, 2013, 04:51:46 PM »
Are the purple bots veggies?  Or is it the other way around?

Your poularion sizes are really small. I'd be concerned about long term viability with any sort of mutations.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: sexbau and version 2.45.03
« Reply #4 on: April 18, 2013, 05:34:11 PM »
The green bots are veggies. Good idea, I may need to run the same sim bigger. I'll do that next time I get the chance to mess with it.

...

I was hoping you can run it for yourself. Oh well, guess I have to wait 'till Beta for that one.  :P
« Last Edit: April 18, 2013, 05:37:33 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Re: sexbau and version 2.45.03
« Reply #5 on: April 18, 2013, 11:34:15 PM »
I have processing power, but little motivation to play around in DB2.  I don't mind setting up a sim and having it periodically post saves to an FTP, but I don't really want to mess with crashes :/  A huge pain.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: sexbau and version 2.45.03
« Reply #6 on: April 19, 2013, 12:45:48 PM »
Numsgil, it is a lot more stable then you think.  :) It has not crashed once during that run, in fact I have not seen an in-sim crash for a very long time.  I just want to add that safe mode feature as an extra precaution, in case me (or someone else working on DB2) screws something up.

I just want people (including you) to test this things as soon as they become available otherwise I feel like I am just wasting my time. Am I?  :)

I definitely want you to test this specific one (when you have time), simply to make sure the crossover algorithm works exactly as you want it to work. I am pretty sure it does, even still.

Offline NotLegalTender

  • Bot Builder
  • **
  • Posts: 85
    • View Profile
Re: sexbau and version 2.45.03
« Reply #7 on: June 08, 2013, 01:41:18 PM »
Can you post the reproduction and conspec genes in the gene depository? I wanna try and modify it, to make organisms that effectively use spores.

Offline NotLegalTender

  • Bot Builder
  • **
  • Posts: 85
    • View Profile
Re: sexbau and version 2.45.03
« Reply #8 on: June 08, 2013, 01:46:14 PM »
Also, is it possible for an organism on darwinbots to reproduce through both sexual reproduction and the asexual reproduction most bots have?

Offline NotLegalTender

  • Bot Builder
  • **
  • Posts: 85
    • View Profile
Re: sexbau and version 2.45.03
« Reply #9 on: June 08, 2013, 02:04:57 PM »
Hm... I cannot modify the shots without it breaking the sexrepro.

Offline NotLegalTender

  • Bot Builder
  • **
  • Posts: 85
    • View Profile
Re: sexbau and version 2.45.03
« Reply #10 on: June 08, 2013, 02:17:55 PM »
Wait, is it possible for one to make the sperm shots last longer by storing negative numbers in them?
« Last Edit: June 08, 2013, 02:22:57 PM by NotLegalTender »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: sexbau and version 2.45.03
« Reply #11 on: June 08, 2013, 03:41:59 PM »
Quote
Hm... I cannot modify the shots without it breaking the sexrepro.

Yea, you will have to choose if you want a bot to fire a -8 or a regular shot. Forgot to mention that, sorry.

Quote
Also, is it possible for an organism on darwinbots to reproduce through both sexual reproduction and the asexual reproduction most bots have?

Yes. If you want to disable asexual reproduction, go to edit menu.

Offline NotLegalTender

  • Bot Builder
  • **
  • Posts: 85
    • View Profile
Re: sexbau and version 2.45.03
« Reply #12 on: June 08, 2013, 05:28:08 PM »
Also, you should modify this organism so when it is ready to mate, it will search for a mate, because they just stand still when that happens.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Moderator
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: sexbau and version 2.45.03
« Reply #13 on: June 08, 2013, 06:18:11 PM »
Well, I was going for a density dependent system, similar to a runaway nuclear reaction at some point it will go critical.

Offline NotLegalTender

  • Bot Builder
  • **
  • Posts: 85
    • View Profile
Re: sexbau and version 2.45.03
« Reply #14 on: June 08, 2013, 06:41:50 PM »
Also, I have figured out that a "rape bot", a bot that reproduces with other sexually reproducing bots to pass its genes on, is infact, possible. I had this happen on me with testing around on sexually reproducing bots.