Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Dear Pete,

im very frustate because i cannot find the appropriate offset to unknows values.

I need to know the offset from a command list that my firend give me for the maddog (in attach).

If you assign these values with a normal assigned button work fine and well, but for another application i need to know the offset and not value.

there is a way to convert the value in offset?

Hope you understand what i want.

Thanks,

Simone

Maddog_commands.txt

Posted

If you assign these values with a normal assigned button work fine and well, but for another application i need to know the offset and not value.

there is a way to convert the value in offset?

No. Commands are just that, commands sent to FS via Windows "WM_COMMAND" messages, which is what FSUIPC will do when you assign them. FSUIPC offsets are values in memory representing assorted quantities stored inside FS. You are mixing the two, which isn't logical.

If these commands are specific to a particular add-on aircraft they are processed by code inside the add-on itself. FS won't know anything about them or whatever data they might manipulate, if any. And don't forget, actions, like switch changes, do not necessarily represent any data whatsoever.

There is an offset provided by FSUIPC which you can use to send any FS command, along with a parameter if one is needed. That is 3110. Check it in the offsets table. That's about as close as you could get to driving commands via offsets.

Regards

Pete

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.