Code center > Bugs and fixes

2.43y Eye Troubles RESOLVED 2.43z

(1/2) > >>

googlyeyesultra:
I've just installed the new 2.43y buddy drop, and I sadly find that my well-tweaked bot no longer runs properly. The DNA is attached.

Two major problems in the new version:
Foremost, when two bots are touching (aka, directly after repro), the conspec avoidance code no longer works (they turn away, but they don't run away. Probably because it uses eye5 there.)

Secondly, when one of my bots that has accumulated a large amount of body (probably greater than 10000 or so), when it gets close to a non-moving veggie, it will stall outside of shot distance.

As a postscript, I find that common eye values (such as thirty) occur at much shorter distances than they used to.

Jez:
Hi Googley;

While I am not perhaps in a place to reply to the second question I think I can repy to the first; recognition of new-borns has always (for me) been an issue, I always avoided it by using a post-repro timer, this may not work if you are facing an enemy but **** happens: Being a mum isn't all goodness and candy!

googlyeyesultra:
My bot uses omnieye targeting and the following code to ensure that it stays away from any of it's own species (as well as shapes):

When *.idcheck 0 =, I'm looking at a conspec. As far as I can tell, the new changes have somehow broken *.eye5 .up store when a large bot is touching another large bot.

I'd also like to note that number two is my fault. Having done some testing, I find that that happens in 2.43x as well. Ignore that. Please figure out what is wrong with number one.

'===========Avoid===========
*.eye5 0 > *.idcheck 0 = *.robage 1 > and *.reftype 0 != or and
*.refxpos *.refypos angle 628 add .setaim store
*.eye5 .up store

EricL:
Could I ask you to post a sim and point out where I should look please?  I need to see the full DNA of the bot and also see the behaviour in context.  Thanks.


--- Quote from: googlyeyesultra ---As a postscript, I find that common eye values (such as thirty) occur at much shorter distances than they used to.
--- End quote ---
I expected something like this.  The good news is that now that this code is all cleaned up, I can tweak this easily.  If we need more resolution farther away to match previous behaviour I can now easily change the shape of the curve that describes eye values along the sight distance.

googlyeyesultra:
Alright, sim attached. I just made them veggies to give them energy, but the behavior happens either way.

The only bots in the sim are afflicted with it.

Navigation

[0] Message Index

[#] Next page

Go to full version