Jump to content

Txmmy83

Members
  • Posts

    493
  • Joined

  • Last visited

Everything posted by Txmmy83

  1. ok played with it a bit Fuel per Hour in Feet is kg Fuel Flow: also kg Enter Averege Speed in NM: knots example A320: Fuel Flow: 970 Fuel per Hour in Feet: 3000 Enter Aircraft Range: 2615 Enter Maximum Altitude: 37000 Enter Averege Speed in NM: 480 Parkho there is a typo in the word Averege should be Average and in Fuel Params Aircraft listing in admin Avereage Speed too question what would be realistic Fuel Flow values for B737-300, B737-400, B757-200, B767-300
  2. FEET could mean cubic feet but not sure
  3. is there a source where data for airliners can be found? found a bug in 1.1 it does not add data to database
  4. probably yes! Directly taken from vaCentral: Tips for great success Enter proper flight times in your schedules An airline with 30 pilots and 20 active will rank better than an airline with 100 pilots and 40 active Use an ACARS program for best accuracy for fuel and flight time Make sure you have prices for all your routes (if you don't, you still have to pay for it!) Enter expenses properly - you will be audited (like the real thing!); if there are no expenses, you get docked $20,000/month Using the live fuel prices gives you extra points
  5. I wouldn't wonder if all entries came from the same bot but with different proxy
  6. yep I know that problem and I think you could have been quite right that some of them try to spy but there are also some people that register at many VA's and do not fly for any of these strange best regards, Thomas
  7. is there a fix to trim times from 1.57119275296 to 1.57 hrs
  8. ok this gives me the modules too except the Acars map data does not show up any idea help needed! # main page of the site DirectoryIndex index.php # prevent viewing of a specific file <FilesMatch "\.(htaccess|htpasswd|ini|phps|fla|psd|log|sh|tpl)$"> Order Allow,Deny Deny from all </FilesMatch> # prevent viewing of index Options +FollowSymLinks Options All -Indexes #Can give without index.php for the modules RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L]
  9. Cor, I wanted to ask the Same question Ademar, how did you get the Nice weather Layer?
  10. Danke für die Hilfe Manuel
  11. can I use else if as well to catch more possible Flighttypes?
  12. hallo have a question how can I force output on frontpage to show Passenger instead of P http://www.flyeurope-va.org/index.php/codeshare
  13. found another thing the external link to a airline pic is optional but condition is "not null" which requires to fill that field out
  14. have a problem importing the sql #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''image' varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHA' at line 5 CREATE TABLE IF NOT EXISTS `phpvms_codeshares` ( `id` int( 11 ) NOT NULL AUTO_INCREMENT , `schedid` int( 11 ) NOT NULL , `airline` varchar( 50 ) NOT NULL , 'image'varchar( 255 ) NOT NULL , PRIMARY KEY ( `id` ) ) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =28; I solved it by manually creating the table dont know why it did not work to import the via mysql import option
  15. this will be definatly used by my VA when Staff is away on summer vacation
  16. With the Mod Economics are more important and it punishes to hard landings
  17. hangar image is jpg not png Note: that path only works when you installed phpvms into a folder phpvms! that should be better: <img src="<?php echo SITE_URL?>/admin/lib/images/hangar.jpg" height="340" width="550" alt="Hangar">
  18. re-downloaded the mod and reuploaded the ops-aircraftrepair.tpl now it works it somehow get corrupted while uploading during install even a huge file size difference 21000+ corrupted to correct 6030
  19. That is Great for Fleet page absolutely no Problem with the percentage in Admin as that is only shown to me as Admin I have another Problem when hitting repair I get <�!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <�html><�head> <�meta content="text/html; charset=unicode" http-equiv=Content-Type> <�meta name=GENERATOR content="MSHTML 9.00.8112.16430"> <�/head> <�body> <�?php // Variables here $repdif= 100-"$aircraft->cond"; $repo= rand(40, 100); // Add random Repaircost modifier $repmax= 0.2; // Max Repaircosts from Buying Price 1 = 100% , 0.8 = 80% $repcost=(((((("$aircraft->price" *100)/"$aircraft->cond")/ 100)*("$repdif")/100)*"$repo")/100) *$repmax; $repcu= rand(0, 10); // Add random Repairtime modifier $reptime= "$repdif" + "$repcu"; // Repairtime with Random Modifier // VA Money without Balance $vatotal = mysql_query("SELECT SUM(revenue) as revenue_sum FROM phpvms_pireps "); $vtot = mysql_fetch_assoc($vatotal); $vatotal2 = $vtot['revenue_sum']; //Raw $vatotal3 = round($vatotal2, 2); //Round $vatotal4 = number_format($vatotal3, 2, '.', ','); //Format // Fleet Price of all bought Aircrafts $vabal = mysql_query("SELECT SUM(Price) as Balance_sum FROM phpvms_aircraft WHERE bought = 1 "); $vbal = mysql_fetch_assoc($vabal); $vabal2 = $vbal['Balance_sum']; //Raw $vabal3 = round($vabal2, 2); //Round $vabal4 = number_format($vabal3, 2, '.', ','); //Format // Fleet Repair Cost of all Aircrafts $rep1 = mysql_query("SELECT SUM(repvalue) as rep_sum FROM phpvms_aircraft "); $rep2 = mysql_fetch_assoc($rep1); $rep3 = $rep2['rep_sum']; //Raw $rep4 = round($rep3, 2); //Round $rep5 = number_format($rep4, 2, '.', ','); //Format //************************************************ Money Balance here************************************ $Balance = -0; // Va Money Zeroing //******************************************************************************************************* // VA Money with Balance $vabatal = "$vatotal2" - ("$vabal2"+"$Balance") - "$rep3"; $vabaltal2 = number_format(("$vatotal2" - ("$vabal2"+"$Balance") - "$rep3" ), 2, '.', ','); //Raw //echo $vabaltal2; IF ($aircraft->cond <�=0) //Don�t Change this!!!! {$aendern = "UPDATE phpvms_aircraft Set cond = '1' WHERE registration = '{$aircraft->registration}'"; $update = mysql_query($aendern); } ?> <�/br> <�?php ?> <�h1><�?php echo $aircraft->registration; ?> Repair Screen<�/h1> <�img src="/phpvms/admin/lib/images/hangar.png" height="340" width="550" alt="Hangar"> <�br> <�br> <�br> <�br> Current Condition: <�?php // Show the current Condition echo $aircraft->cond; ?> % <�/br> <�?php ?> <�table border=1 id="tabledlist" class="tablesorter2"> <�tr> <�th align="center" >Time<�/th> <�th align="center">Value<�/th> <�/tr> <�/thead> <�tbody> <�td> Time and Date: <�/TD> <�td> <�?php //************************* $RMTIME*********************** $time = date("Y-m-d H:i:s"); print $time; ?> <�/td> <�tr> <�td> Repair will be finished : <�/td> <�td> <�?php $date = time(); // aktuelles Datum //echo date('d.m.Y h:i:s', $date) . " ?> <�?php $stunden = $reptime; // z.B. ein Tag $enddatum = $date + ($stunden * 60 * 60); // Ein Tag sp�ter (stunden * minuten * sekunden) $datstring = date('Y-m-d H:i:s', $enddatum) ; // Datum im DB-Format ?> <�?php $eurodate = date('Y-m-d H:i:s', strtotime($datstring)); // Ins europ�ische Format umwandeln echo "$eurodate "; ?> <�/td> <�/tr> <�br> <�?php //Repair will be finished echo $newtime; ?> <�?php $repcost2= "$aircraft->repvalue" + "$repcost"; ?> <�br> <�br> <�table border=1 id="tabledlist" class="tablesorter"> <�thead> <�tr> <�th align="center" >To Repair<�/th> <�th align="center">Repair Price<�/th> <�th align="center" Repair Options<�/th> <�/tr> <�/thead> <�tbody> <�form action="<�?php echo adminurl('/Buysell/aircraft');?>" method="post"> <�tr> <�td align="center"><�?php echo $repdif ?>%<�/td> <�td align="center"><�?php echo number_format($repcost,2,",","."); echo Config::Get('MONEY_UNIT'); ?><�/td> <�td <�input type="hidden" name="id" value="<�?php echo $aircraft->id;?>" /> <�?php if ( $repcost > $vabaltal2) { ?> <�input name="price" type="hidden" value="<�?php echo $aircraft->price; ?>" /> <�input name="cond" type="hidden" value="100" /> <�input type="hidden" name="action" value="<�?php echo $action;?>" /> <�input name="icao" type="hidden" value="<�?php echo $aircraft->icao; ?>" /> <�input name="name" type="hidden" value="<�?php echo $aircraft->name; ?>" /> <�input name="fullname" type="hidden" value="<�?php echo $aircraft->fullname; ?>" /> <�input name="registration" type="hidden" value="<�?php echo $aircraft->registration; ?>" /> <�input name="maxcargo" type="hidden" value="<�?php echo $aircraft->maxcargo; ?>" /> <�input name="downloadlink" type="hidden" value="<�?php echo $aircraft->downloadlink; ?>" /> <�input name="imagelink" type="hidden" value="<�?php echo $aircraft->imagelink; ?>" /> <�input name="maxpax" type="hidden" value="<�?php echo $aircraft->maxpax; ?>" /> <�input name="weight" type="hidden" value="<�?php echo $aircraft->weight; ?>" /> <�input name="bought" type="hidden" value="<�?php echo $aircraft->bought; ?>" /> <�input name="range" type="hidden" value="<�?php echo $aircraft->range; ?>" /> <�input name="cruise" type="hidden" value="<�?php echo $aircraft->cruise; ?>" /> <�input name="minrank" type="hidden" value="<�?php echo $aircraft->minrank; ?>" /> <�input name="repvalue" type="hidden" value="<�?php echo $repcost2; ?>" /> <�input name="rmtime" type="hidden" value="<�?php echo $eurodate; ?>" /> <�input type="hidden" name="id" value="<�?php echo $aircraft->id;?>" /> <�input name="rep" type="hidden" value="1" /> <�input type="hidden" id="enabled" name="0" /> <�input type="submit" name="submit" value="Repair" /><�/td> <�/form> <�?php } else { echo "Not enough Money"; } ?> <�/tr> <�/tbody> <�/table> <�br> <�br> <�br> <�button class="{button:{icons:{primary:'ui-icon-wrench'}}}" onclick="window.location='<�?php echo adminurl('/operations/buysellaircraft?id='.$aircraft->id);?>';">==>Back<�==<�/button> <�/body> <�/html>
  20. another small thing of cosmetic nature Percentages like 96.9075% doesn't look that perfect when echoeing on fleet pages
  21. I think that is how it ordered on site priority like it is done when you set manual ranking?
  22. think I must lookup by ID if Aircraft is enabled? as that is Unique to every aircraft the ID's named differently in the tables of schedules and Aircraft
  23. I think it should be 20.000.000-302.507,36$
×
×
  • Create New...