View Full Version : 24 Man Better AI?


doronron
Jun 25, 2007, 02:37 PM
Just so I don't go reinventing the wheel, is there a Better AI that allows for 24 players already compiled? My only experience with Blake's work is through jdog5000's RevAI DLL, which is 24 man -- but crashes every once in a while.

klokwerk
Jun 26, 2007, 09:22 AM
It should work properly, technically there's no problem about making a 24-civ DLL with BetterAI included, though I don't think it has been made yet.

I won't make it myself though, since BtS is about to be released and I really think the best now is to wait, especially since Blake made a whole new AI with probably very different functions.

doronron
Jun 26, 2007, 09:59 AM
I figured it'll make a nice little asset to hold over until BtS is released. Can't really play Warlords without all 24 factions present anymore.

Guess I'll install the SDK components tonight or tomorrow, make the change to the current BetterAI source, and play.

doronron
Jun 26, 2007, 06:14 PM
Well, in addition to bringing the max players up to 24, I went ahead and merged TheLopez's MAD nukes modcomp and Monteczuma's Influence Driven War modcomp. Building the DLL now...

Guess I'll give the alpha a shot later. If it doesn't work, I'll redo with just the increased player limit.

Yakk
Jun 28, 2007, 11:31 AM
Remember to modify the extra saved data number of players limit as well as the MAX_PLAYERS -- both have to be changed.

(I was poking through the code, trying to figure out a way to write a 24 player DLL that could load 18 player games...)

doronron
Jun 28, 2007, 01:44 PM
Thanks. At this point though, I'm currently having trouble just loading *.vcproj files into CodeBlocks...

Yakk
Jun 28, 2007, 02:16 PM
Meh -- just look for the compiler command-line #define flags.

Everything else, you can probably build by just creating a project containing all of the .cpp files.

Oh, I turned off debugging information in the python automatic interface generation files -- it blew my compilers stack. In the .vcproj, they are in a different "folder".

A .vcproj is a pseudo-XML file (it can be read as XML, but the MSDev parser requires specific layout of the XML file), so finding out which files are the "python generated" can be done without a MSDev compiler. :)

Good luck!