Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 1
  • *Guests: 46
  • *Total: 47

Our Discord

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

Offline navymustang

  • Simulation Engineer
  • I may as well be Staff!
  • *
  • Posts: 505
  • 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,823
    • 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

OEM 737NG project - Long overdue update
by XOrionFE
[April 18, 2019, 10:22:51 PM]
German B738NG Homecockpit-Projekt
by jackpilot
[April 18, 2019, 07:04:18 PM]
Teensy LC Throttle Quadrant
by RayS
[April 18, 2019, 03:38:14 PM]
FSDream Team Couatl crashes when shutting down computers - any ideas
by navymustang
[April 18, 2019, 08:25:11 AM]
FLIGHTSIMEXPO RELEASES 2019 SPEAKER SCHEDULE, ANNOUNCES NEW PARTNERSHIP WITH EAA
by 757Simulator
[April 18, 2019, 04:20:53 AM]
Old Projector(s)
by kurt-olsson
[April 18, 2019, 02:34:54 AM]
737-800 Arduino X-Plane Build
by kurt-olsson
[April 17, 2019, 05:10:03 AM]
Teensy as Joystick
by kurt-olsson
[April 16, 2019, 01:54:29 PM]
Which Processor i7 - 8700K or i7 - 9700K
by Joe Lavery
[April 15, 2019, 04:00:33 PM]
Computer / Projector Combo
by blueskydriver
[April 15, 2019, 02:50:24 PM]
Flyengravity desktop MIP
by Steenos
[April 15, 2019, 02:22:39 PM]
TV Screen Position
by Trevor Hale
[April 15, 2019, 07:17:07 AM]
Join me on Vatsim Tonight
by Trevor Hale
[April 14, 2019, 05:07:50 PM]
Interfacing real instruments in p3d
by Steve Mount
[April 14, 2019, 04:56:08 PM]
Flight Sim Visual System on Public Surplus...
by bernard S
[April 14, 2019, 12:53:56 PM]
Aerosoft Australia 747 MCP
by 737simAdelaide
[April 14, 2019, 05:16:58 AM]
CPFlight 737 EL MCP For Sale
by 737simAdelaide
[April 14, 2019, 05:12:54 AM]
CPflight radios B737.
by avan1001
[April 14, 2019, 04:12:07 AM]
Anyone can recognize this material?
by 757Simulator
[April 14, 2019, 03:21:26 AM]
F18 military trainer cockpit for sale
by navymustang
[April 13, 2019, 10:19:06 PM]
CPFlight 737 NG MCP Pro and Efis Pro
by patiju
[April 13, 2019, 01:02:33 PM]
FLIGHT ILLUSION gauges
by patiju
[April 13, 2019, 12:58:25 PM]
wanted FDS CDU
by 757Simulator
[April 13, 2019, 03:35:00 AM]
CAD assistance
by Timothy Denner
[April 12, 2019, 11:30:41 PM]
737 MAX
by mickc
[April 12, 2019, 07:20:35 PM]
Cpflight MCP737PRO
by Trevor Hale
[April 12, 2019, 09:12:36 AM]
95% finished Diamond DA62 build
by jskibo
[April 12, 2019, 09:01:31 AM]
Building a 737 MAX
by KennethGreene
[April 11, 2019, 05:37:23 PM]
Prosim and RSP TQ interfacing
by Lomaric
[April 11, 2019, 05:33:46 PM]
PCFlights.com?
by Trevor Hale
[April 11, 2019, 03:11:27 PM]