Masterius Posted February 24, 2021 Report Posted February 24, 2021 (edited) P3Dv5 (5.1.12.26829) LINDA3.2.6.1111 FSUIPC 6.0.12 Starting yesterday, I've started getting a cyclical message popping up in a window. It's a SimConnect Window, stating that "VAS=0". I've disabled all my addons, and restarted using just the stock, default-provided aircraft. I do not get that message until I've re-enabled FSUIPC6. No other addon triggers the message window. Checking the FSUIPC6.log does not show any errors. I've been running the same conditions for weeks now without problems of this sort, and am clueless as to why this has suddenly started. Also have noted that moving about in the FSUIPC6 menu is now very slow, often requiring several clicks on a tab before it takes. Update#2: Discovered the source of the problem Edited February 24, 2021 by Masterius added additional information
John Dowson Posted February 25, 2021 Report Posted February 25, 2021 12 hours ago, Masterius said: Update#2: Discovered the source of the problem What was it?
Masterius Posted February 25, 2021 Author Report Posted February 25, 2021 9 hours ago, John Dowson said: What was it? There was a lua script that I hadn't been using since I'd switched from FSX to P3Dv5. It had been located in the directory--and thus listed in fsuipc6.ini under [LuaFiles]--since the changeover, but due to mission requirements (basically I'll be using it this weekend to operate our Norden bombsight) I'd updated the [Auto] to have it autoload. The lua script in question contained the following: function VAS(control, vas) vas_in = ipc.readUD(0x024C) ipc.writeLvar("L:VAS", vas_in) if vas_in < 500000 then ipc.display("VAS = "..vas_in,2) end end as well as: event.offset(0x024C,"UW","VAS") event.timer(4000,"Calc_Track") event.timer(10000,"VAS") It would appear that the offset 024C is specific to FSX only, which was causing the problem.
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