Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Error at Line 282 in lib-GSX.lua

Featured Replies

Hello,

Simulator - P3Dv4.3

Airplane - PMDG 737NGX-8

Control System - Saitek X52 

C:\Program Files\Lockheed Martin\Prepar3D v4\Modules\Linda.exe 3.0.8.808 (3.0.9)

C:\Program Files\Lockheed Martin\Prepar3D v4\Modules\linda\libs\lib-GSX.lua (LINDA GSX Library  1.2)

All active at LEPA Gate 23-A (the error is not airport depended)

i get this with Linda Tracer

[E] *** LUA Error: ...ed Martin\Prepar3D v4\modules\linda/libs/lib-GSX.lua:282: bad argument #2 to 'find' (string expected, got nil)

Also, is there any description about lib-GSX.lua

Regards

Manfred Maier

Regards

Manfred Maier

Hi Manfred

There was an issue with the 3.0.9 download. Please try again and ensure that you have the latest PMDG737NGX module 4.12 installed.

If problem reoccurs try restarting the LUA engine (<CTL>+<ALT+<R>).

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

  • Author

Hi Andrew,

i have done all your advise, but nothing has changed.

Q: Where you set GSXReady to true ?

Manfred Maier

 

Edited by mmaier

Regards

Manfred Maier

Guenseli will need to answer that question.

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Hello Manfred,

You can download a version 1.3 which should hopefully fix your error:

GSX_lib 1.3

Please try and report back.

 

23 hours ago, mmaier said:

Q: Where you set GSXReady to true ?

 

I also do not understand your question. Why should you want to set it to true?

GSX ready is just a function in the lib to show you that the GSX library is active for the current plane

 

And what description do you need? There's some info in the original download thread

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

  • Author

Hello Guenter Steiner,

Checked with lib-GSX.lua Vers. 1.3

PMDG 747-400 ... OK

PMDG 747-8I ...... OK

PMDG 737-800  there is a error as before, but now at Line 286.

 

Manfred Maier

Regards

Manfred Maier

Thank you very much.

 

Could you please download another file and test:

GSX lib

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

  • Author

Hallo

Checked 737-800  ... another error !!!

[START] *************************************************************
[START] Aircraft module detected: PMDG 737-800NGX
[START] *************************************************************
[START] Calling Initialisation...
[START] Path = linda/system/init
[START] Detecting Aircraft completed
[INIT] Starting Initialisation...
[INIT] Loading Libraries...
[INIT] loading optional library: linda/libs/lib-aivlasoft
[LIB]  AivlaSoft library loaded...
[INIT] loading optional library: linda/libs/lib-ATC
[LIB]  ATC library loaded...
[INIT] loading optional library: linda/libs/lib-fallback
[LIB]  FSX standard library loaded...
[INIT] loading optional library: linda/libs/lib-FS2Crew
[LIB]  FS2Crew library loaded...
[INIT] loading optional library: linda/libs/lib-fsx
[LIB]  FSX Functions loaded...
[INIT] loading optional library: linda/libs/lib-GSX
[LIB]  GSX library loaded...
[INIT] loading optional library: linda/libs/lib-IVAO
[LIB]  IVAO library loaded...
[INIT] loading optional library: linda/libs/lib-realityxp
[LIB]  RealityXP library loaded...
[INIT] loading optional library: linda/libs/lib-saitek
[LIB]  Saitek Functions loaded...
[INIT] loading optional library: linda/libs/lib-special
[LIB]  User Library loaded...
[INIT] loading optional library: linda/libs/lib-user
[LIB]  User Library loaded...
[INIT] loading optional library: linda/libs/lib-VATSIM
[LIB]  VATSIM library loaded...
[INIT] loading optional library: linda/libs/lib-vrinsight
[LIB]  VRInsight Function Library loaded...
[INIT] loading optional library: linda/libs/lib-weather
[LIB]  Weather library loaded...
[INIT] loading optional library: linda/libs/lib-a2amap
[LIB]  A2A MAP library loaded...
[INIT] Initializing Common Variables...
[COMM] VAS Display set to 0
[COMM] SAITEK_FLAG=0 SAI_DISPLAY=1 SAI_TEST=0
[COMM] Saitek LUA in use ..
[COMM] Check File Exists "linda-cfg/system/config-hid.lua"
[COMM] Check File Exists "linda-cfg/system/config-user.lua"
[COMM] Check File Exists "linda/aircrafts/PMDG 737-800NGX/user.lua"
[USER] User's modifications script is loaded...
[INIT] User FUNCTIONS loaded...
[INIT] Finalising Initialisation...
[INIT] Initialising HID devices...
[EVNT] InitHID...
[hHID] OnRepeats cleared for nil....
[COMM] Check File Exists "linda-cfg/aircrafts/FSX Default/config-hid.lua"
[INIT] Default HID config loaded...
[COMM] Check File Exists "linda-cfg/aircrafts/PMDG 737-800NGX/config-hid.lua"
[INIT] Current aircraft (PMDG 737-800NGX) HID config loaded...
[INIT] Starting LINDA LUA setup
[COMM] Checking VRI
[COMM] Starting Saitek Panels ..
[hHID] OnRepeats cleared for nil....
[INIT] Module: PMDG 737-800NGX Started...
[INIT] Initiating Autosave true
[hHID] OnRepeats cleared for nil....
[INIT] Ready to go, Captain!
[INIT] ***************************************************************
[EVNT] OnRelease Button detected RL:06A3075C0:15 --------
[hHID] Button OnRelease 06A3075C0/15
[hHID] Button OnRelease 06A3075C0_15/Do_nothing
[hHID] Button Execute   06A3075C0/Do_nothing
[EVNT] DEBUG = 3
### Blocked: attempt made to change LogOptions via 3400, data 0x0004
FSUIPC logging bit set: 2
### Blocked: attempt made to change LogOptions via 3400, data 0x0005
FSUIPC logging bit set: 2
### Blocked: attempt made to change LogOptions via 3400, data 0x0001
FSUIPC logging bit cleared: 10
### Blocked: attempt made to change LogOptions via 3400, data 0x0001
FSUIPC logging bit cleared: 6
[E] *** LUA Error: ...ed Martin\Prepar3D v4\modules\linda/libs/lib-GSX.lua:286: bad argument #2 to 'find' (string expected, got nil)
[E] *** LUA Error: ...ed Martin\Prepar3D v4\modules\linda/libs/lib-GSX.lua:286: bad argument #2 to 'find' (string expected, got nil)
[E] *** LUA Error: ...ed Martin\Prepar3D v4\modules\linda/libs/lib-GSX.lua:286: bad argument #2 to 'find' (string expected, got nil)
[E] *** LUA Error: ...ed Martin\Prepar3D v4\modules\linda/libs/lib-GSX.lua:286: bad argument #2 to 'find' (string expected, got nil)
[E] *** LUA Error: ...ed Martin\Prepar3D v4\modules\linda/libs/lib-GSX.lua:286: bad argument #2 to 'find' (string expected, got nil)
[E] *** LUA Error: ...ed Martin\Prepar3D v4\modules\linda/libs/lib-GSX.lua:2

 

I will be there to morrow again.

Gute Nacht

Manfred Maier

 

 

Edited by mmaier

Regards

Manfred Maier

  • Author

Hallo Guenter

Checked: PMDG 737NGX

Airplan-Status: Ground and Engine running ... OK

Airplan-Status: Ground and Engine not running ... ERROR  (cold and dark also cold and APU on)

Manfred Maier

Regards

Manfred Maier

Manfred,

I have no idea, sorry.

 

I tried also the 737-800 without issues …

One last thought: can you read the aircraft.cfg file and tell me what is writen in the line "title"?

As example, the PMDG standard livery reads "title=PMDG 737-800NGX PMDG House"

Does the issue happen with different liveries, other 737 variants or just with one livery?

Please, if so, post the "title" line here.

 

Would be interested in the "title" anyway, but the GSX ready display is not very important.

You can open the actions.lua in the LINDA aircraft 737 folder and comment the line

 GSX_Ready_Display ()
 to

--  GSX_Ready_Display ()

 

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

  • Author

Hallo Guenter,

14 hours ago, guenseli said:

As example, the PMDG standard livery reads "title=PMDG 737-800NGX PMDG House"

Linda SYNC TO SIM = PMDG 737-800NGX

I tried it with this above PMDG model and all is OK.

------------------------------------------------------------------------------------------------------------------------------

Linda SYNC TO SIM = PMDG 737-800NGX

I tried it with this PMDG model PMDG 737-800NGX PMDG House Winglets and all is OK.

------------------------------------------------------------------------------------------------------------------------------

Linda SYNC TO SIM = PMDG 737-800NGX

I tried it with this PMDG model  "Boeing 737-8ASNGX Ryanair Winglets and all is OK with engine runing but with COLD/DARK the ERROR occurs again

C:\Program Files\Lockheed Martin\Prepar3D v4\SimObjects\Airplanes\PMDG 737-800NGX WL\aircraft.cfg = [fltsim.3]
title=Boeing 737-8ASNGX Ryanair Winglets
sim=B737-800WL

------------------------------------------------------------------------------------------------------------------------------

Linda SYNC TO SIM = PMDG 737-800NGX

I tried it with this PMDG model  "Boeing 737-85PNGX Air Europa and all is OK with engine runing but with COLD/DARK the ERROR occurs again

C:\Program Files\Lockheed Martin\Prepar3D v4\SimObjects\Airplanes\PMDG 737-800NGX WL\aircraft.cfg = [fltsim.1]
title=Boeing 737-85PNGX Air Europa
sim=B737-800

------------------------------------------------------------------------------------------------------------------------------

Linda SYNC TO SIM = PMDG 737-900NGX

I tried it with this PMDG model PMDG 737-9KSNGX KLM Royal Dutch Airlines Winglets and all is OK.

C:\Program Files\Lockheed Martin\Prepar3D v4\SimObjects\Airplanes\PMDG 737-900NGX WL\Aircraft.cfg = [fltsim.1]
title=Boeing 737-9K2NGX KLM Royal Dutch Airlines Winglets
sim=B737-900WL

------------------------------------------------------------------------------------------------------------------------------

All checks are made at EDMA near my hometown.

Manfred Maier

Edited by mmaier

Regards

Manfred Maier

For LINDA to match with different variants of the same aircraft it is essential that the Sync to Sim window matches the shortest common part of the aircraft's name. In all the cases above, this should be "PMDG 737" and is defined in the file ident.lua.

If you click on Edit button (top line) you should see, Module Name (eg. PMDG 737NGX) and Aircraft Search String (eg. PMDG 737) and a list of the matched a list of the matching aircraft. If the search string has been altered then the reported could occur. 

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

  • Author

Andrew

i changed C:\Program Files\Lockheed Martin\Prepar3D v4\Modules\linda\aircrafts\PMDG 737-800NGX\ident.lua from simfolder="PMDG 737-800NGX"  to simfolder="PMDG 737"

Nothing has changed the same error with airplan-status cold/dark.

Linda SYNC TO SIM = PMDG 737-800NGX

With Edit button the Aircraft Search String is now "PMDG 737".

I think you're on the wrong track, but why only cold/dark brings the error.

I used

-- LINDA GSX Library  1.2

-- ## sys functions - do not assign###############
-- ##  ###############
-- currently supported planes:
-- PMDG 747, 777, NGX
-- Majestic Dash 8
-- Leonardo Maddog X

Manfred Maier

I think you're on the wrong track, but why only cold/dark brings the error. <<<<<<<< I take back you're right

I have found with FSUIPC 5.14

in lib-GSX.lua 1.2

at line 169 acftname = ipc.readSTR("3D00", 35)  Variable 3D00 value (AsciiZ) = [28]"Boeing 737-85PNGX Air Europa"

so line 173 GSX_PMDG_737 () Never comes into action

Manfred Maier

Edited by mmaier
new findings

Regards

Manfred Maier

How many PMDG 737 modules do you have installed? There should only be one each entitled PMDG 737NGX in the /linda/aircrafts/ and /linda-cfg/aircrafts/. Only PMDG 737NGX should appear in the Sync to Sim box. It sounds like you have more than one. There should be no suffix like -800. 

Edited by ScotFlieger

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

ok, then I know what happened:

You have different titles with your planes:

one reads PMDG 737 and the other one reads Boeing 737.

 

The original reading should be PMDG 737 etc. So, the liveries you use are not correct from the producer of the liveries.

I will try to make a fix for that case

 

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.