Tuesday, September 13, 2022
HomeGame DevelopmentColyseus cannot hook up with the room from cell system - Extensions

Colyseus cannot hook up with the room from cell system – Extensions


Hello all, I run server with Colyseus, and it really works fantastic on my desktop, however when I attempt to play the sport on a cell system I’m unable to hook up with the room. Simply unusual error I see is that this:

my code is:

        strive {
            this.room = await this.consumer.joinOrCreate(
                "main_menu"
            );

            const { room } = this;

            room.onMessage("error", operate () {
                console.log(arguments);
            });

            node.on(RegistrationEvent.kind, this.onRegistration, this);
            node.on(LoginEvent.kind, this.onLogin, this);

            room.onMessage("login_sucess", this.onLoginSucess);
        } catch (error) {
            console.error(error);
        }

What might be the case of this? thanks.


So I discovered the answer.
It is best to put Pv4 Handle within the serverURL subject.
I can discover it home windows by command line: cmd.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments