.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #21  
Old March 14th, 2002, 02:29 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: AI longtime simulation feature

I'm not a programer, so it was just a suggestion

Phoenix-D
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #22  
Old March 14th, 2002, 11:06 AM
PsychoTechFreak's Avatar

PsychoTechFreak PsychoTechFreak is offline
First Lieutenant
 
Join Date: Mar 2001
Location: Bordesholm, Germany
Posts: 781
Thanks: 6
Thanked 0 Times in 0 Posts
PsychoTechFreak is on a distinguished road
Default 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

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, ...
Reply With Quote
  #23  
Old March 20th, 2002, 01:56 AM
Master Belisarius's Avatar

Master Belisarius Master Belisarius is offline
Colonel
 
Join Date: Jul 2000
Location: Montevideo Uruguay
Posts: 1,598
Thanks: 0
Thanked 0 Times in 0 Posts
Master Belisarius is on a distinguished road
Default 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 ]

Reply With Quote
  #24  
Old March 20th, 2002, 02:13 AM
PsychoTechFreak's Avatar

PsychoTechFreak PsychoTechFreak is offline
First Lieutenant
 
Join Date: Mar 2001
Location: Bordesholm, Germany
Posts: 781
Thanks: 6
Thanked 0 Times in 0 Posts
PsychoTechFreak is on a distinguished road
Default Re: AI longtime simulation feature

Wow, 8MB of code, that will take some time on my old steam computer.

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.
Reply With Quote
  #25  
Old March 20th, 2002, 04:11 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: AI longtime simulation feature

What you could do, is run a DOS shell command:
dir "filename.gam" > 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!
Reply With Quote
  #26  
Old March 20th, 2002, 08:57 PM
PsychoTechFreak's Avatar

PsychoTechFreak PsychoTechFreak is offline
First Lieutenant
 
Join Date: Mar 2001
Location: Bordesholm, Germany
Posts: 781
Thanks: 6
Thanked 0 Times in 0 Posts
PsychoTechFreak is on a distinguished road
Default 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.
Reply With Quote
  #27  
Old March 21st, 2002, 03:31 AM
Master Belisarius's Avatar

Master Belisarius Master Belisarius is offline
Colonel
 
Join Date: Jul 2000
Location: Montevideo Uruguay
Posts: 1,598
Thanks: 0
Thanked 0 Times in 0 Posts
Master Belisarius is on a distinguished road
Default Re: AI longtime simulation feature

quote:
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.



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.
Reply With Quote
  #28  
Old March 22nd, 2002, 07:41 PM
Skulky's Avatar

Skulky Skulky is offline
Second Lieutenant
 
Join Date: Oct 2001
Location: California
Posts: 521
Thanks: 0
Thanked 0 Times in 0 Posts
Skulky is on a distinguished road
Default 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
__________________
Come join the forces of democracy and fight for independence from Totalitarianism, Dictatorships, Emperors and Empresses, Oligarchys and Fundamentalists at SE4 by Committee
Reply With Quote
  #29  
Old March 23rd, 2002, 06:58 AM
Master Belisarius's Avatar

Master Belisarius Master Belisarius is offline
Colonel
 
Join Date: Jul 2000
Location: Montevideo Uruguay
Posts: 1,598
Thanks: 0
Thanked 0 Times in 0 Posts
Master Belisarius is on a distinguished road
Default 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
Reply With Quote
  #30  
Old March 24th, 2002, 10:20 PM
Rollo's Avatar

Rollo Rollo is offline
Brigadier General
 
Join Date: Jul 2001
Location: Kiel, Germany
Posts: 1,896
Thanks: 0
Thanked 0 Times in 0 Posts
Rollo is on a distinguished road
Default 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
__________________
SE4
Devnull Mod Gold:
Version 1.80
Dungeon Odyssey:
Hack and Slash
Version 0.53e
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:57 AM.


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