View Single Post
  #20  
Old July 19th, 2007, 02:01 AM

Loren Loren is offline
First Lieutenant
 
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
Loren is on a distinguished road
Default Re: request for new patch: an ai that can learn

Quote:
MaxWilson said:
Actually, I really like that .dll idea. The thing I like about interfacing through .2h and .trn files is that the infrastructure is already there, and you could write your AI in any language--but there are also concerns about possible hacks. A .dll could still implement the AI in another language by spawning an AI process and communicating with it through a pipe.

-Max
Yeah, you've got a point about hacks.

Ok, a separate .exe that links a .dll that provides an API for dealing with the world, reading the .trn file, writing the .2h file etc. No data it's not allowed will even be in it's memory space. Have the main game engine read in the .2h file and check the legality of the orders in it.

To help things along I would suggest releasing the source for the AI. It wouldn't cost any sales--without a Dominions game the code is worthless.
Reply With Quote