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
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now