News:

Plan-G has over 1700 followers on FACEBOOK! Click HERE and add your support

Main Menu

Please Need Help...

Started by inanckilic, July 16, 2014, 12:52:43 AM

Previous topic - Next topic

inanckilic

Dear All, I know it is easy but, I did not solve my problem in single machine...

C:\Users\User\AppData\Roaming\Microsoft\FSX folder is contain this information:
Controls folder,
SimObjects folder,
Subsitutions folder,
Cameras.CFG,
DLL.xml,
Exe.xml,
fsx.CFG,
SimConnect.cfg, which cover;

[SimConnect]
Protocol=IPv4
Address=128.0.0.0
Port=4504
MaxReceiveSize=4096
DisableNagle=0


[SimConnect]
Protocol=IPv6
Address=128.0.0.0
Port=4504
MaxReceiveSize=4096
DisableNagle=0

[SimConnect]
Protocol=Pipe
Address=128.0.0.0
Port=
MaxReceiveSize=4096
DisableNagle=0

SimConnect.xml
<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="SimConnect" version="1,0">
  <Descr>SimConnect</Descr>
  <Filename>SimConnect.xml</Filename>
  <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv4</Protocol>
    <Scope>Global</Scope>
    <MaxClients>64</MaxClients>
    <Address>128.0.0.0</Address>
    <Port>4504</Port>
  </SimConnect.Comm>
  <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv4</Protocol>
    <Scope>Local</Scope>
    <MaxClients>64</MaxClients>
    <Address>128.0.0.0</Address>
    <Port>4504</Port>
  </SimConnect.Comm>
  <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv6</Protocol>
    <Scope>Global</Scope>
    <MaxClients>64</MaxClients>
    <Address>128.0.0.0</Address>
    <Port>4504</Port>
  </SimConnect.Comm>
  <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv6</Protocol>
    <Scope>Local</Scope>
    <MaxClients>64</MaxClients>
    <Address>128.0.0.0</Address>
    <Port>4504</Port>
  </SimConnect.Comm>
  <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>Pipe</Protocol>
    <Scope>Global</Scope>
    <MaxClients>64</MaxClients>
    <Address>128.0.0.0</Address>
    <Port></Port>
  </SimConnect.Comm>
  <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>Pipe</Protocol>
    <Scope>Local</Scope>
    <MaxClients>64</MaxClients>
    <Address>128.0.0.0</Address>
    <Port></Port>
  </SimConnect.Comm>
  <Disabled>False</Disabled>
</SimBase.Document>

My C:\Users\User\Documents\Flight Simulator X Files cover;

SimConnect.ini ;

[SimConnect]
level=verbose
console=0
;RedirectStdOutToConsole=1
;OutputDebugString=1
;file=c:\simconnect%03u.log
;file_next_index=0
;file_max_index=9

and SimConnect.cfg
[SimConnect]
Protocol=IPv4
Address=localhost
Port=4506
MaxReceiveSize=4096
DisableNagle=0

My log is cover different tries; Please help me where is my fault.

02:47:22.6

---===+++===---

02:47:22.6 Starting Plan-G, build 3.1.0.82
02:47:22.6 OS is Microsoft Windows NT 6.1.7600.0
02:47:22.7 InitDataFolder
02:47:22.7 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
02:47:22.7 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
02:47:22.7 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
02:47:22.7 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
02:47:22.7 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_NAVI.sdf
02:47:22.7 Data Source = C:\Users\User\Documents\Plan-G Files\Data\UserWaypoints.sdf
02:47:22.7 Data Source = C:\Users\User\Documents\Plan-G Files\Data\MEF.sdf
02:47:23.3 Map tiles cache: C:\Users\User\AppData\Local\GMap.NET\
02:47:23.5 Program in: C:\Program Files (x86)\Plan-G v3.1
02:47:23.5 Data in: C:\Users\User\Documents\Plan-G Files
02:47:23.5 IsDataLoaded: FSX
02:47:23.5 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
02:47:23.6 Opening aircraft profile: C:\Users\User\Documents\Plan-G Files\Profiles\Baron.profile
02:47:23.7 DrawFlightplanMarker: False
02:47:23.7 Starting timer
02:47:23.7 DownloadCurrentMetars thread started
02:47:23.7 Metar22Z.TXT started
02:47:23.7 lTAF18Z.TXT started
02:47:23.7 sTAF00Z.TXT started
02:47:23.7 Metar23Z.TXT started
02:47:24.4 lTAF00Z.TXT started
02:47:24.7 sTAF00Z.TXT done
02:47:24.7 sTAF18Z.TXT started
02:47:25.6 sTAF18Z.TXT done
02:47:25.6 IsDataLoaded: FSX
02:47:25.6 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
02:47:25.6 IsDataLoaded: FS9
02:47:25.6 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
02:47:25.7 IsDataLoaded: P3D
02:47:25.7 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
02:47:25.7 IsDataLoaded: The database file cannot be found. Check the path to the database. [ Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_P3D.sdf ]
02:47:25.7 IsDataLoaded: XPlane
02:47:25.7 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
02:47:26.2 Stopping timer
02:47:26.2 StartMap
02:47:26.2 Connection string: metadata=res://*/Data.FSData.csdl|res://*/Data.FSData.ssdl|res://*/Data.FSData.msl;provider=System.Data.SqlServerCe.3.5;provider connection string='Data Source=|DataDirectory|\Data\PlanG3_FSX.sdf'
02:47:26.6 NdbsInBounds 0
02:47:26.6 VorsInBounds 0
02:47:26.8 AirportsInBounds 1
02:47:26.9 AirspaceInBounds 4
02:47:27.1 Low level airways plotted 0 segments.
02:47:27.1 NdbsInBounds 0
02:47:27.1 VorsInBounds 0
02:47:27.2 AirportsInBounds 1
02:47:27.2 AirspaceInBounds 4
02:47:27.4 Low level airways plotted 0 segments.
02:47:27.4 lTAF00Z.TXT done
02:47:29.2 lTAF18Z.TXT done
02:47:31.7 Metar22Z.TXT done
02:47:32.2 Metar23Z.TXT done
02:47:32.2 DownloadCurrentMetars done
02:47:33.2 ProcessMetars done
02:47:48.7 Initiating SimConnect connection.
02:47:48.8 Connect
02:47:48.8 SimConnect.Connect - Remote. Mode = Pipe Server = 128.0.0.0 Port = 9017
02:48:15.3 Connect: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Pipe Connection Failed ---> System.IO.IOException: Ağ yolu bulunamadı.

   konum: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   konum: System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout)
   konum: BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   konum: BeatlesBlog.SimConnect.SimConnect.OpenCommon(String strAppName)
   konum: BeatlesBlog.SimConnect.SimConnect.Open(String strAppName, String strHostName, String strPipeName)
   konum: Plan_G3.Model.SIMCONNECT.Connect()
02:48:15.3 SimConnect connection failed.
02:48:15.3 Disconnect
02:48:16.3 Disconnected from sim
02:48:29.8 Initiating SimConnect connection.
02:48:29.8 Connect
02:48:29.8 SimConnect.Connect - Remote. Mode = Pipe Server = 128.0.0.0 Port = 9017
02:48:29.8 Connect: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Pipe Connection Failed ---> System.IO.IOException: Ağ yolu bulunamadı.

   konum: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   konum: System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout)
   konum: BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   konum: BeatlesBlog.SimConnect.SimConnect.OpenCommon(String strAppName)
   konum: BeatlesBlog.SimConnect.SimConnect.Open(String strAppName, String strHostName, String strPipeName)
   konum: Plan_G3.Model.SIMCONNECT.Connect()
02:48:29.8 SimConnect connection failed.
02:48:29.8 Disconnect
02:48:30.8 Disconnected from sim
02:48:46.3 Initiating SimConnect connection.
02:48:46.3 Connect
02:48:46.3 SimConnect.Connect - Remote. Mode = IPv6 Server = 128.0.0.0 Port = 4504
02:48:46.3 Connect: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Socket Connection Failed ---> System.ArgumentException: Bulunan veya belirtilen adreslerin hiçbiri yuva adresi ailesiyle eşleşmiyor.
Parametre adı: context
   konum: System.Net.Sockets.Socket.DoMultipleAddressConnectCallback(Object result, MultipleAddressConnectAsyncResult context)
   konum: System.Net.Sockets.Socket.DoDnsCallback(IAsyncResult result, MultipleAddressConnectAsyncResult context)
   konum: System.Net.Sockets.Socket.BeginConnect(String host, Int32 port, AsyncCallback requestCallback, Object state)
   konum: BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   konum: BeatlesBlog.SimConnect.SimConnect.OpenCommon(String strAppName)
   konum: BeatlesBlog.SimConnect.SimConnect.Open(String strAppName, String strHostName, Int32 iPort, Boolean bIsIPV6)
   konum: Plan_G3.Model.SIMCONNECT.Connect()
02:48:46.3 SimConnect connection failed.
02:48:46.3 Disconnect
02:48:47.3 Disconnected from sim
02:48:57.6 Initiating SimConnect connection.
02:48:57.6 Connect
02:48:57.6 SimConnect.Connect - Remote. Mode = IPv6 Server = 128.0.0.0 Port = 4504
02:48:57.6 Connect: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Socket Connection Failed ---> System.ArgumentException: Bulunan veya belirtilen adreslerin hiçbiri yuva adresi ailesiyle eşleşmiyor.
Parametre adı: context
   konum: System.Net.Sockets.Socket.DoMultipleAddressConnectCallback(Object result, MultipleAddressConnectAsyncResult context)
   konum: System.Net.Sockets.Socket.DoDnsCallback(IAsyncResult result, MultipleAddressConnectAsyncResult context)
   konum: System.Net.Sockets.Socket.BeginConnect(String host, Int32 port, AsyncCallback requestCallback, Object state)
   konum: BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   konum: BeatlesBlog.SimConnect.SimConnect.OpenCommon(String strAppName)
   konum: BeatlesBlog.SimConnect.SimConnect.Open(String strAppName, String strHostName, Int32 iPort, Boolean bIsIPV6)
   konum: Plan_G3.Model.SIMCONNECT.Connect()
02:48:57.6 SimConnect connection failed.
02:48:57.6 Disconnect
02:48:58.6 Disconnected from sim
02:49:17.7 Initiating SimConnect connection.
02:49:17.7 Connect
02:49:17.7 SimConnect.Connect - Remote. Mode = IPv4 Server = 128.0.0.0 Port = 9017
02:49:22.7 SimConnect connection attempt timed out
02:49:22.7 Disconnect
02:49:23.7 Disconnected from sim
02:50:28.1

---===+++===---

02:50:28.1 Starting Plan-G, build 3.1.0.82
02:50:28.1 OS is Microsoft Windows NT 6.1.7600.0
02:50:28.2 InitDataFolder
02:50:28.2 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
02:50:28.2 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
02:50:28.2 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
02:50:28.2 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
02:50:28.2 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_NAVI.sdf
02:50:28.2 Data Source = C:\Users\User\Documents\Plan-G Files\Data\UserWaypoints.sdf
02:50:28.2 Data Source = C:\Users\User\Documents\Plan-G Files\Data\MEF.sdf
02:50:28.9 Map tiles cache: C:\Users\User\AppData\Local\GMap.NET\
02:50:29.0 Program in: C:\Program Files (x86)\Plan-G v3.1
02:50:29.0 Data in: C:\Users\User\Documents\Plan-G Files
02:50:29.0 IsDataLoaded: FSX
02:50:29.1 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
02:50:29.2 Opening aircraft profile: C:\Users\User\Documents\Plan-G Files\Profiles\Baron.profile
02:50:29.2 DrawFlightplanMarker: False
02:50:29.2 Starting timer
02:50:29.2 DownloadCurrentMetars thread started
02:50:29.2 lTAF18Z.TXT started
02:50:29.2 Metar22Z.TXT started
02:50:29.2 Metar23Z.TXT started
02:50:29.2 sTAF00Z.TXT started
02:50:29.5 sTAF00Z.TXT done
02:50:29.5 lTAF00Z.TXT started
02:50:30.4 sTAF18Z.TXT started
02:50:31.6 IsDataLoaded: FSX
02:50:31.6 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
02:50:31.6 IsDataLoaded: FS9
02:50:31.6 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
02:50:31.7 IsDataLoaded: P3D
02:50:31.7 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
02:50:31.7 IsDataLoaded: The database file cannot be found. Check the path to the database. [ Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_P3D.sdf ]
02:50:31.7 IsDataLoaded: XPlane
02:50:31.7 Data Source = C:\Users\User\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
02:50:32.3 sTAF18Z.TXT done
02:50:32.4 Stopping timer
02:50:32.4 StartMap
02:50:32.4 Connection string: metadata=res://*/Data.FSData.csdl|res://*/Data.FSData.ssdl|res://*/Data.FSData.msl;provider=System.Data.SqlServerCe.3.5;provider connection string='Data Source=|DataDirectory|\Data\PlanG3_FSX.sdf'
02:50:32.8 NdbsInBounds 0
02:50:32.8 VorsInBounds 0
02:50:32.9 lTAF00Z.TXT done
02:50:33.0 AirportsInBounds 1
02:50:33.1 AirspaceInBounds 4
02:50:33.3 Low level airways plotted 0 segments.
02:50:33.3 NdbsInBounds 0
02:50:33.3 VorsInBounds 0
02:50:33.4 AirportsInBounds 1
02:50:33.5 AirspaceInBounds 4
02:50:33.6 Low level airways plotted 0 segments.
02:50:39.4 Metar23Z.TXT done
02:50:39.5 lTAF18Z.TXT done
02:50:41.0 Metar22Z.TXT done
02:50:41.0 DownloadCurrentMetars done
02:50:42.0 ProcessMetars done
02:51:05.5 Initiating SimConnect connection.
02:51:05.6 Connect
02:51:05.6 SimConnect.Connect - Remote. Mode = IPv4 Server = 128.0.0.0 Port = 4504
02:51:10.6 SimConnect connection attempt timed out
02:51:10.6 Disconnect
02:51:11.6 Disconnected from sim

When I try to IPv4 Plan G also crash...

Thanks for help. My best regards

sky one

#1
Hello,
IP addresses are wrong (Address=128.0.0.0 is something that could not exist in a network environment): please read the manual and check the Simconnect configuration based upon your PC network settings.

Ciao
Cristiano
X-plane user

tim arnot

#2
Sorry that's a typo on my part - should be 127.0.0.1 or localhost as per the manual, page 103, section 18.2.2.

Your big problem is that you are using IPv4 addressing, but you have set the simconnect.xml data as "IPv6" You need to correct that.

If you want to connect with IPv6, then the correct address is ::1

Tim. @TimArnot

inanckilic

Thanks All,
My best regards. However I will not solve any problem. I will try any configuration , finally I learned open simconnect log and I saw that main problem is Mismatch version. However I install all 3 version of Simconnect. But to day I figure out that only one simconnect.dll. I think my problem is Simconnect problem.

sky one

Hello,
you can try with the FSUIPC connection method.

Ciao
Cristiano
X-plane user

inanckilic

Dear Cristiano, I tried however, software looks liked connected. But I did not able to see my plane. Looks like evertthings correct, but no plane. I also tried older version Plan G, at that time connection looks like made and one yellow plane showed up, however wrong point. And No speed or some information that. I think its not connected either.

Any help ?

My best regards

sky one

Could you please attach the log file and the other file you already posted (I would like to check that the 128.0.0.0 is gone and so on)? Please do it after you did a connection. Don't copy and paste, but attach it. Thanks.

Ciao
Cristiano
X-plane user

inanckilic

Thanks Sir,


0.00000 SimConnect version 0x00000002

0.18411 Panels data export found and set to 20A41990
0.67106 DLL Loaded:  Path="Modules\FSUIPC4.dll"  Version="4.9.3.4"
> 270.05740 [63, 1]
< 270.05748 [63] >>>>>  EXCEPTION=5, SendID=0, Index=4  <<<<<Version Mismatch: (0x4)
276.08435 [63] I/O Error!
> 311.25842 [63, 1]


<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="SimConnect" version="1,0">
  <Descr>SimConnect</Descr>
  <Filename>SimConnect.xml</Filename>
  <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv4</Protocol>
    <Scope>local</Scope>
    <MaxClients>64</MaxClients>
    <Address>192.168.1.22</Address>
    <Port>4006</Port>
    <MaxRecvSize>4094</MaxRecvSize>
    <DisableNagle>False</DisableNagle>
  </SimConnect.Comm>
</SimBase.Document>
< 311.25852 [63] >>>>>  EXCEPTION=5, SendID=0, Index=4  <<<<<Version Mismatch: (0x4)
> 316.26567 [63, 2]
< 316.26574 [63] >>>>>  EXCEPTION=5, SendID=0, Index=4  <<<<<Version Mismatch: (0x4)
317.27749 [63] I/O Error!

tim arnot

Where did this 192.168.1.22 come from? You should be using localhost or 127.0.0.1, as per several messages up.

Tim. @TimArnot

inanckilic

Dear Sir, I thought that I have to use real IPv4 number, This is my last try.;

<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="SimConnect" version="1,0">
  <Descr>SimConnect</Descr>
  <Filename>SimConnect.xml</Filename>
  <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv4</Protocol>
    <Scope>local</Scope>
    <MaxClients>64</MaxClients>
    <Address>localhost</Address>
    <Port>4006</Port>
    <MaxRecvSize>4094</MaxRecvSize>
    <DisableNagle>False</DisableNagle>
  </SimConnect.Comm>
</SimBase.Document>







tim arnot

localhost is correct.

What version of FSX are you using? Is is SP2/Acceleration?

Tim. @TimArnot

inanckilic


tim arnot

If you're getting an error with FSUIPC too, that would suggest that your SimConnect is broken. Here's an old thread might help repair it, but it is a bitch to repair.

http://www.tasoftware.co.uk/forum/index.php?topic=70.0

Tim. @TimArnot