Jump to content
The simFlight Network Forums

FlyingCoder

Members
  • Posts

    59
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Singapore

Recent Profile Visitors

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

FlyingCoder's Achievements

Apprentice

Apprentice (3/14)

  • Reacting Well Rare
  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done Rare

Recent Badges

0

Reputation

  1. I'm making my own ACARS. During testing, i realised that my application using FSUIPC altitude when using live weather is not the same as not using live weather. Cruising at FL230 with live weather, will not detect at im FL230. While, when i off the live weather, the altitude at my planes goes 1000ft up. Is this MSFS issue or FSUIPC issue?
  2. Hi Paul, managed to solved by reading the cfg and searching the text based on my requirement. Thanks!
  3. I see. Since the CFG is not an XML it wont be like searching based on property. Do i have to search based on text? CFG is just text based i supposed?
  4. Hi Paul, Thanks and noted. Anyway, i looked at the aircraft.cfg, theres one line called ui_createdby. Is there anyway i can get or read the ui_createdby line?
  5. Hi guys, Am i trying to make my application detect different aircrafts. This is because different aircraft developed by different developers, uses different parking brake variable. Like PMDG, FENIX, and Flybywire, They use their own custom Lvars which i have to detect if i am using PMDG or fenix or FBW. Now, how do i able to detect if i am flying a fenix aircraft or pmdg aircraft or FBW aircraft? Hope to get some help. Thank you.
  6. Hi John, I just tested with float data type. It works now. Thank you!
  7. I'm using c# for my application. 32-bit float i believe is float or double? Which one should i use for the FLT32. There is no FLT32 type in c#. Example code public Offset<Int32> Engine1fuelUsed = new Offset<Int32>(0x090C);// Engine 1 Hope to get some clarification thank you
  8. Hi John, Sorry, i am using your Offset and getting 115503102 and increasing. I forgot about PMDG 737 offsets. I will take a look at it and see if these solution work. Thank you
  9. Hi John, What is the expected result? I'm flying the PMDG 738. Do i have to get value of all engines then add them up?
  10. Hi, Is there any offset that i can get fuel used? If there aren't any, what is the formula to calculate or get the fuel used for the flight? Thank you!
  11. Hi John, Thanks and will do. I am using .netframework 4.7 for my windows app. However, after i use your latest FSUIPCclient dll, i am getting object reference not set to an object when trying to call GSX boarding. FsLVar GSX_Getboardingstate = MSFSVariableServices.LVars["L:FSDT_GSX_BOARDING_STATE"]; // Gives the object not set reference error // after using latest FSUIPC Client DLL I have also included the fsuipc-lvar module in my MSFS community folder. Before this, there was no issue. Is it compatibility issue where the latest version of FSUIPCclient only supports .net6.0? Also, im using your c# application sample to view the Lvars in MSFS but the app does not show any Lvars available. FSUIPC said there are 220 ish Lvars. Do advise me if its compatibility issues or what i could have done wrong. Thank you
  12. Hi John, Apology for the late reply as i am away. Thank you for your suggestion and reply. For the PAX number, does it varies for different aircrafts? Regards, PikoSim
  13. Hi Pete, I am using your FSUIPC for my own application. Firstly, I would like to ask, how am i able to get the exact model or type of the aircraft that user if flying or loaded. For example, Fenix A320. Fenix A320 has different liveries. How do i know if that particular user or simmer is using Fenix A320 regardless of its livery? Secondly, i am using LVAR for fenix as an example to get the number of PAX being loaded using GSX. Lets say boarded is 50pax. I did a a short flight which is around 1hr or so. Took off, application states 50pax. Landed and deboard the pax and noticed that it reset back to 0pax. How do i prevent this from being reset? I hope to get your answer. Thank you!
  14. *** Moved to .Net dll client sub-forum *** Hi, I am currently making my own C# winform application and i cant seem to get the readLvar to be working. I am trying to read the passengers boarding from the GSX pro for MSFS. This is my code. FSUIPCConnection.Process(); myTextbox.Text = FSUIPCConnection.ReadLVar("L:FSDT_GSX_NUMPASSENGERS_BOARDING_TOTAL").ToString(); Console.WriteLine("Reading passengers on board from GSX " + " - " + FSUIPC.FSUIPCConnection.ReadLVar("L:FSDT_GSX_NUMPASSENGERS_BOARDING_TOTAL")); Data will be 0 and i dont know why. Am i missing something? Using the latest FSUIPC 7. I have the FSUIPC_lvar installed in the ocmmunity folder. I hope to get some guidance here. thanks
  15. Hi join, Ready gates for example to detect if they are at a certain gate. Or basically readying the gates of an airport from MFS. I understand that the gates are different from P3D where there in MFS, the gates will be in numbers
×
×
  • 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.