Jump to content
The simFlight Network Forums

Pete Dowson

Moderators
  • Posts

    38,265
  • Joined

  • Days Won

    170

Everything posted by Pete Dowson

  1. If you want to buy it, please see the SimMarket website. Regards Pete
  2. Excellent! Well done, and thank you very much for sharing! I can see clearly that your grip of Lua exceeds mine by a margin! Whether it's 24 seconds or more or less, it is all to do with the amount of stuff requested and exchanged between Wideclient and WideServer during initialisation. It could probably be speeded up, but there can be complications so some of the delays are deliberately inserted to be sure data is correct.. Also this stuff is also usually happening at a time when FS + FSUIPC have other things to worry about in the server PC. Best Regards Pete
  3. FSUIPC 4.3 is not supported. It is much too old. The earliest supported version is 4.60, and the latest interim update is 4.664, available in the Download Links subforum here. Once you've updated to a valid version of FSUIPC, you then need the FSUIPC SDK which contains the list of offset values in the "FSUIPC4 Offsets Status" document. Additions since 4.60 are listed in the addendum in the Download Links thread. Regards Pete
  4. Yes. There's already a "HIDE" facility in the [Programs] facility in FSUIPC. Not quite the same as Minimising, though. I could add a "MIN" option in the same way. For WideClient it would also be possible but I'd need to work out a way to specify it. Probably a separate line, as "Minimise1=Yes" for the "Run1" program, "MinimiseReady1=Yes" for the RunReady1 program, and so on. The program is set up to analyse the parameters in that sort of syntax already. It would work for programs whose top level window is the visible one. If this is sufficient for you I'll take a look. Is it FSUIPC3 or FSUIPC4 you are interested in? If only WideClient, for now, I can add it relatively quickly -- maybe tomorrow. For FSUIPC3 I'd rather not do it for a while because of some other things I need to sort out. Similarly for FSUIPC4. In fact, I'd really rather leave it to the HIDE facility in those. Note my spelling of "minimise" would be English, not American. ;-) (Though I expect I should accept either). [LATER] Thinking on this further, I think I'll add a more flexible facility to WideClient instead. Like Show <programID> = Hide, Restore, Min or Max where the <programID> is one of 1-8, Ready1-8, If1-8 or Key1-8, as usual. Regards Pete
  5. FSUIPC is no different in Windows 7 to XP. The Windows version does not affect it, so there's something else wrong. If the Installer said it was successful then it sounds like you could have a mis-installed SimConnect. Did you actually run FSX in between installing each part? i.e. Install the base version -- run it -- install SP1 -- run it -- install SP2 -- run it -- install FSUIPC4? I think that's the sequence needed to get each part correctly installed. To find out what is wrong, please do these things: 1. There is no "Modules" menu in any case in FSX, but there should be an AddOns menu, the last one on the right in the flight-time menu bar. Check that, if it is there -- see if FSUIPC is listed in it. 2. If not, check the FSX Modules folder. Does it contain not only an FSUIPC4.DLL file but also an FSUIPC4.LOG file and an FSUIPC4.INI file? (If you have Windows Explorer set to hide known extensions, the latter two will show as "text file" and "configuration settings", or something like that -- but best to tell Explorer not to hide extensions, via its folder options). 3. If there is no LOG or INI file then FSUIPC is not being loaded, so it is either a SimConnect problem or a corrupted DLL.XML. In this case please find the FSUIPC4 Install log (also in the FSX Modules folder. You can paste it into a reply here. 4. If there is a LOG and INI file, please show me the LOG file -- paste it in a message here. Regards Pete
  6. Not really. Not a language i know, nor the library. But it occurs to me that if in this line Dim eng1n1 As Double = (fs1n1.Value * 100 / 16384) the value of offset 0x898 is multiplied by 100 in a 16-bit word before being divided by 16384, then it would overflow. And of course, conversely, dividing first would render zero. Shouldn't the value be allowed to be read into the double before being so manipulated? If this should happen in any case in this language, forgive me. I don't really understand it. Regards Pete
  7. Sorry to butt in, but offset &h989 is part way through the Engine 2 Turbine Temperature value, which is a 4-byte offset starting at 0x0988. Pete
  8. FSUIPC has no knowledge whatsoever of the assorted A/P controls for add-ons which do their own thing. The FSUIPC assignable controls are purely concerned with default aircraft, for which there are no VNAV or LNAV controls. Many complex add-on aircraft have their own autopilots, outside of any direct control from FSUIPC unless you investigate special key assignments, Local panel variables (L:vars) or "mouse macros", which may be able to interface to your add-on aircraft. For the Level-D 767, at least, there is a program by Nico Kaan which provides an interface. I don't know about Capt. Sim 757. I suggest you investigate the "User Contributions" subforum, where folks have worked out solutions for a number of add-on aircraft. Regards Pete
  9. So key 'X' is either assigned in FS itself, or is used by the add-on aircraft you are using. Or both. There's a key press assigned by default in FS which provides that "mouse view" option. I've never used it. For these sorts of things I think you are best using FS help. The kneeboards list keypress assignments for different default aircraft. Not sure where you'd look for add-on aircraft. I don't use a keyboard with FS and really don't recall all of the normal assignments. Regards Pete
  10. Thanks. Please ZIP files next time. These did get through but that isn't always the case, depending on filetypes. Anyway, the riddle is solved. I have sent you a tidier INI file, but you must take some action first. There are two "ERJ" macros. One with a space ("ERJ .mcro") and one without. It's the space does the damage. It won't be matched in the [MacroFiles] list because the space isn't part of the parameter. Windows ends the line after the last non-space. I've never met a case where folks have put a space at the end of a name before. I will have to change FSUIPC to prevent that happening -- it will be done in a future update, for sure (in fact I'm doing it now and 4.664 will be uploaded later today**, and a similar update for FSUIPC3). The reason there were about 115 copies of ERJ in the file was that each time you loaded FS, FSUIPC saw the ERJ .mcro file (the one with the space) as a new file -- because the one listed had no space, of course. After 115 reloads of FS you filled the 128 entry table so it couldn't see any more. The ERJ space file then messed up the internal scan building the dropdown lists. Of those two ERJ macro files, which is the one you need to use? If it's the ERJ.mcro file, delete the one with the space. Else delete the other one and remove the space in the name. If you want both, change the ERJ space one to ERJ2 or something. Regards Pete **P.S. 4.664 is already uploaded. That will prevent this happening in future.
  11. Really? In both Windowed and full screen modes? If it is only in full screen mode then it is a video driver problem. I'm afraid I've never used any ATI drivers, having always stuck with nVidia based cards. The more recent nVidia drivers offer a "clean install" option, and they then do the full uninstall for you automatically. Before that I only used to do an uninstall from the Windows Settings-Add & Remove Programs (or just "Programs" these days I think), which certainly never removed all the bits and pieces. I looked at Driver Sweeper once, but like you I was reluctant to get it to do anything much because i didn't know what all the references involved. There's also a program called Revo Uninstaller, which is good for most applications but I've never tried it on drivers. Perhaps you should ask over in one of the more hardware or general help Forums? Maybe someone here can help, but more probably not. Regards Pete
  12. Then I don't understand the part "reached idle", reached it from where? You described the problem as "the throttles advancing happens as soon as N1 reaches idle". Is that meant to mean that when you pull back on the throttle, having advanced it yourself, it reduces to a lower setting but then increases again as you are still pulling back, or do you mean the throttles are doing their own thing in any case, without you touching anything? The problem I have is that I cannot see what you see nor see what you've done or what you are doing. If you think in those terms when you ask questions then perhaps you might include the details that make it clearer? Regards Pete
  13. I'm sorry if it comes across that way, it is not intended. But i am feeling helpless trying to help you when each time you post it's a different story, with never anything coherent to derive any way of helping you from. Please do scan what you've posted here. First it was spoilers activating when you used ailerons, then, without me ever seeing any more information relating to that, it became throttles moving after something (N1? ON a Cessna?) got to "idle" (undefined) from somewhere else --and again no answers when I asked you for more about that. And now it's become an inability to reverse an axis, again with no information. I'd dearly love to understand, but you need to paint a coherent picture of whatever it is your problems are! And don't jump from one to another without at least answering the previous one or confirming that you've solved it. Incidentally, if you really know so little about PCs and the like, why are you attempting to use advanced techniques with add-on DIY boards in any case? Perhaps you should first of all eliminate those boards, in case they are the problem, and try to get things working with normal ready-made controls? Even cheap throw away ones would do. At least you'll know whether it's software or your hardware then. Regards Pete
  14. I found a couple more references to different ERJ.mcro file numbers: 60 and 82. I've tidied those too. BUT: I have now run FSX with your original FSUIPC4.INI file, unchanged from your posting above, and having created dummy (but valid) .mcro files for all 10 of those you actually use, and the buttons and switches drop-downs are most definitely properly populated with macros from all 10 files. So, although the setup is in a mess, it isn't the mess that's causing your problems. The only other thing I can thing of is either that your macro files are corrupted, or that there are so many entries in them, totalled up, that it exceeds windows' capabilities for listing them all in the standard listbox dialog item. {LATER] No, it won't be the number of items: Even on Win95/98/Me the limit was 32767 items. On NT/XP/Vista/Win7 it seems only available memory limits it. So, it looks like I will need to see the files. Can you Zip up all your .macro files, those in the FSX Modules folder, in one ZIP, and send as an attachment to petedowson@btconnect.com, please? I'll send you the tidied-up FSUIPC4.INI file by return, too, but I don't think that alone will make adifference, except allowing you to add more macro files at some point. Regards Pete
  15. Sorry, but this is a new "complaint" about which I have no information. How is it that each time you post it is something different? There seems to be no continuity here at all. What have you assigned your "ailerons" control to, exactly, and where? What values are you seeing in the IN box in the joystick calibration section? What "box" are you ticking in the joystick calibration section? Have you even calibrated the ailerons? If you mean the "REV" box, you must do this BEFORE calibrating, or at least completely re-calibrate afterwards. You provide insufficient information for me to "shed" light about. (And it's been like this throughout the thread!) Pete
  16. It won't be using WideFS for any of that sort of static data. It will be referring to a database, not getting it "live" via WideFS. It only uses FSUIPC and WideFS for the aircraft positions and so on, the things that are changing. I already told you that scenery data, which is what you are missing, must come from elsewhere, possibly directly from the FS files. Sorry, but i don't know Plan-G and cannot support it. If it doesn't give you any instructions onhow to set it up then I can only suggest you refer to its author or support site, if any. Regards Pete
  17. Fine. The [MacroFiles] section seems to be a bit corrupted: [MacroFiles] 1=J41[1] 2=Simcheck XXX 3=Simcheck 4=ERJ V2 5=Maddog MD80 6=Maddog Test Kill 7=Maddog MD 80 8=Maddog Autopilot 9=B377 10=FT195 11=A300 12=ERJ 13=ERJ 14=ERJ 15=ERJ 16=ERJ 17=ERJ 18=ERJ 19=ERJ 20=ERJ 21=ERJ 22=ERJ 23=ERJ 24=ERJ 25=ERJ 26=ERJ 27=ERJ 28=ERJ 29=ERJ 30=ERJ 31=ERJ 32=ERJ 33=ERJ 34=ERJ 35=ERJ 36=ERJ 37=ERJ 38=ERJ 39=ERJ 40=ERJ 41=ERJ 42=ERJ 43=ERJ 44=ERJ 45=ERJ 46=ERJ 47=ERJ 48=ERJ 49=ERJ 50=ERJ 51=ERJ 52=ERJ 53=ERJ 54=ERJ 55=ERJ 56=ERJ 57=ERJ 58=ERJ 59=ERJ 60=ERJ 61=ERJ 62=ERJ 63=ERJ 64=ERJ 65=ERJ 66=ERJ 67=ERJ 68=ERJ 69=ERJ 70=ERJ 71=ERJ 72=ERJ 73=ERJ 74=ERJ 75=ERJ 76=ERJ 77=ERJ 78=ERJ 79=ERJ 80=ERJ 81=ERJ 82=ERJ 83=ERJ 84=ERJ 85=ERJ 86=ERJ 87=ERJ 88=ERJ 89=ERJ 90=ERJ 91=ERJ 92=ERJ 93=ERJ 94=ERJ 95=ERJ 96=ERJ 97=ERJ 98=ERJ 99=ERJ 100=ERJ 101=ERJ 102=ERJ 103=ERJ 104=ERJ 105=ERJ 106=ERJ 107=ERJ 108=ERJ 109=ERJ 110=ERJ 111=ERJ 112=ERJ 113=ERJ 114=ERJ 115=ERJ 116=ERJ 117=ERJ 118=ERJ 119=ERJ 120=ERJ 121=ERJ 122=ERJ 123=ERJ 124=ERJ 125=ERJ 126=ERJ 127=ERJ I don't know how you got all those copies of "ERJ.mcro" with different numbers, but not only does that get the maximum size list filled, it may have other effects. I'm checking now. Going through your settings, the only macros files I find you are using are: [MacroFiles] 1=J41[1] 2=Simcheck XXX 3=Simcheck 5=Maddog MD80 6=Maddog Test Kill 7=Maddog MD 80 8=Maddog Autopilot 9=B377 10=FT195 12=ERJ 25=ERJ 56=ERJ So the first thing to do is replace the complete [MacroFiles] section in your file with that shorter list I've just showed you. It still contains the weird three different references to "ERJ.mcro", which should really be tidied up too. I'll do that for you so you end up with: [MacroFiles] 1=J41[1] 2=Simcheck XXX 3=Simcheck 4=ERJ 5=Maddog MD80 6=Maddog Test Kill 7=Maddog MD 80 8=Maddog Autopilot 9=B377 10=FT195 which is nice and tidy. However, I'd like to understand how you got it to the state it was in? It's as if each time you created a new macro it did something weird to the list. I notice you have no assignments to macro files ERJ V2.mcro A300.mcro If you no longer use these I suggest you delete the files from the Modules folder. Please also double check that these files exist in the modules folder: J41[1].mcro Simcheck XXX.mcro Simcheck.mcro ERJ.mcro Maddog MD80.mcro Maddog Test Kill.mcro Maddog MD 80.mcro Maddog Autopilot.mcro B377.mcro FT195.mcro I'll do some more checks here then post you a revised FSUIPC4.INI file to try. But please check the above first and let me know. Regards Pete
  18. No. My code is in C and calls the exported C routines in the Lua interpreter -- I just split off the names using the '.' delimiter and use "lua_getfield", iteratively whilst they refer to tables (checked using "lua_istable") till I reach a function (checked by using "lua_isfunction"). Previously I was just using "lua_getglobal" (which is a special case of "lua_getfield") and "lua_isfunction". It's very similar still except for burrowing through tables. Regards Pete
  19. And you never mentioned it before? Reaches "idle" from where? What value of N1 do you consider to be "idle". I'm afraid you aren't making sense to me. You said "the trottles are advancing themselves now even in the default Cessna.", where do you read "N1" in a default Cessna? I think you need to disconnect everything and check things out with nothing attached. Nothing you have shown in any logs have indicated the slightest thing out of the ordinary. I really don't think i can help yuo. You need to start with nothing connected whatsoever. Make sure FS is okay. If your attachments are malfunctioning you need support from the folks who make them and know about them. I cannot help with FSUIPC settings without information and there isn't any. The logs, so far, show nothing wrong. I'm not sure why. Nothing you've said seems to have any relationship to anything I know about, least of all FSUIPC. :-( Delete your FSUIPC INI file. Then load FS and test. With a default INI file FSUIPC will be doing nothing at all for your attachments. Regards Pete
  20. No difference? You never mentioned anything about throttles advancing -- only spoilers deploying. You've got something really messed up then. When you uninstalled the PMDG aircraft did you make sure to remove the several PMDG DLLs they install in the modules folder? If not they'll still be running. Pete
  21. Isn't F10 often used as a menu selector, in some versions of Windows? In most programs F10 selects the first, leftmost entry in the menu. Regards Pete
  22. Over to PMDG support, then? Sorry, I don't understand that sentence. "now is Pause but nothing is assigned"? Wass mean? Er ... with no spoiler axis connected? What's all this then: 3192219 *** AXIS: Cntrl= 66382 (0x0001034e), Param= -11579 (0xffffd2c5) AXIS_SPOILER_SET 3192219 *** AXIS: Cntrl= 66382 (0x0001034e), Param= -12448 (0xffffcf60) AXIS_SPOILER_SET 3192265 *** AXIS: Cntrl= 66382 (0x0001034e), Param= -13200 (0xffffcc70) AXIS_SPOILER_SET 3192265 *** AXIS: Cntrl= 66382 (0x0001034e), Param= -13837 (0xffffc9f3) AXIS_SPOILER_SET 3192297 *** AXIS: Cntrl= 66382 (0x0001034e), Param= -14358 (0xffffc7ea) AXIS_SPOILER_SET etc? Pete
  23. Fixed in FSUIPC 3.989x, 4.662 and WideClient 6.843, all now available in the Download Links subforum. Regards Pete
  24. Okay. Looks like you didn't enable the event logging till about 3 minutes into this, and you disabled axis logging at the same time? Why? There were three items to check in the Logging tab. I listed them for you. Did the spoilers deploy after you enabled the event logging? Because there's not only no sign of them deploying, but it looks like the PMDG add-on aircraft you are using is constantly setting them "off", as part of it repeating FS control sequence, viz: 186859 *** EVENT: Cntrl= 66070 (0x00010216), Param= 0 (0x00000000) YAW_DAMPER_OFF 186859 *** EVENT: Cntrl= 66070 (0x00010216), Param= 0 (0x00000000) YAW_DAMPER_OFF 186859 *** EVENT: Cntrl= 66070 (0x00010216), Param= 0 (0x00000000) YAW_DAMPER_OFF 186859 *** EVENT: Cntrl= 65689 (0x00010099), Param= 0 (0x00000000) RUDDER_CENTER 186859 *** EVENT: Cntrl= 65957 (0x000101a5), Param= 0 (0x00000000) FUEL_SELECTOR_LEFT 186859 *** EVENT: Cntrl= 66080 (0x00010220), Param= 0 (0x00000000) GEAR_DOWN 186859 *** EVENT: Cntrl= 66065 (0x00010211), Param= 0 (0x00000000) SPOILERS_OFF The fact that the aircraft code is sending these continuously must be stopping the spoilers deploying at all, surely? What about the test with a normal, default aircraft. The PMDG series are about the most complex you could be messing with. Get things working with the default 737 first, please. I keep advising this. It is starting to lok like a PMDG problem in any case, but do please check as requested beofre we waste more time. Regards Pete
  25. Yes, it works. I've allowed functions in tables ("M.fn") and functions in tables in tables, etc ( "M.t.fn" etc), up to a limit of 63 characters between the "". Facility added in FSUIPC 3.989x, 4.662 and WideClient 6.843 now available from the Download Links subforum. Regards Pete
×
×
  • 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.