Jump to content

API - between 00:00:00AM and 02:59:59AM the env.mission.weather string is empty


Apple

Recommended Posts

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 by Apple
Link to comment
Share on other sites

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 by Von Thrud
  • Like 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 comment
Share on other sites

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 comment
Share on other sites

  • 9 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...