Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Testlund

Pages: 1 2 [3] 4 5 ... 17
31
Bug reports / Run-time error 6
« on: August 06, 2014, 06:36:21 AM »
The zip contains the files after the crash happened in Safe Mode.

32
Bugs and fixes / Bots waiting long before reproducing
« on: July 21, 2014, 11:59:27 AM »
First I thought they just became sterile all of a sudden, but then I realized they are just delaying it longer then what they should.  :blink:

33
Off Topic / My coffee mystery
« on: July 16, 2014, 06:00:01 AM »
I take the exact same measure of water every day for my coffee machine, but still I get different amount of coffee each time. So when I get less coffee it means some of the water disappeared to somewhere, but where? If you solve that you win a package of alternative grown Swedish coffee.   :balloon:

34
Confirmed & Outstanding bugs / Run-time error 6
« on: July 14, 2014, 04:50:44 PM »
This happened when I was testing mutation oscillation for the first time ever.

I was preparing folders to run multiple instances so it's also possible I might have missed to copy over some important file. The zip contains all the files I thought I needed to just run an internal sim. Edit: It has nothing to do with that.

No need to have Internet Mode files if I'm not going to run in Internet Mode, right?

I made the zip directly after running in Safe Mode.

Oh, and I was also trying to run a script that would make DB pause whenever a bot gets a .repro gene. Haven't tried running such scripts before.

35
Bug reports / Run-time error 75 on Win XP
« on: July 12, 2014, 11:21:14 AM »
This is not specific to any user settings.

If I clear out all files that DB creates and start DB so it behaves like a new install, and then just go to "Global Settings" --> "Evolution" and select "Zerobot Mode" and "OK" I will get "Run-Time- error 75".

Then DB will close and no files are created.

Edit: It only happens on Win XP. Now I got "Run-time error 76" in Win 7. This seems to be completely random.

36
Solved Bugs / Can't run in Internet Mode on my laptop
« on: February 26, 2014, 12:46:00 PM »
I just wasted two hours setting up two instances where I wanted one of them to run in Internet Mode and it gave me this error. Is the new program for internet mode incompatible with Win XP?

37
Confirmed & Outstanding bugs / Weird teleporter problem.
« on: January 26, 2014, 07:33:57 PM »
I've tested this several times over tonight. In 1 out of 3 sims the bots that get teleported out through the outbound teleporter never comes back in through the inbound teleporter.

Can anybody else confirm this. This doesn't make any sense! First I thought it was because I was running two instances in the same DB folder with Safe Mode turned on, but it doesn't seem to have anything to do with that.

38
Bug reports / Run-time error 55
« on: January 22, 2014, 09:14:44 AM »
The zip includes screenshots of two errors. The second one I got when I tried to run in Safe Mode. Version 2.46.02BetaC.

39
Confirmed & Outstanding bugs / Mutations going crazy!
« on: January 11, 2014, 10:14:09 AM »
I'm just running with default values with all mutations, including the new mutation features and within only 185000 cycles the bots DNA have totally changed.

For one bot I got only numbers and another one of the same species I got text DNA with a few numbers. This doesn't seem right. I have the mutations slider set to 1 / 32 too, so I think mutations should happen a LOT slower than this!


40
Bug reports / Overflow error
« on: December 23, 2013, 08:19:32 AM »
I'm getting some errors with overflow and complete freeze-ups where I can't do the debug steps. So I just send you a bunch of files here. It should be 100% repeatable though, cause I keep getting it after I've started a new sim.

I'm also seeing some weird bot behavior where a bot will cycle through the colors like it's having a club night or something. Hehe.


41
Confirmed & Outstanding bugs / Run-time error 6
« on: December 18, 2013, 12:41:55 PM »
I want to run a long sim!  :pray:

42
Simulation Emporium / Bots & shapes
« on: December 07, 2013, 01:11:19 PM »
Here's an example what you can do with the new shape features introduced in Darwinbots 2.46B.

The black bots will try to stay close to shapes while the white bots will try to stay away from shapes. The grey bots are just tie feeders and the green are veggies.

43
DNA - General / Setting a bots angle
« on: December 04, 2013, 10:58:33 AM »
Why do these two work exactly the same?

 *.refxpos *.refypos angle .setaim store

 *.refxpos *.refypos angle sub .setaim store

Shouldn't the latter change the bot to opposite direction?

44
Interesting behaviour bots / Colorbot
« on: December 04, 2013, 07:50:38 AM »
Example of usage: Copy this DNA into several uniquely named text files and give each a random color, which you write into the bots DNA from the custom color dialog and watch what happens. (Requires Darwinbots version 2.46A or later)

Code: [Select]
'******************************************
'*                                        *
'*               Colorbot                 *
'*                                        *
'* Made by Testlund in December 3, 2013.  *
'*                                        *
'*    My behavior is dependent on the     *
'* color you choose to write into my dna. *
'*                                        *
'******************************************

*** Red bot ***

'Unfix me from birth (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 robage 0 =
start
0 .fixpos store
stop

'Make a protective shell against -6 shots (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 *.nrg 2000 >
 *.shell 500 <
start
 1 .mkshell store
stop

'If I'm hit with a -1 or -6 shot I will flee (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 *.shflav -1 =
 *.shflav -6 = or
start
 *.refxpos *.refypos angle sub .setaim store
 32 .up store
stop

'If I see something to the left I will turn to it (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 *.eye3 *.eye5 >
start
 -50 .aimright store
stop

'If I see something to the right I will turn to it (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 *.eye7 *.eye5 >
start
 50 .aimright store
stop

'Swim forward (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 *.nrg 32 >
start
 32 .up store
stop

'If I see something I
'will ask if I can eat it (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 *.eye5 0 >
start
 1 .out1 store
stop

'If it doesn't say "No", I will eat it (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 *.eye5 0 >
 *.out1 1 =
 *.in2 2 !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
 -6 .shoot store
stop

'If a bot asks if it can eat me,
'I will say "No" and turn away (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 *.eye5 0 >
 *.in1 1 =
start
 2 .out2 store
 314 rnd .aimright store
stop

'If I see a bot with no eyes
'I will turn away from it (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 *.eye5 0 >
 *.refeye 0 =
start
 314 rnd .aimright store
stop

'If I'm small I will store energy to make me larger (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 *.body 16000 <
 *.nrg 8000 >
start
 2 .strbody store
stop

'If I'm large and healthy I will reproduce (red bot)
cond
 .red 127 >
 .green 128 <
 .blue 128 <
 *.body 16000 >
 *.nrg 8000 >
start
 50 .repro store
 314 rnd .aimright store
stop

'*** Green bot ***

'Make a small amount of chloroplast (green bot)
cond
 .red 128 <
 .green 127 >
 .blue 128 <
 *.chlr .green 128 add <
start
 1 .mkchlr store
stop

'Make a large amount of chloroplast (green bot)
cond
 .red 128 <
 .green 127 >
 .blue 128 <
 *.chlr .green 32 mult <
start
 1 .mkchlr store
stop

'If I'm small I will store energy to make me larger (green bot)
cond
 .red 128 <
 .green 127 >
 .blue 128 <
 *.body 4000 <
 *.nrg 2000 >
start
 3 .strbody store
stop

'If I'm large and healthy I will reproduce (green bot)
cond
 *.body 4000 >
 *.nrg 2000 >
start
 50 .repro store
 314 rnd .aimright store
stop

'*** Blue bot ***

'(blue bot)
cond
 .red 128 <
 .green 128 <
 .blue 127 >
 robage 0 =
start
0 .fixpos store
stop

'If I'm hit with a -1 or -6 shot I will flee (blue bot)
cond
 .red 128 <
 .green 128 <
 .blue 127 >
 *.shflav -1 =
 *.shflav -6 = or
start
 *.refxpos *.refypos angle sub .setaim store
 64 .up store
stop

'If I'm hit with a -1 shot I will make slime for defence (blue bot)
cond
 .red 128 <
 .green 128 <
 .blue 127 >
 *.shflav -1 =
 *.shflav -6 = or
start
 32 .up store
 1000 .mkslime store
stop

'If I see something to the left I will turn to it (blue bot)
cond
 .red 128 <
 .green 128 <
 .blue 127 >
 *.eye3 *.eye5 >
start
 -50 .aimright store
stop

'If I see something to the right I will turn to it (blue bot)
cond
 .red 128 <
 .green 128 <
 .blue 127 >
 *.eye7 *.eye5 >
start
 50 .aimright store
stop

'If I see a bot with no eyes I will move to it (blue bot)
cond
 .red 128 <
 .green 128 <
 .blue 127 >
 *.eye5 0 >
 *.refeye 0 =
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop

'If I see a bot with no eyes I will steal it's energy (blue bot)
cond
 .red 128 <
 .green 128 <
 .blue 127 >
 *.eye5 50 >
 *.refeye 0 =
 *.refnrg 0 >
start
 -1 .shoot store
 *.refvelup .up store
stop

'If I see a bot with eyes I will turn away from it (blue bot)
cond
 .red 128 <
 .green 128 <
 .blue 127 >
 *.eye5 0 >
 *.refeye 0 >
start
 314 rnd .aimright store
stop

'(blue bot)
cond
 .red 128 <
 .green 128 <
 .blue 127 >
 *.nrg 32 >
start
 64 rnd .up inc
stop

'If I'm small I will store energy to make me larger (blue bot)
cond
 .red 128 <
 .green 128 <
 .blue 127 >
 *.body 8000 <
 *.nrg 4000 >
start
 1 .strbody store
stop

'If I'm large and healthy I will reproduce (blue bot)
cond
 .red 128 <
 .green 128 <
 .blue 127 >
 *.body 8000 >
 *.nrg 4000 >
start
 50 .repro store
 314 rnd .aimright store
stop

'*** High colorbot ***

'Set my species identity (high colorbot)
cond
 .red 128 >
 .green 128 >
 .blue 128 >
 *.robage 0 =
start
 68 .memloc store
 101 68 store
 0 .fixpos store
stop

'Keep my venom at 100 (high colorbot)
cond
 .red 128 >
 .green 128 >
 .blue 128 >
 *.venom 100 <
start
 100 .strvenom store
stop

'Defend with venom if I'm attacked and move away (high colorbot)
cond
 .red 128 >
 .green 128 >
 .blue 128 >
 *.shflav -1 =
 *.shflav -6 = or
start
 *.refxpos *.refypos angle .setaim store
 .fixpos .vloc store
 1 .venval store
 -3 .shoot store
 32 .dn store
stop

'Move around (high colorbot)
cond
 .red 128 >
 .green 128 >
 .blue 128 >
 *.nrg 32 >
start
 16 rnd .aimsx store
 16 rnd .aimdx store
 .up inc
stop

'If I see a bot of a different
'species I will move to it (high colorbot)
cond
 .red 128 >
 .green 128 >
 .blue 128 >
 *.eye5 0 >
 *.memval *68 !=
 *.refeye 0 >
 *.reffixed 0 =
 *.venom 16 >
start
 *.refxpos *.refypos angle .setaim store
 *.refvelup 32 .up store
 .fixpos .vloc store
  1 .venval store
 -3 .shoot store
stop

'If I see a bot of a different species
'I will kill it and feed on it (high colorbot)
cond
 .red 128 >
 .green 128 >
 .blue 128 >
 *.eye5 100 >
 *.refvelup 0 =
 *.memval *68 !=
 *.refeye 0 >
 *.refnrg 0 >
start
 -1 .shoot store
 *.refvelup .up store
stop

'If I see a conspecies I will turn away from it (high colorbot)
cond
 .red 128 >
 .green 128 >
 .blue 128 >
 *.eye5 0 >
 *.memval *68 =
 *.refeye 0 = or
 *.refnrg 0 = or
start
 314 rnd .aimdx store
stop

'If I'm small I will store energy to make me larger (high colorbot)
cond
 .red 128 >
 .green 128 >
 .blue 128 >
 *.body 16000 <
 *.nrg 8000 >
start
 2 .strbody store
stop

'If I'm large and healthy I will reproduce (high colorbot)
cond
 *.body 16000 >
 *.nrg 8000 >
start
 .red 128 >
 .green 128 >
 .blue 128 >
 50 .repro store
 314 rnd .aimright store
stop

'*** Low colorbot ***

'Set my species identity (low colorbot)
cond
 .red 128 <
 .green 128 <
 .blue 128 <
 *.robage 5 <
start
 67 .memloc store
 101 67 store
stop

'Tie to any bot I see that is not my conspecies (low colorbot)
cond
 .red 128 <
 .green 128 <
 .blue 128 <
 *.eye5 0 >
 *.memval *67 !=
start
 *.refxpos *.refypos angle .setaim store
 .tie inc
stop

'If I'm tied to anything and my
'nrg is low I will feed on it (low colorbot)
cond
 .red 128 <
 .green 128 <
 .blue 128 <
 *.nrg 2500 <
 *.numties 0 >
start
 *.tiepres .tienum store
 -32 .tieval store
 -1 .tieloc store
stop

'Use poison for defence against
'-1 shots and delete my tie (low colorbot)
cond
 .red 128 <
 .green 128 <
 .blue 128 <
 *.shflav -1 =
start
 .deltie inc
 480 .strpoison store
 .shoot .ploc store
stop

'Delete my tie (low colorbot)
cond
 .red 128 <
 .green 128 <
 .blue 128 <
 *.eye5 0 >
 *.refnrg 0 =
 *.shflav -6 = or
start
 .deltie inc
stop

'If I'm small I will store energy to make me larger (low colorbot)
cond
 .red 128 <
 .green 128 <
 .blue 128 <
 *.body 4000 <
 *.nrg 2000 >
start
 3 .strbody store
stop

'If I'm large and healthy I will reproduce (low colorbot)
cond
 .red 128 <
 .green 128 <
 .blue 128 <
 *.body 4000 >
 *.nrg 2000 >
start
 50 .repro store
 314 rnd .aimright store
stop

end

45
Veggies / Chloroplastus
« on: November 30, 2013, 02:53:38 PM »
Code: [Select]
'*************************************
'*          Chloroplastus            *
'*                                   *
'*       Give this bot 40 nrg        *
'*          from the start!          *
'*                                   *
'*     Adapts chloroplast levels     *
'*     based on light intensity.     *
'*                                   *
'* Fun to run with day/night cycles. *
'*                                   *
'*************************************

cond
*.chlr 16000 <
*.nrg 32 >
*.daytime 1 =
*.refxpos 0 =
start
1 .mkchlr store
stop

cond
*.body 4000 <
*.nrg 1000 >
start
1 .strbody store
stop

cond
*.body 3999 >
*.nrg 1000 >
start
50 .repro store
32 .aimdx store
stop

cond
*.refxpos 0 >
*.chlr
*.light <
*.daytime 1 =
start
1 .mkchlr store
stop

cond
*.daytime 0 =
*.chlr 500 >
start
1 .rmchlr store
stop

Pages: 1 2 [3] 4 5 ... 17