Developer's Backdoor > GSX Backdoor

GSX Message Text

(1/2) > >>

torsten:
Hello,

i am trying to interact with the GSX Message Text in the green line displaying GSX Informations
like "[GSX] Boarding requested".
I try reading this text via FSUIPC Offset 3380, but it dosent work.
It seams this window is not the "nromal" Text message window from P3D ?

So, how is the Text displayed or how can i read this text to interact with that?

Thx

virtuali:

--- Quote from: torsten on January 03, 2019, 10:45:51 am ---It seams this window is not the "normal" Text message window from P3D ?
--- End quote ---

Of course it's the normal, 100% fully standard Simconnect text call. We don't do anything extra which might explain why FSUIPC cannot read it.


--- Quote ---how can i read this text to interact with that?
--- End quote ---

I'm not sure it's a very good idea to rely on a text that might change at any time. What are you trying to do ? If you want to know what GSX is doing, there's a specific set of L: variables we published for this reason, look at the last pages of the GSX manual. This is how several developers like FS Labs, Leonardo, etc. interact with GSX.

torsten:
hello,

i want to read the content of the GSX Window and display that in my FMC.
So i can directly see in the FMC what i can select for GSX and must not use the numbers at the keyboard to control GSX.

I will have a closer look in the manual for the L-Vars, but at the moment i am not able/have not tried to read L-Vars

virtuali:

--- Quote from: torsten on January 04, 2019, 05:20:06 pm ---i want to read the content of the GSX Window and display that in my FMC.
--- End quote ---

Ok, I think there's some confusion here, because you first referred to the "GSX Message Text in the green line", now you say the "GSX Window". Both use Simconnect (no hacking or undocumented calls), but they are two different things.

I'm not fully sure how FSUIPC works but, if I understand correctly, the offset 3380 is used to write something using FSUIPC to that line, and eventually read back what you (or another addon that used FSUIPC ) wrote with FSUIPC later on so, it might not work with standard Simconnect applications, but I might be wrong, since I never used FSUIPC.

There's no way to share full strings using L: vars, so we might have to come up with something entirely different, like Simconnect custom API.

Ebertr:
Catch the GSX menue with a LUA script and write it to a file. I use the vb.net filesystemwatcher to get triggered if the file content changes. Then I read the file and perform accordingly via the FSUIPC Client DLL for .NET, by Paul Henty. This is not very straight forward, but the only possibilty I see for a 'full' integration' of GSX into a flight deck environment. With adapted timing the GSX menus appear not longer than the blink of an eye. I control the complete boarding process in this way, based on the flight plan depature time (Simbrief, data.xml). Catering, boarding process, etc. are triggered in a timely manner, with the goal that the aircraft can block-off on-time. Number of passengers, boarding via jetway / apron position, deicing (if required), and more are taken into account.

Ruediger

Navigation

[0] Message Index

[#] Next page

Go to full version