Jump to content
The simFlight Network Forums

michielsweb

Members
  • Posts

    62
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by michielsweb

  1. FSUIPCConnection.SendKeyToFS(Keys.F12, SendModifierKeys.Control, null); i have the same issue whit both options they seem to be in a endless extreme speed loop. whit the bottom case being the right code to open and shut. FSUIPCConnection.SendControlToFS(PMDG_737_NGX_Control.EVT_DOOR_FWD_L, 1);
  2. scratch doors from list 🙂 little work around but coding it in c now 🙂
  3. little update: okay i totaly failed sofar on the lvar writing. to gsx luckily i can read gsx lvars. pdmg lvars i completly can read or write. sofar i managed work around whit offsets 😄 stil working on controlling the PDMG737 6 doors. (so "cabin crew can do their duties and controll them after captain gave permission. ;-)) Running first Sound Tests and "timing work" (so the requirements are pretty spot on. just need little tinkering. trying to figure out if i can read the "fmc destination airport and alternate airport" for some extra functions
  4. Sorry I am back 🙂 FSUIPCConnection.WriteLVar("L:FSDT_GSX_BOARDING_STATE", 2); //opening the pdmg 737 doors for gsx FSUIPCConnection.WriteLVar("EVT_DOOR_AFT_L", 1); now i know for sure GSX is correct as i use it in reading it too. but i cant write too it it seem can u advise me if i do something wrong
  5. yesss 🙂 i got the lvars working from GSX 🙂 now i go search some lvars from the pdmg 🙂 then i have GSX and doors " crew controlled "
  6. wow paul how one capital can pain in the arse 🙂 value i typed like a milion times last night 🙂 ps: if a offset is not in the offset list. i have to read the lvars right? seeking offset for pdmg " chocks" and several for GSX but i reckon this wil be lvar reading am i correct?
  7. sorry last question. private Offset<byte> maincabindoor = new Offset<byte>(0x6C14); its a 1 byte boolean (simple check if door is open or not) i have been trying to "read the value" of this byte . tried convert it bool int string. bool result = Convert.ToBoolean(maincabindoor); this is the only code i have working sofar where the program wil launch. but it crashes because fsuipc says its inconvertble how can i extract or check the value of maincabindoor?
  8. Thank you kind sir. for youre patience and kind help!! in learning this stuf!! 🙂
  9. Sorry paul i feel such a idiot 🙂 trying to get some offsets loaded in a c# running into a few questions 🙂 FSUIPCConnection.ReadLVar("Engine1ThrottlePosition").ToString("F2"); is the F2 just a random name u picked? to create a string for anything good aslong as its unique? and this question: 3367 1 This byte shows doors that are open, one bit per door: 2^0 = Exit1 ... 2^3 = Exit 4. N.B. FSUIPC4 does handle up to 8 doors, one for each bit 0-7. Whether FSX can actually process Exits 5-8 is unknown however. would i be correct this is the way to handle this private offset<byte> MainEntry = new Offset<byte>(2^03367); sorry i am new to bytes. trying to get a basic understanding for a simple if else loop 🙂
  10. sorry paul i got it opend 🙂 was my mistake
  11. solution explorer is also empty yes ! if u can help me get it open. i can figure the rest out 🙂 and ofcourse i understand ure point about the question 🙂 i respect that. friendly regards michiel
  12. Dear sir. i was wondering if u can make a simple "working" download? automatic connect. - fsuipc offset read. - fsuipc offset write - pdmg read or any other lvar read - pdmg write or any other lvar write this allow it easier to tingle whit the code. i been trying to get ure template going but it loads emptie. i have experience whit this way from polabs pokeys c# demo. this way u can simple copy edit in the program 🙂
×
×
  • 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.