SimConnect... -_-
#1
Posted 11 April 2011 - 03:21 PM
The thing is... ASE sees the setting I have assigned to him for SimConnect.
As seen in the log "4:15 PM - SimConnect SP2 instantiated!"
The problem is that I have SimConnect.xml in the "C:\Users\ \AppData\Roaming\Microsoft\FSX" and FSX dosen't seems to read it.
The file is configured as following:
<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="SimConnect" version="1,0">
<Descr>SimConnect</Descr>
<Filename>SimConnect.xml</Filename>
<Disabled>False</Disabled>
<SimConnect.Comm>
<Disabled>False</Disabled>
<Protocol>IPv4</Protocol>
<Scope>global</Scope>
<Address>192.168.1.110</Address>
<MaxClients>64</MaxClients>
<Port>5000</Port>
<MaxRecvSize>4096</MaxRecvSize>
<DisableNagle>False</DisableNagle>
</SimConnect.Comm>
</SimBase.Document>
The console is saying the following:
0.00000 SimConnect version 10.0.61259.0
0.01538 Server: Scope=local, Protocol=Pipe, name=\\.\pipe\Microsoft Flight Simulator\SimConnect, MaxClients=64
0.01751 Server: Scope=local, Protocol=IPv6, Address=::1, Port=49396, MaxClients=64
0.01879 Server: Scope=local, Protocol=IPv4, Address=127.0.0.1, Port49397, maxClients=64
Thanks in advance for your help!
System:
PC1: W7 x64
PC2: W7 x86
Simconnect Client is installed on PC2
SDK version: Acceleration Pack
#2
Posted 11 April 2011 - 10:58 PM
It appears that you don't have the remote machine set correctly.
"0.01879 Server: Scope=local, Protocol=IPv4, Address=127.0.0.1, Port49397, maxClients=64"
It should say Address 192.168.1.110 and port 4096 as you have it set in your .xml file. You can probably set this under and options setting or change it directly in a simconnect.cfg (not the .xml) on your remote machine.
It should also be noted that your FSX from a previous session should shut down correctly (no errors) or the simconnect ports are still clogged. Reboot will fix this or correct the error when shutting down. In my case it was FSCopilot wrecking the shutdown process due to the tuner section..
#3
Posted 12 April 2011 - 12:03 AM
And i confirm that all this code is in the xml file as specified.
I have reinstalled everything. Still not working
#4
Posted 12 April 2011 - 07:37 AM
They have to match - both port and IP on both machines.
Also, verify you IP is in fact .110
AS you indicated above, something isn't set correctly on the remote machine:
"0.01879 Server: Scope=local, Protocol=IPv4, Address=127.0.0.1, Port49397, maxClients=64"
The address and port are not set on the AS machine.
#5
Posted 12 April 2011 - 10:08 AM
[SimConnect]
Protocol=IPv4
Address=192.168.1.106
Port=500
MaxReceiveSize=8192
DisableNagle=1
(For testing, is is also located in C:\Users\ \Documents)
Do I need an XML file on the AS machine ?!!
EDIT: The IP is the one of the PC with FS installed?
PS. I changed the port to 500 for testing on both sides
Edited by SuperCar1000, 12 April 2011 - 10:11 AM.
#6
Posted 12 April 2011 - 10:13 AM
You just need to make sure the port is the same and the IP address is the same (and matching the FSX machine).
Check your FSX machine IP (I use a little app called IP2.exe). Let's say it says your FSX machine = 192.168.1.110.
In your .xml file you IP should be 192.168.1.110
In your .cfg (remote machine) the IP should also be 192.168.1.110.
The port should be the same... 500 will work.
You don't have the xml on both sides - just the FSX machine. More or less it says "Here I am! I have the door open at this address and this port". You client side (.cfg) say "I hear the port at this address is open...".
#7
Posted 12 April 2011 - 10:20 AM
The XML:
<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="SimConnect" version="1,0">
<Descr>SimConnect</Descr>
<Filename>SimConnect.xml</Filename>
<Disabled>False</Disabled>
<SimConnect.Comm>
<Disabled>False</Disabled>
<Protocol>IPv4</Protocol>
<Scope>global</Scope>
<Address>192.168.1.106</Address>
<MaxClients>10</MaxClients>
<Port>500</Port>
<MaxRecvSize>8192</MaxRecvSize>
<DisableNagle>True</DisableNagle>
</SimConnect.Comm>
The CFG:
[SimConnect]
Protocol=IPv4
Address=192.168.1.106
Port=500
MaxReceiveSize=8192
DisableNagle=1
I have the same lines in the Console in FSX. I think FS dosen't even read the SimConnect.xml because the address and the port should be written. Even if I remove the file, there is no change in the console.
Thnaks for your help btw!!
Edited by SuperCar1000, 12 April 2011 - 10:21 AM.
#8
Posted 12 April 2011 - 10:31 AM
#9
Posted 12 April 2011 - 10:39 AM
This should reflect what's in the XML right ?
Edited by SuperCar1000, 12 April 2011 - 10:44 AM.
#10
Posted 12 April 2011 - 10:45 AM
Google Simconnect Tool - http://www.softpedia...nfig-Tool.shtml
Go get that just to make sure you are changing the correct simconnect.xml file.
The correct location of the simconnect.xml file should be found in the same place as the FSX.cfg
It's almost as if you are changing an .xml file that is not in the correct location.
#11
Posted 12 April 2011 - 10:51 AM
Bman., on Apr 12 2011, 09:45 AM, said:
Google Simconnect Tool - http://www.softpedia...nfig-Tool.shtml
Go get that just to make sure you are changing the correct simconnect.xml file.
The correct location of the simconnect.xml file should be found in the same place as the FSX.cfg
It's almost as if you are changing an .xml file that is not in the correct location.
I've used this tool, Infos are right. Location is right.
I'll try to contect M$ Tech support
#12
Posted 12 April 2011 - 10:53 AM
Could be a different version of simconnect that is running.
Does AS have a simconnect.msi that needs to be installed?
#13
Posted 12 April 2011 - 11:04 AM
Bman., on Apr 12 2011, 09:53 AM, said:
Could be a different version of simconnect that is running.
Does AS have a simconnect.msi that needs to be installed?
My SDK is updated to Acceleration, so is the Client .msi runned on the Client machine.
I tried the "AI Traffic" test method. It pops up for a few seconds but no connection confirmation.
ASE is able to connect.
Startup log:
"11:59 AM - SimConnect SP2 instantiated!"
EDIT: Problem Solved... I receated the xml from scratch with the tool.
Thanks. 99999999999999999 times
#14
Posted 12 April 2011 - 12:42 PM
When all else fails - just as you have done, create a new .xml and a new .cfg.
Glad it's now working.
#15
Posted 07 May 2012 - 04:07 PM
I would just like to say thanks.
I had this problem with my simconnect and as an IT expert was struggling with It over the past few days.
It wasn't clear to me what IP address went were.
I assumed the IP address in the xml file on the FS PC would be the remote IP address but it turns out it's the server address.
I'll be able to sleep to night
#16
Posted 07 May 2012 - 07:40 PM
Bman.
#17
Posted 13 March 2014 - 10:28 AM
I stumbled across this post (I'm new to this forum) and read with interest the issues involved. I too am suffering similar issues but just cannot resolve it. I am attempting to connect ASE on a client machine with FSX on my FS machine.
All folders are shared, SimConnect where it should be and all the cfg/xml correct too.
The PCs are seeing each other but nothing I do will make it happen! I have followed the ASE instructions to the letter but still thing. I've been at it on an off for about 3 months.
What do I do I ask myself If you have any other suggestions I would be grateful.
Thank you
ALW