Jump to content

GIZMO error console: arithmetic on nil value


charraeus
 Share

Recommended Posts

Hi,

until today I've had no problems like this. But now the following error occurs after loading the plane:

Quote

RunLuaFunction(timer): SAAB PLII XPDR1 deferInit: [string "JGX.2.PLII.XPDR1.lua.aes"]:786: attempt to perform arithmetic on a nil value

How can I solve this?

My system:

  • Windows 10 Pro Version 1511, build 10586.494
  • X-Plane 10.45
  • And off course: I did not make any change in the X-Plane config or installation.

Part of FlywithLua_debug.txt:

(..)
[000833] FlyWithLua: User switched to a new airport (or changed the plane). Script files have to be reloaded.
[000834] FlyWithLua Info: Load exit file.
[000835] FlyWithLua Info: Lua engine (re)started. LUA_RUN = 4, SDK_VERSION = 210, XPLANE_VERSION = 10450, XPLANE_LANGUAGE = English and XPLANE_HOSTID = 1
[000836] FlyWithLua Info: HID access initialized.
[000837] FlyWithLua Info: Discovered 14 HID devices.
[000838] FlyWithLua Info: Load ini file.
[000839] FlyWithLua Info: Searching for Lua script files
[000840] FlyWithLua Info: Sorting Lua script files
[000841] FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/reload scenery.lua
[000842] FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/reload scenery.lua
[000843] FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/zzz_Meine_Assignments.lua
[000844] zzz_Meine_Assignments.lua: Start zzz_Meine_Assignments.lua
[000845] zzz_Meine_Assignments.lua: Saab 340A settings applied. Aircraft-Filename: LES_Saab_340A.acf
[000846] zzz_Meine_Assignments.lua: End zzz_Meine_Assignment.lua
[000847] FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/zzz_Meine_Assignments.lua
[000848] FlyWithLua Info: All script files loaded successfully.
[000849] FlyWithLua Info: Loading time for all scripts is 0.156 sec.
[000850] G64: 262.827: Trigger: ScriptedReboot..
[000851] G64: 262.827: Run('OnBeforeReboot')
[000852] G64: 262.827: GizmoCore::Stop()..
[000853] G64: 262.841: GizmoCore::Start()..
[000854] G64: 262.843: Boot Count: 4
[000855] G64: 262.867: deployment.key contents:(58ddb93269c683f3b7d1975434ffbf66)
[000856] G64: 263.264: Trigger: Run('OnBoot')
[000857] JARDesign Ground Handling 3D Sound Engine Disable 
[000858] FlyWithLua Debug Info: Debug file written to "<<x-plane dir>>/FlyWithLua_Debug.txt".
[000858] FlyWithLua Debug Info: Debug file written to "<<x-plane dir>>/FlyWithLua_Debug.txt".
[000859] FlyWithLua Debug Info: Debug file written to "<<x-plane dir>>/FlyWithLua_Debug.txt".


*** History of code you entered directly into FlyWithLua ***
-- Welcome to FlyWithLua running Lua 5.1 (for more info see SYSTEM, SYSTEM_ARCHITECTURE, XPLANE_VERSION and XPLANE_LANGUAGE).
-- Get mouse, keyboard and screen info from MOUSE_X, MOUSE_Y, SCREEN_WIDTH, SCREEN_HIGHT, VKEY and CKEY.

 

The last part of the log.txt:

JARDesign Ground Handling 3D Sound Engine Disable 
0:02:46.995 I/ACF: Loading airplane number 0 with Aircraft/X-Aviation/Saab 340A/Passenger Variant/LES_Saab_340A.acf
G64: 228.351: Cleaning up:(Aircraft/General Aviation/Cessna 172SP/)
G64: 228.351: Run('OnBeforeReboot')
G64: 228.351: Aircraft Changed.
G64: 228.358: deployment.key contents:(58ddb93269c683f3b7d1975434ffbf66)
G64: 228.358: Aircraft Details:
G64: 228.358:         Author: (Leading Edge Simulations)
G64: 228.358:    Description: (Saab 340A Published by X-Aviation)
G64: 228.358:  Relative Path: (Aircraft/X-Aviation/Saab 340A/Passenger Variant/LES_Saab_340A.acf)
G64: 228.358:       MD5 Hash: (52b89d8c2ee165038d840e04daa2f7f3)
G64: 228.358: Plugin Mode: Pro
G64: 228.358: Trigger: ScriptedReboot..
G64: 228.358: Run('OnBeforeReboot')
G64: 228.358: GizmoCore::Stop()..
G64: 228.359: GizmoCore::Start()..
G64: 228.360: Boot Count: 3
G64: 228.385: deployment.key contents:(58ddb93269c683f3b7d1975434ffbf66)
G64: 250.418: Livery Details:
G64: 250.418:   Folder: (Aircraft/X-Aviation/Saab 340A/Passenger Variant/liveries/Alitalia/)
G64: 250.418:     Name: (Alitalia)
0:02:46.995 I/GPS: Added 23648 airports to the GPS database
0:02:46.995 I/FLT: Init dat_p0 type:loc_ram apt:LHBP rwy:13R
FlyWithLua: User switched to a new airport (or changed the plane). Script files have to be reloaded.
FlyWithLua Info: Load exit file.
FlyWithLua Info: Lua engine (re)started. LUA_RUN = 4, SDK_VERSION = 210, XPLANE_VERSION = 10450, XPLANE_LANGUAGE = English and XPLANE_HOSTID = 1
FlyWithLua Info: HID access initialized.
FlyWithLua Info: Discovered 14 HID devices.
FlyWithLua Info: Load ini file.
FlyWithLua Info: Searching for Lua script files
FlyWithLua Info: Sorting Lua script files
FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/reload scenery.lua
FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/reload scenery.lua
FlyWithLua Info: Start loading script file Resources/plugins/FlyWithLua/Scripts/zzz_Meine_Assignments.lua
zzz_Meine_Assignments.lua: Start zzz_Meine_Assignments.lua
zzz_Meine_Assignments.lua: Saab 340A settings applied. Aircraft-Filename: LES_Saab_340A.acf
zzz_Meine_Assignments.lua: End zzz_Meine_Assignment.lua
FlyWithLua Info: Finished loading script file Resources/plugins/FlyWithLua/Scripts/zzz_Meine_Assignments.lua
FlyWithLua Info: All script files loaded successfully.
FlyWithLua Info: Loading time for all scripts is 0.156 sec.
G64: 262.827: Trigger: ScriptedReboot..
G64: 262.827: Run('OnBeforeReboot')
G64: 262.827: GizmoCore::Stop()..
G64: 262.841: GizmoCore::Start()..
G64: 262.843: Boot Count: 4
G64: 262.867: deployment.key contents:(58ddb93269c683f3b7d1975434ffbf66)
G64: 263.264: Trigger: Run('OnBoot')
JARDesign Ground Handling 3D Sound Engine Disable 
FlyWithLua Debug Info: Debug file written to "<<x-plane dir>>/FlyWithLua_Debug.txt".
FlyWithLua Debug Info: Debug file written to "<<x-plane dir>>/FlyWithLua_Debug.txt".

The lines starting with "zzz_Meine_Assignments.lua" are are little script which assigns the axes and buttons. 

Bye,

Christian

Edited by charraeus
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...