Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 0
  • *Guests: 47
  • *Total: 47

Our Discord

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

Offline navymustang

  • Simulation Engineer
  • I may as well be Staff!
  • *
  • Posts: 515
  • Building a 737-800 full scale cockpit
  • First Name: Jim
  • Home Location: KMCO
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,832
    • 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:

 

FlightSimExpo 2019

FsExpo

COUNTDOWN TO WF2019


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

Wanted - COMPLETE set of Boeing 727 or 737 rudder pedals
by kattz
[May 25, 2019, 03:18:30 PM]
FLIGHTSIMEXPO LAUNCHES DISCOUNTED ADVANCE REGISTRATION FOR ORLANDO 2019 EVENT
by fsaviator
[May 25, 2019, 12:48:37 PM]
Amphenol female pin size?
by mickc
[May 24, 2019, 08:37:21 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[May 24, 2019, 04:23:43 PM]
GSX across networked client visual computers
by FredK
[May 24, 2019, 03:32:34 PM]
Complete 737-800 cockpit - moving sale
by navymustang
[May 24, 2019, 09:33:59 AM]
Piper Aztec PA23-250 (Help Needed)
by Joe Lavery
[May 23, 2019, 05:30:35 AM]
What have you done for your simulator today?
by MistyBlue
[May 22, 2019, 11:08:26 PM]
Flightdeck Solutions to X-Plane Conversion Complete
by Michael_B737_ATP
[May 22, 2019, 05:42:18 PM]
X-Plane 737-800 Build
by jskibo
[May 22, 2019, 09:54:50 AM]
Serial Key
by luisgordo
[May 21, 2019, 05:40:44 PM]
Jetmax TQ - motorized it?
by FredK
[May 20, 2019, 07:58:36 AM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by Extraterra
[May 20, 2019, 02:47:37 AM]
FDS CDU old
by kattz
[May 19, 2019, 01:13:46 PM]
Join me on Vatsim Tonight
by Trevor Hale
[May 15, 2019, 01:58:50 PM]
Gauge circuit
by jackpilot
[May 15, 2019, 01:56:51 PM]
Prosim and RSP TQ interfacing
by jfuenmayor
[May 15, 2019, 08:53:22 AM]
Arduino Mega question Newbie
by Yair1956
[May 15, 2019, 02:23:57 AM]
f18 mfd
by bernard S
[May 14, 2019, 11:15:44 PM]
Multi-Projector color calibration
by fsaviator
[May 13, 2019, 04:32:23 PM]
Immersive Calibration Pro help?
by jskibo
[May 13, 2019, 09:22:00 AM]
KBD03 Keyboard Emulator
by Yair1956
[May 12, 2019, 03:52:05 PM]
5 Position Rotary Spring return Switch
by Yair1956
[May 12, 2019, 03:09:25 PM]
Flyengravity desktop MIP
by patiju
[May 11, 2019, 05:11:05 PM]
Pfd display.
by Patt737
[May 08, 2019, 12:48:32 PM]
Mini Sim
by jskibo
[May 08, 2019, 08:36:28 AM]
F16 Simulator For Sale
by blueskydriver
[May 08, 2019, 12:14:40 AM]
Wanted: Collins Style radios
by jkbarr30
[May 07, 2019, 08:23:32 PM]
Crap! 26V on 5V backlight!
by Steenos
[May 07, 2019, 05:33:46 PM]
Prosim 737 iOS help
by Aztrucker
[May 06, 2019, 11:56:30 PM]