|  | 
| 
 
 
 
 
 
 
 
 
    
    
 |  | 
 
 
	
		|  |  |  
	
	
		
	
	
	| 
			
			 
			
				March 20th, 2003, 07:44 AM
			
			
			
		 |  
	| 
		
			
			| 
 Private |  | 
					Join Date: Mar 2003 
						Posts: 10
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 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
 |  
	
		
	
	
	| 
			
			 
			
				March 20th, 2003, 10:23 AM
			
			
			
		 |  
	| 
		
			|  | 
 First Lieutenant |  | 
					Join Date: Mar 2001 Location: Bordesholm, Germany 
						Posts: 781
					 Thanks: 6 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 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. |  
	
		
	
	
	| 
			
			 
			
				March 20th, 2003, 03:56 PM
			
			
			
		 |  
	| 
		
			|  | 
 Lieutenant Colonel |  | 
					Join Date: Jul 2001 Location: Orlando, FL 
						Posts: 1,259
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Re: Monitoring my AI 
 
	Does it not work even with compatibility mode? Why doesn't it work?Quote: 
	
		| Originally posted by PsychoTechFreak: Do you have Win98 or 95 ?
 
 Search for Master Belisarius' SE4 Batch (does not work under XP) :
 
 | 
				__________________ 
				The Unpronounceable Krsqk
 
"Well, sir, at the moment my left processor doesn't know what my right is doing." - Freefall |  
	
		
	
	
	| 
			
			 
			
				March 20th, 2003, 03:56 PM
			
			
			
		 |  
	| 
		
			|  | 
 Lieutenant Colonel |  | 
					Join Date: Jan 2002 Location: Dundas, Ontario, Canada 
						Posts: 1,498
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Re: Monitoring my AI 
 I had the same question.  Can you not just play your own empire with all the minsters turned on? |  
	
		
	
	
	| 
			
			 
			
				March 20th, 2003, 04:04 PM
			
			
			
		 |  
	| 
		
			|  | 
 Lieutenant General |  | 
					Join Date: Jan 2001 Location: Oxford, UK 
						Posts: 2,592
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 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 !
 
				__________________It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets. - Voltaire
 |  
	
		
	
	
	| 
			
			 
			
				March 20th, 2003, 04:50 PM
			
			
			
		 |  
	| 
		
			|  | 
 Colonel |  | 
					Join Date: Jul 2000 Location: Montevideo Uruguay 
						Posts: 1,598
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Re: Monitoring my AI 
 
	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.Quote: 
	
		| Originally posted by Krsqk: Does it not work even with compatibility mode? Why doesn't it work?
 |  Now... also I have lost the source code.... then, sorry guys, I can't change the things!
 |  
	
		
	
	
	| 
			
			 
			
				March 20th, 2003, 05:00 PM
			
			
			
		 |  
	| 
		
			|  | 
 Brigadier General |  | 
					Join Date: Apr 2002 Location: Kailua, Hawaii 
						Posts: 1,860
					 Thanks: 0 
		
			Thanked 1 Time in 1 Post
		
	      |  |  
    
	| 
				 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.
 
				__________________Slick.
 |  
	
		
	
	
	| 
			
			 
			
				March 20th, 2003, 05:04 PM
			
			
			
		 |  
	| 
		
			|  | 
 Colonel |  | 
					Join Date: Jul 2000 Location: Montevideo Uruguay 
						Posts: 1,598
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Re: Monitoring my AI 
 
	No, sometimes I saw the AI avoid the combat.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.
 |  
 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.
 |  
	
		
	
	
	| 
			
			 
			
				March 20th, 2003, 05:05 PM
			
			
			
		 |  
	| 
		
			|  | 
 Brigadier General |  | 
					Join Date: Apr 2002 Location: Kailua, Hawaii 
						Posts: 1,860
					 Thanks: 0 
		
			Thanked 1 Time in 1 Post
		
	      |  |  
    
	| 
				 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.
 
				__________________Slick.
 |  
	
		
	
	
	| 
			
			 
			
				March 20th, 2003, 05:12 PM
			
			
			
		 |  
	| 
		
			|  | 
 Colonel |  | 
					Join Date: Jul 2000 Location: Montevideo Uruguay 
						Posts: 1,598
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 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.
 |   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.
 |  
	
		
	
	
	
	
	
	
	| Thread Tools |  
	|  |  
	| Display Modes |  
	
	| 
		 Linear Mode |  
	| 
	|  Posting Rules |  
	| 
		
		You may not post new threads You may not post replies You may not post attachments You may not edit your posts 
 HTML code is On 
 |  |  |  |  |