I set the unit to Kg in phpVMS and in FSACARS. This is the local config file in kg :
Fuel info
/* Default fuel price, for airports that don’t have
And the surcharge percentage. View the docs
for more details about these
*/
Config::Set(‘FUEL_DEFAULT_PRICE’, 0.45);
Config::Set(‘FUEL_SURCHARGE’, ‘5’);
FSPassengers Settings
Units settings
Config::Set(‘WeightUnit’, ‘0’); # 0=Kg 1=lbs
Config::Set(‘DistanceUnit’, ‘2’); # 0=KM 1= Miles 2=NMiles
Config::Set(‘SpeedUnit’, ‘1’); # 0=Km/H 1=Kts
Config::Set(‘AltUnit’, ‘1’); # 0=Meter 1=Feet
Config::Set(‘LiquidUnit’, ‘2’); # 0=liter 1=gal 2=kg 3=lbs
Config::Set(‘WelcomeMessage’, ‘phpVMS/FSPAX ACARS’); # Welcome Message
I deleted all the logs and i’ve done a new flight with fsacars in kg. This is the log :
[2009/06/17 11:06:00]
Flight IATA:FSW1000
Pilot Number:FSW001
Company ICAO:FSW
Aircraft Type:B737
PAX:149
Aircraft Registration:FSW-BOA
Departing Airport: LFPG
Destination Airport: LFST
Alternate Airport:LFSB
Online: IVAO
Route:RANUX EPL
Flight Level:240
11:06 Zero fuel Weight: 48082 Kg, Fuel Weight: 20862 Kg
11:09 Parking Brakes off
11:09 Com1 Freq=122.80
11:15 VR= 156 Knots
11:15 V2= 165 Knots
11:15 Take-off
11:15 Take off Weight: 68517 Kg
11:15 Wind: 162? @ 008 Knots Heading: 087?
11:15 POS N48? 59? 51?? E002? 35? 20??
11:15 N11 94 N12 94
11:15 TOC
11:15 Fuel Weight: 20433 Kg
11:15 Flaps:4 at 167 Knots
11:15 Gear Up: 169 Knots
11:16 Flaps:3 at 210 Knots
11:17 Flaps:0 at 242 Knots
11:30 Wind:315?@026 Knots Heading: 124? Ground Speed: 493 Knots Altitude 24229 ft
11:45 Wind:247?@010 Knots Heading: 062? Ground Speed: 343 Knots Altitude 13359 ft
11:47 Flaps:1 at 250 Knots
11:47 Flaps:2 at 250 Knots
11:47 Flaps:3 at 250 Knots
11:52 Flaps:4 at 220 Knots
11:52 Flaps:3 at 219 Knots
11:53 Flaps:4 at 211 Knots
11:54 Gear Down: 186 Knots
11:54 Flaps:5 at 172 Knots
11:54 Flaps:6 at 170 Knots
11:54 Flaps:7 at 154 Knots
11:54 Flaps:8 at 150 Knots
11:55 TouchDown:Rate -304 ft/min Speed: 133 Knots
11:56 Land
11:56 Wind:355?@002 Knots
11:56 Heading: 228?
11:56 Flight Duration: 00:41
11:56 Landing Weight: 66385 Kg
11:56 POS N48? 32? 12?? E007? 37? 32??
11:59 Parking brakes on
11:59 Block to Block Duration: 00:50
11:59 Final Fuel: 18185 Kg
11:59 Spent Fuel: 2677 Kg
11:59 Flight Length: 244 NM
11:59 TOD Land Length: 244 NM
Fuel price is set to 0.45 euro per kg.
Same problem with the finances, fuel cost is incorrect.
I found these lines in the “phpvms_fuelprices” table :
May be the error is in the MySQL database.
Thanks
Stéphane