AAI 0.76 released - Page 2

AAI 0.76 released

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

Moderators: hoijui, Moderators

McLoud
Posts: 36
Joined: 03 Sep 2006, 22:31

Post by McLoud »

Hmm, that ones is really tasty! Stopped the annoying behaviorus with the interceptors on EE 0.163 and finally is making some decent defense. It is still dumb regarding where to place the defenses, at least it builds some l2 and l3 (rarely). I still get freezes at the first tries on any map. Eg: trying 2 AI's on Mars with me at the same team of one of them = freeze right befre it builds the first factory in the first 3 tries average. Montain range = insta freeze, never managed to play. It sucks at naval, but at least I managed to play it in Shore to Shore this time. It's getting great, seeing the AI attacking 3 sides with 3 different group of units plus air craft bombing everywhere is sweet. Building 3+ long range artillery gets annoying as s* :twisted:
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

freezes right at the start on never played maps are normal (depending on the cpu power) - aai has to do some map related precaching...
User avatar
DarkOppressor
Posts: 59
Joined: 14 Mar 2006, 07:53

Post by DarkOppressor »

I've tried several games on Supreme Battlefield with AA 2.21 and I get an ai exception everytime, at seemingly random times. I played with 3 bots, then 2, then 1, and it always crashed not too long after starting.
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

note for all svn users:
the cfg files etc. havent been updated causing aai not to load properly in most cases

i commited the new ones a few minutes ago...
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

another update: i removed the unstable 0.75 build (did not test in release mode, debug mode went well but release mode was indeed totally unstable)

i uploaded 0.76 to svn and will release a new version fixing the most important bugs later
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

DarkOppressor wrote:I've tried several games on Supreme Battlefield with AA 2.21 and I get an ai exception everytime, at seemingly random times. I played with 3 bots, then 2, then 1, and it always crashed not too long after starting.
Remember to turn off AI exception catching in the settings. Are they turned off by default now?
User avatar
DarkOppressor
Posts: 59
Joined: 14 Mar 2006, 07:53

Post by DarkOppressor »

rattle wrote:
DarkOppressor wrote:I've tried several games on Supreme Battlefield with AA 2.21 and I get an ai exception everytime, at seemingly random times. I played with 3 bots, then 2, then 1, and it always crashed not too long after starting.
Remember to turn off AI exception catching in the settings. Are they turned off by default now?
Oh, haha, sweet. Totally didn't notice that handy little guy.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

submarine: Don't forget to update the VS7 project when you add files to it...
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

which vs7 project? i never uploaded one... actually my own project file will not work for other ppl since i have my source i another folder (so its not being overwritten when checking out svn
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

The one for AAI, AAIAttack and AAIAttackManager (or something like that) were missing..
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

There is one in SVN; probably made by Jelmer.
Psistorm
Posts: 2
Joined: 14 Oct 2006, 20:24

Post by Psistorm »

noob question (heh what a great first post :P):
currently trying to run the following combination:
spring 0.73, AAI 0.76 and AA 2.21 - it doesnt crash, but the AI wont initialize because it says it cant load the mod config file. now Ive solved this issue once, getting AAI 0.70 to work with AA 2.21, by renaming the configs.
however now this wont work for me. Ive seen someone else post this problem in this very topic, but a few posts later I apparently read about someone playing with this very combination - or a similar.

so: how can I get the AI to work with my current setup? every hint is welcome :)
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

are you sure you unpacked the archive in teh correct folder?

aai 0.76 should have a mod cfg file for aa 2.21 by default. look at the ai log of the team, it should say where exactly it look for the fiel that is missing. then browse your aai/cfg/mod folder and look what aa cfg files you got

or delete aai and do a clean aai 0.76 install, the archive contains a cfg file for aa 2.21
Psistorm
Posts: 2
Joined: 14 Oct 2006, 20:24

Post by Psistorm »

hmm odd that. the AAI archive I downloaded from the link specified only contained aai.dll and aai.so, nothing else. but Ill look into that again, maybe something went wrong there

edit: ugh, user error - I missed a folder in the archive XD
ty for the quick reply :)
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

submarine: I changed some of the compiler options and FF doesn't crash anymore whenever the shipyard starts building anything.
Image
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

ff didnt crash for me at anytime when building a shipyard - but intersting what different compiler settings may result in :)
Reibuorumai
Posts: 5
Joined: 11 Oct 2006, 22:13

Post by Reibuorumai »

Ahem, AAI seems to crash whenever you try to disable a certain unit, is there any other way to force AAI to not use a certian unit/building?
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

stationary arty may be disabled via mod.cfg, apart from that not that i know of
User avatar
centurion-1
Posts: 169
Joined: 31 Jan 2006, 20:53

Post by centurion-1 »

Hey all, im trying to get AA to co-operate with my mod in development and so far no luck really.
Here is my config file for it

Code: Select all

SIDES 2
START_UNITS armcom corcom
SIDE_NAMES CNCS AST
MAX_UNITS 5000
AIR_ONLY_MOD 0
MAX_XROW 8
MAX_YROW 8
X_SPACE 16
Y_SPACE 16
SECTOR_SIZE 100.0
MAX_SECTOR_IMPORTANCE 5
MAX_BASE_SIZE 10

MAX_GROUP_SIZE 16
MAX_AIR_GROUP_SIZE 10
MAX_ANTI_AIR_GROUP_SIZE 2
MAX_ARTY_GROUP_SIZE 4
UNIT_SPEED_SUBGROUPS 1
MIN_EFFICIENCY 0.01

SCOUTS 4 nthunterrec stjagerrec ntsniper stsniper
SCOUT_SPEED 95.0
MOBILE_ARTY_RANGE 1000.0
STATIONARY_ARTY_RANGE 1000.0
MIN_ENERGY 18

MAX_SCOUTS 4
MAX_BUILDERS 40
MAX_BUILDERS_PER_TYPE 5
MAX_FACTORIES_PER_TYPE 2

MIN_AIR_ATTACK_COST 300
MAX_AIR_TARGETS 20
AIRCRAFT_RATE 6
MIN_AIR_SUPPORT_EFFICIENCY 2
AIR_DEFENCE 7

MAX_DEFENCES 4
MAX_STAT_ARTY 4
MAX_AIR_BASE 0
MIN_FACTORIES_FOR_DEFENCES 1
MIN_FACTORIES_FOR_STORAGE 3
MIN_FACTORIES_FOR_RADAR_JAMMER 1

MAX_METAL_COST 10000
METAL_ENERGY_RATIO 12
MAX_STORAGE 4
MAX_MEX_DISTANCE 9
MAX_MEX_DEFENCE_DISTANCE 6
Do you know what might be wrong here or is there some other problem? It is still very much incomplete and for example the air units are not buildable etc and there are alot of unbuildable units lying around in the units directory (old aa units used for refeence...)
User avatar
centurion-1
Posts: 169
Joined: 31 Jan 2006, 20:53

Post by centurion-1 »

I get this far:
Image

then it crashes...
Post Reply

Return to “AI”