News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

[Tutorial] Schedule changing forever

Started by Yona-TYT, October 14, 2022, 01:59:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT



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

Dwachs

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?
Parsley, sage, rosemary, and maggikraut.

Yona-TYT

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. :(




Dwachs

Parsley, sage, rosemary, and maggikraut.

Yona-TYT