sniperfull Posted October 14, 2017 Report Posted October 14, 2017 now that the Qualitywings 787 is out i am doing some flying in it and i noticed that my program is not recognizing the 787 as an aircraft... 'offset Dim aircraftType As Offset(Of String) = New FSUIPC.Offset(Of String)("AircraftType", &H3500, 24) ' and under a timer Try FSUIPCConnection.Process("AircraftType") lblAircraft.Text = aircraftType.Value Catch ex As Exception MessageBox.Show(ex.Message, AppTitle, MessageBoxButtons.OK, MessageBoxIcon.Error) End Try http://prntscr.com/gxet22
Paul Henty Posted October 14, 2017 Report Posted October 14, 2017 The code looks fine. This offset brings back the 'atc_model' value from the [General] section of the aircraft.cfg file. e.g. the bold line in the example below for the default Cessna 172: [General] atc_type=Cessnaatc_model=C172 editable=0 1. Check what this value is in the aircraft.cfg file for this 787. 2. Also put a breakpoint on this line: lblAircraft.Text = aircraftType.Value and see what the Value is. There may be some strange characters. Or maybe it starts with a line feed or something. Investigating those two things might lead you to see what the problem is. If you need more help please post what you find here. Paul
sniperfull Posted October 14, 2017 Author Report Posted October 14, 2017 Ahh! so apparently qualitywings decided not to enter anything there exept for "Category=airplane" ....... that explains my problem Thank you kuba EDIT i havent tested this yet as i am in flight ... if it does update inflight there must be another issue but if it does not update inflight then i will test it later
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