Bots and Simulations > Bot Tavern

Fish School

<< < (2/2)

Numsgil:
Hey Shen, noticed a bug in one of the genes.

Second to last gene should be:

' - No more food :( -
cond
    *.eye5 0 =
    *.refeye *.myeye =
start
  0 .out1 store
  0 .out2 store
stop

and then I'd recommend doing:

' - No more food :( -
cond
    *.eye5 0 =
    *.refeye *.myeye =
    *.out1 0 !=
start
  0 .out1 store
  0 .out2 store
stop

Endy:
Great bot, just got the chance to see it in action. I'm going to try splicing it with some of Din's dna to see what happens.

Endy B)

Shen:
The .in memlocs are only conditionaly refreshed so if you only refresh .out then all the bots end up trying to get to a non existant enemy.

This was just a prototype though so its not perfect by a long shot, ill get round to updating it eventually.

Numsgil:

--- Quote ---The .in memlocs are only conditionaly refreshed so if you only refresh .out then all the bots end up trying to get to a non existant enemy.
--- End quote ---
What do you mean by this?  I admit I really never checked into how in/out work.

PurpleYouko:
in and out work the same as the refvars. Once a value is set it stays until something else displaces it.
However you can delete it internally from DNA if you like.

Navigation

[0] Message Index

[*] Previous page

Go to full version