Jump to content
The simFlight Network Forums

HondaCop

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by HondaCop

  1. BTW guys, I just want to give props to Paul, not only for this awesome DLL which has been a blessing for me, but for the OUTSTANDING support he provides. It's something that really needs to be brought out in the open. He's always available no matter what the question is and is extremely professional. My hats off to you, sir.
  2. Thanks for the explanation, Paul. I will just keep the timer that I use to process all FSUIPC offsets at 100ms... :-)
  3. Hello Paul, Is there any advantage in running a timer at 100ms instead of 200mn or even slower? What would be the fastest timing to set a timer and not cause issues with FSUIPC and this DLL client?
  4. That did the trick, Paul! Thanks! BTW, pardon my ignorance, but do we still need to have a reference to the fuel tank's FSUIPC offset in order for your Payload Services class to work or no? I want to update my code to use the PS instead of directly calling the offset and I was wondering if that offset still needs to be set.
  5. Paul, that was exactly what I needed! Only thing is that I don't understand VB... Do you have those samples in C#? BTW, I did contact the author of XPUIPC and there is indeed an offset that tells you if the sim is X-Plane or not... For those interested, it's 0x6FFF... If the sim is XP, then it returns a 1 otherwise it's a 0.
  6. Paul, I am having a little problem. How can I set the aircraft total payload to ZERO when connected to FS2004? According to the FSUIPC SDK for FS2004, payload can be accessed via 0x1400 with a size of 48 x n, but I have no clue how to code it so that I can set the total payload to zero. Any help would be greatly appreciated!
  7. That makes sense, Paul... Will contact them. Thanks!
  8. Paul, I loaded up X-Plane 10.21 along with XPUIPC and my App along with your client DLL worked very nicely! As far as I was able to see, everything worked as if it was FSX running! I do have a question though. How can I detect that it's X-Plane running and not FSX? My app displays FSX as the sim running. Any ideas?
  9. Thanks for the reply, Pete. I will try what you did with Excel and see how it goes.
  10. Hello Pete, I downloaded your MakeRunways utility and when I tried importing the runways.xml file into an Access database, it imports fine but with one issue. It will not create an ICAO ID column for the airports or runways. It will show all airports, one per row, but the ICAO column is not displayed. Is there a way to have the XML tell Access to create a coumn for ICAO ID as well?
  11. Hi Paul, first of all, thanks for this client DLL!!! Ok, I downloaded the .NET 4.0 version of your client and was wondering if it would still work if compiled with VS2012 and targeting .NET 4.5? Reason being is that I need to make a Windows 8 compatible version of my application... Thanks in advance...
  12. I deleted ALL FLT files and let FS rebuild one when I booted it up. Still the same issue. It will display the text when in windowed mode. But when it's in full-screen mode, it will not display the text. This is really weird. Don't know what else to check or do. And no, I'm not using a multi-line message. It's just a small text about 30 characters long. I even made sure the show ATC messages is ENABLED in the FS settings.
  13. Ok Pete, I am using the PMDG 737 for FS9 and when I check the FLT file for the previous flight, it shows this entry: [Message Window] Undocked=False ScreenUniCoords=64, 200, 8064, 100 UndocCoords=0, 0, 0, 0 Any thoughts?
  14. Oh ok, thanks for that info, Paul. I am all set, the text display works BUT only in windowed screen. Now I just need to figure out why it won't display in full screen. :-( Hopefully Pete will have a solution.
  15. Gotcha Paul! I will change those offsets from INT to SHORT. One thing I have noticed is that the text will ONLY appear when FS is in windowed mode. It will NOT display when in FULL-SCREEN mode. Could this be caused by the offset being set as INT and not SHORT? Or is this problem something else? Another thing... Docs say that the text string has to be terminated by a 0. How does one go about doing this? I figured that whatever text I send, the last character would be 0 but when I do this, the text itself shows a 0 on the text being displayed.
  16. Sorry Pete, I am using FSUIPC 3.99 and FS9... Should've told you that from the beginning.
  17. Pete, This code: Offset<int> displaytextcolor = new Offset<int>(0x3302); Will allow me to write to the offset. So by doing the following: displaytextcolor.Value = 0; allow me to change the text from RED to WHITE? I know you said you don't know C# but I just want to make sure that by writing a 0 to that offset, forces the display text to be white instead of the typical red. UPDATE: Just tried it and the display still shows up as RED on a green, translucent background. Any ideas? Thanks.
  18. Hi Pete! Ok, I found the offset which is 3380 and the control is 32FA. Would the following work in C#: Offset<string> displaytext = new Offset<string>(0x3380); Offset<int> displaytexttimer = new Offset<int>(0x32FA); I placed the following inside a button click action just to test things out: displaytext.Value = (string) "THIS IS A TEST0"; displaytexttimer.Value = 5; When I try to debug the prgram, Visual Studio is giving a compile error like this: $exception {"Must set a size set for ArrayOrStringLength for Byte[], BitArray or String."} System.Exception Any ideas? It's been 3 years since I coded in C# and I am super rusty. Thanks for the help. UPDATE: Nevermind, Pete... I figured it out. Just had to add the BYTE LENGTH to the string (0x3380, 128) and now it works. Thanks!
  19. Hello all, I have a C# program which interacts with FS and I was wondering what would be the offset to use, in order to display TEXT within FS's display? I want to show the pilot some information while he is flying. Thanks for any help.
  20. I guess I'll have to wait till Pete is back from vacations, if I am going to get an answer on this.
×
×
  • 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.