Question / Help LuaSocket with OBS x64

rusketh

New Member
Hi all,

After 2 days of trying/researching I have found no answer or solution so a forum post is in order.

I am trying to load LuaSocket into OBS but am having nothing but issues getting OBS to load the module.

I have tried installing both a 64 and 32 bit ver of the module from http://files.luaforge.net/releases/luasocket/luasocket and I have tried a few other versions of the module hosted around online.

I am installing them to C:\Program Files\obs-studio\bin\64bit but when i try to require it using

require("socket.http")

I get the following error message

[plugin.lua] Error running file: error loading module 'socket.core' from file '.\socket\core.dll': %1 is not a valid Win32 application.

I desperately need to get this working for a project i am working on but so far it looks like obs just hates me.


I am wondering if anybody has managed to do this yet, or has managed to use lua in obs to create sockets.

All help is greatly appreciated.
 
Top