Jon,
FS uses a basic concept for shared cockpit. Once the two aircraft get connected, those A:Vars that are listed in the SDK as All/Shared Cockpit, together with custom C-serialized vars, are synchronized at once. After that, and appart from the positional info which is constantly transmitted to the slave aircraft, data exchange happens through event process only (K: and shared_event_out alike). Complete synchronization will take place also in case any of the aircraft was paused and resumed flying.
I, like you, had similar trouble when trying to code ACES' blog example within a C++ module. Never got serialization/deserialization to work; neither the shared_event, which seems to need a valid GAUGEHEADER pointer.
I think John Cage's aircraft problem was too many constantly-fired events, which are indeed a networking nightmare. Or any other thing, but surely not XML custom vars (L/C/G), which are not transmitted ever.
Tom
FS uses a basic concept for shared cockpit. Once the two aircraft get connected, those A:Vars that are listed in the SDK as All/Shared Cockpit, together with custom C-serialized vars, are synchronized at once. After that, and appart from the positional info which is constantly transmitted to the slave aircraft, data exchange happens through event process only (K: and shared_event_out alike). Complete synchronization will take place also in case any of the aircraft was paused and resumed flying.
I, like you, had similar trouble when trying to code ACES' blog example within a C++ module. Never got serialization/deserialization to work; neither the shared_event, which seems to need a valid GAUGEHEADER pointer.
I think John Cage's aircraft problem was too many constantly-fired events, which are indeed a networking nightmare. Or any other thing, but surely not XML custom vars (L/C/G), which are not transmitted ever.
Tom
Last edited:



