Jump to content

Nabeel

Administrators
  • Posts

    8151
  • Joined

  • Last visited

  • Days Won

    39

Posts posted by Nabeel

  1. If you're getting this error, make sure you have added the airports that were on the flights to your airports list. I have changed this code to check if it exists, and then add it if it doesn't. But if the airports are not added, then it could fail, it it needs to lookup information.

    For instance, you are flying to KIAD, but you're don't have KIAD added in your Airport's list, this may happen.

    If your host has remote fopen disabled, then I cannot retrieve this airport information, and it must be manually added through the control panel.

  2. You can add them in the core nav, in your template that's fine. There are tutorials online on how to do that.

    As for the admin editing, save the changes, I don't support overriding admin templates. That code changes too often. I do have ways to add items into the menu, I'll have documentation on that in some time though.

  3. The entire thing is now working flawlessly. I fixed a few bugs, and I will make sure this is solid, and release it either on Friday or over the weekend.

    A few notes:

    Pilot Number: FULL number, INCLUDING the code (so VMA434). This is because FSACARS does not send me the CompanyICAO field, only the pilot ID field. I need both to lookup who you are.

    Flight IATA: FULL number, INCLUDING the code (VMA654654). I can't look up a route without that code. The CompanyICAO field is not sent to me here either, and I don't know what airline a route belongs to without the code.

    Registration: REQUIRED, or else I don't know what aircraft you used. Now that there are multiple aircraft of the same type, I can only look up the registration number reliably.

    To send the PIREP, you click "Stop Log". It will ask to Accept or Decline. Click Accept. Then, click the "Flight Log" tab, then click "Send Log". It will ask to confirm; say yes, and it will send.

    I'll have a patch over the weekend to fix errors which prevent the flights from showing, and to upload the code to use the registration data, and properly parse the Flight IATA. If you forget the code, I can "guess" which airline is it, but if it doesn't find the correct flight, then I can't do anything about it. There will be a "Edit PIREP" option, but it might not make this weekend's release, most probably the next one after (depends how much time I have this week).

    Also, FSACARS loves to spontaneously stop working (properly). Deleting the fsacars.ini file and reinstalling (the latest 4.0.15 version) fixes the problems. You NEED to use the 4.0.15 because they have changed how data is send between the versions. Their documentation doesn't match either version, so I've picked apart how they send it in 4.0.15 since it is the latest.

  4. Hey,

    A few critical patches in this one, run the update.php

    I had stopped manually doing patches, and replaced it with a build script (automatically checking versions, patching files, and just using test-cases), leaving bugs in there for the last update. There were a few database changes as well, so this was not completely checked in the auto build. The first releases were tight in how they handled data, but now with all your feedback, that needs to be loosened a bit, so it's just going through growing pains...

    Stay tuned this week and next since I'm issuing patches fairly quickly with bug fixes as soon as I find them. There's going to be quite a bit more Q&A from now on.

    Sorry about all this trouble.

  5. You can define it as icao or iata, it doesn't have to be either. When you enter a flight number or airline code, you can enter it either way. I'm not expecting a ICAO or IATA. That's much more confusing.

    In the flight IATA field it is the easier, just enter the airline code (icao or iata, however it is entered in phpvms), and then the flight number. It's written in the documentation clearly.

×
×
  • Create New...