Jump to content
The simFlight Network Forums

AngeloCosma

Members
  • Posts

    49
  • Joined

  • Last visited

Everything posted by AngeloCosma

  1. Why is it then when I assigned new lua we worked on last night to "Control to send when button released" just as a way to force it to see if it would work, it still did nothing? Or is it simply not going to work in the type of application trigger?
  2. Awesome can't wait to try this when I get home. Will report back, at work already.
  3. Pete, another user and I have been at it for hours to no avail, either we are overthinking it or missing something. Any help? Take a look here to see what's been done if you are curious what we tried. http://www.avsim.com/topic/503344-any-advanced-fsuipc-users-here-lua-event/
  4. So I got this far, still nothing and nothing in the log either. Where did I go wrong.
  5. Read page 22 on the Lua Library pdf and that gave me some insight. This is what I have now, does it look right? function ThrottleToIdle() while true do throttle3 = ipc.readSW(0x09BC) if throttle3 >= 0 then break --exit when no more reverse end ipc.control(65974)--65974 = throttle3 incr. Use 65965 for smaller increment ipc.sleep(300) -- adjust for speed of increase. 10mSecs = 100 per second end end event.button(0, 8 , 2, "ThrottleToIdle")
  6. I will do that when I get home and report back what I find thanks for the great start Pete.
  7. Yes I edited my original reply with your post indicating what I misread. function ThrottleToIdle() In the () will the engine number go there correct? Simple 1-4, or Throttle1set or, etc. event.button(joystick nmuber or letter, button number , 2, "ThrottleToIdle") I can get the joy and button ID when I press it in FSUIPC correct? the "ThrottleToIdle") (Should it only contain the 1 parenthesis, or is one missing. "ThrottletoIdle1") should it look like that when finished?
  8. Looking at my .luas now, and I see that I edited the sleep to 300. So I will try what you posted above with that. Now why do I have to put the Joy ID and button in the lua, wont that get assigned when I map it in FSUIPC under control sent when released or is the EVENT a new way of handling this now? " Most of all I think it would be better to have your Luas pre-loaded, via an [Auto] section (maybe profile specific), and use an event to trigger it instead. The event.button function with a "downup" parameter set to 2 (for release) is made for the job. Then don't assign anything to the button release parts in FSUIPC assignments. " Will have to re read this a few times with FSUIPC in front of me to make full sense of it.
  9. I am very novice in regards to creating these lua's, another forum member helped and came up with those values. I understood your reply up to "DownUp" parameter set to 2. If you don't mind and because my knowledge is so limited but I am trying, would you mind showing me what the modified more correct .lua would look like. Just for one and I can go ahead and transpose it to each remaining engine. I agree the half second seems long and at times the engines idle too slowly so I will shorten that value down some, but this brings another point. Sometimes the engines take 4-5 seconds (estimate to idle) and other times (same plane) it seems the value gets ignored and idles much quicker. Any ideas as to why on that? Most likely due to my poor lua assigning.
  10. @Pete Dowson Thank you for the reply. Yes it is one .lua per engine. Here is the .lua for engine 1, they are all the same except the obvois changes in the offset number for the respective engines. " while true do throttle1 = ipc.readSW(0x088c) if throttle1 >= 0 then break --exit when no more reverse end ipc.control(65964) --65964 = throttle1 incr. Use 65965 for smaller increment ipc.sleep(500) -- " The are triggered by FSUIPC as "Send action when button released" Tick box is checked and in the drop down list is select "Idle(x).lua where X is the engine number 1-4.
  11. Hello Pete, now that the 747 is out I have finally started flying something with 4 engines again. This leads me to my question that maybe you can shed some light on, or a more desired method. I have two Saitek USB Throttles, 6 axis', 1 Spoiler, 4 Throttle, 1 Flap. My question is in regards of button presses being sent to the sim. Right now Throttle Lever 1-4 when pulled into the reverse detent (Button) I have a custom command sent. When In the detent each lever 1-4 sends "Decrease Engine" command to repeat when held. This part is fine and works no problem, but what happens next is my question. When each button gets Released, I have custom .lua scripts in for each release on 1-4. Basically it will gradually add power (F3) to simulate a gradual reduction from full reverse to reverse idle and break the command instruction once the engine reaches IDLE. I think with 4 commands being sent virtually all at the same time some get missed, lag behind on another, or fail to remain in sync. Do you have any input on what to do here? I was thinking of making a custom profile for the specific aircraft and mapping it to one button instruction does it to all 4 engines at once but I would like to know if maybe there's a better way to do this? Any thoughts on this? EDIT: I should mention on twin engine aircraft everything works fine.
  12. Thanks Pete! Any way to adjust the null zone or sensitivity in FSUIPC so the brakes don't grab so hard on the initial application, I am familiar with slope and calibrating in FSUIPC however that always seems to break the ABS in PMDG aircraft. Ideas?
  13. Hello Pete or other Forum members, I have rudder pedals with only one function toe brake axis the other gave out. Is it possible to map the single operating brake pedal to operate both the left and the right brake axis? Also since this might be ran solely through FSUIPC is there a way to make it not cause problems with PMDG aircraft since I know there braking systems go outside FSX's normal logic and I don't want to cause a problem with the ABS not working. Thanks for the help. Angelo Cosma
  14. Great where is the list of offsets that I can use in the sound list file? As of now I have NO GPWS calls period.
  15. Hello everyone, I have been looking high and low for the PM Sounds offset list for project magenta and I cannot find it anywhere, not at Project Magenta or here. If anyone knows where this is can you please point me towards it. Thanks! Angelo
  16. Also when creating a higher dead zone for the Spoiler Axis in the FSUIPC calibration "SET" page MIN CENTER MAX i tried what you suggested however this caused an issue. Prior to this, I simply assigned the axis through FSX and nothing from FSUIPC. After setting the MIN CENTER MAX the spoilers even while airborne would NEVER stow or go down. Even as I kept moving the lever all the way forward to STOW they kept trying to deploy and once my lever hit its forward stop the spoiler lever went back to fully deployed. After I click "Reset" to forget the FSUIPC calibration the spoiler resumes normal functionality. My spoiler lever is programmed in FSX with reverse checked, and sensitivity is 100% and null is 0%.
  17. Okay I double checked my work and I see the LUA's now. Although I would like the reverser to more quickly accelerate back to rev idle, then once the N1 slows back down STOW to normal idle. At the moment it is a bit slower but it still closes the reverser too soon thus increasing the landing rollout. So basically MAX REV ---> to IDLE REV ---> IDLE. This would be preferred if possible. Now that I figured out how to add LUA's how do I code the second engine, like you posted in post number 2 regarding engine 1? Thanks again for your patience and help. Angelo
  18. Okay I created a blank text document, copy and pasted the text below, and saved it as a .lua verifying the file extension changed. It now says .lua instead of .txt. I placed that newly created file into the Modules folder and restarted FSX and clicked reload buttons in FSUIPC. I checked the dropdown and i was looking for "Idle1" but found nothing nor any other new or recently added command. Did I do something wrong?
  19. After I created the .lua for that engine how do I get it to appear in the buttons dropdown box? I cannot find it, am I supposed to place the newly created LUA in the "Example LUA plugin directory?" Thanks
  20. Hello, I am using two Saitek throttles side by side on my Windows 7 64 bit machine. I have on lever set to Spoiler Axis, the problem is, if I ARM the spoilers by slightly moving the handle away from its forward stop the spoilers ARM (Great). The problem is, on landing when they need to deploy, the Auto Spoiler attempts to deploy them. But, since my physical (Saitek) lever doesn't move with it the spoilers they keep retracting, or never fully deploy on landing. As of now, I only have them calibrated through FSX assignments and reverse boxed is checked, I tried different methods in FSUIPC but was not successful. Does anyone have any ideas? Angelo Cosma ----------------------------------------------------------------------------------------------- Rather than start a new thread do to its similar nature, I will ask here ------------------------------------------------------------------------------------------------- This is in regards to reverse thrust. As of now my Saitek throttles are set up to do reverse thrust by the use of the button when the lever is fully pulled back. (Ex. Throttle pulled back and pressing button, under button assignments (Throttle 1 Decrease) Repeat when held is ticked) (When button is released "Throttle 1 Cut") My question, is there a way to gradually reduce reverse thrust back to idle, rather than how it performs right now? Maybe when the button is released it could command idle reverse, then to get forward thrust, I could bump the lever forward forcing it back to idle? Again thanks for your help.
  21. Ok, I renamed all my PC's, to now "Upstairs" and the other "Laptop." I removed the, ServerIPAddr parameter from the client INI. And ...? Are you okay now? (You are being a bit cryptic). That didn't change anything then or now I tried once with it in the .ini and once without it. Server Logs were the same for both. ********* WideClient Log [version 6.78] Class=FS98MAIN ********* Date (dmy): 16/06/10, Time 20:59:43.107: Client name is LAPTOP 234 Attempting to connect now 1232 Trying to locate server: Need details from Server Broadcast 1232 Failed to connect: waiting to try again 3245 Attempting to connect now 68110 Trying to locate server: Need details from Server Broadcast 442107 ****** End of session performance summary ****** 442107 Total time connected = 0 seconds 442107 Reception maximum: 0 frames/sec, 0 bytes/sec 442107 Transmission maximum: 0 frames/sec, 0 bytes/sec 442107 Max receive buffer = 0, Max send depth = 0, Send frames lost = 0 442107 ********* Log file closed (Buffers: MaxUsed 0, Alloc 0 Freed 0 Refused 0) ********* Here is the ********* WideServer.DLL Log [version 7.60a] ********* Blocksize guide = 4096 (double allowed) Date (dmy): 16/06/10, Time 21:13:51.414: Server name is UPSTAIRS 15069 Initialising TCP/IP server 15069 Initialising IPX/SPX server 15069 IPX/SPX socket() failed [Error=10044] Socket type not supported 15069 Failed to start IPX/SPX Server 15069 Initialising UDP/IP server 16099 Broadcasting service every 1000 mSecs Thanks again Angelo Cosma
  22. The workgroup name is actually called WORKGROUP. Here is the WideServer.log ********* WideServer.DLL Log [version 7.60a] ********* Blocksize guide = 4096 (double allowed) Date (dmy): 16/06/10, Time 01:35:38.273: Server name is ANGELO-PC 15647 Initialising TCP/IP server 15647 Initialising IPX/SPX server 15647 IPX/SPX socket() failed [Error=10044] Socket type not supported 15647 Failed to start IPX/SPX Server 15647 Initialising UDP/IP server 16256 Broadcasting service every 1000 mSecs 2180333 Closing down now ... Memory managed: Offset records: 2180 alloc, 2178 free Read buffer usage: 0 alloc, 0 free, max in session: 0 Write buffer usage: 0 alloc, 0 free, max in session: 0 Throughput maximum achieved: 0 frames/sec, 0 bytes/sec Throughput average achieved for complete session: 0 frames/sec, 0 bytes/sec ********* Log file closed ********* I removed the, ServerIPAddr parameter from the client INI.
  23. Hello Pete, thanks for getting back to me, I read your post and went over what you mentioned. Both PC's my FSX and Server are n the same "WORKGROUP." Let me put up the correct .ini file, I see what you mean, so heres the right one: ; PLEASE SEE WideFS documentation for parameter details ; ===================================================== [Config] Port=8002 Window=145,251,886,589 Visible=Yes ButtonScanInterval=20 ClassInstance=0 NetworkTiming=5,1 MailslotTiming=2000,1000 PollInterval=2000 Port2=9002 ResponseTime=18 ApplicationDelay=0 TCPcoalesce=No WaitForNewData=500 MaxSendQ=100 OnMaxSendQ=Log NewSendScanTime=50 Priority=3,1,2 Angelo: Protocol=TCP ServerIPAddr=192.168.1.84 ; ----------------------------------------------- [user] Log=Errors+ ; =============================================== The Wide Server.ini hasn't changed. And also as you requested here are the WideClient.log and WideClient0.logs 0.log: ********* WideClient Log [version 6.78] Class=FS98MAIN ********* Date (dmy): 13/06/10, Time 13:02:38.020: Client name is ANGELO-PC 187 Attempting to connect now 5741 Trying to locate server: Protocol not yet decided 5741 Failed to connect: waiting to try again 7784 Attempting to connect now 174050 Trying to locate server: Protocol not yet decided 232238 ****** End of session performance summary ****** 232238 Total time connected = 0 seconds 232238 Reception maximum: 0 frames/sec, 0 bytes/sec 232238 Transmission maximum: 0 frames/sec, 0 bytes/sec 232238 Max receive buffer = 0, Max send depth = 0, Send frames lost = 0 232238 ********* Log file closed (Buffers: MaxUsed 0, Alloc 0 Freed 0 Refused 0) ********* .log: ********* WideClient Log [version 6.78] Class=FS98MAIN ********* Date (dmy): 16/06/10, Time 12:03:47.744: Client name is ANGELO-PC 343 Attempting to connect now 5913 Trying to locate server: Protocol not yet decided 5913 Failed to connect: waiting to try again 6662 ****** End of session performance summary ****** 6662 Total time connected = 0 seconds 6662 Reception maximum: 0 frames/sec, 0 bytes/sec 6662 Transmission maximum: 0 frames/sec, 0 bytes/sec 6662 Max receive buffer = 0, Max send depth = 0, Send frames lost = 0 6662 ********* Log file closed (Buffers: MaxUsed 0, Alloc 0 Freed 0 Refused 0) ********* Hope there's more info here now to continue troubleshooting. Thanks again for helping me out Pete. Angelo Cosma
  24. Hello Pete, I was told to contact you after me and a freind trouble-shooted for a while trying to get Wide FS for FSX to communicate with my Laptop to my FSX PC. First lets get the details out of the way. My FSX PC is Windows 7 64 Bit, and my Laptop is Vista 32. My ISP is AT&T and my router is a 2Wire 3800HGV-B. None of my PCs are hardwired, there are all on a secured wirless network. We went over the .ini files to set the IP adresses and so-forth we made sure that the IP was correct. My freind recomended that i open ports 8002 and 9002 to port forward on my router but i couldn't figure out how. Also I will include WideClient.ini and Wideserver.ini files maybe they can explain the situation better than I can. WideClient.ini [Config] ButtonScanInterval=20 ClassInstance=0 NetworkTiming=5,1 MailslotTiming=2000,1000 PollInterval=2000 Port=8002 Port2=9002 ResponseTime=18 ApplicationDelay=0 TCPcoalesce=No WaitForNewData=500 MaxSendQ=100 OnMaxSendQ=Log NewSendScanTime=50 Priority=3,1,2 Window=75,81,601,491 WideServer.ini ; PLEASE SEE the documentation for parameter details ; ================================================== [Config] Port=8002 ; ----------------------------------------------- [user] Log=Errors+ ; =============================================== Thats all I got for now Pete, I very much appreciate your help. Angelo Cosma
×
×
  • 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.