Jump to content

MrAmsterdam

Members
  • Posts

    277
  • Joined

  • Last visited

Everything posted by MrAmsterdam

  1. so what kind of costs are we talking about? lets say i have a 747 to be repainted...
  2. Hey weird... cannot find where this is going wrong ! 8-|
  3. Ehh.. you mean the logo itself? or the flight board etc ?
  4. Eh.. yeah i can see that. weird. Taking care of it and thanks for the comment !
  5. Hey guys, Hope to get a reaction. What do you guys think of my new logo? you can see the small version in my signature of the large one on my website.. www.serious-airlines.com Thanks for your honest opinions !
  6. Wow... good stuff. love it !
  7. Loving my virtual airline

  8. And again... thought i read it all but noooooo... read/write at dev.twitter.com was not set correctly. now its working like a charm !
  9. Hey, yes, i did update to the beta version (Version v2.1.934-171-gbc02380) i did everything as described in this topic. it doesnt work for me though. To sum up: - checked local.config and everything OK. - the tables are there and filled as should. hell, i just followed this post... weird stuff
  10. Hey, strange i did everything described in this topic but no tweets are sent. As i am looking into this, i see that local.config is filled with the correct information... the app.config isn't though. This should be filled in as well right? Regards Lucas
  11. Cool. well, doesn't really bother me though.
  12. Hey guys, i found several problems similar as mine. I updated to version Version v2.1.934-171-gbc02380 mbecause i wanted the twitter feed to work. I updated using the normal procedure and everything looks ok. But i tried to find the schedules but nothing is found. Again, i saw this problem on the forum a couple of times so i checked the common issues. - All the days of the week are selected. - Schedules are active - i exported the schedules and i saw that 0123456 is in there for all schedules. - database is filled with schedules. - i did maintenance to clean the cache. nothing helps. members are starting to complain right away... sigh. Thanks for helping out ! Lucas
  13. 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. :-)
  14. 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
  15. Hey guys, this is what my LandingstatsData.class.php looks like and it works fine.... <?php //by: simpilot //www.simpilotgroup.com class LandingstatsData { public static function get_landingstats($howmany) { $query = "SELECT * FROM phpvms_pireps WHERE landingrate <'0' AND submitdate > '2012-01-01 00:00:00' ORDER BY landingrate DESC LIMIT $howmany;"; return DB::get_results($query); } public function pilot_stats($pilotid) { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND pilotid = '$pilotid' ORDER BY landingrate DESC"; return DB::get_results($query); } public function pilot_average($pilotid) { $stats = self::pilot_stats($pilotid); $total = 0; $count = 0; foreach ($stats as $stat) { $total = $total + $stat->landingrate; $count++; } $average = $total / $count; return $average; } public function airline_average() { $stats = self::get_all_stats(); $total = 0; $count = 0; foreach ($stats as $stat) { $total = $total + $stat->landingrate; $count++; } $average = $total / $count; return $average; } public static function calculate_landingstats() { $query = "SELECT pirepid, log FROM phpvms_pireps WHERE stat_calculated='0'"; $data = DB::get_results($query); foreach($data as $pireps) { if (!$pireps->log) { $upd = "UPDATE phpvms_pireps SET stat_calculated=1 WHERE pirepid='$pireps->pirepid'"; DB::query($upd); } else { $row_info = explode('*', $pireps->log); foreach ($row_info as $row_info2) { $row_info3 = (preg_split('/\s+/', $row_info2)); if ($row_info3[1] == 'TouchDown:Rate') { $upd = "UPDATE phpvms_pireps SET stat_calculated=1 WHERE pirepid='$pireps->pirepid'"; DB::query($upd); $upd2="UPDATE phpvms_pireps SET landingrate=$row_info3[2] WHERE pirepid='$pireps->pirepid'"; DB::query($upd2); } } } } } } ?> } } ?> I would like to add a rule that shows only a few aircrafts... i have 2 helicopters in my company but i do not want to show them in the top landingrates... what should i add to do that.... ? Regards, Lucas
  16. MrAmsterdam

    Weird

    OK guys, maybe i have found an kAcars error... or not... i dunno. problem is this: I have got one airline that works like a charm. landing rate ok, finances are ok... no issue at all. Now. I have added a second airline (cargo division). I select a new flight that i created for this airline.. i fly it using kAcard (custom !) and when i finish the flight, the landing rate is shown but the finances are at ZERO. I did select the cargo capacity of the airplane when adding it. i also selected "cargo" flight for this specific route. Does anyone know about this or can help me solve this issue? Thanks Lucas
  17. 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
  18. dude... seriously. it only cost about 3,5 dollar a month... that's about 2 euro's or so... for 15 slots. I dont think anyone will host a teamspeak server for free....
×
×
  • Create New...