AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [DEV] WebSocket Server - Direct connection between webbrowser and gameserver (https://forums.alliedmods.net/showthread.php?t=182615)

morpig 09-27-2018 18:30

Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
 
Hi, I used this plugin couple months ago for RCON on SM 1.8. Does this still work in 1.9?

8guawong 09-28-2018 02:17

Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
 
Quote:

Originally Posted by morpig (Post 2617049)
Hi, I used this plugin couple months ago for RCON on SM 1.8. Does this still work in 1.9?

try it?

i don't see why not

Papero 10-06-2018 12:50

Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
 
On sourcemod 1.9 whenever the browser tries to connect to the websocket server I get this error:

Code:

L 10/06/2018 - 12:45:53: [SM] Exception reported: Invalid match index passed.

L 10/06/2018 - 12:45:53: [SM] Blaming: websocket.smx
L 10/06/2018 - 12:45:53: [SM] Call stack trace:
L 10/06/2018 - 12:45:53: [SM]  [0] GetRegexSubString
L 10/06/2018 - 12:45:53: [SM]  [1] Line 753, C:\Users\Jannik\Documents\GitHub\sm-websocket\scripting\websocket.sp::OnChildSocketReceive

Has anyone ever noticed this or knows a fix?

mkvegas 06-09-2019 19:02

Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
 
Quote:

Originally Posted by Papero (Post 2618536)
On sourcemod 1.9 whenever the browser tries to connect to the websocket server I get this error:

Code:

L 10/06/2018 - 12:45:53: [SM] Exception reported: Invalid match index passed.

L 10/06/2018 - 12:45:53: [SM] Blaming: websocket.smx
L 10/06/2018 - 12:45:53: [SM] Call stack trace:
L 10/06/2018 - 12:45:53: [SM]  [0] GetRegexSubString
L 10/06/2018 - 12:45:53: [SM]  [1] Line 753, C:\Users\Jannik\Documents\GitHub\sm-websocket\scripting\websocket.sp::OnChildSocketReceive

Has anyone ever noticed this or knows a fix?

I have the same problem SM 1.9.0anyone knows any fixes?? :cry:

Peace-Maker 06-20-2019 17:41

Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
 
That error should be fixed in the latest version in the repository on GitHub.

hASVAN 11-22-2019 22:06

Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
 
Hey Bro. I have a problem with your plugin every time the Websocket tries to connect I get this (Disconnected - status 3 Code: 1006. Reason: - wasClean: false) im using the WebSocket chat Example

hASVAN 11-22-2019 22:33

Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
 
and now I have this error

HTML Code:

L 11/23/2019 - 03:32:31: [SM] Blaming: websocket.smx
L 11/23/2019 - 03:32:31: [SM] Call stack trace:
L 11/23/2019 - 03:32:31: [SM]  [0] GetRegexSubString
L 11/23/2019 - 03:32:31: [SM]  [1] Line 753, C:\Users\Jannik\Documents\GitHub\sm-websocket\scripting\websocket.sp::OnChildSocketReceive
L 11/23/2019 - 03:32:38: [SM] Exception reported: Invalid data pack handle 2 (error 7).


Peace-Maker 11-23-2019 05:58

Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
 
Try the latest version from GitHub. You'll have to compile it yourself though.

hASVAN 11-24-2019 16:06

Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
 
when I try to compile it. I get this error

HTML Code:

//// websocket.sp
//
// G:\scripting\include\socket.inc(203) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Typedefs
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0,98 sec
// ----------------------------------------


AK978 03-31-2020 11:41

Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver
 
2 Attachment(s)
socket.inc and websocket.inc file.


All times are GMT -4. The time now is 13:48.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.