Most of the commonly reported issues and questions are answered in the Frequently Asked Questions (FAQ) option under the Support menu of this website.
*** PLEASE NOTE ***
Your forum account is not the same as the account used in the shop. They are completely separate accounts.
Your forum account is not the same as the account used in the shop. They are completely separate accounts.
1st December: A new version of the GoFlight Interface Tool for MSFS is now available.
12th November: A new version of the GoFlight Interface Tool for X-Plane is now available.
6th June: A new version of Virtual Flight Sim Hardware is now available (huge update)
21st November: A new version of the GoFlight Interface Tool for FSX/FSXSE/P3D is now available.
Lua Error - Socket not found
Hi Steve,
In my FSUIPC5.log there is this entry:-
37422 *** LUA Error:
\P3Dv4\Modules\gitlua.lua:5: module 'socket' not found:
no field package.preload['socket']socket
no file 'D:\P3Dv4\modules\socket.lua'
no file 'D:\P3Dv4\modules\socket\init.lua'
no file 'D:\P3Dv4\modules\lua\socket.lua'
no file 'D:\P3Dv4\modules\lua\socket\init.lua'
no file 'C:\Program Files (x86)\Lua\5.1\lua\socket.luac'
no file 'D:\P3Dv4\modules\lua\socket.dll'
no file 'D:\P3Dv4\modules\lua\loadall.dll'
43687 ### The user object is 'Piper Cub Paint1'
43687 ### Mode is NORMAL
43797 ### Mode: PAUSE on
78750 Loading Complete ...
78765 ### Mode is NORMAL
79265 User Aircraft ID 1 supplied, now being used
79265 Aircraft loaded: running normally now ...
80203 System time = 30/07/2019 12:01:22, Simulator time = 13:00:40 (11:00Z)
80203 Aircraft="Piper Cub Paint1"
87187 -------------------- Starting everything now ----------------------
In the Modules folder I do have a file named gitlua.lua. That states that ipcinit.lua must exist in the Modules folder (it does) and must contain this on the first line (it does) ipc.runlua("gitlua");
Everything seems to be working okay but I'm baffled why I get this error in FSUIPC5. Any ideas? I can't load the PMDG737 as my default aircraft otherwise it doesn't initialise correctly. Hence why I start with the Cub and then switch in P3D.
In my FSUIPC5.log there is this entry:-
37422 *** LUA Error:

no field package.preload['socket']socket
no file 'D:\P3Dv4\modules\socket.lua'
no file 'D:\P3Dv4\modules\socket\init.lua'
no file 'D:\P3Dv4\modules\lua\socket.lua'
no file 'D:\P3Dv4\modules\lua\socket\init.lua'
no file 'C:\Program Files (x86)\Lua\5.1\lua\socket.luac'
no file 'D:\P3Dv4\modules\lua\socket.dll'
no file 'D:\P3Dv4\modules\lua\loadall.dll'
43687 ### The user object is 'Piper Cub Paint1'
43687 ### Mode is NORMAL
43797 ### Mode: PAUSE on
78750 Loading Complete ...
78765 ### Mode is NORMAL
79265 User Aircraft ID 1 supplied, now being used
79265 Aircraft loaded: running normally now ...
80203 System time = 30/07/2019 12:01:22, Simulator time = 13:00:40 (11:00Z)
80203 Aircraft="Piper Cub Paint1"
87187 -------------------- Starting everything now ----------------------
In the Modules folder I do have a file named gitlua.lua. That states that ipcinit.lua must exist in the Modules folder (it does) and must contain this on the first line (it does) ipc.runlua("gitlua");
Everything seems to be working okay but I'm baffled why I get this error in FSUIPC5. Any ideas? I can't load the PMDG737 as my default aircraft otherwise it doesn't initialise correctly. Hence why I start with the Cub and then switch in P3D.
Cheers,
Ray (Cheshire, England)
Ray (Cheshire, England)
Comments
Never have any PMDG aircraft as the default because making changes or switching from one PMDG aircraft to another can break the PMDG SDK.
I think FSUIPC5 must have pulled socket support so GIT can no longer connect to it. I might be worth double checking with Peter.
Best wishes
Steve
Best wishes
Steve
Is there any logging I can enable to see what is the issue?
Ray (Cheshire, England)
No joy I'm afraid. In any case that suggestion would suggest WideClient needs to be running before P3D starts. I did try that but still the same error messages.
This is what I have in FSUIPC5.INI
[Auto]
1=Lua Aifreezer
[LuaFiles]
1=gitlua
2=ipcinit
3=GrdPwr
4=Aifreezer
The four LUA files are present in the P3Dv4\Modules folder.
I also tried editing gitlua.lua and changing local host = "localhost"; to local host = "CHILLBLAST";
CHILLBLAST is the name of my P3D computer. Still no joy.
And the FSUIPC5.LOG shows...
37422 LUA.0: beginning "D:\P3Dv4\Modules\ipcInit.lua"
37422 ... Using Prepar3D with Academic License
37437 \\CHILLBLAST\Prepar3D v4 Files\SIMstarter NG.fxml
37437 \\CHILLBLAST\P3Dv4\SimObjects\Airplanes\Piper_J3Cub\Piper_J3Cub.air
37515 *** LUA Error:
no field package.preload['socket']socket
no file 'D:\P3Dv4\modules\socket.lua'
no file 'D:\P3Dv4\modules\socket\init.lua'
no file 'D:\P3Dv4\modules\lua\socket.lua'
no file 'D:\P3Dv4\modules\lua\socket\init.lua'
no file 'C:\Program Files (x86)\Lua\5.1\lua\socket.luac'
no file 'D:\P3Dv4\modules\lua\socket.dll'
no file 'D:\P3Dv4\modules\lua\loadall.dll'
One thought. I have the 64-bit version of GIT installed. Might the 32-bit version solve this problem without causing any issues? I ask because socket.dll is 32-bit only.
Ray (Cheshire, England)