tensor
New Member
I would like to communicate with my Twitch chatbot via a socket. This works from Lua 5.1 in Windows, but in OBS it doesn't find the socket.
This is in the Script log:
Error running file: C:/Projects/OBS/test-plugin/countdown-source.lua:6: module 'socket' not found:
no field package.preload['socket']
no file '.\socket.lua'
no file 'C:\Program Files\obs-studio\bin\64bit\lua\socket.lua'
no file 'C:\Program Files\obs-studio\bin\64bit\lua\socket\init.lua'
no file 'C:\Program Files (x86)\Lua\5.1\lua\socket.luac'
no file 'C:/Projects/OBS/test-plugin//socket.lua'
no file '.\socket.dll'
no file 'C:\Program Files\obs-studio\bin\64bit\socket.dll'
no file 'C:\Program Files\obs-studio\bin\64bit\loadall.dll'
no file './/Contents/MacOS/socket.so'
no file '../../data/obs-scripting/64bit/socket.dll'
This is in the Script log:
Error running file: C:/Projects/OBS/test-plugin/countdown-source.lua:6: module 'socket' not found:
no field package.preload['socket']
no file '.\socket.lua'
no file 'C:\Program Files\obs-studio\bin\64bit\lua\socket.lua'
no file 'C:\Program Files\obs-studio\bin\64bit\lua\socket\init.lua'
no file 'C:\Program Files (x86)\Lua\5.1\lua\socket.luac'
no file 'C:/Projects/OBS/test-plugin//socket.lua'
no file '.\socket.dll'
no file 'C:\Program Files\obs-studio\bin\64bit\socket.dll'
no file 'C:\Program Files\obs-studio\bin\64bit\loadall.dll'
no file './/Contents/MacOS/socket.so'
no file '../../data/obs-scripting/64bit/socket.dll'