Jump to content

Txmmy83

Members
  • Posts

    493
  • Joined

  • Last visited

Posts posted by Txmmy83

  1. On 10/24/2020 at 9:39 AM, Vangelis said:

    This module never played well with smartacars as the do no use the functions of phpvms for the pireps 

    yeah but the comment work fine for landing rate! which helps PIREP Officer working as it gives hind how to handle a PIREP

  2. On 13.9.2013 at 4:03 PM, mischka said:

    You can get the fuel flow from your own PIREPS. Once you have 20-30 pireps per aircraft type it should be reliable enough. Obviously the more pireps the more reliable the calculations will be.

    I use the following code to update a field "fuelflow" in my aircraft table:

     

    
    function CalcFuelFlows ()
    {
     $sql="select icao, count(icao) amount, sum(fuelused) totalfuelused, sum(duration) totalduration, sum(fuelused)/sum(duration) average from  (";
     $sql=$sql." SELECT aircraft,  icao, fuelused, flighttime_stamp, hour(flighttime_stamp)+ (minute(flighttime_stamp)/60) duration";
     $sql=$sql." FROM `ACS_pireps`, ACS_aircraft";
     $sql=$sql." WHERE ACS_pireps.aircraft=ACS_aircraft.id and ACS_aircraft.fuelflow<>0) pireps group by icao";
     $averages = DB::get_results($sql);
    
     foreach($averages as $aircraft)
      {
       $sql="update `ACS_aircraft` set fuelflow=".$aircraft->average." WHERE icao='".$aircraft->icao."'";
       DB::query($sql);
       echo "<br>".$sql;
      }
     return "success";
    }
    
     

     

    That will set the average fuel flow for each aircraft type. You can then calculate the amount of fuel you need depending on the trip length plus an hour reserve and some hold/taxi fuel.

    Note that if your phpvms counts fuel in Lb than these values will be in Lb, if you set it in KG it'll be in KG.

    Note also if you want to use this for your system you must change the tablename prefix from ACS_ to whatever you have.

    where to put this function?

  3. No error warning but for some reason I can not fill in anything it appear like a static screenshot

    any idea?

    PS:

    found the error!

    seems that I have not enough sleep otherwise I would recognized the missing closing div earlier ;)

    anyway is there a way to limit to only the enabled fleet aircraft?

     

    I have also added a new dropdown option that Pilot can select AIRAC Cycle used for flightplan

  4. Parkho,

    how do you get it to recognize the Aircraft used in flight?

    I get following in all my FSPAX PIREPS

     
    • Aircraft: ()

    which is quite anoying for our PIREP officer

    So my question is how can I make it possible that it will fill in the correct aircraft and registration for the flight when sending with FSPAX?

    probably some IF statements in sending method?

    we also using other PIREP systems (kACARS, fsacars, etc)

  5. what size would you suggest for

    Cessna 150

    B1900D

    Dash8 Q400

    MD80

    Embraer 170

    Saab 340

    Shorts 330

    A318-A380

    B737- B787

    C27J Spartan

    as I want them to be not all the same and in way that should reflect the real size of the aircraft any ideas are welcome :)

  6. icon: url+"/lib/images/inair/"+data[i].flightnum.substring(0,3)+"/"+data[i].heading+".png",
    

    I have a strange question is it possible to force the js to go into another folder I am interested in something like Airline/ used aircraft type / heading image according to the aircraft used on flight?

    ok now it works:

    icon: url+"/lib/images/inair/"+data[i].flightnum.substring(0,3)+"/"+data[i].aircraftname+"/"+data[i].heading+".png",
    

  7. Hi ALL,

    After reading a tutorial on creating flags I gave myself a try and the result became a complete replacement of the default phpVMS flags

    which I use on pilots page and on my airport list

    image is attached!

    and if you like to see more flags that are not shown on attached preview image

    you can do it LIVE on my Airport Info Page

    comments are more than welcome ;)

    as I am not on Github so I have uploaded it to my VA's page

    http://www.flyeurope...ter/category/18

    post-585-0-26199700-1474286632_thumb.png

  8. Strict Standards: Accessing static property Login::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property Login::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property Login::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property Login::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property ACARS::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property ACARS::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property ACARS::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property ACARS::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property FrontBids::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property FrontBids::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property FrontBids::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property FrontBids::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property Pages::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property Pages::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property Pages::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property Pages::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property Downloads::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property Downloads::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property Downloads::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property Downloads::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property Registration::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property Registration::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property Registration::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property Registration::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property Registration::$get as non static in /home/simaerobatic/htdocs/alliance/core/modules/Registration/Registration.php on line 25

    Strict Standards: Accessing static property kACARS_Free::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property kACARS_Free::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property kACARS_Free::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property kACARS_Free::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property Contact::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property Contact::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property Contact::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property Contact::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property RouteMap::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property RouteMap::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property RouteMap::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property RouteMap::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property Pilots::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property Pilots::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property Pilots::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property Pilots::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property FSFK::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property FSFK::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property FSFK::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property FSFK::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property Frontpage::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property Frontpage::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property Frontpage::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property Frontpage::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property Logout::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property Logout::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property Logout::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property Logout::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property Profile::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property Profile::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property Profile::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property Profile::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property News::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property News::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property News::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property News::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property Schedules::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property Schedules::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property Schedules::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property Schedules::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property XML::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property XML::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property XML::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property XML::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property PIREPS::$post as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 67

    Strict Standards: Accessing static property PIREPS::$get as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 68

    Strict Standards: Accessing static property PIREPS::$controller as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 70

    Strict Standards: Accessing static property PIREPS::$activeModule as non static in /home/simaerobatic/htdocs/alliance/core/classes/CodonModule.class.php on line 73

    Strict Standards: Accessing static property Login::$post as non static in /home/simaerobatic/htdocs/alliance/core/modules/Login/Login.php on line 40

    Strict Standards: Accessing static property Login::$post as non static in /home/simaerobatic/htdocs/alliance/core/modules/Login/Login.php on line 104

    Strict Standards: Accessing static property Login::$post as non static in /home/simaerobatic/htdocs/alliance/core/modules/Login/Login.php on line 105

    Fatal error: Cannot re-assign auto-global variable _FILES in /home/simaerobatic/htdocs/alliance/core/common/PilotData.class.php on line 436

    seems that the Server of my host can not work with strict standard :(

    simpilots phpvms version on a payed host but obviously not one that is really capable of running phpvms in sufficent way

    any suggestion is more than welcome!

    by the way my main VA is hosted on fivedev server and works just great

  9. two Problems when using this Module it does not sent PIREP to Vacentral second is that it is not compatible with any custom reward system like Simpilots Pilot Rewards or Crazycreatives Premium Miles

    if it would work with these Reward Systems it would be Great :)

  10. personally never had this error

    @vbegin7 can you give a little bit more information on your phpvms setup?

    for example: are you on a paid or a freehosting service?

    PS:

    Simpilot,

    I have another question is it there a way to show the Average landing rate and points in addition to the rank?

  11. 1 - Do I penalize anything less than 120 ft/min and anything over 600 ft/min?

    2 - How do I apply a value to the landings between 120 and 180 which are considered “typical†by the FAA?

    3 – What is the lowest acceptable landing rate without the landing being considered “unsafe†and a higher penalty being assessed?

    4 – Do I penalize a va not submitting landing rates?

    5 - This FAA information is for transport category aircraft, do I apply different parameters to GA?

    Good Points ;)

×
×
  • Create New...