dazzz Posted April 1, 2015 Report Posted April 1, 2015 Hi Pete I need to read the flight number through an lua scipt, but it's not working as i expected, can you help me out with it? I got this: flightnumber = ipc.readUD(0x3130) Thanks
Pete Dowson Posted April 1, 2015 Report Posted April 1, 2015 I need to read the flight number through an lua scipt, but it's not working as i expected, can you help me out with it? I got this: flightnumber = ipc.readUD(0x3130) You are reading an Unsigned DWORD (32-bit integer). If you actually refer to the Offsets list, as of course you should, you will see that it is a character string, not a binary number! After all it may also contain the airline prefix which is not numerical. Please do use the documentation supplied. Pete
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now