Jump to content
The simFlight Network Forums
Sign in to follow this  
Gypsy Baron

FSX message buffer(s)?

Recommended Posts

Hello Pete,

I am wondering if there are user-readable offsets where FSX places the tsxt for the messages

that are displayed to the user...namely the messages in Multiplayer such as "XXX has joined the game",

"yyy has left the game", "Aircraft xxx substuted by Aircraft yyyy".

These messages are extremely difficult to read unless you happen to be running the display at 1024x768

as they are the red-text-on green-background type.

I used the "WhiteMessages=Yes" in the FSUIPC4.ini file and that works fine for the ATIS broadcasts

and my Lua display messages but that does not affect the 'comings and goings' messages.

I have observed, and written to, offset 0x3380 and these messages come out OK but that is not

the buffer used by the messages I wish to access.

What I want to do is grab the text in the 'comings and goings' buffer and re-write it to my

Lua window, which is very readable.

Any clues as to where that buffer might be? I assume the messages are sent via simconnect

but I have zero experience in that realm.

I find it interesting that the ATIS red-on-green messages are now white-on-green with the ini file

line added but the messages I am after are not affected by that fix.

Any clues/help would be appreciated.

Paul

Share this post


Link to post
Share on other sites

I am wondering if there are user-readable offsets where FSX places the tsxt for the messages

that are displayed to the user...namely the messages in Multiplayer such as "XXX has joined the game",

"yyy has left the game", "Aircraft xxx substuted by Aircraft yyyy".

I've never found them -- not that i looked for those specifically, but I most certainly wanted to intercept the ATC messages.

Any clues as to where that buffer might be? I assume the messages are sent via simconnect

but I have zero experience in that realm.

Why would messages internal to FS be sent via SimConnect? SimConnect is an interface for add-ons.

If you ever find a way to get to these messages, do let me know, please!

Regards

Pete

Share this post


Link to post
Share on other sites

Why would messages internal to FS be sent via SimConnect? SimConnect is an interface for add-ons.

I see the message content coming in from the Server in a particular packet using Ethersnoop.exe

so I assumed that SimConnect would be involved in the MultiPlayer Server-Client configuration.

I couldn't find anything identifiable in the simconnect.log file however.

I'll continue to dig around and let you know if I discover anything of use.

Paul

Share this post


Link to post
Share on other sites

I see the message content coming in from the Server in a particular packet using Ethersnoop.exe

so I assumed that SimConnect would be involved in the MultiPlayer Server-Client configuration.

Multiplayer facilities were incorporated into FS before SimConnect was thought of. I don't know of any MP facilities in SimConnect. All the SimConnect client/server activities are related to getting inforation to applications and events back. It's a different interface altogether.

Regards

Pete

Share this post


Link to post
Share on other sites

Multiplayer facilities were incorporated into FS before SimConnect was thought of. I don't know of any MP facilities in SimConnect. All the SimConnect client/server activities are related to getting inforation to applications and events back. It's a different interface altogether.

Regards

Pete

Hummm...over at FSDeveloper, in the SimConnect forum, I see a good number of threads dealing with communicating to

a multiplayer server via sinconnect. Not having an SDK covering the FSX version of multiplayer seems to cause a lot of

difficulty, from what I read there, but the threads definitely indicate that simconnect is used to create objects in the

multiplayer server as well as remove them.

Paul

Share this post


Link to post
Share on other sites

threads definitely indicate that simconnect is used to create objects in the multiplayer server as well as remove them.

Yes, of course. Same as Ultimate Traffic 2 using SimConnect to create AI Traffic and GSX to create ground traffic. That's not a specific Multiplayer facility, it's an AI object interface. FSUIPC uses the same interface to get information on objects for TCAS tracking and to remove certain airport vehicles when AES is active.

If you want information on AI aircraft you can get that from SimConnect, or via FSUIPC if you like. If that's the only information you need t could use something ready-made like Super TrafficBoard, or evben my own freeware TrafficLook.

Pete

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.