.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Technical question on running turns (http://forum.shrapnelgames.com/showthread.php?t=11729)

Grandpa Kim March 28th, 2004 07:21 PM

Technical question on running turns
 
I have a question that, possibly, no one but Aaron can answer.

When you run a turn, you generate new .gam, .trn, and .cmb files. If you take the same files (not the newly generated ones!) and run the turn again, will you get exactly the same result?

Now, some things won't change. If you build a mineral miner, the result will be the same in both iterations. One variable, though, is travel routing around damaging storms etc. This could change, minor though it would be. Combat could result in major differences. A few lucky or unlucky shots early in a combat could change the result considerably.

It seems to me that re-running the turn over and over would give slightly different results each time, but I just don't know if that is true.

Baron Munchausen March 28th, 2004 07:47 PM

Re: Technical question on running turns
 
Quote:

It seems to me that re-running the turn over and over would give slightly different results each time, but I just don't know if that is true.
<font size="2" face="sans-serif, arial, verdana">Absolutely. There are many 'pseudo random' factors in the workings of the game. These probably run off the system clock but there are other ways of generating random numbers. So yes, re-running the same turn will always produce slightly different results, and sometimes produce drastically different results.

PvK March 28th, 2004 09:28 PM

Re: Technical question on running turns
 
Yep.

geoschmo March 28th, 2004 10:08 PM

Re: Technical question on running turns
 
Not only are Pvk and Baron 100% correct, you can even verify it for yourself GrandPa. Set up a test game and copy the turn to a different folder. Run it, check the results, copy the original files back to the savegame folder run it again and compare. http://forum.shrapnelgames.com/images/icons/icon7.gif

Grandpa Kim March 28th, 2004 10:21 PM

Re: Technical question on running turns
 
You have me so thoroughly convinced, I wonder how I ever doubted it! http://forum.shrapnelgames.com/images/icons/blush.gif http://forum.shrapnelgames.com/images/icons/icon7.gif


All times are GMT -4. The time now is 12:09 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.