September 12, 201411 yr Moderator I've created a simconnect log that may help you. You can get it here. https://dl.dropboxusercontent.com/u/812217/Ray_SimConnectLog.zip Ray (Cheshire, England). System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke, Fulcrum Throttle Quadrant. Cheadle Hulme Weather website.
September 12, 201411 yr Author dukeav, Downloaded and ran the DodoSim program. I also see Connection to Flight Simulator via SP2 SimConnect succeeded. I still think it would be helpful if you could show how many Ai are at an airport when the program first runs. The user could make a note of the fps and then after pressing Optimise check fps again after the excess Ai have been removed. I know you say there is a handshake but it would confirm to the user it's actually reading from FSX. Can you confirm what Last Count is counting? Mine always says 0 suggesting it's not finding any Ai to delete. I've searched for a simconnect.ini on my FSX PC and the only ones I can find are sample ones provided by MyTraffic. I have one in Flight Simulator X Files named simconnect.in# obviously disabled - reason unknown. Should we have a simconnect.ini on our FSX PC? I have one on other PCs where I run FSX related software. The program already tries to get the AI Count when you click "Refresh" or "Optimize". The problem is that its not getting anything back from FSX. There is no error, nothing, just no data is being returned. Maybe you can try and install the SDK as here: http://download.microsoft.com/download/3/C/A/3CAD9417-A0BE-4892-9224-4A4479F9F633/sdk.msi
September 12, 201411 yr Author I've created a simconnect log that may help you. You can get it here. https://dl.dropboxusercontent.com/u/812217/Ray_SimConnectLog.zip Well, the logs says that the program has registered: > 13.42589 [252, 1]Open: Version=0x00000003 Name=" AirTrafficManager" and then this is the call to get the Aircraft: > 93.68876 [252, 7]RequestDataOnSimObjectType:RequestID=1, DefineID=1, dwRadiusMeters=0, type=2 But no associated errors. So apparently the data goes into a black hole :(
September 12, 201411 yr But no associated errors. So apparently the data goes into a black hole ---------------------------------------------------------------- Then...this is TOTALLY weird! I show connected, and I also have installed the SDK. No joy...so weird. Why does it work in P3D, but not FSX on my system.....SimConnect SP2 checks out, just fine. :excl:
September 12, 201411 yr Moderator Duke, Those people with FSX that have it working. Do they also have P3D installed? I don't and I'm wondering if that's the reason. I did run the SDK and chose the repair option. It completed okay but as you can see it's made no difference. Ray (Cheshire, England). System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke, Fulcrum Throttle Quadrant. Cheadle Hulme Weather website.
September 12, 201411 yr Author Duke, Those people with FSX that have it working. Do they also have P3D installed? I don't and I'm wondering if that's the reason. I did run the SDK and chose the repair option. It completed okay but as you can see it's made no difference. At least me and couple of others have both and it works. Maybe that's a clue. I will try and check on my other machine where P3D is not installed.
September 12, 201411 yr Commercial Member I've created a simconnect log that may help you. You can get it here. https://dl.dropboxusercontent.com/u/812217/Ray_SimConnectLog.zip Well, the logs says that the program has registered: > 13.42589 [252, 1]Open: Version=0x00000003 Name=" AirTrafficManager" and then this is the call to get the Aircraft: > 93.68876 [252, 7]RequestDataOnSimObjectType:RequestID=1, DefineID=1, dwRadiusMeters=0, type=2 But no associated errors. So apparently the data goes into a black hole :( I noticed that in Ray's log. The radius of 0 seems wrong. FSUIPC currently uses 80000 (= 8o km), which is more or less the "reality bubble" I think. You should have at least that, maybe 100000 to be safe (or 200000, the max stated below): In the P3D SDK there's an additional note about the Radius parameter: If this is set to zero only information on the user aircraft will be returned, although this value is ignored if type is set to SIMCONNECT_SIMOBJECT_TYPE_USER. The errorSIMCONNECT_EXCEPTION_OUT_OF_BOUNDS will be returned if a radius is given and it exceeds the maximum allowed (200000 meters, or 200 Km). This is NOT present in the original FSX SDK. I presume the action taken with a zero radius parameter changes between SP2 and ACC. Regards Pete Win10: 22H2 19045.2728 CPU: 9900KS at 5.5GHz Memory: 32Gb at 3800 MHz. GPU: RTX 24Gb Titan 2 x 2160p projectors at 25Hz onto 200 FOV curved screen
September 12, 201411 yr I have both and it doesn't work in FSX. Gregg Seipp "A good landing is when you can walk away from the airplane. A great landing is when you can reuse it." i9 64GB RAM, GTX-5090
September 12, 201411 yr At least me and couple of others have both and it works. Maybe that's a clue. I will try and check on my other machine where P3D is not installed. I have P3D v2.3 running fine, and with your program also properly running. It is only FSX SP2 that is the bad boy....
September 12, 201411 yr Author I noticed that in Ray's log. The radius of 0 seems wrong. FSUIPC currently uses 80000 (= 8o km), which is more or less the "reality bubble" I think. You should have at least that, maybe 100000 to be safe (or 200000, the max stated below): In the P3D SDK there's an additional note about the Radius parameter: If this is set to zero only information on the user aircraft will be returned, although this value is ignored if type is set to SIMCONNECT_SIMOBJECT_TYPE_USER. The errorSIMCONNECT_EXCEPTION_OUT_OF_BOUNDS will be returned if a radius is given and it exceeds the maximum allowed (200000 meters, or 200 Km). This is NOT present in the original FSX SDK. I presume the action taken with a zero radius parameter changes between SP2 and ACC. Regards Pete Thanks Pete. That may be it. @Ray, one more try? - https://drive.google.com/file/d/0B_5rZp8PTz0qVkhVa3g3Q285X2M/edit?usp=sharing
September 12, 201411 yr Thanks Pete. That may be it. @Ray, one more try? - https://drive.google...dit?usp=sharing No better for me. Gregg Seipp "A good landing is when you can walk away from the airplane. A great landing is when you can reuse it." i9 64GB RAM, GTX-5090
September 12, 201411 yr Can you generate a simconnect log? How do you do that? Gregg Seipp "A good landing is when you can walk away from the airplane. A great landing is when you can reuse it." i9 64GB RAM, GTX-5090
September 12, 201411 yr Moderator Well done! That works. target count = 15 Last count = 89 Last deleted = 74 Farthest deleted = 3750 miles Nearest deleted = 24 miles That was at Dublin (EIDW). Switched to Heathrow and raised target to 80. It deleted 502! Well done Pete and duke. :Applause: How do you do that? Make sure simconnect.ini is in your Flight Simulator X files. The log will be created in FSX\Modules. It gets big very quickly so if you don't want them to keep being generated rename simconnect.ini to simconnect.in#. Ray (Cheshire, England). System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke, Fulcrum Throttle Quadrant. Cheadle Hulme Weather website.
September 12, 201411 yr Author Well done! That works. target count = 15 Last count = 89 Last deleted = 74 Farthest deleted = 3750 miles Nearest deleted = 24 miles That was at Dublin (EIDW). Switched to Heathrow and raised target to 80. It deleted 502! Well done Pete and duke. :Applause: Make sure simconnect.ini is in your Flight Simulator X files. The log will be created in FSX\Modules. It gets big very quickly so if you don't want them to keep being generated rename simconnect.ini to simconnect.in#. Wonderful! Thanks a lot Pete! And Ray for testing!
Archived
This topic is now archived and is closed to further replies.