Announcement

Collapse
No announcement yet.

SimConnect; Help with getting it working

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

  • SimConnect; Help with getting it working


    I'm having issues getting SimConnect working. The last time I tried to use it to run ASN from a networked computer I was running FS9 and Windows XP. I'll make this initial post brief. Perhaps somebody can spot my error early on. If not, the dirty details will need to be looked at.
    I have 2all of the folders configured to where I have full control locally and via the network. My FSX computer has an IP of 192.168.0.26

    -= My Simconnect.xml: {on the FSX machine in the AppData area} =-


    <?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>

    <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv4</Protocol>
    <Scope>global</Scope>
    <Address>192.168.0.26</Address>
    <Port>500</Port>
    <MaxClients>10</MaxClients>
    <MaxRecvSize>8192</MaxRecvSize>
    <DisableNagle>True</DisableNagle>
    </SimConnect.Comm>
    </SimBase.Document>

    </SimBase.Document>



    -= My simconnect.cfg: {on the laptop machine in the Documents folder} =-

    [SimConnect]
    Protocol=IPv4
    Address=192.168.0.26
    Port=500
    MaxReceiveSize=8192
    DisableNagle=1



    When I start FSX I use the AI Traffic utility on the client machine (laptop). I get the DOS box for a moment and then it disappears. This indicates that the the simconnect is not making the connection. I started all this bu installing each of the SDK's. I ran the "SimConnect.msi" after each one before installing the next. So I believe I have the simconnect properly installed.

    Any ideas?
    Last edited by Karl; February 22, 2015, 06:08 AM.

  • #2
    Make sure SimConnect.msi is installed on the Client PC (Laptop) too.

    You will need to add your FSX folder as a network drive on your Client PC (Laptop).

    Try using the default code in SimConnect.xml first and edit afterwards (if you need to) when it works.

    <!-- Example Global (remote) IPv4 Server Configuration-->
    <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv4</Protocol>
    <Scope>global</Scope>
    <MaxClients>64</MaxClients>
    <Address>0.0.0.0</Address>
    <Port>4056</Port>
    </SimConnect.Comm>

    </SimBase.Document>

    Also add the below code to your SimConnect.cfg (in my documents) to see if SimConnect is connecting to FSX.


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

    Then after starting FSX have a look at the log that would have been generated in c:\FSXLOG\

    This will tell you if your app is connecting or not or even if it's seen.

    If it isn't then we'll have another look.
    If you don't use BOINC or World Community Grid then you should!

    Comment


    • #3
      Roo,

      Already done. The log file doesn't really tell me too much.

      1st few line of the latest log:


      0.00000 SimConnect version 10.0.61259.0

      0.00850 Server: Scope=local, Protocol=Pipe, Name=\\.\pipe\Microsoft Flight Simulator\SimConnect, MaxClients=64
      0.01068 Server: Scope=local, Protocol=IPv6, Address=::1, Port=53179, MaxClients=64
      0.01200 Server: Scope=local, Protocol=IPv4, Address=127.0.0.1, Port=53180, MaxClients=64


      0.39923 DLL Loaded: Path="C:\Program Files (x86)\FSTramp\FSTramp.dll" Version="5.4.2.0"
      0.70897 Panels data export found and set to 20B319D8
      0.88251 DLL Loaded: Path="Modules\FSUIPC4.dll" Version="4.9.3.9"
      2.96514 DLL Loaded: Path="as_srv\as_btstrp.dll" Version="1.0.0.12"
      > 4.62204 [ 0, 1]Open: Version=0x00000004 Name="FSTramp"

      Comment


      • #4
        Does it work on the same PC?

        For instance when I open it on the same PC it does log and shows it working as below.

        But I'll be honest I couldn't get it to load over my LAN either.
        0.00000 SimConnect version 10.0.62608.0

        0.01922 Server: Scope=local, Protocol=Pipe, Name=\\.\pipe\Microsoft Flight Simulator\SimConnect, MaxClients=64
        0.02556 Server: Scope=local, Protocol=IPv6, Address=::1, Port=11223, MaxClients=64
        0.03182 Server: Scope=local, Protocol=IPv4, Address=127.0.0.1, Port=11226, MaxClients=64


        0.07254 DLL Loaded: Path="A:\SteamLibrary\steamapps\common\FSX\SDK\Env ironment Kit\Traffic Toolbox SDK\traffictoolbox.dll" Version="10.0.62608.0"
        > 38.61141 [ 0, 1]Open: Version=0x00000004 Name="C:\Program Files (x86)\TeamSpeak 3 Client\plugins\SIMCOM32.dll"
        > 38.64746 [ 0, 2]AddToDataDefinitionefineID=65, DatumName="COM ACTIVE FREQUENCY:1", UnitsName="Mhz", DatumType=4, fEpsilon=0.000000, DatumID=-1
        > 38.64754 [ 0, 3]AddToDataDefinitionefineID=65, DatumName="COM ACTIVE FREQUENCY:2", UnitsName="Mhz", DatumType=4, fEpsilon=0.000000, DatumID=-1
        > 38.64756 [ 0, 4]RequestDataOnSimObject:RequestID=64, DefineID=65, ObjectID=0, Period=4, Flags=1, origin=0, interval=0, limit=0
        < 39.60318 [0] ObjectData: RequestID=64 DefineID=65 dwSize=56
        < 49.58697 [0] ObjectData: RequestID=64 DefineID=65 dwSize=56

        > 169.14223 [ 1, 1]Open: Version=0x00000004 Name="AI Traffic"
        > 169.14230 [ 1, 2]MapClientEventToSimEvent:EventID=1, EventName=""
        > 169.14235 [ 1, 3]MapClientEventToSimEvent:EventID=2, EventName=""
        > 169.14236 [ 1, 4]MapInputEventToClientEvent:GroupID=0, szInputDefinition="Z", DownEventID=1, DownValue=0, UpEventID=-1, UpValue=0, bMaskable=0
        > 169.14239 [ 1, 5]MapInputEventToClientEvent:GroupID=0, szInputDefinition="X", DownEventID=2, DownValue=0, UpEventID=-1, UpValue=0, bMaskable=0
        > 169.14241 [ 1, 6]SetInputGroupState:GroupID=0, dwState=0
        > 169.14243 [ 1, 7]AddClientEventToNotificationGroup:GroupID=0, EventID=1, bMaskable=0
        > 169.14244 [ 1, 8]AddClientEventToNotificationGroup:GroupID=0, EventID=2, bMaskable=0
        > 169.14246 [ 1, 9]SubscribeToSystemEvent:EventID=0, SystemEventName="SimStart"
        > 169.14248 [ 1, 10]SubscribeToSystemEvent:EventID=3, SystemEventName="ObjectAdded"
        > 169.14251 [ 1, 11]SubscribeToSystemEvent:EventID=4, SystemEventName="ObjectRemoved"
        < 182.21203 [1] ObjectAddRemove: EventID=4 Type=2 ObjectID=353
        If you don't use BOINC or World Community Grid then you should!

        Comment


        • #5
          Well the first thing I notice is that the simconnect version you're using is newer than the one that I am. I got mine fore the SP2 SDK. Where did yours?

          Comment


          • #6
            I noticed that too but that's because I only have the Steam version installed at the moment and thats the Steam SimConnect.

            I can run software over SimConnect on one PC connected to FSX on another PC so I'll have a play later and see if I can get the AI Traffic working over LAN with SimConnect.
            If you don't use BOINC or World Community Grid then you should!

            Comment

            Sorry, you are not authorized to view this page
            Who has read this thread:
            Working...
            X