Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 3
  • *Guests: 39
  • *Total: 42

Our Discord

Author Topic: LUA script - error loading module 'socket'  (Read 335 times)

Offline navymustang

  • Simulation Engineer
  • Forum GURU
  • *
  • Posts: 398
  • Karma: +0/-0
  • Building a 737-800 full scale cockpit
  • First Name: Jim
  • Home Location: Orlando, FL
LUA script - error loading module 'socket'
« on: February 23, 2018, 11:04:46 AM »
I am attempting to get Prosim to talk via LUA to my other client visual computers and have been provided LUA scripts to make that happen. When P3D runs, I get this FSUIPC log error, and have no idea how to resolve it. Any help would be most appreciated.

94583 Starting everything now ...
    94599 LUA.0: beginning "C:\Program Files\Lockheed Martin\Prepar3D v4\Modules\ipcReady.lua"
    94630 *** LUA Error: error loading module 'socket' from file 'socket':
   socket: bad header in precompiled chunk


It looks like a library file is corrupt, but I am not a LUA programmer (yet)  :)
Building a full scale 737-800 AATD for home use. Majority of hardware is from Sismo Solutions, software is Prosim under P3D. An AOPA member and LifeTime member of National Association of Flight Instructors
Please note that I am a self-employed professional cockpit builder that provides consulting to defense contractors and civilian schools and airlines.

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,551
  • Karma: +22/-0
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
Re: LUA script - error loading module 'socket'
« Reply #1 on: February 23, 2018, 09:19:49 PM »
without looking at the script I wouldn't be able to help you with the error.

clearly you are defining "Socket" as something that isn't set right, can you paste any lines of code around the "Socket definition"

Thanks
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

 

COUNTDOWN TO WF2018


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

What have you done for your simulator today?
by FredK
[August 13, 2018, 05:05:55 PM]
My project, 737 in the basement.
by Goteborg
[August 13, 2018, 06:01:37 AM]
My 737 Desktop Cockpit
by Nolatron
[August 11, 2018, 11:32:17 PM]
Monitor setup - mixing screen sizes
by mdavenport
[August 11, 2018, 06:37:18 PM]
Wanted! Real Boeing 737 TQ
by Philip
[August 11, 2018, 01:23:21 PM]
Memphis 727 Build
by skyline223
[August 11, 2018, 01:10:15 AM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by Extraterra
[August 10, 2018, 06:27:19 PM]
Boeing light gray paint color
by bernard S
[August 10, 2018, 12:05:45 PM]
727 Builder Intro
by skyline223
[August 10, 2018, 10:52:43 AM]
737-800 Arduino X-Plane Build
by kurt-olsson
[August 09, 2018, 04:45:16 PM]
Move Project Magenta From FSX to P3D Full cockpit
by ScottThePilot
[August 09, 2018, 12:54:14 AM]
The eagle has landed
by simlady/ Karen
[August 08, 2018, 09:08:18 PM]
Need Information on World Flight 2018
by simlady/ Karen
[August 08, 2018, 09:05:36 PM]
Honeywell OEM Overhead Toggle Switch Caps - Replacement Instructions & Part Nos.
by mickc
[August 08, 2018, 03:25:09 AM]
Wanted Pair of Headrests of this type!
by mgovernali
[August 06, 2018, 03:58:03 PM]
FOR SALE - Precision Flight Controls Cirrus II and Remote Instrument Console USB
by XOrionFE
[August 06, 2018, 12:17:59 PM]
737 Overhead and Flaps Gauges For Sale
by navymustang
[August 06, 2018, 10:11:05 AM]
Ozsim International Airlines Goes 4K
by tennyson
[August 05, 2018, 05:31:18 AM]
X-Plane 737-800 Build
by Steenos
[August 03, 2018, 08:23:11 PM]
Teensy joystick quits after calibrated in X-Plane
by kurt-olsson
[August 02, 2018, 06:46:48 PM]
Zibo Flaps dataref
by RayS
[August 02, 2018, 03:57:09 PM]
737NG Simulator DOWN!
by B737NG
[August 01, 2018, 11:39:45 AM]
SOLD: 737NG manuals (FCOM / QRH and more)
by Gallie
[July 31, 2018, 05:43:58 AM]
SOLD: Eros oxygen mask + box
by Gallie
[July 31, 2018, 05:41:09 AM]
CPFlight MIP board
by fsaviator
[July 30, 2018, 11:48:17 PM]
"Cockpit Builders Members Labor Day Weekend Check-In"
by blueskydriver
[July 30, 2018, 11:19:01 PM]
Monitors dvi, vga , hdmi splitter jungle...
by kurt-olsson
[July 29, 2018, 10:39:21 AM]
Boeing 737 OEM 4xAFDS, 3x CDU and 1 HUD with combiner and others
by Ridgenj
[July 29, 2018, 02:34:36 AM]
Opencockpits FMC
by awdoman
[July 27, 2018, 10:32:53 AM]