Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi Pete,

I am having a problem with the automatic starting of a lua script. FSUIPC is 3.999z2. "ShortAircraftNameOk=SubString" is set. The lua script is simply not starting by itself, I always need to activate it manually.

Below you see a code snippet from my FSUIPC.ini. Thanks in advance!


[Auto.iFly 737-800]
1=FA_IFLY737
[Monitor]
Display=4
Monitor0=0,66C1,0,0

[LuaFiles]
1=FA
2=log lvars
3=FA_LSH_MD82
4=FA_IFLY737
[Keys]
1=116,8,L4:R,0
2=117,8,1084,0
[window.LUA display]
Docked=7354, 2810, 3545, 5291

[Axes.iFly 737-800]
0=0X,256,D,7,0,0,0
1=0Y,256,D,8,0,0,0
2=0Z,256,D,3,0,0,0
3=1X,256,D,22,0,0,0
4=1X,B,9485,12072,66066,0,66067,0
5=1Y,256,D,9,0,0,0
6=1Z,256,D,10,0,0,0
7=1R,256,D,23,0,0,0
8=1U,256,D,42,0,0,0
9=1V,256,D,41,0,0,0
10=2Z,256,D,36,0,0,0
11=3U,256
12=3U,B,-16384,-129,66080,0
13=3U,B,0,16383,66079,0
[Buttons.iFly 737-800]
2=P1,0,K67,8
3=P1,1,K70,8
4=P1,2,K72,8
5=P1,3,K72,9
6=P1,4,K74,8
7=P1,5,K74,9
[Profile.iFly 737-800]
1=iFly 737-800 AirBerlin D-ABBE (Wide screen)
[/CODE]

Posted

I am having a problem with the automatic starting of a lua script. FSUIPC is 3.999z2. "ShortAircraftNameOk=SubString" is set. The lua script is simply not starting by itself, I always need to activate it manually.

Below you see a code snippet from my FSUIPC.ini. Thanks in advance!

[Auto.iFly 737-800]
1=FA_IFLY737

What sort of macro do you think "FA_IFLY737" is? There's nothng there to tell FSUIPC whether it's a KeyPress, a Control, a mouse macro or a Lua plug-in to be run. If you want to run a Lua program you have to give the command:

1=Lua FA_IFLY737

Didn't you check the format or look at any examples first?

Regards

Pete

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.