[CONFIRMED] Duplication of flights (again)
#15
Okay so what's happening from what I can gather is that for some reason, EI-LAB was never landed successfully by the system. There is no active flight currently for EI-LAB, but on the fleet page it displays the active flight as EA 1043, which is the same as EI-LAA right above it. I believe that is because the game thinks the plane is active, so when it looks for the flight number, it doesn't actually exist. I'll have to look, but I may not have a failsafe in the code to handle that situation, so instead of correcting itself or simply failing, it just grabs the flight number of the aircraft above it and duplicates it. Maybe.

What I still don't know is what causes the aircraft to not land itself successfully. When the flight is over, it's supposed to move the flight out of active flights and into flight history (which it is doing) and also change the aircraft status from active or in-turnaround, to on-ground (which it is not doing).

-edit-
Yes, thats what was happening. A flight belonging to that aircraft didn't exist, so there was no flight number to display. Because of that, it just duplicated the flight above it. I've just changed the code to display an error in the "location" column on the fleet page when this happens.

Now I need to figure out what causes the aircraft to not land successfully...
I am the developer of Airline Enterprise


Messages In This Thread
Duplication of flights (again) - by gaff85 - 02-25-2018, 06:00 PM
RE: Duplication of flights (again) - by Unknown98 - 02-25-2018, 11:58 PM
RE: Duplication of flights (again) - by gaff85 - 02-27-2018, 01:40 PM
RE: Duplication of flights (again) - by gaff85 - 02-27-2018, 09:02 PM
RE: Duplication of flights (again) - by Unknown98 - 02-27-2018, 09:43 PM
RE: Duplication of flights (again) - by gaff85 - 02-27-2018, 11:23 PM
RE: Duplication of flights (again) - by Unknown98 - 02-28-2018, 08:33 PM
RE: Duplication of flights (again) - by gaff85 - 02-28-2018, 09:12 PM
RE: Duplication of flights (again) - by Unknown98 - 02-28-2018, 10:04 PM
RE: Duplication of flights (again) - by gaff85 - 03-01-2018, 12:22 AM
RE: Duplication of flights (again) - by Unknown98 - 03-01-2018, 03:12 PM
RE: Duplication of flights (again) - by gaff85 - 03-07-2018, 01:22 AM
RE: Duplication of flights (again) - by Unknown98 - 03-07-2018, 03:43 PM
RE: Duplication of flights (again) - by gaff85 - 03-07-2018, 10:32 PM
RE: Duplication of flights (again) - by Unknown98 - 03-08-2018, 05:00 PM
RE: Duplication of flights (again) - by gaff85 - 03-08-2018, 10:45 PM

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