AAI 0.81 source uploaded to svn

AAI 0.81 source uploaded to svn

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

Moderators: hoijui, Moderators

submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

AAI 0.81 source uploaded to svn

Post by submarine »

I'm not sure if ppl check out svn log, i commited latest AAI version to svn yesterday evening (new source files as well as updated cfg/learning files)

Due to ai interface changes it is not compatible with the latest release version (it will not even compile) - anyone interested may check out svn...
Last edited by submarine on 15 Apr 2007, 22:44, edited 1 time in total.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

Code: Select all

AI\Global\AAI\AAIBuilder.cpp:224: error: 'struct AAIUnit' has no member named 'factory'
and several more. Perhaps forgot to commit something? Or is it my fault?
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

did you check out svn rightbefore posting? i forgot to delete some outdated files yesterday evening, but i'm pretty sure i did delete them today morning,
check if you have revision 3611
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

AAI 0.81 commited to svn

changelog:
- AAI will upgrade the least effective metal extractors first (only important if a mod has more than two metal extractors with different efficiencies)

- Better prevention from sending builders to potentially dangerous buildsites outside of the main base
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Submarine, do you have a build of AAI that will work with latest SVN revisions? I have some features of my project I need to playtest.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

Argh wrote:Submarine, do you have a build of AAI that will work with latest SVN revisions? I have some features of my project I need to playtest.
Build it yourself it's in SVN :|
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

I don't have time to mess with it, and if it doesn't compile or run I don't have the expertise to know what's wrong.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

if its in svn it'll compile
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Yeah, yeah, if I set up the appropriate dependencies, etc., etc., etc. I'm trying to tell ya, I simply don't have time for that side-jaunt right now. Call me lazy if you want to, it's ok!
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

http://www.osrts.info/~buildbot/spring/ ... /Bot-libs/

theres more stuff to buildbot then spring executables ya know :P
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

:shock:

Sorry, I really didn't know that existed! Cool!
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

No problem, I dont advertise it much :-)
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

im currently 800km away from home (and my main pc) and have very limited access to the internet - but if you get the new binaries from buildbot remember to get new cfg/readme/etc. files from svn
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Trust me, I had "fun" getting Spring all un-buggered and ready to use the latest stuff including your AI, Sub, but I eventually got it all working, which was great until it crashed about 5-10 minutes into each game. Ah well, nothing like being a beta-tester :roll:
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Post by yuritch »

Yes, a crash happens 5-10 minutes into the game if you try to play AAI with the latest SVN build. You'll need an older revision, something like 3525 or so - there is no crash with that and current AAI compiles with it (which it doesn't do with 0.74b3).
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

yes there is a crash with aai in latest svn version, it occurs in spring.exe though (and doesnt occur with older versions) so i think its an engine problem- hopefully some of the devs will eventually look at it
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

@argh: did you try to run aai with nanoblobs? aai 0.81 should support units building other units... if it works, i would appreciate it if you send me the mod.cfg file...
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

will it work with EE hubs?
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

as mentioned in the readme.txt it will not work with ee hubs
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Sub, I have a a static Commander unit in my latest project, and AAI seems to be causing a crash after awhile, with the latest SVN versions. It may be a Spring bug, too, but I have a feeling it's AAI, because it doesn't seem to do this if I run without AAI.

Can you please fix it so that if you have a static Commander (CanMove = 0) it will not issue move commands to the unit? I have a feeling this is causing a memory leak or is otherwise crashing Spring.

Also, the logs do not tell me anything about why AAI might be causing Spring to hang. I just see logs indicating what's been done at the early points, and what build-orders have been issued, but when Spring crashes, I am left with nothing useful. If it's something dumb like AAI trying to access a unit improperly or not seeing a unit respond to an order (like, say, that non-moving Commander) I'd kind've like to know what's going on when it crashes.
Post Reply

Return to “AI”