Jump to content
The simFlight Network Forums

StuartWhelan

Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by StuartWhelan

  1. My guess would be that you have put the latest FSUIPC in the wrong place. Try deleting the fsuipc.dll and see if you still get the message.. Then put it back again.
  2. My guess would be that you have put the latest FSUIPC in the wrong place. Try deleting the fsuipc.dll and see if you still get the message.. Then put it back again.
  3. Opps, missed a line: At the top of the file you need to: #include epicvxd.inc and make sure that epicvxd.inc (from epicinfo) is in the current directory.
  4. Opps, missed a line: At the top of the file you need to: #include epicvxd.inc and make sure that epicvxd.inc (from epicinfo) is in the current directory.
  5. I have been looking at this also... The only way I could think of doing it is using the FSUIPC menu invoke functions, and then sending batched keystrokes/mouse movements to complete it. :( Not nice. If you work out a way, please post it here. :)
  6. To achieve what your trying, I would be doing something like this. Please understand I have not tested the below code. It may not work, and I can't get to a EPL compiler at the moment. Also be aware that the below presumes that when retracted the position is 0. This may not be the case. Let us know if this works. :) var(V_FLAP_L) defineph(145, FLAPS_LEFT, 0,0,0,0) // Left Flap Position :FLAPS_LEFT { #expand getPH8(V_FLAP_L, 0x0191) // Grab the second (high) byte of the Flap Setting ifvar(V_FLAP_L, EQU, 0 ) jump FLAPS_LEFT_HI // If High Flap Setting is 0 jump FLAPS_LEFT_D // Otherwise the left flaps are deployed. } :FLAPS_LEFT_HI { #expand getPH8(V_FLAP_L, 0x0091) // Grab the first (low) byte of the Flap Setting ifvar(V_FLAP_L, EQU, 0 ) jump FLAPS_LEFT_RET // If Low Flap Setting is 0 then the flaps are retracted jump FLAPS_LEFT_D // Otherwise the left flaps are deployed. } :FLAPS_LEFT_D { // Left Flaps are deployed, do something. } :FLAPS_LEFT_RET { // Left Flaps are Retracted, do something. } Now in the EpicInfo.cfg you would need: FLAPS_POS_LEFT=1 Make sense?
  7. You would have to define and query and pigeon hole.. Yell if you want some example code, but you better say what version of epic you are running (USB or ISA Rev D).
  8. I curious to know how you could, by any stretch of the imagination, think that the FSUIPC support forum is the right place to get wav files for ATC traffic?
  9. No, there isn't. Are you looking at EPL (and thereore EpicInfo) or using straight FSUIPC and using VB, C++ or delphi? In VB you could try: tempstr = CStr(IntegerNumber) tempWhole = mid(tempstr, 1, 2) tempFrac = mid(tempstr, 3, 2) In EPL its a little trickier, but not impossible.
  10. Have you got USE TCPIP=Yes in your wideserver.ini? Can you post your wideserver.ini file here? Otherwise, check that your Windows XP firewall is disabled....
  11. I imagine that Pete will implement the shutdown in such a way that it uses SHUTDOWN on Win9X and POWEROFF on NT. In fact, if I am not mistaken that code to perform this check is already in place, as on NT and above a user privilege escalation has to take place before the shutdown can be initiated.
  12. On the Project Magenta site there is a PMOffsets document that lists the FSUIPC offets to access project Magenta info, including the states of all three autopilots and the AP Disconnect bar.
  13. Okay, I haven't tried this myself, but you could try something like: In EpicInfo.cfg: AXISREADS=Both GEAR_SET=P0 In your EPL: :GEAR_UP { enque16(SetPovn0,1) } :GEAR_DOWN { enque16(SetPovn0,0) } They might end up the wrong way around, ie 1 may be down, and 0 may be up. Let me know if this works. :)
  14. I did it like this: // First we define our incoming buttons #define B_GEAR_UP 110 #define B_GEAR_DOWN 111 // And then we define the outgoing Buttons to Flight Sim #define BO_GEAR_UP 1 // Device 1, Button 1 #define BO_GEAR_DOWN 2 // Device 1, Button 2 // Link the buttons to EPL Code definebutton(B_GEAR_UP, on, GEAR_UP ) definebutton(B_GEAR_DOWN, on, GEAR_DOWN ) :GEAR_UP { enque16(BtnPulse,BO_GEAR_UP) } :GEAR_DOWN { enque16(BtnPulse,BO_GEAR_DOWN) } In the fs2002cfg ================= The big number after the joystick will probably be different for you. [JOYSTICK_MAIN {6F1D2B71-D5A0-11CF-BFC7-444553540000}] LOCKED=1 BUTTON_DOWN_EVENT_1=GEAR_UP BUTTON_DOWN_EVENT_2=GEAR_DOWN
  15. Morning Pete, Fantastic news, I will look forward to seeing it. :) It will certainly make shutting down our pit much easier. Many thanks for all your time! Cheers, Stuart.
  16. Actually, it just occured to me that the Project Magenta CDU 'ShutDown This PC' option works and shuts down the local PC.. It is a Win98_SE PC.. Perhaps Katy or Enrico could provide a pointer/code segment? Of course it will be in Visual Basic, but you can't have everything. :) :) :) Cheers, Stuart.
  17. Hi Pete, Thanks for taking the time to look, I will throw this problem to my development team today and see what they can come up with. What language are you developing in? Cheers, Stuart.
  18. Are you by chance running any firewalls on your PC's? Like zone alarm, which can stop a TCPIP process from becomming a server?
  19. Hi Pete, I upgraded WideFS and WideClient to 5.41.. I am still getting the same effect though, when I choose shutdown all pc's all the WideClient logs show: 4357730 Shutdown request received! 4357730 Running on Win95/98/ME, no need for Privilege and then they just log out and stay at the login prompt. All the PC's normally start up without that login prompt being shown.. The PC's all shutdown properly and completely when the 'Shutdown' option is chosen off the start menu... Very puzzling! Attached is the WideServer ini and log, and a Wideclient ini and log Cheers, Stuart. StuartShutdownFiles.zip
  20. It would be /really/ easy to write an app that checks radar altitude and pauses Flight Sim. The hard part would be stopping it from doing it when your landing.. :) I guess that: If Gear is up AND Vertical speed is zero or climbing. AND Radar Altitude is < 500 ft Pause. It would take about 10 minutes to code, if that is what you want.
  21. Great stuff, I just checked and we are using 5.408, I will do an update this weekend. Many Thanks! Stuart.
  22. Hi Folks, I have 7 PC's in my flight sim network, and I have been tryign tget wideFS to shut them all down. I have set the AllowShutdown=Yes in all the INI files, but when I send 0xABCD to the address in FSUIPC (or use the PM CDU) to shutdown, all the PC's just log off and sit at a login prompt. I am using Windows 98SE... Any ideas?
×
×
  • 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.