Jump to content
The simFlight Network Forums
unc1rlm

I got an issue among many :)

Recommended Posts

I am not sure this had anything to do with it. I used Migration Tool to install CS 707/727 etc etc... I  MFSS Client ESP 1.0.20.0; MFSS Client 905/242/259 and FSX SDK Sp2. I am not running FSX except for what Migration Tool install which I believe is just a fake FS Config file in app data/etc.

 

Maybe simconnect issue?

Thank you Simon,

Bob M.

 

 

 

 

STB Wizard error msg.JPG

STBDataServer.Trace.txt

Share this post


Link to post
Share on other sites

Simon..I got it. I found an old Active Sky xml..so i wiped the one I had already...pasted it into the xml (wiped clean) and now the wizard is working. I think I will be ok. 

UPDATE: Now the Client is not connecting....not sure if it is Chaseplane doing something? Heres the trace and xml for you to look at...

 

Bestest,

Bob 

 

 

simconnect.xml

STBClient.Trace.txt

SimConnect.cfg

STBClient.Trace.txt

crash.txt

SimConnect.xml

Share this post


Link to post
Share on other sites

Bob, your simconnect.cfg file is wrong.  It should be plain text, while yours for some reason is XML and it looks more like the simconnect.xml file which it should not.  Mine looks something like this:

[SimConnect]
Protocol=Ipv4
Address=192.168.0.31
Port=9017
MaxReceiveSize=4096
DisableNagle=1

Thanks

Simon

 

Share this post


Link to post
Share on other sites

Thanks Simon. Ok I have the simconnect cfg in Documents on the client..Do I need a copy of it in the P3dv4 machine in documents or P3dv4 file folder or just on the client..cfg/xml's drive you nuts!!! Still not connecting from client..I tried the ip of 192.168.1.67 and it won't connect. Then I changed it in stb and cfg to UNC1RLM (name of machine) as also shown in STBDS and still won't connect unless I need a simconnect cfg on the server side? Shut the firewall down as well for now..I am going to format windows 10 and start over. Can't get Active Sky to work.....maybe corruption somewhere on the client. Anyway.. do answer me about the simconnect cfg and I believe you are in the xml inside p3dv4 as port 2024 if my unmemory serves me.

Thank you,

Bob M.

Share this post


Link to post
Share on other sites

Bob
On your Prepar3D computer, just simconnect.xml

On your separate STB client computer, just simconnect.cfg

Unless you have some particularly complicated setup where you need multiple connections on different ports or add-ons that require something unique from SimConnect, the STB configuration wizard (and the one in STB-DS) will take care of these files.   For whatever reason, computer names seem to work better than IP addresses here.

 

Thanks
Simon

Share this post


Link to post
Share on other sites

Thanks Simon...I think its the simconnect xml that gets screwed up.  I will look at your documents and paste in a correct simconnect portion. Its figuring out this stupid stuff :)  I will paste what I have right now: Yours is not added in yet just FS-Flight Control and Active Sky (port 500). I was trying to find a tool that can scan and repair the xml file...for the XML 101'ers...I tried a couple but all they would do is find stuff and not tell you what to do.

When to have or not have :

</SimConnect.Comm>
  <SimConnect.Comm>

Thank you Simon...you're the best!!

Bob M.

I did post a review on you..I think at SimMarket a while back.or maybe site where I bought your program years ago.

Share this post


Link to post
Share on other sites

I can use any port, and an existing entry in the simconnect.xml if other add-ons have already put something there.  Just need to match the port and computer name/IP address on the client side via simconnect.cfg

simon

Share this post


Link to post
Share on other sites

Thank you Simon..spent all day yesterday formatting client to only have it fail connecting to server because of latest OCT Windows 10  patch that has effectively removed Homegroup and caused a nightmare for many. Have reinstalled again and now manage to see the server. Ok.. so you are saying? that an entry in simconnect xml is need..say port 2024 (comes to mind)...I believe the last time i tried..stbds connected with a green check mark to server but nothing was written in the xml...I know that Active Sky puts one there for port 500. Slowly getting the hang of this...i think.

As a side note....if you patch and all of a sudden your client or vice versa do not see each other.... short video on how to correct it.

Windows 10 - Can't Find Other Computers on Your Local Network?  by the Old Guy Geek on Windows

Thanks Simon,

Bob M.

Share this post


Link to post
Share on other sites

For an Simconnect client (say STB, Active Sky, PlanG, etc.) to talk to the SimConnect Server (Prepar3D) we need to have

1) On the SimConnect Server Prepar3D, a simconnect.xml in ProgramData.  The XML needs to specify a global scope on some port number of it's own choosing.  Many clients can connect to a single port.  It can specify other local and global scope communications points also, but at least one must be global for remote clients.

2) On the SimConnect client PC, a simconnect.cfg file is required in My Documents (may also work in the execution path of the add-on concerned, typically the install path, but I've never tried that).  Simconnect.cfg points to the Prepar3D server, and in particular a global scope communication point.   It does this by using the same port number as specificed simconnect.xml

It's all about the port numbers really, that has traffic from one PC gets to the right application on another PC.  For Simconnect (and other applications in this world), the client port and server port must match (I've actually simplifed it here, the reality is a little more involved but you don't need to worry about it.

Send me your simconnect.cfg and simconnect.xml as of right now!

Simon

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Sorry Simon, just saw your post....Finally got STB and a tip from ASN to connect. The support tech sent me a cfg file for the client and the order of the address, port are different than the documentation I have seen and both ASN and yours fired up with no problem. Weird... ok   NOW.. on the main screen of the STB-DS it says in the wizard..the name CAROLINAONE...and not an ip...The simconnect xml (which your program is not listed) and the simconnect cfg on the client are probably different. I don't know whether CAROLINAONE or the ip of the server should be used and now it connects but there is no Common Simulator or AI Views..says unavailable. It said that no P3dv4 add-ons (pointing to client so I think it really meant on the server so P3Dv4 add-ons is shared now on the server but still no content or viewing. I am using  Piedmont Aircraft but everytime I try to pick a logo file.from the logos menu (UT2 or MTX or any of those) STBDS crashes. I am using various ai and not ut2 or any of those ai's.  Here's the crash report

Sorry for being a headache.

Bob M.

 

simconnect.cfg

SimConnect.xml

crash.txt

Share this post


Link to post
Share on other sites

Bob

You say STB-DS crashes but the crash file you sent me is from STB Client?  I already investigated that crash to do with logos, exact same problem as before.  Soemthing in the next beta may help you understand what it is.

 

Thanks
Simon

Share this post


Link to post
Share on other sites

Thanks Simon...what do I do about the Common Simulator or AI Views to get them to work. BTW, the crash is on the Client..sorry. I have the P3Dv4 add-on files shared. and the client is working..it connects ok ..I got logos to work with UT2..so we are kewl but for some reason the Common and Ai Views aren't installed. 

At one point the client would not connect so I redid the stbds and it crashed because of a broken xml in p3dv4 addons for common so i deleted the stb common folder in add ons and redid the wizard and it corrected the xml and we are doing good..except for the common etc on the client.

 

Thanks Simon..

Bestest!!!!!!!!!!!

Bob M.

Share this post


Link to post
Share on other sites

1) Do you have this file on the client:

image.png.93eff93000d4c6ec4c6f5546e5ee91b0.png

If so, please send it over.  Also check it's enabled in the Add-ons menu in the simulator

2) What's wrong with the AI views?

Share this post


Link to post
Share on other sites

I do have that folder on the stbds (server) , yes it is enabled in the sim. and No, I do not have that folder (like on the server with the xml in it etc) .. I do have the p3dv4add  folder in documents on client but the folder is empty. I have the stb folder in documents and it has trace files etc. I copied over the SperTrafficBoardV4 Common folder from the server but not sure if the xml needs to point to stbds or the client. I put it on c drive until you tell me what to do.

Thanks Simon. The views are fine...I was just missing the two things on the client. The common simulator content and ai views in the deployment tab.1137224667_Image1.PNG.b498fe4593a89d3390e8c3645861886d.PNGImage2.jpg.f705764019361f7d559d78bf179be2d6.jpg

Image 3.PNG

add-on.xml

Image4.PNG

Share this post


Link to post
Share on other sites

Now I understand you a little better.  What you are showing me from the client point of view is absolutely correct and normal.  The deployment tab is all about doing configuration within the simulator itself, and of course if you are running STB Client on a separate computer there is no simulator there to configure.  Hence the "Unavailable" in the screenshot.

So let's deal with one problem at a time.  There are two add-on.xml folders for STB-DS on the Prepar3D computer:

Capture2.PNG.db737cc481706582e0d46bec97f59cad.PNG

"DataServer" simply starts STB-DS whenever you start Prepar3D.

"Common" provides the "Flying-W Invisible Aircraft" which is a feature of little use now in Prepar3D, and also the simulator Plugin which we still need for things like "Delete AI".

If "Common" is enabled as you say but netiher the Flying-W aircraft nor the STB Plugin Menu:

Capture.PNG.a63e18f473bc2fac111f24cdf923e9ea.PNG

Then the simulator isn't loading it for some reason.  Do you see the above?  If not, you'll need to enable "Content Error Reporting" in the simulator and send me the file it produces.

Thanks
Simon

 

Share this post


Link to post
Share on other sites

Thanks Simon... Yeah the menu item show up but if you click on it it doesn't do anything or maybe its a notification that the program is working. I know for a fact as I live and breathe, that I have seen on the client in a network...the Common Simulator Content and View AI Camera (whatever they do"...say "in green..I think...INSTALLED for both.

Oh well, thank you Simon for all your hard work and what you do 🙂

Bob M.

Share this post


Link to post
Share on other sites
On 10/30/2018 at 8:51 AM, unc1rlm said:

Yeah the menu item show up but if you click on it it doesn't do anything or maybe its a notification that the program is working.🙂

 

That's working correctly, nothing will happen if you click it.  It's simply there to feedback the STB Plugin DLL was loaded by the simulator.

 

Are we good to go now?

Thanks
Simon

Share this post


Link to post
Share on other sites

Yeah but this one question...

On ‎10‎/‎30‎/‎2018 at 4:51 AM, unc1rlm said:

know for a fact as I live and breathe, that I have seen on the client in a network...the Common Simulator Content and View AI Camera (whatever they do"...say "in green..I think...INSTALLED for both

🙂 Thanks Simon

Bob M.

Share this post


Link to post
Share on other sites

If that shows up as "green" on an STB client running on a separate computer, then something went really wrong with your experience.  They shouldn't be listed at all, as in the previous dialog before that one you would have selected "LM Prepar3D V4 on ANOTHER computer".  The sequence is shown below.  Only if you had selected "LM Prepar3D V4 on THIS computer" would the common simconectent and View AI camera been shown as deployable options.  I'm not seeing a problem to resolve here?

image.png.d0140fcdefdcbaa3372a2cf3c53c821d.png

image.png.b28c07b1fe2a588506943437fa616045.png

image.png.070a6dc76be01182c2471eb1106b6582.png

image.png.d6f1c4f17c4dd250f37d934c1eb23188.png

 

Share this post


Link to post
Share on other sites

Got you....If I mapped the hard drive to the client and pointed to it...would that be of any value?

Thank you Simon,

Where do I send the check 🙂

Bob M.

Share this post


Link to post
Share on other sites

Yes Sir.....my stb client crashed...I got to figure it out..no bother..... LOOK at it tomorrow, or the next day or next week...no hurry....when you get mentally prepared....probably something with ai's. 

Thank you, go Trick or Treat 🙂 Probably kinda late so you probably need to go to bed.....

Bob M.

crash.txt

Share this post


Link to post
Share on other sites

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

×

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.