AAI: Inactivity, what's wrong? - Page 2

AAI: Inactivity, what's wrong?

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

User avatar
Fat Zombie
Posts: 61
Joined: 31 May 2006, 19:16

Post by Fat Zombie »

Also:

Blooming hell, the AI's a tough beast. Only time where i've come close to beating it is on Sailaway, and that's because I claimed naval superiority. Or when I have another AI on my side.

Or maybe i'm just rubbish.
User avatar
unpossible
Posts: 871
Joined: 10 May 2005, 19:24

Post by unpossible »

Fat Zombie wrote:Also:

Blooming hell, the AI's a tough beast. Only time where i've come close to beating it is on Sailaway, and that's because I claimed naval superiority. Or when I have another AI on my side.

Or maybe i'm just rubbish.
remember to expand otherwise you won't get enough metal. apart from that try sending a lone flash tank straight at it as soon as you can possibly get one out ;)
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

Soulless1 wrote:is it not possible to have the AI simply get the max units number from the game settings?
well if this is possible, i'll change that. tbh i really havent been aware of that problem

does anybody know if it is possible to get that information using the ai interface?
User avatar
Erom
Posts: 1115
Joined: 25 Apr 2006, 05:08

Post by Erom »

AAI works _the best_ for me, but I get very rare GlobalAIDLL crashes as described here. I will try making the unit limit larger, see if that helps.

By rare, I mean it crashes 20-30 minutes into the game, about 1 game out of every 5.
Firenu
Posts: 39
Joined: 29 Apr 2006, 00:49

Post by Firenu »

submarine wrote: does anybody know if it is possible to get that information using the ai interface?
It certainly isnt in IAICallback* callback;
It is however in the script.txt file that is generated before spring starts.

[GAME]
{
Mapname=TEHPINK_hard.smf;
StartMetal=1000;
StartEnergy=1000;
MaxUnits=4212;
StartPosType=2;
GameMode=0;
GameType=AASpring20.sdz;
LimitDGun=1;
DiminishingMMs=0;
GhostedBuildings=1;

and so on.
i dont know how to access this information though :s
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

it seems submarine and tournesola r eint he same boat, not reading the source code of other AI devs.

In this case you have a predicament. You need a TDF parser, and there arent any available that arent opensource GPL'ed, and as AAI is closed source using CSunParser would violate the GPL license of OTAI, and using TDFParser would violate NTai GPL license, not to mention Spring GPL license.
User avatar
krogothe
AI Developer
Posts: 1050
Joined: 14 Nov 2005, 17:07

Post by krogothe »

AF wrote:it seems submarine and tournesola r eint he same boat, not reading the source code of other AI devs.

In this case you have a predicament. You need a TDF parser, and there arent any available that arent opensource GPL'ed, and as AAI is closed source using CSunParser would violate the GPL license of OTAI, and using TDFParser would violate NTai GPL license, not to mention Spring GPL license.
Doesnt matter. Reading such a small file is trivial even without a special parser.
Post Reply

Return to “AI”