You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background:
When an AI has an crash in the Save() routine a crash is reported to the window, but it keeps running. This behavior seems reasonable, because save isn't critical.
ERROR:
However, at this point the game considers that the AI never left the Save() routine and starts complaining "You are not allowed to call sleep during Save(), Load(), and any Valuator."
REPRO STEPS:
Create the test AI from http://wiki.openttd.org/AI:TestAI . Change the Save() function to read TestAI::Save() {throw("save error.");}
Load the AI in a game, and call save. Notice the crash report. Hit the fast forward
EXPECTED RESULTS:
The AI should crash completely and be dead.
OR
The failed save should be terminated and the AI should continue on.
ACTUAL:
The AI is still running, but the game thinks it's still running the Save() routine.
Dustin opened the ticket and wrote:
Attachments
Reported version: 0.7.2
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/3134
The text was updated successfully, but these errors were encountered: