AI crashes

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
Rodon
Engineer
Engineer
Posts: 2
Joined: 16 Sep 2012 15:19

AI crashes

Post by Rodon »

I´ve bin getting multible AI crashes. I´m using Admirals AI, Convoy, Mail AI, Moguls, Pathzilla and TrAIns AI. I included one crash report, but they´ve all bin crashing at some point.
Attachments
AI crash.PNG
AI crash.PNG (22.43 KiB) Viewed 2176 times
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: AI crashes

Post by Zuu »

For this crash report to be useful you have to scroll up to the point where the red text starts. Preferable also include 2-4 of the black lines above the red text. Also ensure the window is wide enough that all red text of the error is visible.

Secondly, if you have crashes with different AIs, the cause is probably different for each AI. Thus one report for each AI is needed in order for the respective authors to be able to fix their AIs so that the crash doesn't happen anymore.

Thirdly (and last), it is useful if crashes are reported in the forum thread of each AI. In OpenTTD there are website links in the online content download window that often take you to the forum thread. Or you can use this web-interface to the online content system and click on the AI names to go their forum threads: http://bananas.openttd.org/en/ai/


However, while making your work a bit more complicated than just saying "this AI have a problem", most AI authors appreciate the time you take to report issues with their AIs in the way described above as that gives them a much better clue what is the reason for the crash and enables them to fix the problem much easier.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 3 guests