
IA error
Moderator: OpenTTD Developers
IA error
Today when i was playing this error appeared to me and i dont know what it is, the company with the ia error stops building and do nothing, i only have the simpleAI script installed, this started to happening today, the other days worked normally, what can i do?


Re: IA error
The phenomenon you've experienced is called "a bug". Because of that bug the AI crashes and cannot continue to execute it's code. What you can do is reload the AI or stop bothering with it. Here is the topic that you could report the bug to. The last activity though is from more than 2 years ago and you're using the latest OpenTTD version which can cause some incompatibilities (libraries and such).
Re: IA error
Thanks for the reply, what you recommend me to fix the problem??? 

- Simons Mith
- Transport Coordinator
- Posts: 326
- Joined: 14 Jan 2010 23:45
Re: IA error
If it happens rarely, you might decide to just accept it when it happens.
If it happens a lot, the easy way to avoid the problem is to stop using that AI and start using different, presumably newer, ones instead.
The hard way would be to learn the AI coding language and fix the bug for yourself. Yes, that would be quite hard, but it's not impossible. Almost all the game AIs have been written by other OTTD players - if they could do it, there's no reason you couldn't.
In all cases, reporting the problem on the AI thread [Wold gave a link to it] would be helpful of you, but if there's been no activity on that thread for years it may not do any good.
If it happens a lot, the easy way to avoid the problem is to stop using that AI and start using different, presumably newer, ones instead.
The hard way would be to learn the AI coding language and fix the bug for yourself. Yes, that would be quite hard, but it's not impossible. Almost all the game AIs have been written by other OTTD players - if they could do it, there's no reason you couldn't.
In all cases, reporting the problem on the AI thread [Wold gave a link to it] would be helpful of you, but if there's been no activity on that thread for years it may not do any good.
Re: IA error
The AI that crashed is MogulAI an not SimpleAI. I recommend that you report the error so that the AI can be fixed.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
Re: IA error
Sorry, you're right was mogul the crash from pic, but simpleAI was also, i solved it removing the ai folder from my documents and download it again 

Re: IA error
I would greatly appreciate if you posted a screenshot when SimpleAI crashes for the next time. It was updated recently...
Re: IA error
Here it isBrumi wrote:I would greatly appreciate if you posted a screenshot when SimpleAI crashes for the next time. It was updated recently...

Here with the parameters window (all by default)
Re: IA error
Thank you for the report, it will be fixed in the new version as soon as possible. Do you still have the savegame in which this happens? Most probably SimpleAI crashes because the game is saved right after it is loaded.
Re: IA error
Yes i got the savegame... but i doubt save the game afer load was my problem...
Re: IA error
The AI crashed while saving the game, it can be seen in the log. The log is very short before the crash, so I assume that the crash happened right after you loaded the game. Most probably you have autosave enabled.
Re: IA error
Yes i have autosave every 3 months.Brumi wrote:The AI crashed while saving the game, it can be seen in the log. The log is very short before the crash, so I assume that the crash happened right after you loaded the game. Most probably you have autosave enabled.
Re: IA error
The bug has hopefully been fixed in version 8, which is available for download. It is fully savegame compatibile with the previous version, so it should load your game correctly, tell me if it doesn't 
Thanks for reporting!

Thanks for reporting!
Re: IA error
Thanks to you for your helpful jobBrumi wrote:The bug has hopefully been fixed in version 8, which is available for download. It is fully savegame compatibile with the previous version, so it should load your game correctly, tell me if it doesn't
Thanks for reporting!


Who is online
Users browsing this forum: No registered users and 0 guests