Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 1
  • *Guests: 57
  • *Total: 58

Our Discord

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

Offline navymustang

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

Display help with FSX
by Trevor Hale
[Today at 05:23:36 AM]
Prosim737 license for sale
by Captbrian
[January 20, 2019, 08:50:40 PM]
JetMax components for sale
by 737SimGuy
[January 20, 2019, 08:01:46 PM]
Join me on Vatsim Tonight
by Trevor Hale
[January 20, 2019, 05:22:24 PM]
What have you done for your simulator today?
by bernard S
[January 20, 2019, 10:32:13 AM]
Help in building a GTN 650/750 for Reality XP
by blueskydriver
[January 20, 2019, 01:18:38 AM]
Cockpit Components
by awdoman
[January 18, 2019, 01:06:21 PM]
Aerosoft Australia Strikes Again!
by spencerc19
[January 18, 2019, 09:10:41 AM]
12v power supply for map light
by blueskydriver
[January 18, 2019, 07:49:31 AM]
Windscreen/windshield Wipers
by bernard S
[January 17, 2019, 10:50:36 PM]
B767 MIP
by jackpilot
[January 17, 2019, 08:41:47 PM]
Wrong hiegth above ground when landing and P3D set for Panel Only
by navymustang
[January 17, 2019, 08:30:23 AM]
STEERING AND YOKE 737 PROMO
by blueskydriver
[January 16, 2019, 06:07:16 PM]
YOU CAN HELP SHAPE FLIGHTSIMEXPO: 2020
by Trevor Hale
[January 16, 2019, 01:10:08 PM]
Streaming with Elgato tools.
by RayS
[January 15, 2019, 03:43:59 PM]
Complete 737-800 cockpit - moving sale
by navymustang
[January 14, 2019, 11:07:28 AM]
Wanted: B737 Linked Yoke,
by dvst8r
[January 14, 2019, 10:55:31 AM]
Replace display Flyengravity CDU
by flymo
[January 13, 2019, 01:10:55 PM]
It's been a while. a new picture of my baby!
by Trevor Hale
[January 13, 2019, 09:21:19 AM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by blueskydriver
[January 13, 2019, 08:25:21 AM]
Three Projector 210 degree with P3D4
by blueskydriver
[January 10, 2019, 04:12:26 AM]
Aircraft Registration Placard
by jackpilot
[January 07, 2019, 10:19:13 AM]
How do you manage power amperage for your sim
by kurt-olsson
[January 07, 2019, 10:12:23 AM]
Trim Wheels
by Joe Lavery
[January 07, 2019, 04:18:15 AM]
ActiveSky - across networked PCs anyone
by FredK
[January 06, 2019, 10:54:28 PM]
ACE 737 Pro Yoke stab trim switch issue help needed
by dornier
[January 06, 2019, 08:23:42 PM]
Help In wiring LED and Fan
by GyverX
[January 06, 2019, 03:54:28 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[January 06, 2019, 11:38:46 AM]
B737 OEM Throttle Quadrant and more to come
by archen
[January 05, 2019, 06:27:11 PM]