Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. virtumonde
virtumonde

virtumonde

@virtumonde

Chat Follow Unfollow
0
Reputation
24
Posts
1.4k
Profile views
0
Followers
0
Following
Joined 12 May 2020, 21:58 Last Online 28 Jun 2020, 22:56

  • Profile
  • More
    • Continue chat with virtumonde
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
virtumonde Follow

Posts made by virtumonde

RE: Cannot access option property passed from the client

I had a client-side problem. I wasn't passing the property at all.

posted in Questions & Help • 5 Jun 2020, 03:33
RE: Adding / Removing Schema fields during runtime

Did it work?

posted in Questions & Help • 5 Jun 2020, 02:58
Cannot access option property passed from the client

Client:

client.joinOrCreate("website", { domain: "zuckbuck.com", accessToken: this.props.that.state.token });

Server:

    onCreate(options : any) {
    
      console.log(options) 
      // { accessToken: 'token' }
}

Thoughts?

posted in Questions & Help • 5 Jun 2020, 02:52
RE: Instantiate different rooms from the client without defining each room id

Clone of https://discuss.colyseus.io/topic/345/is-it-possible-to-run-joinorcreatebyid/2

posted in Questions & Help • 5 Jun 2020, 02:09
Instantiate different rooms from the client without defining each room id

Is there a way to instantiate different rooms from the client without defining each room id? What I want to achieve is for the players to be able to create their own rooms. I know that the client.joinOrCreate would create a new room only when the room id is defined on the server like this:
gameServer.define('roomId', Room);

How can I create different rooms from the client-side without having to define each id? I want the client to be able to create rooms with any id without defining that id explicitly in the server.

posted in Questions & Help • 4 Jun 2020, 19:03
RE: Store an instance of a class extending @colyseus/schema into a database

Thank you, @endel. I will publish another quick question as a new thread if you don't mind.

posted in Questions & Help • 4 Jun 2020, 18:55
Store an instance of a class extending @colyseus/schema into a database

Is there a way to store an instance of a class extending @colyseus/schema directly into a database?

posted in Questions & Help • 4 Jun 2020, 18:38
RE: reconnect method does not seem to work - seat reservation expired error

I think I saw exactly the same bug being described previously in this forum, @endel.

posted in Questions & Help • 3 Jun 2020, 04:48
RE: Colyseus Schema: A map with multiple types

@endel Thank you, I am aware of this. As I understand @colyseus/schema doesn't support multiple classes, right?

posted in Questions & Help • 3 Jun 2020, 04:38
RE: When I get data from Room.onStateChange I don't receive my players

For whoever may read this: check the state with room.onStateChange, not right away you are connecting to the room.

posted in Questions & Help • 1 Jun 2020, 21:28

© 2023 Endel Dreyer