Jump to content
The simFlight Network Forums

Tarzan737

Members
  • Posts

    20
  • Joined

  • Last visited

Tarzan737's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello!! My Mistake! It works perfectly! And i have new updated versions of everything! I just used and old folder yesterday by mistake where an old version of it is!! And i moved around this to all computers!! But im not going to excuse myself or try to explain how or why! And NO! Im not expecting anything!! If you want to help i appreciate that! If u dont want to, just dont!
  2. Hello!! I was going to try runkey and some other parameters i read about In widefs documentation today, but it was no idea to keep on when i noticed that After i write the parameter actionkeys=yes and start wideclient its gone by itself everytime.. I read a post here that someone elsehad this problem and thought it was vista or win problem. Well i tried on both a winxp and win7 computer with the same result! So my question is if it is any known solution to this? It would be a nice thing to have!! Regards: Tommy
  3. Hello pete!! I think you helped me to solve it last night!! you wrote "Because it seems the bit showing it pressed remains set and your SIOC never clears it!" and that started me to think about that again.. i had that in my sioc script before to "0" after every keypress, but it didnt work.. but i found out if i put "delay" command to it, it seems to work!! So the script look like this now! can be good for others with usb_keys var 1 name KEY Link USB_KEYS device 0 { L0 = &KEY IF L0 = 61 { &FO_JoyStick64 = TOGGLE 0 // toggle bit 0 of joystick 64 &FO_JoyStick64 = Delay 0 20 } Before i had just &FO_JoyStick64 = 0 and then it zeroed all the time and nothing happend when i pressed the button!! So it seems it was a sioc problem or more human factor problem, but i havent really got time to test it fully but it never froze in 30 min last night!! thank u for taking time anyway! "If you haven't "seen any option about that" you presumably are not using WideFS or have not looked at its documentation? Any program can be started from a KeySend assignment and similarly closed. Check "RunKey" and "CloseKey" parameters." Sorry about that, havent worket with flightsim and fsuipc almost nothing last year.. i will read documentation about that! it can be a really nice function for me!! Thank you! Regards Tommy .
  4. Hello!! i maybye some more info!! i logged in fsx what u told me.. the files are getting pretty long what i see on screen for example i press button 75 ipc:5428 (S16) 75 ipc:3340 (U32)0x400 ipc:3344 (u32)0x00 ipc:3348 (U32)0x00 and then in the normal case everything go back to zero BUT! when it starts to get stucked it can look like this ipc:5428 (S16) 75 ipc:3340 (U32)0xC8E ipc:3344 (u32)0x00 ipc:3348 (U32)0x00 and i can never press this button again unless i restart SIOC.. and i noticed when this start to happen i can only press every button one more time! i dont know if you want a entire log file to see until it starts to happen? i dont know if this help you at all? or me... another question.. is it possible to start and stop a program on another computer on network via FSUIPC? with a keypress from server not "Run option" i havent seen any option about that.. because if its possible i can just stop and start sioc until i solve this.. Regards Tommy
  5. Hello!! i have a problem im not able to solve! i have built my own cdu and as hardware im using open cockpits usb_keys! the software is through iokeys and Sioc wich talk to fsuipc! In FSUIPC im running the buttons through offset 5428 (im using project magenta boeing cdu) in SIOC i wrote a script so FSUIPC will recognize it like a virtual joystick. Everything works perfectly until some minutes or if i have pressed the buttons to many times.. (i dont know wich of it) but then the buttons just stop working.. not everyone but it seems the more buttons i press more of them stops to work! FSUIPC just dont respond on buttons anymore... but in SIOC and IOkeys everything seems to work so its not hardware problem.. the strange thing is when i restart SIOC fsuipc responding again.. but same thing will happen again! So i dont know if it is a SIOC problem or FSUIPC issue! or just a bad script? but it works perfectly a while!! in the script i have made 3 different joysticks because i have more than 64 buttons.. i dont know how familiar you are with SIOC but i post a part of the script here so you have a hint (maybye) im a beginner to use SIOC! var 1 name KEY Link USB_KEYS device 0 { L0 = &KEY IF L0 = 61 { &FO_JoyStick64 = TOGGLE 0 // A } IF L0 = 62 { &FO_JoyStick64 = TOGGLE 1 // B } IF L0 = 59 { &FO_JoyStick64 = TOGGLE 2 // C } } Var 2 name FO_JoyStick64 Link FSUIPC_OUT Offset $3340 Length 4 just a part of script but it looks the same later just i create more joysticks. i posted this thread on mycockpit to, to see if someone can help me but i havent found anything by myself on internet about this.. maybye you have an idea! Regards Tommy
  6. Hi!! Thank u for your reply!! it helpt me, so now i have 3 green lights again :) not all transit light works yet but maybye i can solve it another day! in Prosim you can make your own offsets so FSUIPC can recognize it! in my case i have 3204 for left gear down but it can be whatever you set! thank you anyway!! but how can you know the numbers for the leds? regards:Tommy
  7. Hi!! im using prosim 737 but cant get the leds working!! i have tried to write a LUA script like this. but not sure its correct.. i dont know what name the leds have 0.1.2.3.....? anyone who knows? the offset im using is 3204 16bit U(just for left gear as an example) and others for nose and right gear the gear goes up and down as it should with its own offset. im using similar scripts for other modules like toggle switches and rp48 with success! function set_LANDLIGHT(offset, value) if logic.And(value, 0x0001) ~= 0 then gfd.SetLight(GFLGT, 0, 1) end end event.offset( 0x3204, "UW", "set_LANDLIGHT") function set_LANDLIGHTOFF(offset, value) if logic.And(value, 0x0001) ~= 0 then gfd.ClearLight(GFLGT, 0, 1) end end event.offset( 0x3205, "UW", "set_LANDLIGHTOFF") Regards:Tommy
  8. Hi!! i can see offsets in this program but can i see bits to on some way?? i tried a little but couldnt find out... it is written on the "usage" on some like 1=on,2 off 3 fail...... is this bits? but on APU Gen for example it isnt written anything? i need this for FS2phidget to lights as you suggested Pete.. (and it works very good now even with fsuipc) thanks!!!!! but not all things are in the drop down list in that program so i have to use offsets thats why im asking... regards:Tommy
  9. is it possible to start other programs from fsuipc? so when i start fsx the all programs start at the same time? i read about it somewhere but cant find it again... regards:Tommy
  10. hi pete!! i dont know how much you know about phidgets? i bought a phidget led64 and my question is if i can use lua scripts to speak with the phidgets leds to turn them on and off with fsuipc? regards Tommy
  11. Thank you!! i tried different set ups yesterday and now it works perfectly.... one thing that i see didnt work now instead is that the other buttons that is programmed with goflights software seems to have an affect on the leds i programmed with your program! like the yaw damper was programmed with goflight... but Autothrottle with your program and project magenta.. but when i extinguished yaw damper (or anyine else) the leds programmed with lua also died... but its not a problem for me... i use your program for everything.. it seems to be more stable... Thanks//Tommy
  12. ok thanks pete!! i think you helped me a lot now... i will try later today and see if i understand... but run LUA plug in?? have i missed something (probably) i just took the lua files to the modules folder.. i will check that to.... Regards//Tommy
  13. OK!! i have tried a lot of difference combinations now but i really dont know how to write... i have this for the led right now and works fine (project magenta mcp) function set_apFD(offset, value) if logic.And(value, 0x1000) ~= 0 then gfd.SetLight(GFRP48, 0, 7) else gfd.ClearLight(GFRP48, 0, 7) end end set_apFD( 0x04F0, ipc.readUW(0x04F0)) BUT!! how can i make the same led as button work together... cause now its only the led... is it like event.offset or event.button to use like event.button(174, 7 Set_apFD) or event.offset(5410 something..... and i tried that ipcready.lua but couldnt see that working.. the flight director is special cause i have to add one action in drop down list for PM FD1 on and the other in drop down list for PM FD1 off then i dont have any for the Lua script i got here to use the leds.. //Tommy
  14. Hi!! Is it possible to combine a buttom acrion and a reading like led on in the same lua script? I mean!! When i press a buttom on mygfrp48 in this case I want to have a action (switch on) and led on And can i combine these2 in same lua so i can choose one line in dropdown list for this lua!! I have seen that there is some offsets with both write and read options!! //Tommy
  15. Nono its not a problem to do the light!! I will try to learn by myself as u said!! //Tommy
×
×
  • 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.