Simconnect cache

Hi,

Is there a way to disable the SimConnect cache?

Hi,

Can you give more information about what you call “SimConnect cache”, about which area of SimConnect you are talking about, what are you trying to achieve…

As a general answer, there is no cache system in SimConnect.

Best Regards
Maxime / Asobo

1 Like

Hi,

I query SimConnect to retrieve all the waypoints. However, SimConnect only returns its cache, which corresponds to the data in the sector I’m in.
I thought that by disabling this cache, I could retrieve all the data without having to “slew” anywhere.

Exactly like the Airport type who returns all the Airports wherever I am.

Hi,

I would suggest you to use the new SimConnect_RequestAllFacilities function.

SimConnect_RequestFacilitesList(_EX1) are legacy functions from FSX and because of that, their behavior had to stay the same (even if the airport part has been broken since).

Best Regards
Maxime / Asobo

Thanks,
It’s just complicated to find the good doc :wink: I used this one : SimConnect_RequestFacilitesList
And there isn’t this new function

Thanks again :ok_hand:

Hi, the documentation you are using is the documentation for SU2 whereas the one I gave you is meant to be used on SU3.

Depending the version you are using, this function might be unavailable.
Best Regards
Maxime / Asobo

the SimConnect.dll in the SDK has this function ? RequestAllFacilities
Because I can’t find it

This function has been added to SU3 builds. I assume your work on SU2 with an SU2 SDK (1.3.4) so you won’t have access to this function until SU3 is released (no ETA for now).

If you want to use that function, you must switch to SU3 flighting with an SU3 SDK (1.4.1).

Best Regards
Maxime / Asobo

2 Likes