Jump to content

No earnings or fuel costs on cargo flights


MrAmsterdam

Recommended Posts

Hey guys,

I have got a company created Serious-airlines (serious-airlines.com)

Now i have made another company Serious airlines cargo (i created an extra company in phpvms)

I have created a few cargo routes with helicopters under the cargo division.

The problem is that when a pilot flies the route, no money is earned and no fuel costs are paid.

I can see that the fuel price is set normal.... with pax everything works fine.

The cargo costs are also set properly.

is this a known issue?

The next strange thing is that the route (when you look at live map) is counting back from 100% to 0% ... normally you start at 0% and go up to 100% ....

Thanks for the help.

Lucas

Link to comment
Share on other sites

  • Administrators

This is working for the airlines I work with that are flying cargo flights. Have you set a price in the ticket price for the schedule? It would be the price per pound, kilo, or whatever unit you are using. Also the aircraft itself must have a maxcargo setting which is then multiplied by the percentage of load set in the local.config.php file.

Link to comment
Share on other sites

Yes, the max cargo is selected for the plane... the ticket price is also set.

my config looks like this... looking at cargo..

Config::Set('PAGE_EXT', '.htm'); # .htm is fine. You can still run PHP

Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from

Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID

Config::Set('UNITS', 'nm'); # Your units: nm, mi or km

Config::Set('LOAD_FACTOR', '88'); # %age load factor

Config::Set('CARGO_UNITS', 'lbs');

is this correct?

lucas

Link to comment
Share on other sites

I found it.

Normally i use SA (serious airlines) for my flight id.

For the Cargo division i figured, lets use SAC. when i check the pireps filed i see that the normal SA pirep is like: SA 1000

but looking at the cargo pirep it does this in the database: SA C1000

I changed the id from SAC to SC... problem solved. :-)

Link to comment
Share on other sites

This happens to me, I think it is a problem with phpvms, i am not sure it can handle a 3 letter IATA code, so it thinks it is doing it wrong, so puts the 3rd letter in the flight number section. This is something Nabeel will have to address, unless there is a setting for it somewhere.

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...