Page 1 of 1

AI crashed with this Game Script

Posted: 04 Sep 2022 10:36
by mfans
I am from Shanghai China and I am not good in English. I met a problem, when I use the Game Script 'Renewed Village Growth' , by the way, I dislike to game with any AI, So I choose no AI.
I use the GRF FIRS 1.4.4M or FIRS 4.4.0, after that .when I make up a new game, always that an AI crashed report appeared, how to solve it? Thanks

Re: AI crashed with this Game Script

Posted: 05 Sep 2022 10:08
by odisseus
It looks like you actually have an AI enabled. This AI may be incompatible with your other add-ons, or it may be just buggy. In order to disable the AI competitors altogether, you have to set the "maximum no, of competitors" to zero.

Re: AI crashed with this Game Script

Posted: 07 Sep 2022 02:42
by mfans
Thanks, but I have already set this competitors to zero, and it still doesn't work. May I have to have one competitor to star the game? :)

Re: AI crashed with this Game Script

Posted: 08 Sep 2022 06:08
by Firrel
It might be that the game script crashed. Please send a screenshot of the crash report. Also what version of the game script are you using?

Re: AI crashed with this Game Script

Posted: 10 Sep 2022 09:29
by mfans
I made something,is this useful?
openttd1.png
openttd1.png (92.17 KiB) Viewed 1355 times

Re: AI crashed with this Game Script

Posted: 18 Sep 2022 16:57
by Firrel
mfans wrote: 10 Sep 2022 09:29 I made something,is this useful?
Sorry, could not answer sooner. The game script caused the crash, you dont have AI enabled. Seems like it crashed when trying to load a game. Is it really a new game? What version of the game script are you using? Latest version is 8.2 (v82). OpenTTD 12.2 with Renewed Village Growth 8.2 and FIRS 4.4.0 works fine to me.

Re: AI crashed with this Game Script

Posted: 20 Sep 2022 06:41
by mfans
Hi, glad to hear from you.I use version 8.2 and FIRS 4.4.0,but it seems doesnot work, I can't start a new game. Should I set the Game Scripts's parameter?

Re: AI crashed with this Game Script

Posted: 20 Sep 2022 09:42
by Hyronymus
Firrel wrote: 18 Sep 2022 16:57
mfans wrote: 10 Sep 2022 09:29 I made something,is this useful?
Sorry, could not answer sooner. The game script caused the crash, you dont have AI enabled. Seems like it crashed when trying to load a game. Is it really a new game? What version of the game script are you using? Latest version is 8.2 (v82). OpenTTD 12.2 with Renewed Village Growth 8.2 and FIRS 4.4.0 works fine to me.
If I look at the screenshot it suggests to me that there is another script and at least 1 AI running too. Or is that just the translated name in the tabs on the right side of the red tab?

Re: AI crashed with this Game Script

Posted: 21 Sep 2022 13:44
by Firrel
Hyronymus wrote: 20 Sep 2022 09:42 If I look at the screenshot it suggests to me that there is another script and at least 1 AI running too. Or is that just the translated name in the tabs on the right side of the red tab?
I checked it and it looks exactly as with no AI and only RVG game script.

The problem is caused by the game script crashing when trying to load data from a save file. In a new game, the text "Loading data ..." should never happen, because that is only executed when loading a save file. Calling the loading data function is handled by OpenTTD itself, there is nothing I can fix about it in the GS code.

Maybe try to reinstall the OpenTTD and redownload the RVG game script, there might be some corruption of files.

Re: AI crashed with this Game Script

Posted: 22 Sep 2022 06:48
by mfans
Thank you for your Great Help, now it works and thank for your super job.