Code center > Bug reports
Waste from nothing
Botsareus:
That did not work, but I figured it out:
Apparently robot seems to get more waste due to the fact that it is getting fed energy from the chloroplasts.
If I set feeding rate to zero, this stops happenin'
Now I just have to figure out why.
Botsareus:
Ok, I figured it out:
There is a gene in your robot:
--- Code: ---cond
*.fixpos 0 >
and
*.nrg 250 >
and
*.slime 250 <
start
50 .mkslime store
stop
--- End code ---
You may be aware that making slime produces waste.
What is happenin' is your robot is constantly producing more slime, as it is constantly getting more energy from chloroplasts ( .nrg > 250 )
This does not happen in 2.45 due to the fact that a robot is not getting any new energy, that is: .nrg < 250
Testlund:
--- Quote from: Botsareus on November 16, 2013, 10:01:07 AM ---Apparently robot seems to get more waste due to the fact that it is getting fed energy from the chloroplasts.
If I set feeding rate to zero, this stops happenin'
Now I just have to figure out why.
--- End quote ---
Could it be that the code that converts energy from chloroplasts has something in common with energy shots that hits a bot? In that case waste is built up. I'm just guessing there is two kinds of energy code in there.
--- Quote --- You may be aware that making slime produces waste.
What is happenin' is your robot is constantly producing more slime, as it is constantly getting more energy from chloroplasts ( .nrg > 250 )
--- End quote ---
Yeah, I suspected that early on but it doesn't seem reslistic to me.
Botsareus:
--- Quote ---Yeah, I suspected that early on but it doesn't seem realistic to me.
--- End quote ---
That is exactly what is happenin' though, I have tested it.
I kinda want to leave the waste code the way it is though, if you don't mind.
A good way to test is to set feeding rate to zero.
Oh, I just extracted the robot and tested it solo. That might be a hint too.
Testlund:
So waste from slime is a feature, then?
What would you say about slowing the decay rate for slime instead? As it is now it disappears as quickly as it is created. It requires an awful lot of energy to maintain with very little benefit.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version