Jump to content
The simFlight Network Forums

mroschk

Members
  • Content Count

    135
  • Joined

  • Last visited

Community Reputation

1 Neutral

About mroschk

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  • Location
    germany

Recent Profile Visitors

1,259 profile views
  1. Hello, after some configurations i changed to run Prepar3D v4.5 in Admin Mode. But now, when i want t o setup FSUIPC inside the P3D and click the Menu ENtrie, the P3D Window turns Black and thats it. There comes no FSUIPC Window, but also i can nothing else then close the Prepar3D. What can be wrong here ? How have i to install FSUIP ? Rund the FSUIPC setup in Admin Mode or not ? Maybe thats the reason? Matthias
  2. Hello, i am using Prosim737 ( still v1 ) and set up all Axis via FSUIPC, "send direct to FSUIPC". When i have no Oil Pressure , the Rudder are still working. Arent they supposed not to work without Oil Pressure or am i wrong ? Thx
  3. ahhh, thats the way.... Now i understand I come from C#, and here you set/clear the Bit via the BitNumber directly. Thanks very much Matthias
  4. now i am completely confused. So, easy question, what must i do to set ( as example ) bit 5 of Offset 5400 to 1 ? Matthias
  5. but it works and i dont need to OR the bits. ipc.setbitsUB(0x5400, 1) is not setting bit 1 to 1 and ipc.setbitsUB(0x5400, 2) is not setting bit 2 to 1. Matthias
  6. Hello, yes, i do it like you say. I add to the flag variable 1,2,4,8,16,32,64 if the doorflag is set an use writeUB to set the bits. Thanks Matthias
  7. Oh je, my mistake, sorry.... As you can see, i forgot to remove the "ipc.writeUB" in the last line...sorry, it works now "" Thanks Matthias
  8. Hello, i dont know why it is not working: function DoorState() local flag = 0 --if doorflag0 == 1 then flag = flag + 1 end --if doorflag1 == 1 then flag = flag + 2 end --if doorflag2 == 1 then flag = flag + 4 end --if doorflag3 == 1 then flag = flag + 8 end --if doorflag4 == 1 then flag = flag + 16 end --if doorflag5 == 1 then flag = flag + 32 end --if doorflag6 == 1 then flag = flag + 64 end if doorflag0 == 1 then ipc.setbitsUB(0x5400, 1) end if doorflag1 == 1 then ipc.setbitsUB(0x5400, 2) end if doorflag2 == 1 then ipc.setbitsUB(0x5400, 3) end if doorflag3 ==
  9. Hello, but i testet also ipc.setbitsUB(0x5302, 1) but it seams not to work here. I will test it again this night. Thanks for the Answer and for testing that Matthias
  10. Hello, i have this little function in a LUA Script to check/set the DoorSTate. function DoorState() ipc.display("Doors", 3) ipc.setbitsUB(0x5302, 0) ipc.setbitsUB(0x5302, 1) end as you can see, i have testet if this script-function is called, and it is. But the Offset is not set after the function is called. Have you any idea why ? Thanks Matthias
  11. Hello, i have still no solution found, why the "event.sim(ANY, and also the "event.sim(AIRCRAFTCHANGE is not fired ? When i have a little lua file in the Modules folder whits only this little script: function test() ipc.display("test") end event.sim(ANY, "test") why is the text not displayed when i load another aircraft ?( which means the function is not called at Aircraft change ) Matthias
  12. Hello, oh, i am sorry about posting in the wrong section, maybe a admin can move the topic. Thanks for the answer, i will try... MR .... it works...thx
  13. Hello, i have a little Lua Script which should set a offset when i start the sim . function LightsCLEAR() ipc.display("LightsCLEAR") ipc.setbitsUB(0x5301, 1) ipc.setbitsUB(0x5301, 2) ipc.setbitsUB(0x5301, 4) ipc.setbitsUB(0x5301, 8) ipc.setbitsUB(0x5301, 16) ipc.setbitsUB(0x5301, 32) ipc.setbitsUB(0x5301, 64) ipc.setbitsUB(0x5301, 128) end event.sim(ANY, "LightsCLEAR") but it is only running, when i change the Time in the sim, as example from Day to Night. Why is the script not running when i start the sim? Or how can i run a script, when the sim starts?
×
×
  • 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.