ALFREDODD Posted May 23, 2014 Report Posted May 23, 2014 Hi, excuse my english....again.... I'm using your library and...I love it...really easy but, I found a problem with PayloadWeightKgs. It's giving an OverflowExpection. The steps to reproduce: - Open the default flight "707-300 Cold and Dark KSEA" of the Captain Sim Boeing 707-300 - The payload weight in kgs in FSX........ 8.809kg. - The error....you'll see in attached file..... - The AircraftWeightKgs is OK....... 145.939kg.
Paul Henty Posted May 23, 2014 Report Posted May 23, 2014 Hi, Does this error happen with any aircraft or just the Captain Sim Boeing 707-300? Paul
ALFREDODD Posted May 23, 2014 Author Report Posted May 23, 2014 I tried several airplanes, at this moment only with the 707....
Paul Henty Posted May 23, 2014 Report Posted May 23, 2014 Thanks. I'll have a look at this over the weekend.
Paul Henty Posted May 25, 2014 Report Posted May 25, 2014 Hi, I don't have very good news about this. The problem is that the Captain Sim 707 plane has 123 payload stations. FSUIPC can only deal with 61. My DLL wasn't checking this limit and so it was reading bad data for payload stations above 61. I've fixed this problem so that it doesn't return bad data and overflow, but, I can't extend the 61 station limit in FSUIPC. So the DLL now only brings back the first 61. I have added a boolean property on PayloadServices called TooManyPayloadStations. If this is 'true' then the current aircraft has more than 61 stations and therefore some will be inaccessible. Also the total payload values will also be incorrect because it can only count the first 61. Although it's not really a 'fix', at least your application can tell which planes will cause a problem. Attached is a new version of the DLL (2.7) (One targets the .NET 2 Framework, the other the .NET 4 Framework.) Paul FSUIPCClient2.7_NET2.zip FSUIPCClient2.7_NET4.zip
ALFREDODD Posted May 26, 2014 Author Report Posted May 26, 2014 Guau!!! Thanks for your help!!! I understand the FSUIPC limit, no problem. Your fix is ok for me.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now