Slots
#21
Well the code that counts slots only runs upon landing, not scheduling. So that won't happen.

Each time the game processes landings (every 5 minutes) it is supposed to add +1 slot used for each flight. It's very simple code and I don't really understand what's going wrong with it.

Just made another small change to the code, so far it seems to be calculating all my slots correctly. Since I reset my slot usage and changed the code I've had:

3 landings at LAX
2 landings at SFO
1 landing at PHX
1 landing at HNL

and my gate usage reads:

[Image: jOGmWmw.png?1]


But everyone else's won't reset until midnight UTC, I just reset mine halfway through the day to test it.
I am the developer of Airline Enterprise
Reply
#22
I think this is the problem:

I have four routes assigned to the same plane and the system interprets that they are four different planes but in reality it is only one plane that takes off at different times.


Attached Files Thumbnail(s)
   
[Image: iLm5DiL.png]
Reply
#23
Now some of my slots are up to 300%, again all my destinations save AMS are only flown to once daily.





Reply
#24
So I think I'm going to try and make slot usage a once-per-day calculation type thing since real-time isn't working. Basically the game will look at your flight history for the day and determine how many landings you had at each airport and then compare that to your number of gates. That can't possibly go wrong. Right? Right?
I am the developer of Airline Enterprise
Reply
#25
I admire your optimism Wink





Reply
#26
Lol good luck
[Image: 75T19MV.png?1]
Reply
#27
Right so the new system is implemented, it will calculate slot usage at 00:01 UTC every day, for the previous day. So when you look at gate management and view the utilization that will be the previous day's utilization.

Figured out why it wasn't working before but this way of doing it is better anyway so I guess everything happens for a reason.

It is still not "connected" to the finances in any way, so you will not get charged a penalty for over-utilization. Once I am 100% sure it is working correctly then I will add the finances part to the code.
I am the developer of Airline Enterprise
Reply
#28
Great, thanks unk! I'll be sure to check tomorrow and see if it's worked!
[Image: 75T19MV.png?1]
Reply
#29
(10-10-2018, 12:58 AM)Unknown98 Wrote: Right so the new system is implemented, it will calculate slot usage at 00:01 UTC every day, for the previous day. So when you look at gate management and view the utilization that will be the previous day's utilization.

Figured out why it wasn't working before but this way of doing it is better anyway so I guess everything happens for a reason.

It is still not "connected" to the finances in any way, so you will not get charged a penalty for over-utilization. Once I am 100% sure it is working correctly then I will add the finances part to the code.
IF we could get like a weeks notice that'd be great
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

About Airline Enterprise

Welcome to the official message boards of Airline Enterprise. Feel free to join the discussions, ask for help or just browse!

              Quick Links

              User Links