Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Quote:
|
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Quote:
|
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
I can't get this to work for my CS:GO servers, are they not supported?
I receive [object Error] in the text window of the webpage. Any instructions would be appreciated. |
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
I also receive this error using css servers.
Any installation instructions available? |
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
This is a drag&drop installation. The plugin itself doesn't do anything on it's own. You need some other plugin which opens the server and processes the data in some way.
You'd need to provide your JavaScript and plugin code to get help. |
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
1) I downloaded the socket extension 3.0.1 from http://forums.alliedmods.net/showthread.php?t=67640
2) unzipped and placed in the sourcemod folder 3) I downloaded the websocket.smx and placed in the sourcemod plugins folder 4) I downloaded the websocket_sourcetv2d.sp and placed in the sourcemod scripting folder 5) I downloaded the sourcetv2d.zip 6) unzipped and placed in my webfolder, edited the index.html to my ip 7) Loaded game server 8) Loaded webbrowser Opening connection to 192.168.0.190:12346 Socket reported error! Disconnected - readyState: 3 Code: 1006. Reason: - wasClean: false |
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
I opened the port 12346 on my gameserver and changed the ip to the external ip, but I still get the same error when opening the webpage on my own pc.
Please help :( |
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
Quote:
|
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
I have the plugin working, it seemed after compiling I had to copy and paste the newly created .smx over to the plugins folder instead of having it stay in the compiled folder.
Now that it is working, is there a way to have it run on the gameserver port? Or at least on a variable port so multiple server can be watched? EDIT: I found it out myself and made a slight adjustment in the script: Code:
Would that require a rewrite of the sockets? websockets? or the websockets_sourcetv2d? |
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
I got it working for csgo :)
|
| All times are GMT -4. The time now is 13:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.