Code center > Bug reports

bugs 2.42.1

<< < (3/3)

EricL:

--- Quote ---where is the save/load list?
--- End quote ---

The routines for saving and loading simulations, including the routines for saving and loading entire robot bodys (saved sims involve saving and loading each and every bot in the sim, which is one of the primary things that distinguish saved sims from saved settings) are in HDRoutines.bas.  SaveSimulation() starts at line 89 (version 2.42.1).  The routines take up most of the module.

The routines for saving and loading settings files are in OptionsForm.frm beginning with savesett() at line 1791 (version 2.42.1).

Regarding the total energy in the system and tracking and graphing this, I think that is a most excellent idea.  It would really give you some feedback as to how and where a sim stabalizes.  I can even imagine options which could auto-adjust costs or veggy nrg per cycle to keep energy in the sim balanced or at a costant value.

To my knowlege, the total energy in a sim is not currently tracked, but I don't think it would be difficult to do so nor would it be difficult to graph this.  Perhaps I'll take a look at this later this week.  Neat idea.

-E

Testlund:
Works wonderful now! ..and the settings are actually SAVED in the saved sim!  :wub:

I think the default file you provided should be bundled with the program file; 2.42.1.exe, default.set and default.sim in one zip file!  :)

EricL:

--- Quote ---Works wonderful now! ..and the settings are actually SAVED in the saved sim!
--- End quote ---

Whew.  After my initial starting position box screw up in 2.42.0, I was concerned that age was starting to take it's toll on coding ability...  :)



--- Quote ---I think the default file you provided should be bundled with the program file; 2.42.1.exe, default.set and default.sim in one zip file!
--- End quote ---

Excellent idea.  Already done.  :)

Navigation

[0] Message Index

[*] Previous page

Go to full version