Jump to content

Fuel Price Issues


TennShadow

Recommended Posts

Right now all my airports are set to 0 for live pricing. It appears that when a route is flown out of the US and it can't get a live price from the api it is not using the default price I have in the config. It just stays at 0.

# Code to set the default fuel prices
Config::Set('FUEL_DEFAULT_PRICE', '.423');

Any ideas?

I'm running 930.

Thanks.

Link to comment
Share on other sites

Right now all my airports are set to 0 for live pricing. It appears that when a route is flown out of the US and it can't get a live price from the api it is not using the default price I have in the config. It just stays at 0.

# Code to set the default fuel prices
Config::Set('FUEL_DEFAULT_PRICE', '.423');

Any ideas?

I'm running 930.

Thanks.

I just found a new fuel setting in app.config and have replaced the above with it. How do I get it fix the PIREPS that are already filed? I didn't see a reset in the maintenance section?

# 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_GET_LIVE_PRICE', true);
Config::Set('FUEL_DEFAULT_PRICE', '.423');
Config::Set('FUEL_SURCHARGE', '5');

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...