earthdog
Members-
Posts
30 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by earthdog
-
Is there a way to reload myevents.txt without exiting the app? I tried from Addons->WASM-> Reload but doesn;t do the trick.
-
Assign aircraft variable to LVAR and attach to a button
earthdog replied to earthdog's topic in FSUIPC7 MSFS
It worked by using myevents.txt, thanks. -
Hi I need to assign current aircraft pitch to an LVAR and make that run when i press a button. The assignment is: (A:PLANE PITCH DEGREES, degrees) (>L:var_AP_PitchKnob, number) Can anyone guide me how to do it?
-
Sending keystrokes to MSFS without window focus
earthdog replied to earthdog's topic in FSUIPC Client DLL for .NET
Meaning that i can get the window that has the focus before send the key and return there? In an effort for the user no to be disrupted somehow? -
Sending keystrokes to MSFS without window focus
earthdog replied to earthdog's topic in FSUIPC Client DLL for .NET
I will try what you propose and let you know. I also read somewhere that i may have to get hold of a child window to get the appropriate handle and not the parent MSFS window. On the other hand SendKeytoFS works just fine with the main window handle. Thanks. -
Sending keystrokes to MSFS without window focus
earthdog replied to earthdog's topic in FSUIPC Client DLL for .NET
I tried your code and it does not work , giving no errors. I also tried with the following signature for PostMessage: [DllImport("User32.Dll", EntryPoint = "PostMessageA", SetLastError = true)] public static extern bool PostMessage(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam); But also i get no keys sent to MSFS. Any idea why? -
Sending keystrokes to MSFS without window focus
earthdog replied to earthdog's topic in FSUIPC Client DLL for .NET
Thanks for the answer! I just want to send simple keystrokes to control the drone camera, and i will not be needing modifier keys. If i understand correctly this mean that i can use SendMessage? -
FlyByWire A320 flight surfaces issue on playback
earthdog replied to earthdog's topic in Fabio Merlo Products Support Forum
Thank you very much. Do you know when you will be releasing the next build? -
Hi! I have a problem when replaying recording with FlyByWire aircrafts. My flight surfaces are someway stuck as if i have pulled my stick back (See picture below): I am running the latest version (4.5.2106.22) Is there anything we can do about this?
- 293 replies
-
Hi All, hi Pete My target is to be able to move the drone camera. I tried to use the logging facility to check for events/offsets to use. Drone camera is moved by keys W,A,S,D - R,F (Up and down) and numpad 4 and 6. When pressing the above the only event that always get registered is: 508157 *** EVENT: Cntrl= 65555 (0x00010013), Param= 0 (0x00000000) SIM_RATE 509438 *** EVENT: Cntrl= 65555 (0x00010013), Param= 0 (0x00000000) SIM_RATE 508157 *** EVENT: Cntrl= 65555 (0x00010013), Param= 0 (0x00000000) SIM_RATE 509438 *** EVENT: Cntrl= 65555 (0x00010013), Param= 0 (0x00000000) SIM_RATE All of the above keys EXCEPT the numpad 4 and 6 do register in the log window the buttons: 465407 KEYDOWN: VK=65, Waiting=0, Repeat=N, Shifts=0 465407 .. Key not programmed -- passed on to FS 465407 EV_KEYDOWN received: 0x41 (A) 465407 KEYDOWN: VK=97, Waiting=0, Repeat=N, Shifts=0 465407 .. Key not programmed -- passed on to FS 465407 EV_KEYDOWN received: 0x61 (a) 465469 KEYUP: VK=65, Waiting=0, Shifts=0 465469 EV_KEYUP received: 0x41 (A) 465469 KEYUP: VK=97, Waiting=0, Shifts=0 465469 EV_KEYUP received: 0x61 (a) What are my options to be able to control the drone camera movement? Only the button events?
-
Of course it isn;t...I ment using VIsual Studio and native simconnect...
-
I just did, downloaded with Visual Studio project and i am connected to MSFS...I will go this way for now..I will leave C++ for gauges (if i need to work with one)... thanks.
-
Thanks for the plethora of info. So if my platform/tool of choice is .NET and C# (managed) my only choice would be the .net dll? I dont write in C++ to get advantage of the C++ 64bit lib. EDIT: I just saw the examples in FSUIPC SDK and i saw that including the fsuipc.cs enables me to work with C#. Is this relevant to new MSFS? And what are the differences in using the .NET Client DLL?
-
Although the SDK is far from complete, i want to take a look and explore the development capabilities that i have with MSFS using FSUIPC. What are the ways that i can develop apps? I can understand that using the .NET DLL is an option. Is there anything else? LUA? or something else? Thank you.
-
I suppose you could use Fody/Costura to embed the managed DLL in your app...
-
Hi All! I have read the other thread (from 2013) about using FSUIPC with Raspberry. I have a couple of PIs that i would like to use for P3D. So would i have success with the mentioned combo? A pi4 with Windows 10 Iot runnig apps with FSUIPC .NET Dll and reaching P3d via Wide FS client running on the PI? I would appreciate a consult on the above in order to get started. I was also thinking of having a local application on the P3d machine that serves as a "proxy" talking to my raspberrys through network... Thanks!
-
FSUIPC Client DLL for .NET - Version 2.0
earthdog replied to Paul Henty's topic in FSUIPC Client DLL for .NET
What are you using to find this out? If you are reading FSUIPC offsets, which have you tried. There are a lot realting to flaps. And what version of FS? Pete Yeap , my mistake not too much info: FS2004 is the simulator at hand. i am using the following definition: Dim fs_Flaps As Offset(Of Int32) = New FSUIPC.Offset(Of Int32)("GeneralINF", &HBDC) Dim fs_Flaps_inc As Offset(Of Int16) = New FSUIPC.Offset(Of Int16)("GeneralINF", &H3BFA) and to calculate the current position i am using this: Calc_Flap_Current_Pos = Math.Round(fs_Flaps.Value / fs_Flaps_inc.Value) I think that the calculations are correct but the values within FS are making my problem appear. lets say we are on incr 1 andi put flaps directly to increment 4...what i get is: 1......4......2......3.......4 he realizes that i put the flaps to increment 4 and then as the flaps are passing the values between it changes the variables.... any ideas? Elias -
Hi Pete, I have been programming in FSUIPC for some time now and for sure i am not thinking of selling anything in the near future..:) Though i have created an app that i want to make publicly available as donate-ware or freeware.. Do i have to have any special agreement with you or not? Can you give me more information on this? Thanks Elias.
-
FSUIPC Client DLL for .NET - Version 2.0
earthdog replied to Paul Henty's topic in FSUIPC Client DLL for .NET
Hi All! Is there any way to check if flaps are in transit? I have this problem. I am at notch #1 and i directly go to notch #4.. what i get in the values are: #$ (it stays lkike this for a while) and then goes #2,#3,#4.......... -
Hi! i want to capture the event of flap change but i have a little problem. During transit the values are changing. for example when i am in position 0 and i put flaps in notch 3 directly i get the value for 3 and then i get 1->2->3 as it reaches the position. is there any way around this? for example to understand if flaps are in transit or something? Elias
-
Small timer intervals techniques.
earthdog replied to earthdog's topic in FSUIPC Support Pete Dowson Modules
gotcha! thanks, i have now more than enough info to leave you alone for a while :) Elias -
Small timer intervals techniques.
earthdog replied to earthdog's topic in FSUIPC Support Pete Dowson Modules
just went to lua.org.. Got the idea, it is a completely different concept if i decide to use it though....