Bots and Simulations > DNA - General

help....again

<< < (8/12) > >>

Light:

--- Code: ---cond
*.multi = 1
start
99% sharenrg
1% sharewaste
stop
--- End code ---

this gene shoud be


--- Code: ---cond
  *.multi 1 =
start
  99 .sharenrg store
  1 .sharewaste store
stop
--- End code ---


--- Code: ---cond
 *.eye5
 0
 >
 *refaimdex
 1
 =
start
  1 .tie
stop
--- End code ---

and this should be


--- Code: ---cond
  *.eye5 0 >
  *.refaimdx 1 =
start
  1 .tie
stop
--- End code ---

Welwordion:
I thought he wanted to unfix it ^^, ahh well my bad.

PurpleYouko:

--- Quote ---how do you unfix your self
and why wont this gene work then

--- Code: ---cond
*.numtie >= 1
start
1 .fixpose store
stop
--- End code ---

--- End quote ---
Because there are no such commands as fixpose or numtie.

Try fixpos and numties.



Does anyone these days know how to use the robot data panel these days?  <_<

Just double click your bot and click the "show DNA" tab.

Compare your DNA to the text file for differences. If anything shows up as a zero in the DNA panel then it is spelled wrong.

If a whole gene is screwed up then its most likely a missed out cond, start or stop.

These are your basic debugging tools.

Numsgil:
Someone (else) should start on a IDE for bot programming.  Something that would color in the appropriate words as you type, and you could "compile" the code (basically check for missing stops/misspells/etc.)

MrMound:
that would help me out a lot if someone made one of those.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version