Nudge Posted October 8, 2008 Report Share Posted October 8, 2008 Hi, Not sure if this is a bug, or if I'm doing something wrong. If I set slew to on when the aircraft is sitting on the ground and then try to set the altitude, nothing happens. However, if I set the altitude a little above the original altitude, it works fine. It works fine when slew is off and the aircraft is sitting on the ground. Maybe this is because slew sinks the aircraft a little when sitting on the ground? Is there a way I can get around this? I'm using registered version 4.317 Link to comment Share on other sites More sharing options...
Nudge Posted October 8, 2008 Author Report Share Posted October 8, 2008 Oops, forgot! Using FSX + Acceleration Pack Link to comment Share on other sites More sharing options...
Pete Dowson Posted October 8, 2008 Report Share Posted October 8, 2008 Not sure if this is a bug, or if I'm doing something wrong. If I set slew to on when the aircraft is sitting on the ground and then try to set the altitude, nothing happens. Sorry, can you expand more on how you are doing this? Is it by program, over the IPC interface, using some offsets? Do you have a log of this? Have you tested using FSInterrogate? Regards Pete Link to comment Share on other sites More sharing options...
Nudge Posted October 10, 2008 Author Report Share Posted October 10, 2008 Hi Pete, Sorry. I'm setting altitude using VB.NET at this time using offset 0570, I have no logs, i did test with FSInterrogate, it does the same. These are the values at startup with the aircraft on ground, and these do not change when in slew mode. Buffer 1: 83626839613 Factored : 63.88088 - this is the correct elevation for YHBA It only does it if the aircraft was sitting on the ground when using slew mode, I entered slew mode via keyboard not code. The only thing I can see is that the aircraft sinks a little To duplicate; Start FSX, enter slew mode, you'll visibly see the aircraft sink a little, try and change altitude, nothing happens, move aircraft via FSX using slew a little of the ground, and all works fine. Cheers, Charlie Link to comment Share on other sites More sharing options...
Pete Dowson Posted October 10, 2008 Report Share Posted October 10, 2008 Start FSX, enter slew mode, you'll visibly see the aircraft sink a little, try and change altitude, nothing happens, move aircraft via FSX using slew a little of the ground, and all works fine. Ok. Confirmed. Actually the slew controls work fine through FSUIPC too (i.e. vertical slewing via offset 05E8). Looks like a peculiarity or bug of SimConnect / FSX. I suspect it's related to the "on ground" status -- that doesn't change either, so maybe it is overriding the attempt to set the altitude directly. You may want to report it to Microsoft via tell_fs@microsoft.com in case they don't know about it and feel like fixing it in FSXI or ESP2. I could look at trying to work-around it automatically in FSUIPC by using 05E8 to get it off the ground before immediately than re-writing the altitude. Not sure if this will work as a tight sequence though. Is there any real problem if it isn't fixed? [LATER] The work-around I suggested does work. Here, you can easily test it for yourself using this Lua program: ipc.writeSW(0x05E8, 0) ipc.writeSW(0x05E8, 16384) ipc.writeDD(0x0570, ipcPARAM * 65536 *65536 / 3.28084) Save this in the Modules folder as, say, "set slew alt.lua". Go into Key or Buttons tab in FSUIPC options, Reload buttons or keys (to get the new plugin recognised), and assign a Key or Button to the new "Lua set slew alt" control, with the altitude in feet as the parameter (e.g. 3000). Then, with the plane on the ground in slew mode, try your new control. Incidentally, you do need the latest version of FSUIPC4, from the FSX Downloads announcement above, for Lua plugins to work -- they were supported only since version 4.311, and have just been added to FSUIPC3. Regards Pete Link to comment Share on other sites More sharing options...
Nudge Posted October 11, 2008 Author Report Share Posted October 11, 2008 Hi Pete, Thanks for the additional info and work around. Will give it a go. No real dramas on getting a fix, I can use the work around you have suggested. Thanks again for the support. Cheers, Charlie Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now