Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. virtumonde
    virtumonde

    virtumonde

    @virtumonde

    Chat Follow Unfollow
    0
    Reputation
    24
    Posts
    895
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • 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 •
    RE: Adding / Removing Schema fields during runtime

    Did it work?

    posted in Questions & Help •
    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 •
    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 •
    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 •
    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 •
    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 •
    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 •
    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 •
    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 •