Airline Enterprise - Forums
Update to Route Scheduling Logic - Printable Version

+- Airline Enterprise - Forums (https://www.airlineenterprise.com/forums)
+-- Forum: Airline Enterprise (https://www.airlineenterprise.com/forums/forumdisplay.php?fid=1)
+--- Forum: Game Updates (https://www.airlineenterprise.com/forums/forumdisplay.php?fid=2)
+--- Thread: Update to Route Scheduling Logic (/showthread.php?tid=766)



Update to Route Scheduling Logic - Unknown98 - 09-01-2018

This has been discussed for a while on the chat but I realized I've never mentioned it here on the forums. I am working on a fix/update to the back-end code that handles route scheduling. After IFE we were having some issues with certain routes no longer scheduling properly (we were before IFE as well but not to the same extent)

End-users will notice very little difference, with the exception that instead of routes scheduling every 5 minutes, the script will only run once per day, and schedule all flights for the following day. This should allow multiple routes to be assigned for each aircraft on the same day.

Routes will still schedule instantly upon activation provided there are no other scheduled flights already for that aircraft and the aircraft is at the departure airport
It will likely require the game to go into maintenance mode once per day to allow for the system to schedule the routes.

This update should be applied today or tomorrow.


RE: Update to Route Scheduling Logic - squaregatescrub - 09-02-2018

What happens when the script runs but my aircrafts are still flying and not in their starting airports? Will the route for the next day still schedule?


RE: Update to Route Scheduling Logic - Unknown98 - 09-02-2018

It will check the last scheduled destination of the aircraft and compare that to the starting point for the next route.


RE: Update to Route Scheduling Logic - squaregatescrub - 09-02-2018

That's brilliant. Thanks Unk!