TazX Posted April 22, 2020 Report Share Posted April 22, 2020 Hi there, Just updated and moved from P3Dv4/ FSUIPC5 to P3Dv5/ FSUIPC6. I had a Lua script working in FSUIPC5 with the objective to read SimConnect Text from ActiveSky, ProATC, SODE, etc. using 'event.textmenu'. Somehow, that script does not want to work in v5 and although I've tried to find a reason for the past 24h I could not understand what's going on. Some info on my side: P3Dv5 Academic FSUIPC6 REGISTERED Installed in the Documents/Prepar3D v5 Add-ons directory For testing purposes, I have made my self a very simple version of this script: function textandmenu(mtype, colour, scroll, delay, id, n, msgs) ipc.log("I'M IN ...") end ipc.log("Initializing ...") event.textmenu(0, "textandmenu") As you can see in the Log file attached, FSUIPC is waiting for an event: LUA.0: Waiting for an event in "C:\Users\xxx\Documents\Prepar3D v5 Add-ons\FSUIPC6\textmenu.lua" I use SODE add-on to show a test message in the green bar which should trigger the event (it did in v4); but it doesn't. I am attaching the .ini, .log and .lua files for your consideration. Anything else you might need, please do not hesitate in letting me know. Thank you. Best, Juan FSUIPC6.ini FSUIPC6.log textmenu.lua Link to comment Share on other sites More sharing options...
Pete Dowson Posted April 22, 2020 Report Share Posted April 22, 2020 We have already received reports that the SimConnect Text facilities used to obtain the texts for SimConnect windows and menus are broken. I will be testing this today and reporting the details to L-M in their developers forum. It would be a good idea if you could add your complaint to L-M as well. I think you'll find a thread there for this already. Pete Link to comment Share on other sites More sharing options...
TazX Posted April 22, 2020 Author Report Share Posted April 22, 2020 Will do! Thanks Pete. Link to comment Share on other sites More sharing options...
Pete Dowson Posted April 22, 2020 Report Share Posted April 22, 2020 1 hour ago, Pete Dowson said: I think you'll find a thread there for this already. Actually, there isn't (yet). The other user, 737-SimGuy, said he was going to, but apparently hasn't yet. I have now verified that P3Dv5 currently does not invoke the events it should be doing for SimConnect Texts and Menus and have posted a suitable bug report in the developers forum. Pete Link to comment Share on other sites More sharing options...
TazX Posted April 22, 2020 Author Report Share Posted April 22, 2020 I think he actually did!! And I followed up as you suggested 😉 https://prepar3d.com/forum/viewtopic.php?f=6311&t=137185 Thanks Pete. Link to comment Share on other sites More sharing options...
Pete Dowson Posted April 22, 2020 Report Share Posted April 22, 2020 33 minutes ago, TazX said: I think he actually did!! And I followed up as you suggested 😉 https://prepar3d.com/forum/viewtopic.php?f=6311&t=137185 Ah, in the Software Development Kit (SDK) Questions area. I didn't think of looking there. I checked the main forums and the SimConnect specific one. Let's hope for a HotFix soon with L-M taking note of these things. Pete Link to comment Share on other sites More sharing options...
TazX Posted April 22, 2020 Author Report Share Posted April 22, 2020 Yup, looking forward to that HF! Thanks again Pete. Link to comment Share on other sites More sharing options...
Pete Dowson Posted April 22, 2020 Report Share Posted April 22, 2020 The problem has gained L-M attention, both in the SDK forum and in the Developer's forum, so I expect we'll see results in due course! Pete Link to comment Share on other sites More sharing options...
TazX Posted April 23, 2020 Author Report Share Posted April 23, 2020 Great, thank you Pete! Link to comment Share on other sites More sharing options...
Pete Dowson Posted April 25, 2020 Report Share Posted April 25, 2020 We've locate the problem. It's our code, not P3Dv5. It was all to do with Version Checking. The Text events weren't supported till P3Dv4.2 (for creation) and 4.3 (for destruction0, and we had on tidy snippet of code using just the subversion, so P3Dv5 looked like 4.0!! Duh! This is one of the troubles with trying to support multiple versions when facilities being used change. I wish sometimes we could force all users to keep their sim software up to date! I expect John will include the fix in the next version of FSUIPC6. Pete Link to comment Share on other sites More sharing options...
TazX Posted April 25, 2020 Author Report Share Posted April 25, 2020 Great news Pete. Thank you so much! Link to comment Share on other sites More sharing options...
John Dowson Posted April 28, 2020 Report Share Posted April 28, 2020 Hola Juan, could you try the attached dll please: FSUIPC6.dll Saludos, John Link to comment Share on other sites More sharing options...
TazX Posted April 28, 2020 Author Report Share Posted April 28, 2020 (edited) Hey John, Sure, give me a couple of minutes and I'll let you know how it goes. Thanks! Juan EDIT: It was faster than expected. Textmenu is working GREAT again! Thank you so much! Edited April 28, 2020 by TazX Test Update Link to comment Share on other sites More sharing options...
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