Jump to content
The simFlight Network Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Bryn

  • Rank
    Advanced Member
  • Birthday 12/30/1977

Contact Methods

  • Website URL

Profile Information

  • Gender
    Not Telling
  • Location
    Dar es Salaam, Tanzania

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks again Pete. I've tested it throughout the day today, and there haven't been any instances of focus stealing. Cheers - I really appreciate your time. Bryn.
  2. Thanks Pete. After a couple of minutes of testing, it appears the simpler text display doesn't cause the behaviour. It's not as pretty, but it does the job, so I'm very happy. I'll put it through a full flight test tomorrow, and confirm the result tomorrow night. Thanks very much. Bryn.
  3. The first post in the thread explains the original problem I was having. This is not a long thread, and the other two posts are basically shoulder shrugs. A difference from the first post that I should have mentioned is that I have updated to version 4.3. I should also have added that I am now using FSUIPC 5.141e. Ctrl F10 is the key sequence I created in FSUIPC to trigger the lua action (though any key sequence would do). The lua file is the standard log lvars.lua, but could be any lua file. When the simconnect window opens, the behaviour begins for about 3 seconds, and then when the simconnect window closes, it begins again for about 3 seconds. When FSUIPC runs these lua files, I get the behaviour I have described, and which I show in the YouTube link. The problem is that P3D steals focus erratically whenever I trigger a lua script that calls ipc.display(). It doesn't steal focus once, it steals focus repeatedly for about 2 to 3 seconds. If I try to focus on any other window during those 2 to 3 seconds, P3D steals the focus again. It's as if a focus call is being repeated for those three seconds. Bryn.
  4. Hi, I'm still getting this problem with lua and ipc.display(). I was hoping FSUIPC would just 'grow out of it' on my computer, but it persists. I can't see anything in the log that would explain why this is happening. Here I've posted a video of what happens when I load the log lvars.lua using Ctrl_F10. When the lua script ends and the simconnect window closes, the same behaviour repeats. I am in fullscreen, so I've pressed the left windows key to bring up the taskbar to show what is happening there after I load the script. If another window is in focus when the script is loaded, the prepar3d window steals the focus. video of the effect (YouTube)
  5. Thanks - I feared you would say that. I'll search on. It turns out not to be ipc.display that causes the problem, but it seems any lua file triggered causes the behaviour.
  6. Hi, I'm using FSUIPC 5.131a on Prepar3d v4.2. Lately, I've noticed that whenever I execute ipc.display() from a lua file, the window title on the taskbar flashes (very fast and repetitively, like it would if I created an ahk file with a loop of 'activate window' commands), trying to draw the window focus back to P3D. This doesn't seem to happen if I send the message through 0x3380. Here is a simple lua I'm triggering at the moment (via 0x0D70 normally, but I've also tested it through the key assignments tab of FSUIPC): ipc.display("OEMA 211700Z 31013KT 9999 SCT045 SCT100 42/M06 Q1010 NOSIG\n\nSTAND: GATE 132\n| DEP:0 ARR:0 | ") ipc.sleep(30000) This is a minor nuisance, as it will draw the focus back to P3D when I might be trying to type in the vPilot window, or checking a chart. Is it a bug, or just me? Cheers, Bryn.
  7. I've been having a similar problem with 5.123c - I can't access the FSUIPC menu.
  8. Pete, Thank you for such a detailed response. Using the event system was new to me. I tried it, and it worked well, eliminating the stutter. The empty file was causing a stutter on subsequent loads, and caching is on. I had tried setting my LuaAffinityMask away from processor 0 (which consistently runs at 100% when P3D is running). Perhaps it was a windows defender or virus protection issue. But not to worry - the event system worked; I learnt something new; and I have ideas about different implementations for other things I have as well now! :) Thanks very much, Bryn.
  9. Hi. Whenever I trigger a lua file, I get a small pause in the sim - maybe about half a second. This happens even if the lua file is precompiled. I am using: UpdatedByVersion=5121b FSVersionUsed="Lockheed Martin® Prepar3D® v4", SimConnectUsed= The size of the lua file doesn't matter. Even an empty file will give a short stutter. My FSUIPC5.ini is attached. Grateful for any thoughts or suggestions. Cheers, Bryn. FSUIPC5.ini
  10. Malwarebytes is blocking s411728.somee.com whenever TOPER is opened. Not a good look. Is TOPER using a server that malwarebytes considers high risk? Bryn
  11. Thanks Pete. Sorry, I mean't fsuipc.ini. My version is 4.959. Adding a zero to the end of my string seems to have fixed the problem. The program is not writing [Window] entries every time I write to 3380/32FA now. It still writes a [Window] entry on the first write to 3380, though. (3380, not 6D60). Bryn.
  12. Hi, I decided it would be neat to rename the message window for each flight, so I set 0x6D60 once at the start of the flight to be something corny like "ATTN: EIN203 EI-CVB" and then send messages the standard way through 0x3380. However, now whenever a message is sent, a line is added to my fsuipc.cfg each time the message is sent to 0x3380. [Window.ATTN: EIN203 EI-CVB] !1=] Docked=0, 0, 0, 0 [Window.ATTN: EIN203 EI-CVB] !2=] Docked=0, 0, 0, 0 [Window.ATTN: EIN203 EI-CVB] !3=] Docked=0, 0, 0, 0 [Window.ATTN: EIN203 EI-CVB] !4=] Docked=0, 0, 0, 0 etc... etc... etc... Is this a feature, or something I'm setting incorrectly somewhere? My fsuipc.cfg consequently gets quite large after a few flights, because I send stacks of msgs to the window. Thanks very much, Bryn.
  13. Hi, I have a small lua file that I assign to my hat switch, so that it sets the zoom based on the view I'm using: z = ipc.readUB("8320") if z == 1 then ipc.control(65701, 33) end It fires continuously whenever the hatswitch is being used. This all worked fine in Windows 7. However, in Windows 10, this is causing 3-4 second long pauses whenever I trigger it while using Level-D 767, Eaglesoft Citation and the Digital Aviation Fokker. Other aircraft are ok so far (PMDG, Wilco, Feelthere). Any thoughts?
  14. Thanks Pete. As usual, it's all my own fault. For some reason (which doesn't look to have been terribly sensible), I had these lines in the fsuipc.ini: LogLua=No DebugLua=Yes Removing them stopped the logging. Cheers, Bryn.
  • 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.