DATIS icon indicating copy to clipboard operation
DATIS copied to clipboard

mission - No ATIS stations found

Open Sanek200 opened this issue 4 years ago • 13 comments

Greetings! Good job! Installed version 1.0.0-alpha.6 DCS World OpenBeta Server 2.5.5.41962 Uploaded your ATIS test mission https://github.com/rkusa/DATIS/tree/master/mod After starting the mission, ATIS does not work. In the DATIS log I get such information - 2020-02-04T14:50:24.666172700+03:00 INFO datis - Starting DATIS version 1.0.0-alpha.6 ... 2020-02-04T14:50:24.666172700+03:00 INFO datis::mission - Using SRS Server port: 5002 2020-02-04T14:50:24.671172100+03:00 WARN datis::mission - No ATIS stations found ... 2020-02-04T14:50:24.672173+03:00 INFO datis - Resuming ...

Tell me what I'm doing wrong? Thank you!

Sanek200 avatar Feb 04 '20 14:02 Sanek200

Hi, could you post the station configs that you've either added to the mission briefing or to the name of static units? There is probably something wrong with their format?

rkusa avatar Feb 05 '20 09:02 rkusa

Hi, I didn’t add anything. I took the finished mission - to test ATIS dictionary = { ["DictKey_UnitName_22"] = "Pilot #002", ["DictKey_UnitName_33"] = "Новый пилот", ["DictKey_WptName_8"] = "", ["DictKey_UnitName_26"] = "", ["DictKey_descriptionRedTask_2"] = "", ["DictKey_WptName_38"] = "", ["DictKey_GroupName_9"] = "ATIS Kutaisi 251.000", ["DictKey_WptName_21"] = "", ["DictKey_WptName_31"] = "", ["DictKey_WptName_18"] = "", ["DictKey_UnitName_7"] = "Pilot #001", ["DictKey_WptName_14"] = "", ["DictKey_GroupName_12"] = "", ["DictKey_UnitName_24"] = "Pilot #004", ["DictKey_UnitName_20"] = "", ["DictKey_UnitName_23"] = "Pilot #003", ["DictKey_sortie_5"] = "Sortie", ["DictKey_GroupName_19"] = "ATIS Kutaisi 251.000", ["DictKey_GroupName_35"] = "Новая вертол. группа #001", ["DictKey_GroupName_6"] = "Kutaisi", ["DictKey_WptName_11"] = "", ["DictKey_descriptionBlueTask_3"] = "SRS: 89.163.144.74:5026
123456789090-0 Test", ["DictKey_WptName_37"] = "", ["DictKey_UnitName_36"] = "Новый пилот #001", ["DictKey_GroupName_16"] = "ATIS Kutaisi 251.000", ["DictKey_descriptionText_1"] = "
ATIS Kutaisi 251.000
ATIS Krymsk 253.000
ATIS Anapa-Vityazevo 254.000", ["DictKey_UnitName_10"] = "", ["DictKey_GroupName_32"] = "Новая вертол. группа", ["DictKey_GroupName_28"] = "Batumi", ["DictKey_UnitName_29"] = "Pilot #003", ["DictKey_UnitName_13"] = "", ["DictKey_descriptionNeutralsTask_4"] = "", ["DictKey_UnitName_17"] = "Unit #001", ["DictKey_UnitName_30"] = "Pilot #004", ["DictKey_WptName_27"] = "", ["DictKey_WptName_15"] = "", ["DictKey_WptName_34"] = "", ["DictKey_GroupName_25"] = "ATIS Batumi 252, VOICE en-US-Standard-B", } -- end of dictionary

Sanek200 avatar Feb 05 '20 10:02 Sanek200

Ah gotcha, I'll double check that the example mission still works and get back to you

rkusa avatar Feb 05 '20 11:02 rkusa

I think what happens is that all stations in the example mission rely on Google Cloud's text to speech and if you haven't setup a key for that, it will ignore those stations. I've updated the example mission to contain at least on station that uses Windows built-in TTS.

With this version of the mission you should hear an ATIS station for Batumi on 252 MHz

rkusa avatar Feb 05 '20 18:02 rkusa

Result- 2020-02-06T18:35:04.855901600+03:00 INFO datis - Starting DATIS version 1.0.0-alpha.6 ... 2020-02-06T18:35:04.855901600+03:00 INFO datis::mission - Using SRS Server port: 5002 2020-02-06T18:35:04.860899800+03:00 WARN datis::mission - No ATIS stations found ... 2020-02-06T18:35:04.861899800+03:00 INFO datis - Resuming ... 2020-02-06T18:35:07.956589+03:00 INFO datis - Pausing ... 2020-02-06T18:35:09.304781800+03:00 INFO datis - Resuming ... 2020-02-06T18:36:57.228828900+03:00 INFO datis - Pausing ... 2020-02-06T18:36:59.159001+03:00 INFO datis - Stopping ...

252,000 silence. strange now what's wrong? By the log it seems to work

Sanek200 avatar Feb 06 '20 15:02 Sanek200

Hmm still no stations found. That is odd. Could you check that the mission contains the following static unit for you as well?

Annotation 2020-02-11 210524

rkusa avatar Feb 11 '20 20:02 rkusa

Everything is! The headphones are quiet Screen_200212_203116

Sanek200 avatar Feb 12 '20 17:02 Sanek200

Thanks for checking, though I am afraid I am running out of ideas of why it's not working for you 😕

rkusa avatar Feb 18 '20 16:02 rkusa

I can finally reproduce the issue. It only seem to happen when the game's language is set to RU - it works fine for both EN and DE 🤦‍♂️. I'll look into a fix in the next couple of days.

rkusa avatar May 03 '20 08:05 rkusa

It's because DATIS finds airdromes by their names as they appear on the map, and they don't match in the example if the game language is set to RU

Annotation 2020-05-03 101706

rkusa avatar May 03 '20 08:05 rkusa

The example mission that you posted on Feb 5, 2020 there are 4 ATIS stations broadcasting ATIS info. And they all work fine. But I can only find the ONE Static Object, Comms tower M at Batumi. Could you share how the other 3 are setup?  

2021-04-20T01:36:35.146433-07:00 INFO datis::mission -   - Anapa-Vityazevo (Freq: 254000000, Voice: Windows built-in TTS (Voice: "Default")) 2021-04-20T01:36:35.146445200-07:00 INFO datis::mission -   - Krymsk (Freq: 253000000, Voice: Windows built-in TTS (Voice: "Default")) 2021-04-20T01:36:35.146449500-07:00 INFO datis::mission -   - Kutaisi (Freq: 251000000, Voice: Windows built-in TTS (Voice: "Default")) 2021-04-20T01:36:35.146453100-07:00 INFO datis::mission -   - Batumi (Freq: 252000000, Voice: Windows built-in TTS (Voice: "Default")) Thanks Atis_1

tommyh454 avatar Apr 20 '21 08:04 tommyh454

@tommyh454 the other stations are setup via the mission description

image

rkusa avatar Apr 20 '21 15:04 rkusa

Ok thanks!

tommyh454 avatar Apr 21 '21 14:04 tommyh454