.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   AI longtime simulation feature (http://forum.shrapnelgames.com/showthread.php?t=5070)

Phoenix-D March 14th, 2002 02:29 AM

Re: AI longtime simulation feature
 
I'm not a programer, so it was just a suggestion http://forum.shrapnelgames.com/images/icons/icon7.gif

Phoenix-D

PsychoTechFreak March 14th, 2002 11:06 AM

Re: AI longtime simulation feature
 
Hi again,

unfortunately I had a blackout sometime around 1:00 p.m., but my nose was not upon F12, when I woke up http://forum.shrapnelgames.com/images/icons/icon9.gif

I think it could be easier to motivate Aaron to patch in a non-overwriting savegame solution. This should not be too difficult, savegame001, savegame002, ...

Master Belisarius March 20th, 2002 01:56 AM

Re: AI longtime simulation feature
 
I did a program to simulate the longtime AI run.

Please note that when the turns go on, the game takes more time to run and save the files, then, you should increase the Delay between games to avoid SE4's error Messages...

SE4 Batch

[ 20 March 2002: Message edited by: Master Belisarius ]</p>

PsychoTechFreak March 20th, 2002 02:13 AM

Re: AI longtime simulation feature
 
Wow, 8MB of code, that will take some time on my old steam computer. http://forum.shrapnelgames.com/images/icons/icon7.gif

As for the times in later states of the game, I have noticed that after about 150 turns, the turns do not take longer any more (with 20 races), there seems to be even a decrease in time, maybe due to some dying AIs.

Thanks very much indeed, MB.

Suicide Junkie March 20th, 2002 04:11 AM

Re: AI longtime simulation feature
 
What you could do, is run a DOS shell command:
dir "filename.gam" &gt; test.txt

Then, open test.txt, and see if anything has changed since you Last opened it. (compare with a backup copy of test.txt, made just before you ran SE4 Last time)
This will be sensitive to file SIZE, and creation TIME.

If anything has changed, then SE4 must be done, so run the next turn!

PsychoTechFreak March 20th, 2002 08:57 PM

Re: AI longtime simulation feature
 
MB, your Batchproggy makes me feel like a pre-warp population staring at a Borg Cube in the sky.
How ? I should better not ask.

With this we can even do simulations in the background and play a completely different game !

From what I have seen so far, I guess you could easily solve the following, humble request:

Could you implement, that the name of the savegame changes every 10 turns, like "batchtest_001", "batchtest_002" etc. ? This would allow to step into different stages of the simulation game afterwards. http://forum.shrapnelgames.com/images/icons/icon7.gif

Master Belisarius March 21st, 2002 03:31 AM

Re: AI longtime simulation feature
 
<blockquote><font size="1" face="Verdana, Arial">quote:</font><hr>Originally posted by PsychoTechFreak:
MB, your Batchproggy makes me feel like a pre-warp population staring at a Borg Cube in the sky.
How ? I should better not ask.

With this we can even do simulations in the background and play a completely different game !

From what I have seen so far, I guess you could easily solve the following, humble request:

Could you implement, that the name of the savegame changes every 10 turns, like "batchtest_001", "batchtest_002" etc. ? This would allow to step into different stages of the simulation game afterwards. http://forum.shrapnelgames.com/images/icons/icon7.gif
<hr></blockquote>

http://forum.shrapnelgames.com/images/icons/icon7.gif Was not so hard!
I only used the same functionality that have PBW to run SE4: call SE4 using parameters (this was suggested into the Beta Testers forum).
I'll try to work with you suggestion during the weekend.

Suicide Junkie: I'll try a work around, but I have tested what you suggested before... and had not good results.

Skulky March 22nd, 2002 07:41 PM

Re: AI longtime simulation feature
 
Bump
great program for testing AI/ getting a later stage game and hopping in with high *** tech but no planets or low *** tech and no planets or taking charge of a comp (Last place or some low place) and building up, or for scenario starts

Master Belisarius March 23rd, 2002 06:58 AM

Re: AI longtime simulation feature
 
Ok, now I have finished the Version 1.1 (and probably the Last!).

I strongly suggest to download the patch:

- No more Delays.
- No more Error Messages (from SE4 when try to run more than oce at the same time).
- Capability create file backups.

UPDATE VERSION 1.1

Rollo March 24th, 2002 10:20 PM

Re: AI longtime simulation feature
 
Hi MB,
I am having problems using your program. After I set up everything and want to run the simulation, I get an error "Command contains unrecognized phrase/keyword." When I hit ignore, I get "Command is missing required clause."
Hoping that you can help.

Rollo


All times are GMT -4. The time now is 08:21 AM.

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