Page 1 of 1

Lua AI broken

Posted: 27 Oct 2009, 02:21
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.

Re: Lua AI broken

Posted: 27 Oct 2009, 11:04
by hoijui
the second issue has been fixed now, i do not now about the first one. please test with latest master again.

Re: Lua AI broken

Posted: 27 Oct 2009, 18:59
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