Jump to content
The simFlight Network Forums

Pete Dowson

Moderators
  • Posts

    38,265
  • Joined

  • Days Won

    170

Everything posted by Pete Dowson

  1. You seem to have posted this twice! See other copy. Pete
  2. I don't know Java at all, but if you can write to FSUIPC offsets from Java then just use the offset 3380 to write the text, then 32FA to get it displayed. Please refer to the offsets list provided in the SDK (and also in your FSUIPC Documents subfolder). Pete
  3. HID devices aren't necessarily listed in the Log file. Why should they be? So, is the problem not specifically anything to do with HID, but only that no Lua files placed in the P3D modules folder are recognised -- ie not listed in the [LuaFiles] section of the FSUIPC4.INI file? In what way "logged"? FSUIPC does not log all HID devices. My HidScanner program does. Can you explain what you mean there please? Pete
  4. There's no way FSUIPC can stop another SimConnect user using SimConnect to load a flight plan into FS. I've never heard of any problem with EFB like this -- it sounds very weird. I assume you have asked on the EFB support forum? I use EFB all the time, but I load the flight plan into both EFB and FSX from the same source -- PFPX. Works very well. Pete
  5. Nothing in software can really cure jitter, though it can be smoothed somewhat using the Filter ("F") option in the calibration. It is normally caused by poor power or dirty or worn pots in the controls. Larger movements would more likely be down to bad connection, bad wiring, or interference with other assigned controls. The Filter option will slow down responsiveness somewhat -- an unfortunately side-effect of any smoothing. Except with something like the digital thrust control in Airbuses, It is quite normal in real aircraft for throttles not to be exactly aligned for the same power settings. However, if you really want them lined up to save effort, you could use the sync options provided in FSUIPC's calibration for exactly this purpose. With this you choose a number of points along their movement to line up to, so that the calibration is done to a matching "curve" (series of straight interpolations really). Regards Pete
  6. I've not heard of anything like any of the problems you mention. In particular the dialogue asking you if you want to register of not is a standard Windows dialog and it cannot close until you click one of the buttons. So having it disappearing without any action whatever on your part is extremely weird. Also if there is a Modules folder it will have been actually created by FSUIPC4's installer at the time it copied the files, so I simply cannot imagine how an empty modules folder can arise. I'm wondering if you are looking in the wrong place. Please show me the FSUIPC4 Install log file. You can paste it into a message here. If you can't find it, just make sure to save a copy somewhere you CAN find it, using the File menu for this in the display. Pete
  7. These weird parameter values are just single bits and much more conveniently expressed in hexadecimal. -2147483648 is just x80000000 (you can enter it either way). FSUIPC does actually allow ALL negative numbers up to -2147483648. There looks to be just a display problem with that one number (which now I've noted I'll fix in due course), but you will find that it is stored in the INI file correctly and should certainly work okay. -- it does here. Just enable Button and Event logging options and see for yourself. Regards Pete
  8. Something is wrong then. Please show me your FSUIPC4 Install log (from the P3D modules folder). You can paste it into a reply here. Pete
  9. Please refer to the FSUIPC documentation, and in particular the boxed section about this in the Axis Assignments chapter. As you will read, provided both Rudder and Steering are calibrated in FSUIPC, all that is already taken care of. Pete
  10. Nice contribution! Thanks. Just a few typos needed correcting, so I've done that for you. There lines in the explanation: won't work because the a in 'and' needs capitalising. Unfortunately I couldn't be consistent with those logic functions "And" and "Or" because, with all lower case, they are of course Lua reserved works. Best Regards Pete
  11. Well they may well have key press or control access to their buttons, or maybe Mouse Macros may work -- they do on a lot of newer add-on aircraft. But I'm afraid I cannot advise about third party aircraft. They are all different, and most of the more sophisticated ones do their own thing in most departments. You may do better asking around in their own support forums. Pete
  12. Do you mean the default Cessna 172 in FSX? I can't see a way except by mouse. I tried applying FSUIPC's mouse macros to it, to no avail -- all attempts cause an "exception", meaning the MS code isn't suitable for direct calls. And there are no L:Vars used by it. So ... no way. You might want to consider an add-on aircraft instead? But check they do what you want first. Pete
  13. Claudio, Can you try FSUIPC 4.934, please? I think your problem might be the same as one reported separately which is now fixed. it applies only to Lua plug-ins loaded by a non-profile specific [Auto] section in the FSUIPC INI file. I'll check back with you after my holiday. Regards Pete
  14. There aren't any. Microsoft programmed the clock as a function completely local to the gauge code. Pete
  15. No, not yet. From Saturday. The latest version is 4.933, not 4.931 as in your title. I haven't sufficient information from the other report, and although I've seen the Lua script he is using it is far too complex for me to understand what is going on. Perhaps yours is simpler and will enable me to determine what the problem might be? If so I'd love to look at it please, so I can see what might be the problem. If you are quick maybe I can fix this before I go away? I don't like having things to worry about when on holiday. :-( Could you therefore do these things, please, ASAP? 1.In FSUIPC's logging tab, enable the Lua debug/trace options. Then close down FS. 2.Reload FS and do the shortest test possible which shows the problem. Close down FS. 3.ZIP up the FSUIPC4 log file and your Lua plug in, and send them to me at petedowson@btconnect.com with a brief explanation of what you did and what you expected which didn't work. I've made no changes which should affect any existing Lua plug-in that I know of, so if there is a problem it must be something accidental. i need to know where to start looking, at least. I use a lot of Lua plug-ins for all sorts of things, and i've not found any which don't work with 4.933. Regards Pete
  16. Sorry, I'm not the person to ask I'm afraid. I don't even have any PMDG aircraft installed for FSX -- I used to use their FS9 737. You need PMDG support forum really, it is their aircraft and their list of controls. All FSUIPC is doing is making an easy way for you to send these controls. If you've used others in their list and they work, then this proves you know how to do it. You can just check, in FSUIPC, that you are actually causing the correct control to be sent. Enable Event logging in the Logging tab, and check that the log does show that you are sending the correct control value. Regards Pete
  17. Leo Bodnar has one in his catalogue. See http://www.leobodnar.com/shop/index.php?main_page=product_info&products_id=210. However, it says 'sold out' at present. Maybe he can point you to other sources? I've thought of one source. Buy a cheap joystick with a hat and take it out. It might actually work out cheaper than buying the switch separately! Pete
  18. Well, I'm pleased for you, but i must clarify some points here, mainly for the benefit of others who may read this thread. First of all there's no way a WideClient can connect to a different server if the ServerIPAddr or ServerName parameters and a Protocol parameter are correctly provided and actually seen in the INI file at the time WideClient is started. This is because it then ignores the Server ID broadcasts, the little once-per-second messages sent to all PCs in the workgroup which identify the Server name, IP address and preferred protocol. Second, the only use of the Client name list in the FSUIPC INI file is to enable button inputs to the Server from joystick or other devices on clients to be uniquely identified for assignment purposes. There is no other use for them, and the Server only knows about them when a client succeeds in connecting and then sending its Name. The names are NEVER used by the Server to contact clients. There's just no way the protocol allows server-initiated connections. The client list in my own INI files on the assorted PCs I have are very long indeed, actually featuring PCs I no longer have or ones which rarely connect. But every client can always be directed to a specific server, should this be what I want. Regards Pete
  19. Yes, but the automatic linking of the Client to the Server is based on seeing something to connect to. It seems pretty obvious, doesn't it, that if you need to direct a specific client to a specific server some additional action is needed. how else can it know which of multiple servers is the one you want it to deal with? That's all this is about. No, don't be like that. I'm sorry if I've put you off answering questions -- it was just the thought of you searching all the way through the Forum for a solution rather than look at the manual seemed, er, a bit odd. That was all. And in this case you don't actually have to read all of the manual, only look up the bit about configuring the network I mentioned. It will tell you the format of the parameter you need in each WideClient.INI file. I always try to answer questions properly, even if it is by reference to the manuals. I can't help emphasising documentation -- it is, for me, the worst part of developing software and so, having done it, it is a little frustrating when folks don't use it! ;-) Regards Pete
  20. Didn't you read any of the WideFS user guide? The part on configuring your network, with a RED BOLD message asking that you be sure to read some of it at least? All you need to do is provide the Server PC name or its IP address to Wideclient, in its INI file. You never even thought of looking at the documentation? :-( Regards Pete
  21. No it doesn't!. What do you mean "working intermittently"? The logs show no connection at all! It looks like the attempts from the client are blocked, maybe by a firewall in either PC. That's the main thing to check. SimConnect doesn't support FSUIPC client applications, and FSUIPC doesn't support SimConnect applications, so your choice is surely what applications you use, not whether to use SimConnect or FSUIPC. Pete
  22. Hmm. Strange. No relevant changes in Lua between 4.929 and 4.931. In fact pretty much the only changes at all were for P3D 2.2, to match the hooks into the P3D code which had changed. none of that would touch Lua actions. For some reason you have ipc Write logging enabled, which is not relevant to any Lua plug-in (at present -- that's something I may change!). The only logging which might have been useful in the Lua debug/trace actions. But don't bother. I've tried it here and I don't know what ThrottleManager is supposed to do so can't really test it. And in any case I do not understand the code, at least not without spending a long long time working through it. i'm afraid i am completely dependent upon the author telling me what is wrong. Okay. Tell him I'm away till 20th May. Pete
  23. There's no change I'm aware of which will affect any previous Lua plug-in. Maybe it's a bug, but i can't help with no information. What was your previous version of FSUIPC? What exactly doesn't work? Is it loading? How is it loaded/ started? Have you checked the FSUIPC log file for errors? It may need tracing (using the option in the FSUIPC Logging tab) to see where it goes wrong. [LATER] Well, I've had a look at that plug-in. Actually there are several versions in that thread, one of which even uses Lua sockets. And they are all so complicated I don't understand what they are doing at all, so even with a trace I wouldn't be able to identify the problem. So, can you contact the author and see if he can find out what the problem is -- if it is something I've messed up, somehow, I would dearly love to know and fix it. There's one problem -- I'm off on holiday on Saturday for 10 days. Do you think you can get "pilotjohn"s involvement very quickly? Maybe a private message? Pete
  24. It is superseded by the proper release, 4.933, now. Please use that. The colour isn't actually anything FSUIPC can control. The size is controlled by yourself -- you can always resize and reposition these sorts of windows yourself. FSUIPC remembers this. It sounds like you somehow had a corrupted save at one time. This updated version fixes bad saved window positions and sizes. There should be no backaground for the docked window. It is always transparent. If it was opaque it sounds like it must have been the undocked one? Either way, FSUIPC has no control at all over transparency. Pete
  25. Not sure why you think that? There is a huge number of "custom controls" which can be assigned for the PMDG NGX -- they mostly are assigned by number, obtained from the .h file in the PMDG 737NGX SDK folder. And in any case, isn't the NGX controllable via assignable keystrokes, or does it only use mouse clicks? Even if this is the case, there's lots of evidence showing that it accepts programmed mouse macros -- see the thread about this entitled "FSUIPC Mouse Macros for PMDG 737NGX" in the User Contributions subforum above. Without knowing what you've assigned your button presses to do, I can't possibly help you there. And I don't use the PMDG 737NGX myself. You should refer to the assorted User Contributions for this aircraft, or talk to folks on the PMDG forum for the aircraft. Sorry, you haven't mentioned any particular way of programming it, so I can't really say. 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.