01-22-2018, 07:51 PM
Just made a few changes to the scheduling code. May need to make more, we'll see.
I've completely disabled the auto-scheduling (the 10 minute script) for now until I can fix it entirely. That will ensure it's not causing problems while I continue to work on de-bugging the scheduling code (the code that runs when you activate a route). Once I get the scheduling code 100% correct, it's almost a copy-paste into the auto-scheduling script to enable it again.
I fixed some things regarding days of the week, so you should be able to create routes that only fly on particular days now. However there is a bug that I have yet to fix. If the departure time has already passed, and the route gets scheduled for +1 day, the code can not recognize the day of the week and it will go ahead and schedule the route for the following day, even if it's not supposed to be flown that day.
Also made some changes to help with routes scheduling again before they have finished, so that should be taken care of hopefully.
Let me know of any issues you're having with routes not getting scheduled at the correct times upon activation.
I've completely disabled the auto-scheduling (the 10 minute script) for now until I can fix it entirely. That will ensure it's not causing problems while I continue to work on de-bugging the scheduling code (the code that runs when you activate a route). Once I get the scheduling code 100% correct, it's almost a copy-paste into the auto-scheduling script to enable it again.
I fixed some things regarding days of the week, so you should be able to create routes that only fly on particular days now. However there is a bug that I have yet to fix. If the departure time has already passed, and the route gets scheduled for +1 day, the code can not recognize the day of the week and it will go ahead and schedule the route for the following day, even if it's not supposed to be flown that day.
Also made some changes to help with routes scheduling again before they have finished, so that should be taken care of hopefully.
Let me know of any issues you're having with routes not getting scheduled at the correct times upon activation.
I am the developer of Airline Enterprise
