You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run across a case where sending a valid dataref set string to ExpPlane causes X-Plane to crash. My app uses a combination of ExtPlane and UDP. I'm attempting to use the sim/network/dataout/data_to_internet dataref to enable various UDP outputs when my server starts up. However, sending a string with 200 int values (which is what that dataref appears to require) causes a crash.
I'm able to subscribe to the dataref, and ExpPlane sends back a response string that accurately reflects the values set on the General Data Output tab of the Data Output settings page:
(Note: carriage returns have been added for clarity. When sent the value is sent as one long string with no breaks.)
The odd thing about this: X-Plane 11 shows a total of 136 outputs (0 - 135). The array hold 200 integer values, and as you can see there are some values in there at indexes greater than 135. I simply sent back the values that I received - perhaps that's an issue?
Anyone have any ideas?
The text was updated successfully, but these errors were encountered:
I've run across a case where sending a valid dataref set string to ExpPlane causes X-Plane to crash. My app uses a combination of ExtPlane and UDP. I'm attempting to use the
sim/network/dataout/data_to_internet
dataref to enable various UDP outputs when my server starts up. However, sending a string with 200 int values (which is what that dataref appears to require) causes a crash.I'm able to subscribe to the dataref, and ExpPlane sends back a response string that accurately reflects the values set on the General Data Output tab of the Data Output settings page:
But when I send a set request with exactly the same set of values, X-Plane dies:
(Note: carriage returns have been added for clarity. When sent the value is sent as one long string with no breaks.)
The odd thing about this: X-Plane 11 shows a total of 136 outputs (0 - 135). The array hold 200 integer values, and as you can see there are some values in there at indexes greater than 135. I simply sent back the values that I received - perhaps that's an issue?
Anyone have any ideas?
The text was updated successfully, but these errors were encountered: