Code center > Bug reports
Simple repro or robage faulty? 2.43s RESOLVED (NO REPRO)
Welwordion:
cond
*.robage 200 =
start
20 .repro store
stop
end
tested it in 2.43s did not work tested it in in 2.43 did work (and now I will stop test developing my bots in 2.43s ^^)
Testlund:
Hey, don't give up already!
Try removing the '='.
New rules in 2.43s; no logic operators.
Welwordion:
^^ good to know how exactly does that work? I mean > and < are also logic operators right?
And also there was some statement about conditionals within a genes body what does that mean?
And what are the operators True and False?
82) Conditionals are now allowed in the body of genes and can impact the success of memory operations within the gene body.
83) The commands True and False have been added.
Testlund:
Eric or Nums can probably explain the details about the new way the DNA works, but I did a little testing here with your bot, and found I could as well delete the Cond statement instead of the = operator. Strangely, removing the cond statements didn't have any effect on my evobots, but removing the logic operators on them did.
Peter:
--- Quote from: Testlund ---Hey, don't give up already!
Try removing the '='.
New rules in 2.43s; no logic operators.
--- End quote ---
Wh... what no logic operators, I hope you misunderstood something, this could mean the end of well functioning of many bots, certainly the majority of F1 and F2 and SB and MB(well mine the only that functions properly, right now), I got to check mine bots now, almost any bot uses logic operators.
--- Quote from: Welwordion ---^^ good to know how exactly does that work? I mean > and < are also logic operators right?
--- End quote ---
Yes, correct, there are some more, I am not too sure about the statement of testlund, if it is true it is really drastic.
--- Quote from: Welwordion ---And also there was some statement about conditionals within a genes body what does that mean?
And what are the operators True and False?
--- End quote ---
I think he means a gene in a gene with conditionals in gene body, hm wait I am goning to check that one, wasn't his already possible.
This is what I think.
In fact making an if insida an if.
--- Quote ---if (true) {if (true){}}
--- End quote ---
--- Quote ---Cond
Start
....Cond
....Start
....Stop
stop
--- End quote ---
--- Quote from: Welwordion ---82) Conditionals are now allowed in the body of genes and can impact the success of memory operations within the gene body.
83) The commands True and False have been added.
--- End quote ---
The operators true and false, it is really a rather small fix.
Normally you have, well I take your gene.
*.robage 200 = gives a true when the bot is 200 cycles old(atleast it is supposed to do.)
1 gives always a true.
--- Quote ---cond
1
start
20 .repro store
stop
--- End quote ---
Will always execute.
Navigation
[0] Message Index
[#] Next page
Go to full version