-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add luasocket support #458
Comments
@Sn0wCrack It's possible to use the 0MQ lua binding with Bizhawk. It's not TCP but better than nothing. |
if bizhawk's lua can load the luasocket dll then we won't be integrating it. i don't know what the status is of bizhawk's lua loading dlls. |
Using this example, I couldn't access any socket functions: I put luasocket.dll (and what it comes with) in the EmuHawk.exe folder, and this code
crashes the emu. Without Lua version of socket library works fine. |
check stackoverflow, theres a post about it. it isnt easy. |
If you mean yours, it refers to lua version of sockets (as do all stackoverflow questioins), not dll (that comes with beta releases). There were some general advices how to load dlls, but they refer to very unclear docs that provide zero samples. So the only example code I found didn't work. Right now I'm getting |
So dont use the beta releases which dont make sense with the instructions I put on stackoverflow. I just followed my instructions again, and it worked perfectly. I added |
I know this one works. But you mentioned loading luasocket.dll, and that's what I also tried. Yes, the first one still has core.dll, but it also has sockets.lua, and it's exactly what allows plugging it in via |
I don't care why one works or doesn't either, as long as one of them works, somehow. Our lua is garbage. All lua is garbage. It's a miracle if a module EVER works, ANYWHERE. This bug is old and predates my discovery there's another way besides loading the dll to get luasockets running. Who cares about the damn dll. |
see #1080 |
If it would be possible to add luasocket support directly into the BizHawk lua interpreter.
The text was updated successfully, but these errors were encountered: