The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Yona-TYT on October 14, 2022, 01:59:42 AM

Title: [Tutorial] Schedule changing forever
Post by: Yona-TYT on October 14, 2022, 01:59:42 AM


When I open the schedule tab of a ship (the one in the picture) and then close the convoy window, it gets stuck in a loop with the message "Schedule changing!" until I reload the savegame: tutorial-5-err.sve 

Captura desde 2022-10-13 21-53-08.png
Title: Re: [Tutorial] Schedule changing forever
Post by: Dwachs on October 15, 2022, 10:01:08 AM
Does this also happen with normal play? Or is this an effect of the scenario? Does the scenario script touch the schedule of the ship?
Title: Re: [Tutorial] Schedule changing forever
Post by: Yona-TYT on October 15, 2022, 12:25:38 PM
Quote from: Dwachs on October 15, 2022, 10:01:08 AMDoes this also happen with normal play? Or is this an effect of the scenario? Does the scenario script touch the schedule of the ship?


This works only with script, The script is not manipulating the ship's schedule.

Apparently the tab to edit "schedule" and then close it is called "is_schedule_allowed", but because it is a vehicle from a previous chapter, the schedule should not be changed or edited, however when "is_schedule_allowed " returns an "Action Not Available" message, so the vehicle is stuck in a loop.

This error had occurred before, when the new schedule window/tab was implemented, it was fixed that time, but for some reason it came back. :(



Title: Re: [Tutorial] Schedule changing forever
Post by: Dwachs on October 15, 2022, 12:44:57 PM
should be fixed in rr10777
Title: Re: [Tutorial] Schedule changing forever
Post by: Yona-TYT on October 15, 2022, 01:04:40 PM
Quote from: Dwachs on October 15, 2022, 12:44:57 PMshould be fixed in rr10777
Thank you very much, it works fine now. 8)