michael Kraan Posted December 28, 2011 Report Posted December 28, 2011 Sell it and buy it again... i have 0 airplanes buy, that is the price see the picture 1 Quote
michael Kraan Posted December 28, 2011 Report Posted December 28, 2011 Sell it and buy it again... i have 0 airplanes buy, that is the price see the picture Quote
Nighthawk Posted December 29, 2011 Author Report Posted December 29, 2011 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: You see, my Mooney TR is leased! and my options page: please Look , if you have the colomns "cond" and "price" in your phpvms_aircraft database! Quote
michael Kraan Posted December 29, 2011 Report Posted December 29, 2011 Can you show me please a screeny from the option page and also edit page? You dont have no conds too, show here: You see, my Mooney TR is leased! and my options page: 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: 2: 3: Quote
Txmmy83 Posted December 29, 2011 Report Posted December 29, 2011 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 best regards Thomas Quote
michael Kraan Posted December 29, 2011 Report Posted December 29, 2011 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 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 Quote
Nighthawk Posted December 29, 2011 Author Report Posted December 29, 2011 The Pricecalculations are very -mmmhhh- raw i think and must reworked but its a start. You can set a price manualy too! Quote
Txmmy83 Posted December 29, 2011 Report Posted December 29, 2011 (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 December 29, 2011 by Txmmy83 Quote
michael Kraan Posted December 29, 2011 Report Posted December 29, 2011 Its now working! thanks! only when i repair a aircraft say the: repair clear on 29 december 16:33 and i push the button on 29 december 22:44 (i from holland:P) what is the time in the mod? Quote
Txmmy83 Posted December 29, 2011 Report Posted December 29, 2011 where is your host situated? it is maybe the servertime Quote
michael Kraan Posted December 29, 2011 Report Posted December 29, 2011 where is your host situated? it is maybe the servertime by nadeel Quote
Txmmy83 Posted December 29, 2011 Report Posted December 29, 2011 I am too hosted by nabeel fivedev = washington dc time if I am correct Quote
michael Kraan Posted December 29, 2011 Report Posted December 29, 2011 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 Quote
Txmmy83 Posted December 30, 2011 Report Posted December 30, 2011 Nighthawk, is the wear factor per flight calculated or is it not implemented yet? best regards Thomas Quote
Nighthawk Posted December 30, 2011 Author Report Posted December 30, 2011 what you mean with wear factor? Quote
Txmmy83 Posted December 30, 2011 Report Posted December 30, 2011 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 Quote
Nighthawk Posted December 30, 2011 Author Report Posted December 30, 2011 No, thats not implemented in the moment. I am working to find the way ... Quote
tlanc Posted February 6, 2012 Report Posted February 6, 2012 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 Quote
Jakes Posted March 16, 2012 Report Posted March 16, 2012 Hi there, Thanks for a great modification! What are the conditions used to calculate the aircraft condition? and in what file is it coded? Best regards Jakes Quote
Jakes Posted March 19, 2012 Report Posted March 19, 2012 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? Quote
Txmmy83 Posted March 19, 2012 Report Posted March 19, 2012 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"); Quote
Jakes Posted March 23, 2012 Report Posted March 23, 2012 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. Quote
Nighthawk Posted March 30, 2012 Author Report Posted March 30, 2012 The calculation is only when you buy an aircraft or lease one. Quote
mattsmith Posted March 30, 2012 Report Posted March 30, 2012 How do you do this? "Run the SQL Batch File against your PHPVMSDB" Quote
mattsmith Posted March 30, 2012 Report Posted March 30, 2012 How do you do this? "Run the SQL Batch File against your PHPVMSDB" Quote
Jeff Posted March 30, 2012 Report Posted March 30, 2012 #1 http://forum.phpvms....dpost__p__40247 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.