Page 2 of 2

Posted: 19 Nov 2006, 20:58
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.

Posted: 20 Nov 2006, 16:36
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. ;)

Posted: 20 Nov 2006, 19:44
by 1v0ry_k1ng
+1 remove d-bug lines. someone. anyone.

Posted: 21 Nov 2006, 14:21
by AF
Anyone going to try and find out why KAI 0.2 crashes at startup on any EE 1.7 beta 4 games?

Posted: 21 Nov 2006, 14:57
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.

Posted: 23 Nov 2006, 18:55
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.