Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 2
  • *Guests: 64
  • *Total: 66

Our Discord

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

Offline navymustang

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


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

Korry 318 gets hot.
by kurt-olsson
[Today at 01:55:09 PM]
What have you done for your simulator today?
by blueskydriver
[July 14, 2019, 10:25:43 AM]
Flyengravity desktop MIP
by Steenos
[July 13, 2019, 07:39:33 PM]
Where to find or how to make this switch guard?
by blueskydriver
[July 13, 2019, 03:46:30 AM]
NIB 747-400 ThrottleTek + FDS CDUs x2 [SOLD]
by blueskydriver
[July 12, 2019, 10:53:12 PM]
Flight deck solutions FDS-B737NG-PRO-MX- rudder pedal
by ifeliciano
[July 11, 2019, 11:55:34 PM]
FDS 5V IBL Dimmer and Expansion Board / Pokeys 57E (SOLD)
by fsaviator
[July 10, 2019, 08:35:14 PM]
PM MCP.ini Question...
by ScottThePilot
[July 10, 2019, 12:56:38 PM]
Stab Trim Indicator...
by ScottThePilot
[July 09, 2019, 12:56:42 PM]
Boeing 737 Dual Linked Yokes
by tennyson
[July 09, 2019, 09:08:31 AM]
Teensy LC Throttle Quadrant
by kurt-olsson
[July 08, 2019, 08:09:41 AM]
Multiple Teensys, sketch upload question
by kurt-olsson
[July 08, 2019, 08:05:27 AM]
Anders Simparts - Summer info
by archen
[July 07, 2019, 03:30:31 AM]
737-800 Arduino X-Plane Build
by kurt-olsson
[July 04, 2019, 05:26:30 PM]
Group buy - Oshino OL-2405BP lamps - interested?
by kattz
[July 03, 2019, 09:26:22 PM]
Prosim737 Ver 2 license for sale
by ifeliciano
[July 02, 2019, 09:58:37 AM]
Anyone have this connector and possibly a clamp as well for the yoke?
by mickc
[July 01, 2019, 08:01:04 PM]
Happy Canada Day
by jackpilot
[July 01, 2019, 10:09:40 AM]
MH 370 Article
by FredK
[June 30, 2019, 07:28:41 PM]
Calling any B747 mechs... please help
by kattz
[June 30, 2019, 06:08:50 PM]
International shipping?
by jackpilot
[June 27, 2019, 08:29:07 AM]
Flooring Installed!
by jackpilot
[June 25, 2019, 05:49:57 PM]
How much room between center pedestal and seat?
by jackpilot
[June 25, 2019, 08:19:42 AM]
2020 Microsoft Flight Simulator - new at E3 2019
by blueskydriver
[June 24, 2019, 02:29:16 PM]
How to install DZUS fasteners?
by Buster99
[June 22, 2019, 04:12:34 PM]
Desert Air Spares - Trustworthy?
by kattz
[June 22, 2019, 12:40:51 PM]
Wanted - 737 Audio Panels - OEM
by jackpilot
[June 20, 2019, 12:26:51 PM]
Throttletek 737 Throttle For Sale
by kevinsayre
[June 19, 2019, 03:57:33 PM]
For sale - rudder pedals and linkages - SOLD - thanks, Craig!
by Caflyt
[June 19, 2019, 07:49:14 AM]
737 Throttle Conversion OC + ProSim
by kattz
[June 16, 2019, 11:39:03 AM]