AI not loading

AI 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
umarzuki
Posts: 25
Joined: 25 Jan 2009, 03:03

AI not loading

Post by umarzuki »

AI = CRAIG
OS = Debian Lenny AMD64
Hardware = Compaq Presario CQ40-115AU
Video card = Radeon HD 3200
Processor = AMD Turion X2 RM-70
Spring version = 0.80.0
Spring lobby version = 0.3

Bug can be produced by:
Using 1944 mod, BocageSkirmish map, play single player.

The AI doesn't progress, enemy unit only stand their ground.

Infolog.txt = http://pastebin.com/f6657a918
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Re: AI not loading

Post by Caydr »

Is that AI designed to work with S44?
umarzuki
Posts: 25
Joined: 25 Jan 2009, 03:03

Re: AI not loading

Post by umarzuki »

Caydr wrote:Is that AI designed to work with S44?
it suppose to. It works fine on 0.79.1.2 and it's the only AI that works with S44
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: AI not loading

Post by hoijui »

yes it is.
basically, a Lua AI is integrated in the mod archive, so the user should be able to savely assume the AI works with the mod.

from the infolog:

Code: Select all

LuaRules::RunCallIn: error = 2, RecvFromSynced, [string "LuaRules/Gadgets/craig/buildsite.lua"]:269: attempt to index local 'unitDef' (a nil value)
i guess this has to do with one of Kloots recent changes, thta the AI checks UnitDefs more strictly, and if they have some invalid stuff set/referenced, then they are set to NULL. So i guess this is the case for S44Lyuban_v106.sdz. They may have fixed this in their dev releases already, but it can not hurt to tell them.
XTA has a similar problem with one of its UnitDefs.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: AI not loading

Post by Tobi »

I think hoijui is right yeah; I think I've seen this too one time when testing with development version of Spring: 1944 in development version of Spring.

I'll doublecheck if it works fine with development version of S44 tonight.

Thanks for the report.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: AI not loading

Post by Neddie »

Caydr wrote:Is that AI designed to work with S44?
Built for S44 initially. Well, that and Tobi's neverending push for excellence.
Post Reply

Return to “Help & Bugs”