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, P3D Professional 5, AeroflyFS2, XP11; Beta tester of SimStarter, SPAD.neXt, and FS-FlightControl

Intel i7-6700K 4.0 GHz / Asus MAXIMUS VIII RANGER / Kingston 32 GB DDR4 / Samsung SSD M.2 500 GB + Samsung SSD 1 TB + Intel SSD 500 GB + WD HD 6 TB / EVGA GTX 1080Ti 11 GB / LG 34UM95 3440 x 1440 /  XTOP/Saitek hardware panel / HP Reverb / Win 10/64

 

 

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 (Grand_Pubah)

i9 9900k 4.7Ghz / Asus ROG Maximus XI Hero / GeForce RTX 2080ti Founders Edition/ DDR4 PC4-25600 3200 MHZ 64 Gbs

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.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    34%
    $8,535.00 of $25,000.00 Donate Now
×
×
  • Create New...