Apple Posted January 18, 2021 Posted January 18, 2021 (edited) Whilst playing around with the Moose ATIS class, I noticed that at night between 0AM and 3AM the env.mission.weather string is empty. This is true for the PG and Syria Map, and hence likely for all other maps, too! Thanks to Thrud for reporting to the Moose discord. Edited January 18, 2021 by Apple
Flappie Posted January 18, 2021 Posted January 18, 2021 Hi. I'd like to reproduce your issue but I suck at DCS scripting. Can you please attach a .miz file showing the issue? ---
Von Thrud Posted January 19, 2021 Posted January 19, 2021 (edited) Hi Flappie, Here's a dot miz file containing a brief ATIS script and the audio files. ATIS is tuned for 249.950 at Tabqa, jump in the hornet and listen to PRI. The ATIS audio takes a few seconds to stream in as it is set on a TIME MORE condition (2 seconds). Change the time to outside of 00:00:00 to 02:59:59 and ATIS works, inside that time windows the ATIS script errors - missing weather string or something per Apples report. Cheers Thrud syria_env,mission.weather_error.miz Edited January 19, 2021 by Von Thrud 1 System: I7 7700K - Delidded. TT Cooler. 32GB 3000hz Ram, Gigabyte Aorus Ext 1080TI, SSD's, Corsair Gold 850W PSU, Philips 4K 40inch 60hz monitor, Dell 22inch Touch + Helios, Rift S, VKB MCG PRO, TM TPR pedals, TM Warthog throttle with slew mod and twist repair
Apple Posted January 19, 2021 Author Posted January 19, 2021 To be super-specific, what the code does at the point it errors is -- Weather data from mission file. local weather=env.mission.weather post which the data is decomposed. Since in the given time window the weather is empty (nil) it stops working, which should not be the case. Thanks.
Flappie Posted January 19, 2021 Posted January 19, 2021 I was able to make a very simple mission thanks to @Von Thrud's miz file. My mission doesn't use Moose, and I get correct answers when I'm asking for env.mission.weather data. Here's an example (time is 0230): env.wheather_0230.trk ---
Apple Posted January 20, 2021 Author Posted January 20, 2021 Thanks Flappie, agree it wasn't you , nailed down the actual bug.
Flappie Posted January 20, 2021 Posted January 20, 2021 It couldn't have been be my fault anyway, I'm just a customer like you ! I'm glad I could help. ---
Pikey Posted November 15, 2021 Posted November 15, 2021 there's also a datalink bug been kicking about of similar nightly weirdness ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
Recommended Posts