Search found 113 matches

by Shimokuta
Tue Jan 30, 2024 7:06 pm
Forum: Lua and API Scripting Help
Topic: rotate map
Replies: 12
Views: 2400

Re: rotate map

uninstalled and reinstalled 4.2 , rotating maps works again... weird..
by Shimokuta
Mon Jan 29, 2024 9:00 am
Forum: Lua and API Scripting Help
Topic: rotate map
Replies: 12
Views: 2400

Re: rotate map

It seems the map again does not rotate anymore in v 4.2.4 but also not in 4.1.6!!
Only noticed this for now. :roll:
by Shimokuta
Wed Jan 10, 2024 6:33 pm
Forum: Air Manager Bug Reports
Topic: 4.2 multiple instrument start
Replies: 3
Views: 464

Re: 4.2 multiple instrument start

ah, indeed

clear

thx
by Shimokuta
Wed Jan 10, 2024 5:43 pm
Forum: Air Manager Bug Reports
Topic: 4.2 multiple instrument start
Replies: 3
Views: 464

4.2 multiple instrument start

Hi

What i read it should be able to start multiple instruments from create/edit.
When i start the second, the first started instrument stops!?
by Shimokuta
Sat Jun 10, 2023 7:43 am
Forum: Lua and API Scripting Help
Topic: nav_get question
Replies: 14
Views: 1145

Re: nav_get question

There seems do be something going wrong when, like i was trying , to nest one nav_get call from within a function is calling into another function
Then this seems to be disturebed.
But, i have changed my approach to use the nav_get funtion and read navdata from airac .
So, never mind this threat
by Shimokuta
Mon May 29, 2023 6:46 am
Forum: Lua and API Scripting Help
Topic: nav_get question
Replies: 14
Views: 1145

Re: nav_get question

I think the behaviour is by design. It seems not to be possible to use nav data in local variables. In attached code i simply created 2 local variables rw 1 and rw 2 and fill these in the nav_get function. They also are not persistent further in the main code. I think the nav_get features are merely...
by Shimokuta
Sun May 28, 2023 7:18 pm
Forum: Lua and API Scripting Help
Topic: nav_get question
Replies: 14
Views: 1145

Re: nav_get question

Yes, but that was my issue ;)
Why is the table not persistent outside the nav_get function?
by Shimokuta
Sun May 28, 2023 6:24 pm
Forum: Lua and API Scripting Help
Topic: nav_get question
Replies: 14
Views: 1145

Re: nav_get question

The first 0 you see in the output box is in fact the one you start in the function what starts the nav_get command the other one are from the other functions.
It doesn’t matter what icao you use
by Shimokuta
Sun May 28, 2023 3:45 pm
Forum: Lua and API Scripting Help
Topic: nav_get question
Replies: 14
Views: 1145

Re: nav_get question

No this also does not work. :(
I tried this for my original code and there is found this issue.

THere are some more print statements in the functions maybe that confused you?
if you leave them out en only print the #Runway_available in the launch() function then this results also in a 0 record.
by Shimokuta
Sun May 28, 2023 3:29 pm
Forum: Air Manager Help
Topic: Problem with File I/O
Replies: 24
Views: 2207

Re: Problem with File I/O

Thanks Keith for the quick reply!
Ah ok you convert it, tought there might be a ready to use json data file in the airac

Again ...thanks