Jump to content

Step 1 Aircraft buying Mod Version 1.00 !!!!


Nighthawk

Recommended Posts

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!

Link to comment
Share on other sites

post-1998-000002700 1325161530_thumb.jpg

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

  • 1 month later...

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?

Link to comment
Share on other sites

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");

Link to comment
Share on other sites

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.

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