Apple Posted January 18 Share Posted January 18 (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 by Apple Link to post Share on other sites
Flappie Posted January 18 Share Posted January 18 Hi. I'd like to reproduce your issue but I suck at DCS scripting. Can you please attach a .miz file showing the issue? Accurate DCS 2.5 Caucasus map - v1.0 Link to post Share on other sites
Von Thrud Posted January 19 Share Posted January 19 (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 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 Link to post Share on other sites
Apple Posted January 19 Author Share Posted January 19 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. Link to post Share on other sites
Flappie Posted January 19 Share Posted January 19 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 Accurate DCS 2.5 Caucasus map - v1.0 Link to post Share on other sites
Apple Posted January 20 Author Share Posted January 20 Thanks Flappie, agree it wasn't you , nailed down the actual bug. Link to post Share on other sites
Flappie Posted January 20 Share Posted January 20 It couldn't have been be my fault anyway, I'm just a customer like you ! I'm glad I could help. Accurate DCS 2.5 Caucasus map - v1.0 Link to post Share on other sites
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