Page 1 of 1
aai 0.76 problem
Posted: 07 Jul 2007, 09:09
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

Re: aai 0.76 problem
Posted: 07 Jul 2007, 15:50
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).
Posted: 07 Jul 2007, 20:28
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.
Posted: 08 Jul 2007, 03:43
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?
Posted: 08 Jul 2007, 04:00
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.
Posted: 08 Jul 2007, 06:06
by ghobot21
is there any tutorial on how to compile it?
Posted: 08 Jul 2007, 07:36
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.
Posted: 12 Jul 2007, 22:36
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!