Cockpitbuilders.com

Main => Builders Discussions => Topic started by: navymustang on February 23, 2018, 07:04:46 AM

Title: LUA script - error loading module 'socket'
Post by: navymustang on February 23, 2018, 07: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)  :)
Title: Re: LUA script - error loading module 'socket'
Post by: Trevor Hale on February 23, 2018, 05: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