aai 0.76 problem

aai 0.76 problem

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

Moderators: hoijui, Moderators

Post Reply
ghobot21
Posts: 30
Joined: 11 Jun 2007, 10:37

aai 0.76 problem

Post by ghobot21 »

i replaced the aai that comes with spring 0.74b full installer with aai .076.
the games start to load until it reach the battlefield/map.it counts 3 to 1 and crash.it show

incorrect global ai dll version
ai\bot-libs\aai.dll

what happened :?:
ivand
Posts: 310
Joined: 27 Jun 2007, 17:05

Re: aai 0.76 problem

Post by ivand »

ghobot21 wrote:i replaced the aai that comes with spring 0.74b full installer with aai .076.
the games start to load until it reach the battlefield/map.it counts 3 to 1 and crash.it show

incorrect global ai dll version
ai\bot-libs\aai.dll

what happened :?:
The most probable reason is that something has been changed in IAICallback interface, so you have two options:
1. Ask AAI author to recompile his AI
2. Compile AAI and Spring by yourself (this guarantee that error won't appear).
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

If you're using an svn/0.75 build fo aai youll need an svn build/0.75 build of spring that matches the same version exactly for it to work.
ghobot21
Posts: 30
Joined: 11 Jun 2007, 10:37

Post by ghobot21 »

how can i get an svn build/0.75 build of spring that matches the same version exactly for it to work?do anyone know where can i download it?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

you dont, you need to compile it yourself as I dont think aai 0.76 has a revision number atatched to it.

Just replace ti with the default aai for now.
ghobot21
Posts: 30
Joined: 11 Jun 2007, 10:37

Post by ghobot21 »

is there any tutorial on how to compile it?
User avatar
yuritch
Spring 1944 Developer
Posts: 1018
Joined: 11 Oct 2005, 07:18

Post by yuritch »

AAI 0.76 is the one for 0.74b3, it won't work with svn builds. Current svn AAI is 0.81, and that won't work with 0.74b3.
ivand
Posts: 310
Joined: 27 Jun 2007, 17:05

Post by ivand »

ghobot21 wrote:is there any tutorial on how to compile it?
If you want to, then first of all you need a compiler. I know how to deal with Microsoft Visual Studio 2005 (aka MSVC8.0), so I can help you. For the rest of compilers you have to figure out how they work by yourself.

Second thing you can't live without is SVN client. I suggest you Tortoise SVN (you might find it easy with Google). Install It.

Then create /trunk directory somewhere on your PC, click on it with the right mouse button, then press "Checkout...", use "https://taspring.clan-sy.com/svn/spring/trunk/" as an URL of repository. Click OK. Wait a long while. SVN client will download the current source code of spring. If you have done this send me a PM. I'll send you my *.vcproj files for both spring and AAI. Also be ready to download some additional shit from Microsoft, like DirectX SDK.

P.S. Please note that with spring.exe compiled from trunk, you won't be able to play online, so be sure to backup your current spring installation.

Good luck!
Post Reply

Return to “AI”