Moderators ProSkyDesign Posted January 10, 2017 Moderators Report Share Posted January 10, 2017 For example penalty the following: -Overspeed (-5%) -Exceded 250 kias below 10000 ft (-5%) -exhausted fuel supply (-25%) -landing at wrong airport (-30%) -landing lights on above 10000 ft (-5%) -landing lights off below 1000 ft (-5%) -overspeed taxi (-5%) Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 10, 2017 Administrators Report Share Posted January 10, 2017 If something like this were possibly put in place, I'd like to see the percentage penalties be easily adjustable. Quote Link to comment Share on other sites More sharing options...
Moderators ProSkyDesign Posted January 10, 2017 Author Moderators Report Share Posted January 10, 2017 8 hours ago, bass said: I have such code, which considers an overall assessment of the flight. Speed exceedingSpeed below 10,000 FTLanding lightsThe rate of descentThe stallTake-off and landing in complicated meteorological conditionsThe angle at take-offCrashThe impact of the nose landing gearand so on... Here is an example All assessments are stored in the database and it shows the TOP pilot for the month. Nice!! Can you share the code :O? Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 10, 2017 Administrators Report Share Posted January 10, 2017 Oh yes, please do share! Is it a separate module? Might be best to post outside of any version 3 discussion though. Quote Link to comment Share on other sites More sharing options...
Moderators ProSkyDesign Posted January 10, 2017 Author Moderators Report Share Posted January 10, 2017 18 minutes ago, bass said: $start = $pirep->log; <!-- Огни, минус 5% --> $string1 = strstr($start, 'Landing Lights OFF'); $string2 = substr($string1, 21, 6); //echo $string2; if($string2 >= '-10000'){ $lights = '5'; echo "Landing lights are not turned off when you climb from 5000 ft. up to 10,000 ft.: -5%"; } That's not a big sample code that simply displays a violation, but does not save. Nice! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.