Open kumikumi opened 6 years ago
You cannot communicate browser with original xash3d server or with other browser directly via websockets. You may use websockifiy, wsproxy or server running under nodejs. You also may try use webrtc but I do not know how it works with emscripten. My browser does not seems to support webrtc at all and I not interested to implement it because enabling webrtc in browser is unsafe (site may know local addresses). But you can enable/implement test webrtc and make PR with needed changes.
I tried LAN multiplayer between two computers using an Emscripten build, but couldn't see the host from the other computer. I couldn't find any servers on the Internet either.
I assume this is due to network multiplayer not being implemented yet. I saw this information somewhere but it could be outdated.
Has anyone looked at it yet? Do you think it will be a matter of "just implementing it", or will there be some major technical challenges to overcome?