Code center > Darwinbots Program Source Code
My DB2 non-optional changes, what do people think?
Botsareus:
--- Quote ---There should be an option for this already in the options panel.
--- End quote ---
Can't find it...
--- Quote ---Wouldn't it make more sense to just have a lower mutation rate?
--- End quote ---
Numsgil I have a new system in place where my mutation rates change ALOT. It is a proven system that gave me good results (It is one of my "optional" changes, yes I know, the program is complex as it is blablaba, do not care, I do not want to port my changes every time a new virsion is released...)
--- Quote ---There are some graphics bugs dealing with aspect ration, but they should be fixed instead of patched.
--- End quote ---
Tell me how , or patch it! please! We need to figure out our screen ratio...
--- Quote ---Sure, but wouldn't it make more sense to save and load user-named files?
--- End quote ---
That can be done, good one there.
P.S.
I got six more "optional” changes coming called "Global Special Settings" when you click the "globals" button. ;)
Shasta:
--- Quote from: Botsareus on November 29, 2010, 04:29:19 PM ---Can't find it...
--- End quote ---
It is under Options(Menu)->General(Tab)->Random Numbers(Section)->"Enable User Seed" + "Seed Value"
Botsareus:
--- Quote ---It is under Options(Menu)->General(Tab)->Random Numbers(Section)->"Enable User Seed" + "Seed Value"
--- End quote ---
ok, so the only change I am making is that the "Enable User Seed" is always enabled. And the seed value is pregenerated. Sweet, no need for no inputbox!!!
I seen this work, I use the timer as the pregenerated seed.
Now this only leaves the screen ratio, any ideas what it should be and how to fix it?
Oh, nm, I remembered why I need it as InputBox in the first place. Let's say someone loads a simulation w/o even going into settings, If I want my sim to load with a costume seed I need a prompt. Any ideas? Should a user go to the settings first and that will be treated by the program as "Enable User Seed" ? good one?
Numsgil:
--- Quote from: Botsareus on November 29, 2010, 04:49:44 PM ---Now this only leaves the screen ratio, any ideas what it should be and how to fix it?
--- End quote ---
Bleh... the whole graphics system is sort of hacked together. I think if someone sat down and thought things through a little better in terms of setting up Viewports and Cameras (similar to how the graphics in DB3 is set up) the problem would automagically fix itself.
--- Quote ---Let's say someone loads a simulation w/o even going into settings, If I want my sim to load with a costume seed I need a prompt. Any ideas? Should a user go to the settings first and that will be treated by the program as "Enable User Seed" ? good one?
--- End quote ---
Seeds are saved in the sims.
But here's an interesting problem: when you load a sim, it's not going to simulate the same as if you never saved and reloaded it, because you're resetting the random number generator. What we really want to do is serialize out the random number generator in a saved sim, instead of just the seed. But I don't really know how to do that in VB6.
Shasta:
Well, one (bad) way you could do it would be to store the number of random calls, and then call random an equal number of times on load. Really bad way actually.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version