Darwinbots Forum

Code center => Bugs and fixes => Bug reports => Topic started by: Testlund on October 26, 2007, 05:57:53 AM

Title: CostX trouble again. RESOLVED 2.43t
Post by: Testlund on October 26, 2007, 05:57:53 AM
I found that if the population drops below the level where it sets CostX to 0, and I save the sim, then load it again the CostX won't kick in after the population goes above reinstatement level. Check out this sim. Wait until population reaches 25 where I have set the reinstatement level. This caused overpopulation in my sim which nearly freezed it.

Also I found the values in the GUI is not saved with my sim. It would be useful if you could see the data I have set for my sim.
Title: CostX trouble again. RESOLVED 2.43t
Post by: EricL on November 25, 2007, 10:03:08 PM
This should be addressed in 2.43t.  It was not the reinstatement level per se that was not round tripping through sim files - that threshold is saved and reloaded correctly.  What was not being put into sim files was actually the value of the old cost multipler - the value to reinstate CostX back to should the population climb above the threshold.  Now I save and reload the old CostX as well as the current (and the other thresholds) just incase.

Fixed in 2.43t