External Publication
Visit Post

OpenTTD AIs and Game Scripts • Re: LuDiAI AfterFix

Transport Tycoon Forums - Index page [Unofficial] June 30, 2026
Source

LuDiAI is frequently crashing after a saved-game is loaded. I also note that version 26 is on GitHub, but only version 25 is in bananas. Regards, Habu

Thanks for the bug report. I was only able to reproduce the crash on JGRPP, but not on OpenTTD 15. It seems there's an issue with the way saving / loading of ScriptList instances is handled. The crash happens when it is trying to get the Count of items of an AIList which is expected to exist at the time the script calls it, but it's not there.

Saving and loading of ScriptList instances is a relatively recent feature of OpenTTD. I see it ported to JGRPP already, but something went wrong there.

Statistics: Posted by xarick — 30 Jun 2026 11:21


Discussion in the ATmosphere

Loading comments...