Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 2
  • *Guests: 37
  • *Total: 39

Our Discord

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

Offline navymustang

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

Move Project Magenta From FSX to P3D Full cockpit
by ScottThePilot
[Today at 01:40:29 PM]
How to turn all MIP LCDs on at once?
by jackpilot
[Today at 01:17:53 PM]
SOLD!! Real Aircraft Cannon Plugs
by bernard S
[Today at 11:14:56 AM]
FlightControlReplay v4 OUT NOW (with also Re-Live and Video Render features!)
by karijno
[Today at 08:00:12 AM]
Software Interface
by Bob Reed
[July 15, 2018, 07:42:31 AM]
Looking for this!!
by Caflyt
[July 14, 2018, 10:35:37 AM]
For Sale GoFlight Jet Console, 2 Private Pilot Racks all with GoFlight Modules.
by blueskydriver
[July 14, 2018, 06:32:03 AM]
ACE - Officially buyer beware
by fordgt40
[July 14, 2018, 05:00:33 AM]
737NG Simulator DOWN!
by jmlohrenz
[July 13, 2018, 01:48:28 PM]
Two new 19" for my PDF and ND. Check before buy
by kurt-olsson
[July 11, 2018, 12:59:26 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[July 11, 2018, 10:43:02 AM]
What have you done for your simulator today?
by RayS
[July 10, 2018, 01:57:31 AM]
Bought a FSC.IT Throttle on ebay (Question)
by iwik
[July 09, 2018, 04:45:50 PM]
Aerosoft MCP
by jackpilot
[July 09, 2018, 02:26:51 PM]
P3D WideView vs P3D SimConnect cleint/server configuration
by FredK
[July 09, 2018, 10:22:58 AM]
Post Your Pit!!!! 1000 Member Show and Tell
by Trevor Hale
[July 09, 2018, 09:40:59 AM]
3D printers
by Bob Reed
[July 08, 2018, 05:54:51 PM]
Boeing 737 OEM 4xAFDS, 3x CDU and 1 HUD with combiner and others
by fly_ebos
[July 08, 2018, 07:27:28 AM]
Wanted: ATC and ADF pedestal modules
by jmlohrenz
[July 06, 2018, 09:37:54 PM]
Trying to Source Garmin 430 Parts...
by RayS
[July 06, 2018, 08:24:39 PM]
737 parts for sale!
by Ed
[July 06, 2018, 07:29:31 AM]
737 Max
by sacrayton
[July 05, 2018, 04:04:14 PM]
P3D4.3 viewgroups
by Bob Reed
[July 05, 2018, 12:48:42 PM]
CPFLIGHT GEAR FOR SALE
by Mark737800
[July 04, 2018, 12:56:21 AM]
Labeling Buttons
by iwik
[July 03, 2018, 08:16:59 PM]
Potentiometer 10k 1,5 turns, where?
by kurt-olsson
[July 02, 2018, 06:05:38 PM]
Voice control
by luisgordo
[July 02, 2018, 01:24:07 PM]
JETMAX THROTTLE AND STAND FOR SALE
by jmdhwy
[July 02, 2018, 12:17:13 AM]
Opencockpits boards for sale
by pierclav
[July 01, 2018, 10:26:16 PM]
Left trim up/down wires OEM yoke
by kurt-olsson
[July 01, 2018, 03:23:05 PM]