Cannot play against AI

Cannot play against AI

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
abchirk
Posts: 7
Joined: 08 Nov 2008, 07:18

Cannot play against AI

Post by abchirk »

Hello,
I have just installed spring latest version for ubuntu intrepid.
But if I want to run the game with an AI it crashes. But I can load the AI libKAIK013.
But this AI seems to be harmless. :(
Sp I get this when starting spring and selecting an AI, it crashes when I press enter in the game to start.
here the output
http://phpfi.com/375267

in line 141:

Code: Select all

New connection established in 0 (wanted number was 0)
Player  joined as 0
GameID: 103c154947eef9d83b128d1ca1e5c6cd
/usr/share/games/spring/AI/Bot-libs/libAAI.so has a C++ interface
*** buffer overflow detected ***: spring terminated
if its useful:
Intel 64bit @ 3,0ghz
4gb RAM
and its ubuntu 64bit version.
What can I do? thx for any help!
User avatar
Dima
Posts: 8
Joined: 07 Nov 2008, 23:33

Re: Cannot play against AI

Post by Dima »

Using script GlobalAI?
abchirk
Posts: 7
Joined: 08 Nov 2008, 07:18

Re: Cannot play against AI

Post by abchirk »

hm, but global AI does not have any base? Is that what you mean?
I played before 2weeks on my other PC against other bots.

no ideas to get AAI running?
EvilWalker
Posts: 4
Joined: 17 Dec 2008, 01:42

Re: Cannot play against AI

Post by EvilWalker »

Well, I've not a dev, but I noticed AAI requires .cfg files for each mod played. It's, shall we say, finicky, in what mods it plays nice with, but I noticed BA works after a clean install of Spring 77b5. Too bad y'all need to legally own the Original TA to keep BA, however.

Not having legal problems (and IMHO better anyway), I did get CA working with AAI recently. Couple errors first, though.
* First, it wants a .cfg file, but a clean install of 77b5 reveals the .cfg file is incorrectly named inside the C:\Program Files\Spring\AI\AAI\cfg\mod\ directory (I'm using default locations here for consistency). You need to rename the CA'ish looking .cfg file to "CA_Installer_Version.cfg."
* Second, the .cfg file doesn't play nice with the SPY units as scouts, I noticed. Maybe there's a way to fix that, but I just removed them. To do so, change the SCOUTS line at the bottom to: "SCOUTS 12 CORFAV ARMFAV ARMPEEP CORFINK ARMAWAC CORAWAC ARMFLEA ARMFAST ARMSH CORSH CORPT ARMPT"

When I made these changes, CA played nice with AAI. Not too terrible an AI, but it makes mistakes and I'd like to get RAI working now somehow. KAIK seems to get too confused on maps with difficult terrain including watery maps, but otherwise is consistent in whipping AAI silly on land maps.

Gotta get RAI working somehow.... Uhh...

-EW
User avatar
panzeriv2
Posts: 208
Joined: 12 Aug 2008, 12:02

Re: Cannot play against AI

Post by panzeriv2 »

Well, I've not a dev, but I noticed AAI requires .cfg files for each mod played. It's, shall we say, finicky, in what mods it plays nice with, but I noticed BA works after a clean install of Spring 77b5. Too bad y'all need to legally own the Original TA to keep BA, however.
Ssssh. If you mention this all new players will ask this single ridiculous question: Do I need OTA to play Spring/BA/CA?

Anyway try playing using RAI. If you are still stubborn and want to play with AAI, do what EvilWalker mentioned: Rename some file
EvilWalker
Posts: 4
Joined: 17 Dec 2008, 01:42

Re: Cannot play against AI

Post by EvilWalker »

Well, I couldn't get RAI to work, is why I was using AAI, heh. That was mainly because I had downloaded it from Jobjol, which is busted there. Filezise was almost half of what it should be, there.

Strange how not one AI bot works with the 77b5 installer and CA. Ah well -- good thing I know what I'm doing (almost!)!

Oh by the way, the legal info about BA (which extends also to XTA but curiously not to EvoTA, Supreme Annihilation, etc), was gotten from this site =P. I had no idea until today.

Oh yea -- more than just renaming a file. I think I'll try for the Gremlins for inviso-scouts on the Arm side.

-EW
Post Reply

Return to “Help & Bugs”