Welcome To Darwinbots > Newbie

Hello.

<< < (2/3) > >>

Old Henk:
Nice bot Esrever, and welcome to Darwinbots! :)
I will add this bot to the shortbotleague with the next update (hopefully before 10th april; currently very busy with school...)

Henk

Esrever:
Ok, I tested Igni out with the new DNA in the F1 League, and it got destroyed by tie-feeders. I decided I'm going to make Igni a tie feeder too. I attached the new DNA to my post. I typed this up during break at school, so some periods and stops might be missing. Again, any help sorting out the DNA and advice is greatly appreciated.

I was looking through the tips and hints forum and saw the "using ties cheaply" post. Does the number reset to zero when the tie is broken or does it keep going up. Also, I know there's a way to transfer info and genes to other bots through ties, but I don't know the method. Can someone explain to me how to do that?

Light:
nice bot, you should add some body managment to it though, because each time the robot reproduces it loses some of its body to its offspring and as body is linked to the amount of energy it can get from prey it is important to build this up. After a few generations your bots just become quite puny. To build body up use a gene like this

cond
  *.nrg 1000 >
start
  100 .strbody store
stop

this will take a 100 points of energy and convert it into 10 body points, then when energy gets low and you need to get some of it back from body use

cond
  *.nrg 800 <
  *.body 20 >
start
  10 .fdbody store
stop

Too stop other bots tieing to your bot you can use slime, to stop them draining your energy there are some good leach genes out there take a look at some of the top bots there are a treasure trove of ideas there


--- Quote ---Does the number reset to zero when the tie is broken or does it keep going up.
--- End quote ---

inc increases the number by one each time, its not reset unless you specifically tell it to

to transfer info to the other bot, you use .tieloc to specify the memory location of the other bot that you want to store information too

address .tieloc store

to specify the value to store in that location, use

yourvalue .tieval store

so for example you could use

.repro .tieloc store
20 .tieval store

this stores 20 in the other bots repro and he will spit out a baby

as for transfering genes, Im not sure if that is possible, and you could also add some shooting and targeting to your bot, the more methods of getting energy the better, hope that helps

In DB if you go to help in the toolbar and go to DNA help or use ctrl D, that will give you information on most of the DNA commands, what they do and how to use them

PurpleYouko:
Don't forget to address the tie also.
When you create a tie by storing a number into .tie, that tie retains this value as an address. This is often called the "tie phase"
To address a tie use...

tieaddress .tienum store.

Esrever:
Ok, I'm uploading the (probably) final version of Igni. I added body, slime, and poison at robage 1 and it refreshes when the bot chases. Unless there are any major bugs or problems, this is going to be the version I'm entering into the Shortbots League.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version