Jump to content

Step 1 Aircraft buying Mod Version 1.00 !!!!


Recommended Posts

Posted
  On 12/28/2011 at 10:30 PM, michael Kraan said:

i have 0 airplanes buy, that is the price see the picture

Can you show me please a screeny from the option page and also edit page?

You dont have no conds too, show here:

screen8.jpg

You see, my Mooney TR is leased!

and my options page:

screen9.jpg

please Look , if you have the colomns "cond" and "price" in your phpvms_aircraft database!

Posted

post-1998-000002700 1325161530_thumb.jpg

  On 12/29/2011 at 5:47 AM, Nighthawk said:

Can you show me please a screeny from the option page and also edit page?

You dont have no conds too, show here:

screen8.jpg

You see, my Mooney TR is leased!

and my options page:

screen9.jpg

please Look , if you have the colomns "cond" and "price" in your phpvms_aircraft database!

I have three screen for you, 1: mysql 2: buy aircaft 3: edit aircraft!:)

1: post-1998-063966200 1325161682_thumb.gif

2:post-1998-005301200 1325161529_thumb.jpg

3:post-1998-000002700 1325161530_thumb.jpg

Posted

first why is the empty weight 0?

I think thats not a good idea since the system needs the last three values (range, empty weight, speed) for its price calculations

@Michael I have tried the values from sreenshot 3 same result as you get!

set empty weight to an realistic value best lookup in an aircraft database or wikipedia and you will see it will calculate the price B)

best regards

Thomas

Posted
  On 12/29/2011 at 1:26 PM, Txmmy83 said:

first why is the empty weight 0?

I think thats not a good idea since the system needs the last three values (range, empty weight, speed) for its price calculations

@Michael I have tried the values from sreenshot 3 same result as you get!

set empty weight to an realistic value best lookup in an aircraft database or wikipedia and you will see it will calculate the price B)

best regards

Thomas

Haha sorry ! its now okay! i have now the price! only i have no price in the fleet table,, that is now again: 0,00� if i do dollars than i have that: 0,00$

And if i push on buy than i have the price:

New: price: 142.582.809,60

Lease: 2.376.380,16$ per Month

(Airbus A318)

High prices... hahaha

Posted (edited)

I use Partly calculated and only some where it becomes too unrealistic manually set

can it be done that also "charter flights" alter aircraft status? then it would be perfect :)

best regards

Thomas

Edited by Txmmy83
Posted
  On 12/29/2011 at 10:04 PM, Txmmy83 said:

I am too hosted by nabeel fivedev = washington dc time if I am correct ;)

Yeah thank you i see that in that by repair too

Current Time and Date:

2011.Dec.29

17:07h

Only when is the repair done?

sorry for the many questions Im new with phpvms smile.gif

Posted
  On 12/30/2011 at 3:53 PM, Nighthawk said:

what you mean with wear factor?

that the status percent change after few flights since plane wont stay new alltime

in deutsch:

das sich der flugzeug zustand nach einigen flügen ändert denn flugzeug bleibt in wirklichkeit ja nicht immer neu B)

  • 1 month later...
Posted

Hello,

When unzipping the compressed file, I receive an error message stating, "Windows Cannot Open the Folder... The Compressed (zipped) folder is invalid"

I'm not sure what the problem is exactly, but any help you could give would be greatly appreciated.

Thanks,

Thomas

  • 1 month later...
Posted
  On 3/17/2012 at 1:43 PM, Txmmy83 said:

wear factor is not yet implemented!

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?

Posted

found it :)

it is in ops_aircraftbuysell.tpl starting line 14

// Condition for new Plane

$newrd= rand(95, 100);

// Price Calculation for new Plane

$acprice1="$aircraft->weight"*"$aircraft->maxpax"*("$aircraft->cruise"/100)*("$aircraft->range"*0.7 /"$aircraft->cruise");

Posted
  On 3/19/2012 at 11:02 AM, Txmmy83 said:

found it :)

it is in ops_aircraftbuysell.tpl starting line 14

// Condition for new Plane

$newrd= rand(95, 100);

// Price Calculation for new Plane

$acprice1="$aircraft->weight"*"$aircraft->maxpax"*("$aircraft->cruise"/100)*("$aircraft->range"*0.7 /"$aircraft->cruise");

Hi thomas, this is not the calculation for the condition as in the 'cond' value, but it is the conditions used when calculating the prize of a new plane. You will see there is also a condition for used planes etc.

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.

×
×
  • Create New...