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 - frankle

Pages: [1]
1
Darwinbots Program Source Code / Setting up build environment for C++ fork
« on: December 19, 2006, 09:26:49 PM »
OK: I installed VS 2005, vanilla. I opened the solution included in Numsgil's snapshot, and hit build. It then barfed and said it couldn't find two includes: Vectors.h and fx.h.

In some files, the path is correct, "../Common/Vectors.h" but in other files it is just "Vectors.h" so I changed them all to be correct.

I assume fx.h is foxgui? What version of foxgui are you using? I'm looking for the fox gui package on the internet, and the latest stable they have is 1.6.20. The old stable is 1.4.35.

How shall I proceed?

2
Bot Tavern / Methods of Committing Suicide
« on: December 18, 2006, 12:13:45 PM »
Hey, I didn't see this anywhere else on the forums, so I thought I'd ask here:
What ways do you use, or can think of, to make a bot kill itself?

Here's the gene I'm using.

Code: [Select]
cond
' whatever, usually detecting if dna length has changed to prevent add/del mutations
start
1 .delgene store
stop

This gene recursively deletes the bot's DNA, effectively making it a corpse.

3
Veggies / Alga Substantis (V)(Frankle)-18.12.06
« on: December 17, 2006, 07:38:32 PM »
'This is my first bot.

'I wanted a veggy that would be prolific and highly variable in both size and population. I also wanted a
' veggy that wouldn't go cancerous very easily.

'It requires day and night cycles. I recommend a period of 500-1000 cycles. I've included a settings file to
'show the native environment.
' http://www.darwinbots.com/Forum/index.php?act=ST&f=26&t=1806&st=0

'Here it is:

'|----- Cut -----|

' Alga substantis I
'
' Vegetable
'
' This bot stores energy into its body
' during the day, and reproduces at
' night.

' If its daytime, and there's enough energy, build up the body
' run around a bit, and don't get too big
cond
  *.daytime 1 =
  *.nrg 5000 >
  *.body 10000 <
start
  1000 .strbody store
  45 rnd .aimdx store
  10 .up store
stop

' If its nighttime, and there's not enough energy to reproduce, pull some out of body.
cond
  *.body 500 >
  *.nrg 3500 <
  *.daytime 0 =
start
  1000 .fdbody store
stop

' if its nighttime, and there's enough energy, reproduce lots of little babies so that they have a chance of surviving until morning
cond
  *.nrg 3000 >
  *.daytime 0 =
start
  10 .repro store
  15 .aimdx store
stop

' run around randomly at night, keep away from the baddies.
cond
  *.daytime 0 =
start
  45 rnd .aimsx store
  10 .up store
stop

cond
  *.nrg 500 <
start
  100 .fdbody store
stop

' If a add/del mutation or virus is detected, commit suicide
cond
  *.dnalen 87 !=
  *.robage 0 !=
start
  1 .delgene store
stop
end

4
Bug reports / Sim hanging
« on: December 17, 2006, 12:47:29 PM »
Hey, This sim is hanging and I can't figure out why. Its got two bots, Alga_Sporula (mine) and Devious_Eraticatorus

it hangs after a thousand cycles or so.

I was at first thinking that the energy was just overflowing, but I reduced the energy input to the veggies, and then the energy started falling, but it still hung.

Try running this and see if there's anything egregiously wrong with it.

5
Bugs and fixes / Lettered releases?
« on: December 17, 2006, 12:13:57 PM »
Is there a place where you developer type people place minor releases? I'd like to stay as up to date as possible

6
Bug reports / Runtime error 11 in Mutation rates dialog
« on: December 16, 2006, 10:49:05 PM »
Start DB
Start new sim
Robots->mutation rates

Runtime error '11'
division by zero

Pages: [1]