rkusa / DATIS

DCS World Automatic Terminal Information Service (ATIS) broadcasted through Simple Radio Standalone (SRS)
MIT License
89 stars 21 forks source link

DCS 2.7 introduces floating-point cloud thicknesses -- DATIS expects int32s #95

Closed hawaiianryan808 closed 3 years ago

hawaiianryan808 commented 3 years ago

Snippet from DATIS.log:

2021-05-04T11:03:31.215375900-04:00 ERROR datis_core - ATIS Henderson Executive Airport failed: failed to retrieve weather

Caused by:
    Error from mission script: Failed to deserialize result for method get_clouds: deserialize error: invalid type: floating point `640.08`, expected i32
    {
      "old" = {
        "density" = 0,
        "thickness" = 640.08,
        "base" = 1000,
        "iprecptns" = 0,
      },
    }
2021-05-04T11:03:31.215428-04:00 INFO datis_core - Restarting ATIS Henderson Executive Airport in 60 seconds ...
rkusa commented 3 years ago

Thanks for the report! Should be fixed in https://github.com/rkusa/DATIS/releases/tag/3.1.0