MrAmsterdam Posted June 1, 2012 Report Posted June 1, 2012 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 Quote
Administrators simpilot Posted June 3, 2012 Administrators Report Posted June 3, 2012 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. Quote
MrAmsterdam Posted June 3, 2012 Author Report Posted June 3, 2012 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 Quote
Administrators simpilot Posted June 3, 2012 Administrators Report Posted June 3, 2012 What version of phpVMS are you using? Quote
MrAmsterdam Posted June 4, 2012 Author Report Posted June 4, 2012 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. :-) Quote
Administrators simpilot Posted June 4, 2012 Administrators Report Posted June 4, 2012 That is odd, we probably should look back through the code and see where and why that is happening. Quote
MrAmsterdam Posted June 4, 2012 Author Report Posted June 4, 2012 Do you want me to check something? Quote
Administrators simpilot Posted June 4, 2012 Administrators Report Posted June 4, 2012 nope, I was more making a note ot myself to research the "why" for this one. 1 Quote
Strider Posted June 4, 2012 Report Posted June 4, 2012 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. Quote
MrAmsterdam Posted June 4, 2012 Author Report Posted June 4, 2012 Cool. well, doesn't really bother me though. Quote
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.