itn Posted February 12, 2024 Posted February 12, 2024 (edited) Using current DCS OB 2.9.2.49940 Mission Editor displayed waypoint altitudes change when switching waypoints. It's frustrating error with hopefully a simple and quick fix. The values change by +-1 feet per my testing. I'm using imperial values and have not tested if similar problems exist when using metric in-game. A sample mission attached. In the mission I have two groups, with waypoints 0 and 1 set to same altitude. Aerial-1 has waypoints 0 and 1 both at 6000 feet Aerial-2 has waypoints 0 and 1 both at 300 feet Steps to reproduce: Select Aerial-1: Altitude is shown 6000 feet as set in the mission. Switch to waypoint 1: Altitude 6001 is shown Switch back to waypoint 0 and still 6001 is shown. Same thing with Aerial-2 at 300 feet, except for that group the errorenous value is 299 feet. Values in mission file are saved in meters. The values values in mission file do not change if you save the mission after switching and seeing the wrong altitude values displayed. I guess this is a simple rounding error in the display logic. The values in meters are 1828.8 (6000 ft) and 91.44 (300 feet). 1828.8 ~ 1829 which gives us 6000.656 ~ 6001 feet 91.44 ~ 91 which gives us 298.556 ~ 299 feet. It's a frustrating error when going over dozens of carefully set waypoints, and no matter how hard you check and fix the values, they always seem to change. ME-altitudes.miz Edited February 16, 2024 by itn Edit title
itn Posted February 16, 2024 Author Posted February 16, 2024 (edited) On 2/12/2024 at 10:21 PM, itn said: I'm using imperial values and have not tested if similar problems exist when using metric in-game. To add to this: If using metric throughout, the bug seems not to manifest. ME doesn’t allow fractional values for altitude (whole meters/feet only) and there’d be no unit conversion, so the issue just does not happen. Problem is with rounding and/or unit conversions. Edited February 16, 2024 by itn
Flappie Posted May 18, 2024 Posted May 18, 2024 Hi @itn. I cannot reproduce this issue. Is it fixed for good? ---
itn Posted May 20, 2024 Author Posted May 20, 2024 On 5/19/2024 at 12:11 AM, Flappie said: Hi @itn. I cannot reproduce this issue. Is it fixed for good? Hey @Flappie. No change, still reproducible in ME in DCS 2.9.4.53990. Make sure you use Imperial units, as the issue seems to be in metric/imperial conversion and rounding. Steps to reproduce: Have DCS use Imperial units (under Settings - Gameplay) Open ME, add an Airplane or a Helicopter Set initial waypoint altitude to 6000 feet Add second waypoint: altitude 300 feet Add third waypoint: altitude 7003 feet Switch between the waypoints and see the altitudes are 6001, 299 and 7005 feet instead of the original values. The values are just examples, you can see it happen with different values if you keep trying.
Flappie Posted May 20, 2024 Posted May 20, 2024 I've just tried it again, using "Imperial" in DCS settings, and I still cannot reproduce the issue. Please attach your options.lua file (from Saved Games/DCS.../Config). waypoints.miz ---
itn Posted May 21, 2024 Author Posted May 21, 2024 18 hours ago, Flappie said: I've just tried it again, using "Imperial" in DCS settings, and I still cannot reproduce the issue. Please attach your options.lua file (from Saved Games/DCS.../Config). waypoints.miz 10.62 kB · 0 downloads Ah, same here: It does not happen when you click on the waypoints themselves. I didn't notice that or test it specifically. In my use case (long story short: editing dozen waypoints for dozen groups flying a carefully planned flight plan) I mainly used the waypoint drop-down menu or arrows to switch. So one more requirement to reproduce: Switch waypoints using the WAYPOINT drop down menu, or the < > arrows next to it: nullnull Can you now reproduce it, @Flappie? null 1
Flappie Posted May 21, 2024 Posted May 21, 2024 Yes! Now, I'm able to reproduce the issue. Thank you. It's now reported. 1 ---
Recommended Posts