Jump to content

Bonbod

Members
  • Posts

    14
  • Joined

  • Last visited

Recent Profile Visitors

1,323 profile views

Bonbod's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I was not able to solve the Problem in my Environment using FlywithLua. I left that road and switched to the python-plugin xjoymap. After installing and configuring the plugin, the gear lever works fine now. Thx everyone for the help. Greetings
  2. H jfjoubert, thx for your test. So it seems to be a personal problem with my environment. Knowing that the script can work generally let me change perspective and go to the issue by another angle :). greetings
  3. HI everyone... Update: I deleted every line of my script leaving only the following two: ------------------------------------------------------ local bod_gear_position dataref("bod_gear_position", "ixeg/733/gear/gear_handle_act", "writable") ------------------------------------------------------ With this two-line-script i get a Gizmo-crash and stack-overflow-errors during flight. I am also using a script for the flap-lever. This one uses a dataref definition for "ixeg/733/hydraulics/hyd_flap_lever_act" and is working without any problem. My testflight is from EDDL to EDDW. It would be nice if someone could try my gear_position script to check if he or she gets the same crashes like i do. Thx. Greetings... GizmoLog.txt bod_Gear_Position.lua
  4. I made some debuging to count the movements of the gear lever. During flight there are up to 6 movements, which write to the 'gear_handle_act'. But even if i did not move the lever and no value was written into "ixeg/733/gear/gear_handle_act" (aircraft standing on the ground) the stack-overflows happend. I am also using the 'Flap Axis Detent'-Script from LRDN which works fine with do_every_frame (no stack-overflows). When adding the dataref definition for the 'gear_handle_act' into this working script the overflows appear. Have no idea....
  5. Hi again Cosmo, thx for your interests in my issue :). I also want to minimize the dataref write commands. The following line of my script should realize a write only after a real move of the Hardware Lever.: -------------------- if math.abs(Old_Gear_Axis_Value - gear_axis_value) > 0.005 -------------------- Today in the evening i will try some debug-entries to Count the numbers of dataref-write commands and will Report the results. I am still thinking, that the gear lever should work by default like the thrust-, or the speedbreak Levers ;). greetings dirk
  6. Hi Cosmo, thx for the advice. Tried 'do often' before. No change of behavior. In my opinion.. working or not... i think there should be no need of an extra script. The gearlever in the virtual cockpit should work by itself, when configured in the preferences section of X-Plane. The script was only a try to build a workaround. I think the gear lever not working is a bug in the IXEG 737. greetings dirk. GizmoLog.txt
  7. With 1.04 gear lever still not working with X-Plane standard preferences.. videolink attached... gear_lever_issue https://onedrive.live.com/redir?resid=A11656F02AE4AD4C!7476&authkey=!AMk9hBnwrzBdZ4Q&ithint=video%2cmpg Greetings Dirk
  8. Hi, after assigning one of my second saitek throttle quadrant lever to the gear-function in the preferences/Joystick/Axis menue, the gear of the aircraft will go up and down by moving the saitek lever, but the lever inside the VC will not move. missposition between VC-Lever and gear wil lead to a 'warning'-sound until both positions match again by moving the handle in the vc manually. When the VC-lever is in OFF-Position using the Hardware lever will do nothing. It would be nice if you could check why the default assignment did not work. I tried to do a workaround with a flywithlua script, but writing to the dataref leads to stack overflows after a period of time during flight. --------------------------------------------------------------------------------------------------- saitek_axis_lever=10 dataref("Gear_Position", "ixeg/733/gear/gear_handle_act", "writable") dataref("gear_axis_value", "sim/joystick/joystick_axis_values", "readonly", saitek_axis_lever) Old_Gear_Axis_Value=gear_axis_value function check_737_Gear() if math.abs(Old_Gear_Axis_Value - gear_axis_value) > 0.005 then -- print("Neue Hebelposition") -- print(gear_axis_value) -- print(Gear_Position) Old_Gear_Axis_Value=gear_axis_value if gear_axis_value>0.44 and gear_axis_value<0.51 then Gear_Position=0.5 else Gear_Position=gear_axis_value end end end do_every_frame("check_737_Gear()") ------------------------------------------------------------------------------------------------------
  9. For those, who also use this script from LRND here are some samples to mod the throttle quadrant... Anyone uses one of the quadrant lever to control the gear? I am able to use the lever, and the gear goes up and down, when i go to the outrside view, but the gearleaver inside the plane simulation did not move. Greetings Dirk flaps.rar
  10. Thx for your fast reply. I am not sure, if i understand what you want to say. Maybe if i want to train different Approaches i thought i have to fly to the point where to decide what approach i wanna use, pause the sim and save the situation within x-Plane. With the saved situation i can start the training over and over again from the same position. Do you have another way in mind?
  11. Will there be mouse-scroll support? Is there any way to save the panel state to continue flights later, or try different things from one starting point in the air? Greetings.
×
×
  • Create New...