Bots and Simulations > Interesting behaviour bots

TieRotation

<< < (2/2)

Moonfisher:
If store, dec and inc popped the boolean stack then inline conditions would be anoying to work with, you would need to use dupbool constantly so you don't "loose" your condition every time something is executed.
No bot with inline conditions I've ever made would actualy work if what you say is true.

It would be very easy to test, if a store pops the boolean stack then this gene :

start
true
false
70 .aimsx store
50 .repro store
stop

Should cause the bot to reproduce cancerously as false would be popped by the first store.

Prsn828:

--- Quote from: Moonfisher ---If store, dec and inc popped the boolean stack then inline conditions would be anoying to work with, you would need to use dupbool constantly so you don't "loose" your condition every time something is executed.
No bot with inline conditions I've ever made would actualy work if what you say is true.

It would be very easy to test, if a store pops the boolean stack then this gene :

start
true
false
70 .aimsx store
50 .repro store
stop

Should cause the bot to reproduce cancerously as false would be popped by the first store.
--- End quote ---

Yeah, well I even checked whether or not it clears after genes finish, and if you try that code, you should see some reproduction happening.

Moonfisher:
How did you check these things ? I'm not getting the same results...
I tryed running that gene in a bot, there was no reproduction.
Using 2.43.1L I can say that a store does NOT pop the boolean stack.

Not trying to get in your face or anything, but what you're saying makes no sence.
The reason I chose this example was because I wouldn't have to test it.

This is from fruitflies :

*.body 5 >
*.nrg 80 > and
*.totalmyspecies .maxpop 2 mult < and
*.maxvel .dn store
50 .repro store


This is why I'm so sure the boolean stack doesn't get popped, if it did fruitflies would kill itself instantly.
Was very confused when you said I should see reproduction, thought maybe you had tryed it and gotten reproduction from it...
But I get no reproduction in my tests, and I'm more than sure there shouldn't be "some" reproduction, it should either be cancerous or infertile.
(If you get some reproduction that isn't cancerous, then I recommend a fresh installation of DB)

If you tell me how your test works I can try to reproduce it here.

Prsn828:
 

You were right!  I can't believe I had such a fundamental misunderstanding of the bool stack, and still managed to make semi-working bots...

Navigation

[0] Message Index

[*] Previous page

Go to full version