Jump to content

ARV187

Members
  • Posts

    260
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by ARV187

  1. Then the VaCentral live map work with xml files?

    Im a noob with all this, my things are thanks at yours post in the forum, i want redesign my flights table to work with other independent airline, how do Livemap in Vacentral, so we could fly in same server, and see the flights in live but all in independent pages, as you said not is good idea have access to other server by security. ¿This work with xml file, or?

    About rss feed or xml file to finances etc is interesting, i need learn more.

    Thanks by answers :) I hope learn from the things you say to me, and i succes with the flight table.

  2. Hi, we (argavirtual VA) want invite to join other friend VA to phpvms (they actually are in airlinesadmin).

    And for us would be wonderful to have a flights table and other tables where we shared our flight data, top pilots, finances, map etc.

    For example as in VaCentral: http://www.vacentral.net/livemap

    Actually our table start so:

    <div id="traffictable">
    <table>
    <table width="100%" border="5" bgcolor="#000000">
    <thead>
    <tr>
    <td></td>
    <td align="center" bgcolor="#FFFF00"><strong>Estado </td>
    <td align="center" bgcolor="#FFFF00"><strong>Número de vuelo </td>
    <td align="center" bgcolor="#FFFF00"><strong>Aerolínea </td>
    <td align="center" bgcolor="#FFFF00"><strong>Salida----> </td>
    <td align="center" bgcolor="#FFFF00"><strong>---->Llegada </td>
    <td align="center" bgcolor="#FFFF00"><strong>Piloto </td>
    <td align="center" bgcolor="#FFFF00"><strong>Avión </td>
    
    <?php
    $results = ACARSData::GetACARSData();
    if (count($results) > 0)
    {
    foreach($results as $flight)
    	 {
    		 if($flight->client == 'FSACARS')
    		 {$plane = OperationsData::getAircraftInfo($flight->aircraft);}
    		 else
    		 {$plane = OperationsData::getAircraftByReg($flight->aircraft);}
    			 ?>
    

    What code we must write to get data from two acarsdata table in different servers?

    If this isnt possible, then... to get data from two acarsdata table in different database but same server? (two phpvms installations with their own database on the same server)

    Thanks.

    P.D: We have pay server since may. (if you do not answer you for that reason). xD

  3. And If make a php page with petitions to diferents database (diferent airline database), for example, a finances.php, where you get data from phpvms finances from two companies, and make comparations between they.

    Or similar something, im not programmer. :P

    P.D: on second thought that's what makes VaCentral.

  4. Hi there,

    I have doubts about phpvms modules in Fs-Products page.

    What is it and what is it used "Navdata phpvms"? Where i can instructions to install?

    Any picture?

    Thanks! :)

    DELETE THIS TOPIC MODERATOR, PLEASE, DOUBT WAS SOLVED.

  5. To multiple airlines, is possible with this data from core/modules/Acars.php?

    Could be $flight->pilotcode instead of $flight->flightnum?

    public function data()
    {
    $flights = ACARSData::GetACARSData();
    
    if(!$flights)
    $flights = array();
    
    $this->acarsflights = array();
    foreach($flights as $flight)
    {
    if($flight->route == '')
    {
    $flight->route_details = array();
    }
    else
    {
    $flight->route_details = NavData::parseRoute($flight->route);
    }
    
    $c = (array) $flight; // Convert the object to an array
    
    $c['pilotid'] = PilotData::[color=#b22222][u][b]GetPilotCode($c['code'][/b][/u][/color], $c['pilotid']);
    
    // Normalize the data
    if($c['timeremaining'] == '')
    {
    $c['timeremaining'] == '-';
    }
    
    if(trim($c['phasedetail']) == '')
    {
    $c['phasedetail'] = 'Enroute';
    }
    
    /* If no heading was passed via ACARS app then calculate it
    

    P.D: I get it: :D

    <?php
    $code = substr($flight->code, 0,3);
    ?>
    <img src="<?php echo fileurl('/lib/skins/templatemo_254_agency/images/airlines/'.$code.'.png'); ?>" alt="<?php echo $airline->name;?>" />
    

  6. FsPassengerX support up 7 characters in flight number. APVA only show 6.

    gzmq.jpg

    If you are connected already to fsuipc and you go to APVA menu "flight simulatior connection" and click in connect, you recive a error:

    aogw.jpg

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    FSUIPC.FSUIPCException: FSUIPC Error #1: FSUIPC_ERR_OPEN. The connection to FSUIPC is already open.
    at FSUIPC.FSUIPCConnection.Open(Byte ClassInstance, Int32 RequiredFlightSimVersion)
    at FSUIPC.FSUIPCConnection.Open()
    at APVA.FrmMain.ConnectToolStripMenuItem_Click(Object sender, EventArgs e)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.onclick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.onmouseup(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.onmouseup(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
    at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    
    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.586 (RTMLDR.030319-5800)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    APVA
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Program%20Files/APVacars/APVA.exe
    ----------------------------------------
    Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.2001 built by: RTMLDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.450 built by: RTMLDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.2003 built by: RTMLDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.2001 built by: RTMLDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------
    FSUIPCClient
    Assembly Version: 2.3.4779.5
    Win32 Version: 2.3.4779.5
    CodeBase: file:///D:/Program%20Files/APVacars/FSUIPCClient.DLL
    ----------------------------------------
    System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.450 built by: RTMLDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    

    its not a mayor problem, you can contine normally.

    A good thing to be added may be:

    -select the actual aircraft from DB or similar.

    -the log not regist the true airplane used, if the VA have prohibited fly 100nm with a 747, the admins can't check this.

    -when you have landed and after put parking brake your status change to boarding, not to arrived or similar.

    -when you stay in ground and put off parking brakes your status change to landed, not taxi to runway or similar.

    -the status word "desending" is wrong, may be "descending".

    -When you are "aproaching" the status show "departing".

    Good luck with the program.

    Regards.

  7. The Va was founded this year :P in January. Then, its all money that VA have, 32k. We only have one airline.

    To add prices is in "admin/add & edit Fleet", right? we have 50 aircraft, I only put price to one to try it & only bought a plane that had the price set.

    -In readme file:

    Aircraft Buying Mod Current version:

    ================

    0.8

    Known Bugs/ or must be fixed:

    =============================

    -The price of an Aircraft wouldn´t added or substracted from the VA ToTal Money in the moment...

    -the aircraft price calculation isn´t real in the moment, it´s only an example...

    -The Check that the VA has enough Money to buy an aircraft not included yet

    -When Repair Aircraft u must go to Db on the column rep and set 1 to 0 to finish the repair. Next release it will go by time...

    Readme is update? i can see this filename "Step 1 Aircraft buying Mod Version 1.00" then the current version is 1.00? Its still necessary set "0" to finish repair?, and the price of an aircraft still not substracted from the VA?

    Thanks again by the answers

  8. When you are ready to make a flight board see this:

    http://forum.phpvms....a();#entry58186

    http://forum.phpvms....getacarsdata();

    To skinning pages and learn, i recommend you a software where you can see, in split screen, the code and preview page in graphic interface.

    P.S: this is the that I used to make mine:

    http://forum.phpvms.net/topic/4969-live-flight-board-problem-solved/page__st__20#entry33478

  9. Readme file in #1 post is outdated?

    Aircraft Buying Mod Current version:

    ================

    0.8

    I read about v0.9

    I dont understand this part from readme file:

    -When you have already in the airline you must Zero the "Va Money".If not, dont do it!

    Open admin/templates/

    ops_aircraftrepair.tpl

    Line 40

    + ops_aircraftbuysell.tpl

    Line 76 + Line 344

    Sum all of your Aircraft Buying Price without , or something!!! It must be Negative (-).

    For example you have an Paper plane with the price of 10$ So -10

    The VA have 32.200.931 €

    I will upload aircraft prices in the future.

×
×
  • Create New...