Darwinbots Forum

Code center => Bugs and fixes => Topic started by: Testlund on July 21, 2014, 11:59:27 AM

Title: Bots waiting long before reproducing
Post by: Testlund on July 21, 2014, 11:59:27 AM
First I thought they just became sterile all of a sudden, but then I realized they are just delaying it longer then what they should.  :blink:
Title: Re: Bots waiting long before reproducing
Post by: Panda on July 21, 2014, 12:54:54 PM
What does its memory look like at the time?
Title: Re: Bots waiting long before reproducing
Post by: Panda on July 21, 2014, 01:13:40 PM
Worked it out. Its a problem with the way the settings are. It's in the "rates for reproduction." (if you play around with it, you should be able to do it) I think something to allow this to be disabled as this is kind of the old system for feeding veggies and preventing them from slowing the simulation down. Now, however, this should be fixed and the chloroplasts should be balanced. In any case the settings now are just so horrible and it is causing big problems.
Title: Re: Bots waiting long before reproducing
Post by: Testlund on July 21, 2014, 01:23:16 PM
You're saying the"Repopulate" settings override the bots dna? If yes, then it should be the other way around! The repopulate should only affact how/when bots are placed in the sim when they go below the treshold set.

Here's a picture showing that gene 3 (the reproducing) gene is stuck in a loop.

EDIT: I disabled "Repopulate" for this bot but it made no difference, so that can't be it.
Title: Re: Bots waiting long before reproducing
Post by: Panda on July 21, 2014, 01:52:10 PM
It's because it's two different settings. If total chloroplasts are above a certain point, it won't let any bots that have chloroplasts reproduce, I think. Or at least when I put the threshold value higher, it allowed it to reproduce. It may have just been a coincidence, though.
Title: Re: Bots waiting long before reproducing
Post by: Peter on July 21, 2014, 01:55:53 PM
Does indeed look like veggie cap.
Title: Re: Bots waiting long before reproducing
Post by: Panda on July 21, 2014, 01:57:12 PM
Clearly chloroplasts are still too powerful. EDIT:(to have to cap them)
Title: Re: Bots waiting long before reproducing
Post by: Testlund on July 21, 2014, 02:01:08 PM
You're right! The veggie settings on the General tab controls anything with chloroplast nomatter if Repopulate is on or not. Damn! Now I have to tweak and start my eco sims all over again.  :glare:
Title: Re: Bots waiting long before reproducing
Post by: Panda on July 21, 2014, 02:02:35 PM
I would try to fix it but I often feel unhappy when I am working on DB2, mostly because of its age and having to use VB6, which I really dislike.
Title: Re: Bots waiting long before reproducing
Post by: Peter on July 21, 2014, 02:09:56 PM
What do the "Initial light energy" do nowaday? Is there a difference between veggy per cycle, kilobody point, quadratically based on body?
Title: Re: Bots waiting long before reproducing
Post by: Shadowgod2 on July 21, 2014, 02:58:15 PM
yes, i have it on the kilo usually, to better simulate real life.
Title: Re: Bots waiting long before reproducing
Post by: Testlund on July 21, 2014, 04:59:40 PM
Could someone show me how to calculate this...

If I have a bot that will create 16000 chloroplasts and I want a maximum of 500 bots, then I just type 500 into the square for chloroplast limit.

But if the bot will only create 1000 chloroplasts and I still want a maximum of 500 bots, what do I need to type?
Title: Re: Bots waiting long before reproducing
Post by: Panda on July 21, 2014, 05:04:55 PM
Erm, you want 1000/16000 * 500, I think.
Title: Re: Bots waiting long before reproducing
Post by: Testlund on July 21, 2014, 05:07:15 PM
OK, so I use divide there... I'll give it a try.  :)
Title: Re: Bots waiting long before reproducing
Post by: Peter on July 21, 2014, 05:10:45 PM
yes, i have it on the kilo usually, to better simulate real life.
That wasn't the question.
Title: Re: Bots waiting long before reproducing
Post by: spork22 on July 21, 2014, 08:18:21 PM
It defines how energy is given to veggies, Peter. There is a bunch of different options for it.
Title: Re: Bots waiting long before reproducing
Post by: Botsareus on July 21, 2014, 11:45:40 PM
Quote
You're right! The veggie settings on the General tab controls anything with chloroplast nomatter if Repopulate is on or not. Damn! Now I have to tweak and start my eco sims all over again.

Not true. If a robot is not set to Repopulate, it should reproduce unlimited. You are doing something else wrong, or it was a hack. At any rate I am not going to act on it until I have enough evidence.
Title: Re: Bots waiting long before reproducing
Post by: Botsareus on July 21, 2014, 11:50:35 PM
Quote
In any case the settings now are just so horrible and it is causing big problems.

You worked on them with me, you did not think they where horrible then, did you? Oh, that is right, you where sorry that I was leaving and the chloroplast stuff went your way (the messed up way) Quoting a PM here.
Title: Re: Bots waiting long before reproducing
Post by: Panda on July 22, 2014, 04:27:13 AM
Unless the repopulate button doesn't work when the settings are changed.
Title: Re: Bots waiting long before reproducing
Post by: Botsareus on July 22, 2014, 10:04:39 AM
It is not a button Panda, it is a checkbox.  :P
Title: Re: Bots waiting long before reproducing
Post by: Testlund on July 22, 2014, 11:31:53 AM
Not true. If a robot is not set to Repopulate, it should reproduce unlimited. You are doing something else wrong, or it was a hack. At any rate I am not going to act on it until I have enough evidence.

What I said here is right:

Quote
...the"Repopulate" settings override the bots dna...

Which I didn't like at first, but when investigating this I got confused and said this:

Quote
The veggie settings on the General tab controls anything with chloroplast nomatter if Repopulate is on or not.

..which is wrong.

So I conclude that it works as it should. Sorry about the fuzz.  :blush:
Title: Re: Bots waiting long before reproducing
Post by: Botsareus on July 22, 2014, 02:49:48 PM
hmmm... ok my sim has leveled off energy vise so far. I am thinking of a fix here, by correcting chloroplast formula by population. Let see what happens.