[AI: KAI] Why it dont work with 0.73b1? - Page 2

[AI: KAI] Why it dont work with 0.73b1?

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

Moderators: hoijui, Moderators

User avatar
hrmph
Posts: 1054
Joined: 12 May 2005, 20:08

Post by hrmph »

:( I hope someone will continue work on KAI. The last week I've been visiting the parents and I still have an old spring version complete with KAI on this machine. And I must say, it is still the most challenging AI hands down. There is a working version of KAI for this version of spring (compiled by AF) over at smoth's forum. Although it draws these debug lines everywhere that basically makes it unplayable (I wonder if there is any way to disable this). And theres some random bugs as well.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

From looking through the code in AI/Global/KAIcurrent/ (which I assume is the most recent version), disabling the debug-drawing stuff would literally be a one-line change in AttackHandler.cpp, but getting it to compile outside of MSVS, well... that might take some more doing. ;)
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Post by 1v0ry_k1ng »

+1 remove d-bug lines. someone. anyone.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Anyone going to try and find out why KAI 0.2 crashes at startup on any EE 1.7 beta 4 games?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

Well, contrary to what I had thought, compiling KAI 0.21 (-current) in both gcc (4.1.2) and mingw32 (3.4.5) actually turned out to be relatively painless. Binary downloads (with the debug-drawing procedures disabled) are here:

edit: these links are now obsolete, please see http://taspring.clan-sy.com/phpbb/viewt ... 141#157141

Note that I haven't tested the AI itself, since I don't know the code well enough to debug anything at this point and Krogothe's really the person for that task anyway. Also note that because KAI does not use Hugh Perkin's ABIC-layer (for now) you can only run it if your Spring build was made with the same compiler (ie. with gcc or with mingw) as the AI modules were! However, the current release of Spring (0.73b1) was built with Visual Studio, which means you'll either have to wait for the next version (which will be based on mingw) or compile Spring yourself to enable these modules to work. I don't have VS, so unfortunately I can't make any binaries that are compatible with the stock VS-compiled version of 0.73b1.

Enjoy.
Last edited by Kloot on 09 Jan 2007, 10:49, edited 8 times in total.
User avatar
sanderbakkes
Posts: 27
Joined: 16 Aug 2006, 15:49

Post by sanderbakkes »

for the overview, KAI .2 and .11 compiled for 0.73b1 by AF.
http://www.unknown-files.net/index.php? ... &dlid=1933

thanks to hrmph for the upload.
Post Reply

Return to “AI”