Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 0
  • *Guests: 38
  • *Total: 38

Our Discord

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

Offline navymustang

  • Simulation Engineer
  • Forum GURU
  • *
  • Posts: 425
  • Karma: +0/-1
  • 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,571
  • 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

John's List of 3D Printed Items for Flight Simulation
by blueskydriver
[September 21, 2018, 09:19:24 PM]
For Sale - FSC Motorised Throttle Quadrant
by KyleH
[September 21, 2018, 09:18:02 PM]
OEM Throttle Quadrant Conversions?
by KyleH
[September 21, 2018, 09:13:04 PM]
Memphis 727 Build
by dougsnow
[September 21, 2018, 07:41:20 PM]
Just to make sure i am not doing anything stupid
by kurt-olsson
[September 21, 2018, 01:57:12 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[September 21, 2018, 01:42:00 PM]
What have you done for your simulator today?
by bernard S
[September 21, 2018, 09:01:26 AM]
My project, 737 in the basement.
by mickc
[September 21, 2018, 05:48:19 AM]
Where do i begin from here.
by mickc
[September 21, 2018, 05:46:45 AM]
New guy intro and 727 cockpit for X-Plane project start
by Flying_Fox
[September 19, 2018, 05:06:50 PM]
Flying Polar Routes
by jackpilot
[September 18, 2018, 12:07:33 PM]
STEERING AND YOKE 737 PROMO
by navymustang
[September 17, 2018, 03:44:39 PM]
Monitor and keyboard arm
by navymustang
[September 17, 2018, 03:43:17 PM]
With 60 Days Left, We have a plan
by FredK
[September 17, 2018, 11:08:58 AM]
For Sale: CPFlight MCP 737 EL $400 USD Shipped Lower 48
by Steenos
[September 17, 2018, 11:01:18 AM]
INTRODUCTION
by bernard S
[September 15, 2018, 07:10:49 PM]
Wanted Pair of Headrests of this type!
by bernard S
[September 15, 2018, 06:43:09 PM]
Some Questions about Project Magenta CDU
by Pantu
[September 15, 2018, 10:35:41 AM]
GAPanel/FSUIPC coding
by sedge
[September 14, 2018, 02:22:31 PM]
Wanted! Real Boeing 737 TQ
by kurt-olsson
[September 14, 2018, 04:24:57 AM]
OEM window eye brow trim
by kurt-olsson
[September 14, 2018, 04:22:20 AM]
Linked Brakes
by blueskydriver
[September 14, 2018, 03:12:26 AM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by Extraterra
[September 13, 2018, 09:23:22 AM]
CDU hidden fire page
by Pantu
[September 12, 2018, 01:25:24 PM]
737NG parts for sale, most are REAL!
by 737NGer
[September 12, 2018, 11:22:50 AM]
A320 Sound (for homecockpit)
by okansacli
[September 12, 2018, 10:07:03 AM]
SIOC Stepper Help
by okansacli
[September 12, 2018, 10:00:11 AM]
Boeing 737-800 Next Generation Simulator
by blueskydriver
[September 12, 2018, 04:41:07 AM]
Monitor setup - mixing screen sizes
by Flying_Fox
[September 11, 2018, 10:25:53 AM]
Polar routes P3D
by Joe Lavery
[September 10, 2018, 07:19:55 PM]