News:

Thou shalt confirm thine airspeed on final, lest the earth rise up and smite thee. (pre-landing checklist, v1)

Main Menu

Can't make remote Plan-G work with P3D v4.1

Started by ThomassoCZ, November 19, 2017, 05:22:13 PM

Previous topic - Next topic

ThomassoCZ

Hello everybody,

first let me thank you very much for this excelent software.

I would like to use it on my separate laptop/tablet which is next to my P3D machine. The laptop is connected to the network through WIFI, P3D machine through Ethernet.

I followed the pinned thread on this forum and did this:
- Installed Plan-G on my P3D machine to create DB
- Installed Plan-G on the laptop, inserted the DB correctly
- Installed all versions on SimConnect found in redist/Interface folder. The installations were very fast without a success message so I hope they installed correctly. Any way to check this?
- Ran ipconfig and got my IPv4 address (P3D machine), it's 192.168.1.103
- Created SimConnect.xml in Roaming/LM/P3D v4 folder, it looks like this:

<?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) IPv4 Server Configuration-->
  <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv4</Protocol>
    <Scope>global</Scope>
    <MaxClients>64</MaxClients>
    <Address>192.168.1.103</Address>
    <Port>4504</Port>
  </SimConnect.Comm>

</SimBase.Document>

- Created SimConnect.cfg in C:\Plan-G folder, it looks like this:

[SimConnect]
Protocol=IPV4
Address=192.168.1.103
Port=4504
MaxReceiveSize=4096
DisableNagle=0


- I run everything as Administrator
- I tried disabling ESET Smart Security firewall to see if that helps (doesn't)

When I click Connect within Plan-G, it freezes for few seconds and then I hear the sound like if I removed USB flash drive, nothing happens.

Any help would be appreciated, thanks.
Tomas

tim arnot

1. Check is that you can ping the P3D machine from your laptop. To do this, open a cmd window ("Run CMD") and type Ping 192.168.1.103 at the command prompt.

2. Check is that you are trying to connect via "Simconnect (P3D)" and not "Simconnect (FSX)". You didn't include your log, so I can't check myself.

3. Check permissions - are both programs being run as administrator?

4. Maybe that port number is in use, or maybe it's being blocked by antivirus or firewall programs

The example in the pinned post is copied straight off my PC & laptop, so I know it works, cos I regularly use it! BTW, you shouldn't need to run SimConnect installers - Plan-G comes with everything it needs.

Tim. @TimArnot

ThomassoCZ

1. Check is that you can ping the P3D machine from your laptop. To do this, open a cmd window ("Run CMD") and type Ping 192.168.1.103 at the command prompt.
- Yes I can

2. Check is that you are trying to connect via "Simconnect (P3D)" and not "Simconnect (FSX)". You didn't include your log, so I can't check myself.
- Checked

3. Check permissions - are both programs being run as administrator?
- Checked

4. Maybe that port number is in use, or maybe it's being blocked by antivirus or firewall programs
- Tried disabling the firewall and changing the port to a different number

Still doesn't work though  :(

tim arnot

The next step is to look at the simconnect log file. For this you will need to activate simconnect logging:

Create a SimConnect.ini file in your My Documents\Prepar3D Files folder.

Paste into it the following:

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

This will create a simconnect000.log file in your C:\ folder (you may change the path) when P3d runs. Beware, it will get very big very quickly.

Run P3d and Plan-G and attempt to connect.
Close down P3d.
Open the log file in notepad and search for any references to Plan-G. Report back what it says.

When you're done, you'll want to remove or rename this ini file, otherwise it'll quickly fill up your hard drive with log files!

Tim. @TimArnot

ThomassoCZ

I did that, I found no references to Plan-G in the log file. I tried - Search -> "Plan-G" and nothing.

ThomassoCZ


tim arnot

Sorry for the delay - was working double shifts all week & didn't get the chance to check in.

What that tells us is the connection isn't getting as far as P3D, which means that it's either trying to go to the wrong address/port no., a bad network connection, or that something is blocking it. Those are the only possibilities now.

Since you have Plan-G installed on the P3D machine, I'm going to suggest that you copy the SimConnect.cfg from your laptop into the P3D computer's Plan-G program folder. Run P3D and the local Plan-G (you'll need to run P3D in windowed mode, and make sure the P3D window and the Plan-G window can fit side by side without intersecting). If the local Plan-G can connect, we'll know that the cfg file is good, and the problem is somewhere on the laptop or the network connection.

If it doesn't connect, it suggests the problem is with the cfg file.

Tim. @TimArnot