rkusa / DATIS

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

Error: Trying to access undefined lua global or table key: frequency #42

Closed wtcullen closed 4 years ago

wtcullen commented 4 years ago

Getting the following on Server Launch: ERROR datis - Error initializing DATIS: Trying to access undefined lua global or table key: frequency. Have attempted restarts. Occurs on both Alpha 6 and 7 builds. Latest DCS Open Beta, SRS Server 1.7.7.0 running local on DCS Server box.

rkusa commented 4 years ago

Thanks for the report! It seems like you have a ship in your mission where DATIS fails to read it's frequency from (it reads the frequencies from ships to search for e.g. Stennis for a carrier-ATIS broadcast). Mind telling me which ships you have in your mission, or sending me your mission to my email address (should be public in my Github profile), thanks.

Ev3nflow commented 4 years ago

Hi. Sorry to tag in but we're having the same issue.

There are currently no statics or anything similar that are configured for ATIS, nothing has this name. Still, when we start the game we get the same error:

ERROR datis - Error initializing DATIS: Trying to access undefined lua global or table key: frequency.

I'm curious as to why you immediately thought it was ships. We do have ships in our mission, such as the Stennis, but it's not configured to use ATIS. Even after we did configure it, the error still appeared.

Starting a fresh map from scratch of course works fine. If you would prefer, we can send you the mission.

Thanks.

wtcullen commented 4 years ago

Our problem occurs strictly on the popular "Through the Inferno" mission. I've been able to create a fresh mission and DATIS works no problem. I believe this has to do with the way TTI performs some abstractions of certain entities.

rkusa commented 4 years ago

"Through the Inferno" mission.

That information should help to reproduce it, I'll have a look, thanks

NegativeFeedback commented 4 years ago

same issue and same mission, can provide any details you need

rkusa commented 4 years ago

Should be fixed in https://github.com/rkusa/DATIS/releases/tag/1.0.0-alpha.8 Thanks again for the report

wtcullen commented 4 years ago

You sir are a legend, thank you.