Jump to content
The simFlight Network Forums

Sabrefly

Members
  • Posts

    142
  • Joined

  • Last visited

Everything posted by Sabrefly

  1. Sorry, I may have made a wrong observation and inference, but the error may have been elsewhere in the lua. For example, how could I definitely say "when the limit (40 characters) is reached"? I better be more humble putting in words what I think my eyes see. Please disregard my blabber and see into the lua when you have a moment. My pictures will talk better I guess. Thanks, Igor.
  2. Apologies and thanks are all mine. This is what I get now: The lines get doubled, but the text does not get moved to the next line when the limit (40 characters) is reached. Thanks so much, Igor.
  3. This is what I get with the LUA below: The message line (in FSX Text window) still gets cut off with the above settings in the lua. I changed x=40 (from 80) - but it had no effect on anything. Thanks, Igor.
  4. I think it came from LINDA, I have linda's lua display visible OK on my single monitor, but the values in Docked=7347, 2457, 3571, 2548 should have moved it way out of the display. Thanks, Dirk.
  5. No, PRO-ATC X is the problem, GSX messages are short. Sorry, by code above I meant this lua: Thanks! Igor.
  6. Pete, when you have a minute, please look into the code above. I need messages to scroll down instead of disappearing beyond the right frame of the window. Thanks, Igor. PS: the code works OK, but the text does not scroll down, it just goes away beyond the right border of the window
  7. Sorry, but I couldn't find any relevant FIND hits in FSUIPC documents. In my FSUIPC.ini that is quite old I found this section: I have no idea when and how it got there. Also, when I change all the numbers to 0's, it does not affect anything and more so when I exit P3D all values restore to the original values as per above. Please explain. Thanks, Igor.
  8. Hello, Just came back from a trip. P3Dv3.4.918400 + WideClients + 4.959m work ok now. P3Dv3.4.18.19475 + WideClients + 4.959m seem to work ok, testing. Thanks, Dirk.
  9. Right, just my point was FSUIPCv4.958 worked fine, FSUIPCv4.959 did not even BEFORE P3D changes (older clients). So there must be something in FSUIPCv4.959 and not in P3D to isolate.
  10. For what it matters I'd like to add to this thread that my problems with FSUIPCv4.959 start even BEFORE I install P3Dv3.4.18.19475 client! My WideClient(s) v6.999z2, that work normal with FSUIPCv4.958, stop seeing Server (P3Dv3.4.918400 Client, not a full install) soon as I install FSUIPCv4.959. While simconnected AS16 works just fine. Thanks, Igor. PS: and yes, FSUIPC4.959e crashes everything (P3Dv3.4.18.19475 and P3Dv3.4.918400) all the same ))
  11. Yes, Pete, exactly my case: Win10 x64, LINDA, monitor lua. To some reason I'm more concerned that my v6.999z2 WideClient(s) work fine with FSUIPC v4.958 but can't see FSUIPC v4.959 when P3Dv3.4.918400 or P3Dv3.4.18.19475 clients. Please note that all lua(s) on WideClient(s) are desabled (*.off) Is this the link that you mentioned: Thanks,
  12. PS: While Simconnect-driven AS16 runs OK with P3Dv3.4.91840 from a client PC, while v6.999z2 Clients can't connect to FSUIPCv4.959 server....
  13. Hello! What is going so wrong here with the latest updates? My P3Dv3.4.918400 works totally fine with FSUIPCv4.958 and WideClient.exe v6.999z2 on multiple client pcs. Soon as I update FSUIPC to v4.959 on my main machine WideClient.exe v6.999z2 on the clients stop finding server. Soon as I update FSUIPC to v4.959e then my P3Dv3.4.918400 STOPS LOADING!! (black screen, EZDOK loads only, when I hit ESC P3D's UI comes up - Continue, Load Scenario etc.) Tried to update P3D Client (only) to 3.4.18.19475 - same story. Please help. Thanks, Dirk. PS: (I keep my Acronis previous backups, so no problem rolling back any time)
  14. If you have odd problems with USB in Win10 please let me know, in my case there were around 17 USB devices connected to the Server. It took me a few days to find the solution on the internet.

    Igor.

    PS: When you get your Win10 copy I'd still recommend you to install from scratch with this video. Win10's user tracking can get nasty if you don't strangle it right off the bat. I also very much depend on Acronis images, which makes my MSFS/P3D building and research much easier.

     

    1. Sabrefly

      Sabrefly

      After you install the OS and check your hardware connects and works OK please let me know and I'll send you a few important tweaks for P3D I gleaned from Steve and Rob on avsim. We have similar CPU/CHIPSET/MOBO/RAM and VIDEO in general I've spent a lot of time on tweaking and I'm very happy with my current hardware performance. Perhaps happy first time in 15 years of MSFS.

  15. What is your cooler? Mine is Corsair 110i, it keeps temps below 70 @4.6GHz at extreme loads which is absolutely safe for this generation of CPU. Yes I overclocked it myself, same Z170 chipset on ASRock mobo, I believe it's ASUS derivative. Thanks, Igor. PS: Anniversary Update: http://www.howtogeek.com/248177/whats-new-in-windows-10s-anniversary-update/ https://support.microsoft.com/en-us/help/12387/windows-10-update-history
  16. For P3D/FSX-SE I use 1xWin10 Pro (Server) with 2xWinXp Clients and 1xWin7x64 Client (with ASN earlier, now AS2016). I can clearly remember that setting up to connect ASN from Win7x64 (Simconnect!) took UNUSUAL amount of time and I did it too many times before to know better. Was it tinkering with Windows Firewall? I can't remember now. In any case I would suggest you to upgrade to Wn10 Anniversary first. Also my Win10 is Pro version, but it should not make any difference in this case, but you might want to try it (Anniversary update). Otherwise I could roll back to vanila P3Dv3.2 with Acronis and try to repeat the process if you're interested. Thanks, Igor. PS: I'm really happy with my 'barebone' Win10x64 performance, thanks to my friend at DCS who insisted I upgraded to Win10 rather than going back to Win7 end of last year when I upgraded my hardware. I'm on i7 6700k @4.6Ghz 8Gb x 3000Mhz RAM, TitanX
  17. I had the same problem trying to connect ASNEXT on Win7 Client to Win10 Main PC. It took me going through all HiFi's suggestions, a lot of reboots including router, but eventually it worked. I think I put down my notes on how I did it. Igor.
  18. And I'm on Windows 10 Anniversary now, SpybotAntiBeacon is essential. Thanks, Igor.
  19. I'm happy with what I've got already, thank you SO MUCH! Windows10 works perfect here, but I use these as initial guide lines (particularly #1 video): FSX-SE and P3D work perfect with Win10 to my taste Thanks, Igor.
  20. colours = { 0x000, 0xfff, 0xf00, 0x0f0, 0x00f, 0xff0, 0xf0f, 0x0ff } doshow = 1 shown = 2 textset = false menuset = false time2 = 0 time3 = 0 timeclear2 = 0 timeclear3 = 0 w1 = wnd.open("Radar Contact", WND_FIXED, 0,0,1024,768) wnd.backcol(w1, 0x000) wnd.textcol(w1, 0x0f0) wnd.font(w1, WND_ARIAL, 24, WND_BOLD) w2 = wnd.open("FSX Text", WND_FIXED, 0,0,1024,100) wnd.backcol(w2, 0xfff) wnd.textcol(w2, 0x000) wnd.font(w2, WND_ARIAL, 10, WND_BOLD) w3 = wnd.open("FSX Menu", WND_FIXED, 0,100,1024,668) wnd.backcol(w3, 0x88f) wnd.textcol(w3, 0x000) wnd.font(w3, WND_ARIAL, 17, WND_BOLD) ext.state("FSX Menu", EXT_HIDE) ext.state("FSX Text", EXT_HIDE) ext.state("Radar Contact", EXT_NRML) w1text = ipc.readSTR(0x3380,128) ipc.log(w1text) wnd.text(w1, w1text) local function testifclear() doshow = 1 if menuset or textset then doshow = 2 end if doshow ~= shown then if doshow == 1 then ext.state("FSX Text", EXT_HIDE) ext.state("FSX Menu", EXT_HIDE) ext.state("Radar Contact", EXT_NRML) wnd.clear(w1) wnd.text(w1, w1text) ipc.log("Showing RC") else ext.state("Radar Contact", EXT_HIDE) ext.state("FSX Text", EXT_NRML) ext.state("FSX Menu", EXT_NRML) ipc.log("Showing FSX Menus") end shown = doshow end end local function clearw2() wnd.clear(w2) textset = false testifclear() end function clearw3() wnd.clear(w3) menuset = false testifclear() end function textandmenu(mtype, colour, scroll, delay, id, n, msgs) doshow = 1 if mtype == 2 then -- Menu time3 = 0 if n == 0 then wnd.clear(w3) menuset = false testifclear() else menuset = true testifclear() wnd.clear(w3) wnd.text(w3, " " .. msgs[1]) wnd.text(w3, " ") wnd.text(w3, " " .. msgs[2]) wnd.text(w3, " ") i = 3 j = 1 while i <= n do wnd.text(w3, " " .. j .. " - " .. msgs) i = i + 1 j = j + 1 if (j > 9) then j = 0 end end if delay ~= 0 then timeclear3 = delay * 1000 time3 = ipc.elapsedtime() end end else -- Text time2 = 0 if n == 0 then wnd.clear(w2) textset = false testifclear() else textset = true testifclear() wnd.textcol(w2, colours[colour+1]) wnd.backcol(w2, logic.Xor(colours[colour+1], 0xfff)) x = 80 --my example of how many characters you want, max mycopy = msgs[1] --make a copy for me to use len = string.len(mycopy) if len > x then --need to split mycopy = string.sub(mycopy,1,x) .. "\r" .. string.sub(mycopy, x+1) end wnd.text(w2, n, mycopy) if delay then timeclear2 = delay * 1000 time2 = ipc.elapsedtime() end end end end ctr = 0 function time() ctr = ctr + 1 val = ipc.elapsedtime() if time2 ~= 0 and ((val - time2) > timeclear2) then clearw2() time2 = 0 end if time3 ~= 0 and ((val - time3) > timeclear3) then clearw3() time3 = 0 end if (ctr <= 2) then ipc.togglebitsUW(0x32FA,0xffff) elseif (ctr > 10) then ctr = 0 end end function update1(off, val) w1text = ipc.readSTR(0x3380,128) wnd.clear(w1) wnd.text(w1, w1text) end event.textmenu(0, "textandmenu") event.offset(0x3380, "STR", "update1") event.offset(0x32FA, "UW", "update1") event.timer(500, "time") testifclear()
  21. Done. Same result, no text visible, windows and menus OK, same log. ********* LUA: "textmenu" Log [from WideClient] ********* Date (dmy): 16/11/16, Time 00:24:55.968: Client name is LENA 5437 LUA: beginning "C:\MSFS\WideClient\textmenu.lua" 5500 LUA: 5625 LUA: Showing RC 35000 LUA: Showing FSX Menus 139531 LUA: ended "C:\MSFS\WideClient\textmenu.lua" ********* LUA execution terminated: Log Closed ********* Please take your time, no worries. Many thanks, Igor.
  22. colours = { 0x000, 0xfff, 0xf00, 0x0f0, 0x00f, 0xff0, 0xf0f, 0x0ff } doshow = 1 shown = 2 textset = false menuset = false time2 = 0 time3 = 0 timeclear2 = 0 timeclear3 = 0 w1 = wnd.open("Radar Contact", WND_FIXED, 0,0,1024,768) wnd.backcol(w1, 0x000) wnd.textcol(w1, 0x0f0) wnd.font(w1, WND_ARIAL, 24, WND_BOLD) w2 = wnd.open("FSX Text", WND_FIXED, 0,0,1024,100) wnd.backcol(w2, 0xfff) wnd.textcol(w2, 0x000) wnd.font(w2, WND_ARIAL, 10, WND_BOLD) w3 = wnd.open("FSX Menu", WND_FIXED, 0,100,1024,668) wnd.backcol(w3, 0x88f) wnd.textcol(w3, 0x000) wnd.font(w3, WND_ARIAL, 17, WND_BOLD) ext.state("FSX Menu", EXT_HIDE) ext.state("FSX Text", EXT_HIDE) ext.state("Radar Contact", EXT_NRML) w1text = ipc.readSTR(0x3380,128) ipc.log(w1text) wnd.text(w1, w1text) local function testifclear() doshow = 1 if menuset or textset then doshow = 2 end if doshow ~= shown then if doshow == 1 then ext.state("FSX Text", EXT_HIDE) ext.state("FSX Menu", EXT_HIDE) ext.state("Radar Contact", EXT_NRML) wnd.clear(w1) wnd.text(w1, w1text) ipc.log("Showing RC") else ext.state("Radar Contact", EXT_HIDE) ext.state("FSX Text", EXT_NRML) ext.state("FSX Menu", EXT_NRML) ipc.log("Showing FSX Menus") end shown = doshow end end local function clearw2() wnd.clear(w2) textset = false testifclear() end function clearw3() wnd.clear(w3) menuset = false testifclear() end function textandmenu(mtype, colour, scroll, delay, id, n, msgs) doshow = 1 if mtype == 2 then -- Menu time3 = 0 if n == 0 then wnd.clear(w3) menuset = false testifclear() else menuset = true testifclear() wnd.clear(w3) wnd.text(w3, " " .. msgs[1]) wnd.text(w3, " ") wnd.text(w3, " " .. msgs[2]) wnd.text(w3, " ") i = 3 j = 1 while i <= n do wnd.text(w3, " " .. j .. " - " .. msgs[i]) i = i + 1 j = j + 1 if (j > 9) then j = 0 end end if delay ~= 0 then timeclear3 = delay * 1000 time3 = ipc.elapsedtime() end end else -- Text time2 = 0 if n == 0 then wnd.clear(w2) textset = false testifclear() else textset = true testifclear() wnd.textcol(w2, colours[colour+1]) wnd.backcol(w2, logic.Xor(colours[colour+1], 0xfff)) x = 80 --my example of how many characters you want, max mycopy = msgs[1] --make a copy for me to use len = string.len(mycopy) if len > x then --need to split mycopy = string.sub(mycopy,1,x) .. '\r' .. string.sub(mycopy, x+1) end wnd.text(w2, n, mycopy) if delay then timeclear2 = delay * 1000 time2 = ipc.elapsedtime() end end end end ctr = 0 function time() ctr = ctr + 1 val = ipc.elapsedtime() if time2 ~= 0 and ((val - time2) > timeclear2) then clearw2() time2 = 0 end if time3 ~= 0 and ((val - time3) > timeclear3) then clearw3() time3 = 0 end if (ctr <= 2) then ipc.togglebitsUW(0x32FA,0xffff) elseif (ctr > 10) then ctr = 0 end end function update1(off, val) w1text = ipc.readSTR(0x3380,128) wnd.clear(w1) wnd.text(w1, w1text) end event.textmenu(0, "textandmenu") event.offset(0x3380, "STR", "update1") event.offset(0x32FA, "UW", "update1") event.timer(500, "time") testifclear() Thanks, Igor
  23. Sorry again, this is the log: ********* LUA: "textmenu" Log [from WideClient] ********* Date (dmy): 15/11/16, Time 20:15:47.218: Client name is LENA 5719 LUA: beginning "C:\MSFS\WideClient\textmenu.lua" 5812 LUA: 5937 LUA: Showing RC 18453 LUA: Showing FSX Menus 47875 LUA: ended "C:\MSFS\WideClient\textmenu.lua" ********* LUA execution terminated: Log Closed ********* ********* LUA: "textmenu" Log [from WideClient] ********* Date (dmy): 15/11/16, Time 20:17:30.171: Client name is LENA 5719 LUA: beginning "C:\MSFS\WideClient\textmenu.lua" 5812 LUA: 5937 LUA: Showing RC 20719 LUA: Showing FSX Menus 45156 LUA: ended "C:\MSFS\WideClient\textmenu.lua" ********* LUA execution terminated: Log Closed ********* ********* LUA: "textmenu" Log [from WideClient] ********* Date (dmy): 15/11/16, Time 20:26:30.500: Client name is LENA 9797 LUA: beginning "C:\MSFS\WideClient\textmenu.lua" 9812 LUA: 9828 LUA: Showing RC 44281 LUA: Showing FSX Menus 93875 LUA: Showing RC 96953 LUA: Showing FSX Menus 103391 LUA: Showing RC 107000 LUA: Showing FSX Menus 113391 LUA: Showing RC 117047 LUA: Showing FSX Menus 124891 LUA: Showing RC 127094 LUA: Showing FSX Menus 133406 LUA: Showing RC 137141 LUA: Showing FSX Menus 143391 LUA: Showing RC 147156 LUA: Showing FSX Menus 297047 LUA: ended "C:\MSFS\WideClient\textmenu.lua" ********* LUA execution terminated: Log Closed ********* (the bottom part of it) Thanks, Igor. PS: Another one I did just a minute ago: ********* LUA: "textmenu" Log [from WideClient] ********* Date (dmy): 16/11/16, Time 00:08:18.937: Client name is LENA 5422 LUA: beginning "C:\MSFS\WideClient\textmenu.lua" 5485 LUA: 5610 LUA: Showing RC 17485 LUA: Showing FSX Menus 110188 LUA: ended "C:\MSFS\WideClient\textmenu.lua" ********* LUA execution terminated: Log Closed *********
×
×
  • 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.