AI players not loading

AI players not loading

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
quantumshard
Posts: 7
Joined: 21 Apr 2010, 21:33

AI players not loading

Post by quantumshard »

I just downloaded spring today, and have been trying to play, but whether I start from spring.exe or the spring downloader, the AI bots I select do not load - I'm the only player on the map, and it counts as a win. Working from the downloader, I can't even get the game to start without the !forcestart command, but the result is the same

The message is 'AI not init' or something like that.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: AI players not loading

Post by hoijui »

after such a game, please add infolog.txt to your forum post, as a file attachment.
not all AIs work with all mods, and some AIs need config files for the mod you want to play with them. which mods do you want to play?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: AI players not loading

Post by zwzsg »

quantumshard wrote:spring.exe
I assume you run Windows.

The installer you find on http://springrts.com/wiki/Download is just the bare engine. You then need to add some mods, and some maps. The overwhelming majority of mods are made for multiplayer only, with zero concern for single player.

AI bots have been developped, however:
- AI only support a limited range of mods. And break in varied ways for all other mods.
- To play solo against AI, one has to start a multiplayer lobby! Then host a battleroom, add some bots, ready up, click start.
- Running Spring.exe doesn't really work. It's useful for modders to test units spawned with cheat codes, but that's about it. A player cannot set up a good playable game going from running Spring.exe


If is ok for you to settle for this instead of that however I have a solution. Download and install the full installer of Kernel Panic, from there: http://www.moddb.com/games/kernel-panic It contains the Spring engine RTS, the Kernel Panic game/mod, its maps, and! A single player menu. That single player menu should make it much easier to actually get the game going. Sure, it offers less options and flexibility than a multi-purpose full fledged generic lobby, but at least, it doesn't include the options to set up non working games! (such as games without AI, game with allied AI, game with AI not supporting the mod, ...)
quantumshard
Posts: 7
Joined: 21 Apr 2010, 21:33

Re: AI players not loading

Post by quantumshard »

I think I first tried to play balanced annihilation...is there a list of which AIs work with which mods?

Come to think of it, where do I look on my computer to make sure that the maps, mods and such have even been downloaded?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: AI players not loading

Post by hoijui »

Z may have over-read that, but as you were already in-game, and it told you you won the game, you definitely already have at least one mod and one map.
You still did not supply an infolog.txt, so i can just tell you what AIs currently work with BA:
AAI (with the right config file, you need to copy it manually from older versions)
RAI
KAIK
E323AI (needs two config files per mod, you cna also copy them from older versions and/or get the latest version of E323AI from this thread http://springrts.com/phpbb/viewtopic.php?f=15&t=19450 latest version can be found in the first post)
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: AI players not loading

Post by zwzsg »

hoijui wrote:Z may have over-read that, but as you were already in-game, and it told you you won the game, you definitely already have at least one mod and one map.
Sure, quantumshard has a mod and map, but the problem he describes, having to forcestart, game over at game start, sounds to me like what you get when the start script is not set right (no AI or allied AI). So a launcher that writes skirmish startscript like in KP could help. I'm not sure what cause 'AI not init' but since LuaAI are loaded so differently than .dll AI, they wouldn't get that error. And using my full installer will ensure everything is in working order (for KP at least).

If it sounds too much like I'm promoting Kernel Panic, well, I made a similar frontend for Balanced Annihilation:
http://springrts.com/phpbb/viewtopic.ph ... 6&start=23
A BA mutator (copy into /mods/, requires BA712.sd7) that adds a menu that triggers when you run Spring.exe directly, or when you press Esc and are the only human player. That menu has a "skirmish" menu, that write skirmish startscript using KAIK, and one mission (using NullAI). KAIK and NullAI are both in the default Spring installer from http://springrts.com/wiki/Download so hopefully there're installed right.
Post Reply

Return to “Help & Bugs”