Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 2
  • *Guests: 22
  • *Total: 24

Our Discord

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

Offline navymustang

  • Simulation Engineer
  • Forum GURU
  • *
  • Posts: 491
  • 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,794
    • 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

LED strips for backlighting
by FredK
[March 25, 2019, 10:35:49 PM]
something different
by Joe Lavery
[March 25, 2019, 07:52:40 PM]
OEM 737-400 MIP frame and complete rudder pedal covers for sale (RESERVED)
by Gallie
[March 25, 2019, 06:08:16 PM]
Looking for 737NG FDS Glareshield and wings
by jackpilot
[March 25, 2019, 05:57:20 PM]
FOR SALE: FDS Shell & Liners New for Sale
by p1080
[March 25, 2019, 12:35:58 AM]
Wanted: 737 CDU
by Philip
[March 24, 2019, 07:17:58 PM]
Join me on Vatsim Tonight
by Trevor Hale
[March 24, 2019, 05:24:35 PM]
Assortment of Phidgets Cards for Sale
by kenrosefire
[March 24, 2019, 01:07:08 AM]
SLAVX Model 4 Panel For Sale
by kenrosefire
[March 24, 2019, 12:50:30 AM]
Complete 737-800 cockpit - moving sale
by Trevor Hale
[March 23, 2019, 11:10:21 AM]
Screen coming together
by jackpilot
[March 23, 2019, 10:11:50 AM]
Flight Scoring Platforms....
by bernard S
[March 22, 2019, 05:55:18 PM]
SALE! Airbus A320 trainer, located near Gatwick UK
by nic
[March 21, 2019, 09:35:58 PM]
Help with wiring up FDS map light
by Skysurfer170
[March 21, 2019, 02:36:03 PM]
Boeing 737-800 Next Generation Simulator
by blueskydriver
[March 21, 2019, 07:42:41 AM]
Great US switch supplier
by Bob Reed
[March 20, 2019, 09:21:11 PM]
Great video on a Caravelle project
by Lomaric
[March 20, 2019, 06:10:00 PM]
Holy Grail ?
by bernard S
[March 20, 2019, 06:05:06 PM]
737 MAX
by FredK
[March 19, 2019, 11:07:27 PM]
Sim Speaker System in a small package...
by sagrada737
[March 19, 2019, 01:32:30 PM]
Prosim and RSP TQ interfacing
by jfuenmayor
[March 18, 2019, 02:04:20 PM]
OEM 737 classic liners for sale RESERVED
by Gallie
[March 18, 2019, 09:54:39 AM]
B737-200 throttle quadrant for sale
by Gallie
[March 18, 2019, 08:56:25 AM]
What have you done for your simulator today?
by 757Simulator
[March 18, 2019, 04:20:49 AM]
JetMax TQ for Sale...
by sagrada737
[March 16, 2019, 02:57:19 PM]
Revolution Simproducts V2.0 Plug & Play Throttle help
by jfuenmayor
[March 14, 2019, 10:13:05 PM]
Attention All Members and Guests
by Trevor Hale
[March 13, 2019, 06:25:07 PM]
Creality CR-10S 3d printer.
by sagrada737
[March 12, 2019, 07:57:11 PM]
CPFlight EFIS737Pro2
by Lomaric
[March 11, 2019, 05:18:20 PM]
Homebuilt seats and a question
by Trevor Hale
[March 11, 2019, 01:32:17 PM]