If you have a PC acting as a server running flight simulator and another PC acting as a client, running GIT with GoFlight modules attached, you will need to do the following as Lua does not use Simconnect to communicate, it uses TCP.
On the Client PC:
- All Lua files should be stored on this PC.
- Using Windows File Explorer, share Documents\GoFlight Interface Tool
- Using Windows File Explorer, map a drive to the share created in step 1 e.g. G:\
- Using a text editor, open up Documents\GoFlight Interface Tool\LUA Config.txt
- Change the entry "hostname: localhost" to the DNS name or IP Address of your Server PC. E.g. hostname: 192.168.1.10
- Change the entry "path: default" to the drive letter defined in step 2 e.g. path: G:\
- If required change the TCP port found in the entry "port:". Both server and client must use the same port.
- Save LUA Config.txt
On the Server PC:
- Using Windows File Explorer, map the share created on the Client PC to the same drive letter e.g. G:\
- Using a text editor, open up Documents\GoFlight Interface Tool\LUA Config.txt
- Change the entry "path: default" to the drive letter defined in step 1 e.g. path: G:\
- If required change the TCP port found in the entry "port:". Both server and client must use the same port.
- Save LUA Config.txt
- Using Windows Firewall, allow incoming TCP connections from your Client PC on the port defined in LUA Config.txt entry "port:". If you wish to restrict which programs the port allows incoming connections, restrict it to all flight simulators installed on your Server PC.