Jacques
-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Jacques
-
-
So the site can make a config file for kAcars, just like for fspax, fs acars, only that programs don't need passwords i guess..
-
ah okay,
thank you for the response.
-
Hello,
Could Some one provide me the code to echo the password for the signed in pilot, for creation of kAcars config file.
pilot id was: <?php echo $pilotcode?> is there some same code but, for the password?
greetz,
Jacques
-
Yes, but somewhere there is a code that calculate the aircraft useage. With this installation there is a table added named "cond" for aircraft condition. And after installation, and all the aircraft are brought, the conditions are not all 100%. Some of my aircraft are 95% even. So where is that condition calculated?
Hi Jakes,
I think the landing rate needs to come from the pirep sending. and than change the cond. line in the aircraft sql. i think thats the way but i dont know the code for it....
so after receiving a pirep (and accept it?) than it should alter the cond line witch come with this pakkage..
Greets
-
Hello,
also works fine for me verry nice app!
but i dont see any aircraft typs in the pull down menu.. any id?
thanks
edit: never mind found the problem in FuelCalculatorData.class.php, the link was not correct for my sql database..
-
Hello,
I'm trying to create a code that alter the condition of the aircraft when a pirep is been submitted.
it looks to the landing rate, so when the landing rate is below 200 than 0.5% off the condition.
when a landing rate is higher than 200 than 2% of condition. when a landing rate is higher than 500 than 50% off condition.
so far i have:
$pos = find_in_fsacars_log('TouchDown:Rate', $log);
$landingrate = str_replace('TouchDown:Rate', '', $log[$pos]);
$count = preg_match('/([0-9]*:[0-9]*).*([-+]\d*).*/i', $landingrate, $matches);
if($count > 0)
{
PIREPData::editPIREPFields($report->pirepid, array('landingrate' => $matches[2]));
}
PIREPData::AppendToLog($report->pirepid, $_GET['log']);
if ($count < -200)
{
aircraftdata::editaircraftfields($report->pirepid, array('cond' => $matches[100-0,5]))
}
if ($count > -200)
{
aircraftdata::editaircraftfields($report->pirepid, array('cond' => $matches[100-2]))
}
if ($count > -500)
{
aircraftdata::editaircraftfields($report->pirepid, array('cond' => $matches[100-50]))
}
the most is from the fsacars config file
could anyone help me with this?
thanx!
grtz, Jacques
-
Hi Nighthawk,
i like the module!
i installed the buy module its working fine!
but how's the condition module working?
i tryed to write it myself but dont get any futher.
i hope its going the right way
if i can help with somting please say it!
grtz.
ScreenshotCenter 2.0
in Simpilot Group Addons
Posted
Hi,
great module +5!
but when i upload more than 8 screenshots you will get more pages... when i press page 2 ill get this message:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Screenshots' does not have a method 'screenshots' in /volume1/web/phpvms/core/classes/MainController.class.php on line 218
i've tryed reinstalling the module but without any help..
thanx,
Jacques
Edit: Strange when i rebooted my pc the bugg was gone :-) great app!!