.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Monitoring my AI (http://forum.shrapnelgames.com/showthread.php?t=8935)

Chris Woods March 20th, 2003 07:44 AM

Monitoring my AI
 
Hey all,

After I make modifications to a new AI type, what is the most efficient way to watch my AI play? Can I somehow select to "be my AI" and just hit "end turn", paying careful attention to what choices the AI is making without actually changing them?

Any help here greatly appreciated.

Chris Woods

PsychoTechFreak March 20th, 2003 10:23 AM

Re: Monitoring my AI
 
Do you have Win98 or 95 ?

Search for Master Belisarius' SE4 Batch (does not work under XP) :

http://www.shrapnelgames.com/cgi-bin...0;t=000004;p=3

You can setup the savegame backup frequency, like every turn, every 10, 50, whatsoever. After the batch simulation you can jump (load) into the game to investigate the AI. With renaming one of the backups to the original test name (your setup under simultaneous save name) you can start another batch starting from this point.

Krsqk March 20th, 2003 03:56 PM

Re: Monitoring my AI
 
Quote:

Originally posted by PsychoTechFreak:
Do you have Win98 or 95 ?

Search for Master Belisarius' SE4 Batch (does not work under XP) :

<font size="2" face="Verdana, Helvetica, sans-serif">Does it not work even with compatibility mode? Why doesn't it work?

DavidG March 20th, 2003 03:56 PM

Re: Monitoring my AI
 
I had the same question. Can you not just play your own empire with all the minsters turned on?

oleg March 20th, 2003 04:04 PM

Re: Monitoring my AI
 
Yes, of course, just play with all ministers "on". It plays almost exactly like a normal computer player. If you want to see how AI select planets, you must uncheck "ask for colony type" or something like this in "empire settings" window. So far the only difference I noticed is the bug I described in "Proportions AI problem in "classical" turn games" topic.

If you want to see how AI performs when played with bonus, simply save the game, take over computer player by using game pulldown menu, see its turn and then reload the savegame !

Master Belisarius March 20th, 2003 04:50 PM

Re: Monitoring my AI
 
Quote:

Originally posted by Krsqk:
Does it not work even with compatibility mode? Why doesn't it work?
<font size="2" face="Verdana, Helvetica, sans-serif">I don't know why doesn't work... I have used routines in Visual Foxpro for rename/delete files, that where done for windows. I checked it and everything was ok... but I had not win2000 or XP.
Now... also I have lost the source code.... then, sorry guys, I can't change the things!

Slick March 20th, 2003 05:00 PM

Re: Monitoring my AI
 
Another difference using all ministers is that you must click yes or no when deciding to attack. I don't think this can be automated so that you can just hit "end turn" repeatedly to watch a game. At least I don't know how. Based on what I have seen, it seems that the AI would always choose to attack, even if it has no chance of winning.

Slick.

Master Belisarius March 20th, 2003 05:04 PM

Re: Monitoring my AI
 
Quote:

Originally posted by Slick:
Another difference using all ministers is that you must click yes or no when deciding to attack. I don't think this can be automated so that you can just hit "end turn" repeatedly to watch a game. At least I don't know how. Based on what I have seen, it seems that the AI would always choose to attack, even if it has no chance of winning.
Slick.

<font size="2" face="Verdana, Helvetica, sans-serif">No, sometimes I saw the AI avoid the combat.

Here my 2 suggestions to run SE4 manually:
- play simultaneous: you only need to click 'end turn'.
- don't play the AI that you want to test, as the "human" player: usually I saw that is not the same play the AI as "human" with all the ministers "on", than run as 100% AI.

Slick March 20th, 2003 05:05 PM

Re: Monitoring my AI
 
Thanks for the correction. Also, MB, any chance you could recompile your batch program to work under XP? I would really like to use it, but cannot.

Slick.

Master Belisarius March 20th, 2003 05:12 PM

Re: Monitoring my AI
 
Quote:

Originally posted by Slick:
Thanks for the correction. Also, MB, any chance you could recompile your batch program to work under XP? I would really like to use it, but cannot.

Slick.

<font size="2" face="Verdana, Helvetica, sans-serif">http://forum.shrapnelgames.com/images/icons/icon9.gif Sorry my friend, but I have lost the source code...
Maybe someone have time to do a new Version, using a different computer language? I could tell him what I did, and think would be rather easy to do again.


All times are GMT -4. The time now is 11:56 AM.

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