Jump to content
Sign in to follow this  
AaIiGee

The first steps of Simconnect and P3D troubleshooting

Recommended Posts

I have tried to get Simconnect to work with P3D but failed. I have followed the instructions given here and in ASN manual. Only thing which seems to work is that Simconnect window opens up in server computer when P3D is launched. If I launch Traffic.exe in client computer it also opens up but will disappear soon. I have also done the following troubleshooting:

  • checked that the client computer has read/write access to required folders of the server computer
  • turned off firewalls of the client and server computers
  • checked that simconnect.ini, xml and cfg files are in correct folders (However, I’m not 100% sure that I have made correct modifications to them…)

Before I go further in troubleshooting I would like check is Simconnect compatible with Windows 10? I’m using my W7 computer as a server and W10 laptop as a client. I have installed all simconnect.msi files shared with P3D to W10 client laptop and at least installation went OK.

 

Thanks for help in advance!

Share this post


Link to post

I have installed and use several Simconnect versions with Prepar3d3 running between two Win 10 machines. No issues.

 

Kind regards, Michael


MSFS, Beta tester of Simdocks, SPAD.neXt, and FS-FlightControl

Intel i7-13700K / AsRock Z790 / Crucial 32 GB DDR 5 / ASUS RTX 4080OC 16GB / BeQuiet ATX 1000W / WD m.2 NVMe 2TB (System) / WD m.2 NVMe 4 TB (MSFS) / WD HDD 10 TB / XTOP+Saitek hardware panel /  LG 34UM95 3440 x 1440  / HP Reverb 1 (2160x2160 per eye) / Win 11

Share this post


Link to post

It is important to have the simconnect.xml correct as this will kill anything, for that get this program..SimConnect_Config_Tool_1.0_Beta_1..

 

Jorge

Share this post


Link to post

OK, it wouldn’t be a surprise to find out mistakes from the files as I don’t really understand the function of every row… Great if somebody could check these files!

 

simconnect.xml

<?xml version="1.0" encoding="Windows-1252"?>

 

<SimBase.Document Type="SimConnect" version="1,0">

  <Descr>SimConnect Server Configuration</Descr>

  <Filename>SimConnect.xml</Filename>

  <Disabled>False</Disabled>

 

  <!-- Example Global (remote) Pipe Server Configuration-->

  <SimConnect.Comm>

    <Disabled>False</Disabled>

    <Protocol>Pipe</Protocol>

    <Scope>global</Scope>

    <MaxClients>64</MaxClients>

    <Port>REPLACE_WITH_PORT_NAME</Port>

  </SimConnect.Comm>

 

  <!-- Example Global (remote) IPv6 Server Configuration-->

  <SimConnect.Comm>

    <Disabled>False</Disabled>

    <Protocol>IPv6</Protocol>

    <Scope>global</Scope>

    <MaxClients>64</MaxClients>

    <Address>::</Address>

    <Port>REPLACE_WITH_PORT_NUMBER</Port>

  </SimConnect.Comm>

 

  <!-- Example Global (remote) IPv4 Server Configuration-->

  <SimConnect.Comm>

    <Disabled>False</Disabled>

    <Protocol>IPv4</Protocol>

    <Scope>global</Scope>

    <MaxClients>64</MaxClients>

    <Address>192.168.0.10</Address>

    <Port>9017</Port>

  </SimConnect.Comm>

 

  <!-- Example Local Pipe Server Configuration-->

  <SimConnect.Comm>

    <Disabled>False</Disabled>

    <Protocol>Pipe</Protocol>

    <Scope>local</Scope>

    <MaxClients>64</MaxClients>

    <Port>REPLACE_WITH_PORT_NAME</Port>

  </SimConnect.Comm>

 

  <!-- Example Local IPv6 Server Configuration-->

  <SimConnect.Comm>

    <Disabled>False</Disabled>

    <Protocol>IPv6</Protocol>

    <Scope>local</Scope>

    <MaxClients>64</MaxClients>

    <Address>::1</Address>

    <Port>REPLACE_WITH_PORT_NUMBER</Port>

  </SimConnect.Comm>

 

  <!-- Example Local IPv4 Server Configuration-->

  <SimConnect.Comm>

    <Disabled>False</Disabled>

    <Protocol>IPv4</Protocol>

    <Scope>local</Scope>

    <MaxClients>64</MaxClients>

    <Address>127.0.0.1</Address>

    <Port>9017</Port>

  </SimConnect.Comm>

 

</SimBase.Document>

 

simconnect.cfg

; Example SimConnect client configurations

 

[simConnect]

Protocol=Auto

Address=

Port=

MaxReceiveSize=

DisableNagle=

 

[simConnect.1]

Protocol=Pipe

Address=.

 

[simConnect.2]

Protocol=Ipv6

Address=::1

 

[simConnect.3]

Protocol=Ipv4

Address=127.0.0.1

Port=9017

 

[simConnect.4]

Protocol=Pipe

Address=<remote computer address or name here>

Port=<remote computer pipe name (matches Port name given in SimConnect.xml)>

 

[simConnect.5]

Protocol=IPv6

Address=<remote computer address or name here>

Port=<remote computer port number here>

 

[simConnect.6]

Protocol=IPv4

Address=192.168.0.10

Port=9017

 

simconnect.ini

[simConnect]

level=verbose

console=1

;RedirectStdOutToConsole=1

;OutputDebugString=1

;file=c:\simconnect%03u.log

;file_next_index=0

;file_max_index=9

Share this post


Link to post

Just to add some more information for checking…

 

This is what I got by using Simconnect config tool:

 

SC_C_Tool.jpg

 

 

And here is a list of simconnect.msi files installed to the client computer:

 

SC_MSI.jpg

Share this post


Link to post

The instructions for simconnect  setup provided by ProATC is very good. And same port setting work for ProATC and ASN.

 

I say ProATC Simconnect network instructions good also cause it includes xml code you just copy paste change to your ip address done.

 

Also I installed all the versions of simconnect  found in p3d {redist } folder on both server and client side. Just copied redist to laptop, installed all simconnect version.

 

And that's it.

Helps a lot to use instructions with code to copy paste rather than horsing around with the code sample from p3d sdk as a starting point , cause that sample is very long and intimidating for new  xml user.

Share this post


Link to post

Thank you very much! The problem was with file codes. I have tried many of them; this one finally worked!

Share this post


Link to post

So can you tell me what the file code was that you changed. I've been having the same problem and I'm pretty sure that everything should be correct

 

Thanks


Keith (CanAmRyder) Sacramento, Ca USA

CPU: i7 13700k 3.4ghz MB: MSI MPG Z790 Gaming Carbon Wifi GPU: Nvidia RTX 4080 FE 16gb RAM:CORSAIR VENGEANCE DDR5 RAM 64GB DDR5 5600MHz OS: Windows 11 Pro (23H2) SIM VERSION: Prepar3D v5.4.9.28482 / v6.1.10 MONITOR(S): LG 34" Ultrawide Curved / ASUS 32" Curved

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...