Lua AI broken

Lua AI broken

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
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Lua AI broken

Post by zwzsg »

So:

1) Adding KP's Lua AI to a multiplayer game cause immediate desync: Tested twice, desynced twice the moment game started, with entirely different people beside me, after many games without any desync with same people.

2) Killing a Lua AI makes Spring insta-crash: Tried multiple time, mostly with KP but also with S44, it crashed every time a Lua AI died. I even tried with a fake Lua AI that has no matching gadget and so does nothing, still crash when it dies. Note: C++ AIs seem immune to this.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Lua AI broken

Post by hoijui »

the second issue has been fixed now, i do not now about the first one. please test with latest master again.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Lua AI broken

Post by zwzsg »

hoijui wrote:the second issue has been fixed now
It indeed appears to have been fixed between 0.80.5-37-g25c7158 and 0.80.5-43-g994d391.
hoijui wrote:i do not now about the first one.
Last two days I had like 28 games of KP, and only the two of them I put a K.P.A.I. in desynced. Today I run a few tests with SirMaverick, and couldn't provoke any desync.

Here's the demos of those games:
http://www.yousendit.com/download/Z01OZ ... WUpFQlE9PQ
http://www.yousendit.com/download/Z01OZ ... d2Z2Wmc9PQ
Post Reply

Return to “Help & Bugs”