Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello, I use A Pilot's life v2 and arming the spoiler is very important part of the grading system. From my understanding, A Pilots Life reads the values sent to FSUIPC. I flown two flight so far, and both fail to detect spoilers being armed. I have the latest update installed for FSUIPC, TFDI, and A pilot's Life. Please help!

Posted

Is APLv2 using offset 0x0BCC to detect if the spoilers are armed or not? Can you try logging that offset (Log->Offsets. as U32) to see if the value in that offset changes to 1 when armed.
If not, then that will be the issue. You would need to determine what is holding the spoilers armed state if it is not the simvar SPOILERS ARMED, and add that to a spare offset and then spoof the reading from offset 0x0BCC to the new offset. I can help with this if needed.

First, log offset 0x0BCC and see if it changes or not. If it changes, then you need to contact support for APL.
If it doesn't, then look at the available lvars to see if any of them look appropriate (Add-ons->WASM->List Lvars), and if so check the value (i.e. arm/disarm and see if the value changes)
If you find an lvar that holds this state, you can then add that to a spare/free FSUIPC offset - to do this, see the Advanced User guide, section Adding Lvars to Offsets on page 47.
Once it is in an offset, you can then write a lua script (which should be auto-ran in your MD-11 profile) to spoof offset 0x0BCC to the one holding the actual armed value, via writing to offset 0x0024, There is a sample script provided that shows how to do this (liar.lua), which you can use and modify for your own needs.

John

 

 

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.