Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. henrydavidzhu
    H

    henrydavidzhu

    @henrydavidzhu

    Chat Follow Unfollow

    CS undergrad at UC Davis, passionate about building Node.JS applications.

    1
    Reputation
    3
    Posts
    1564
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location Davis, California Age 23

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

    Posts made by henrydavidzhu

    Mazebattles.com: Race to solve generated mazes

    I recently built a site in Node.js + Colyseus where users race against each other to solve generated mazes. Attached is a screenshot.

    ![alt text](image url)0_1556255889308_screenshot.png

    posted in Showcase •
    colyseus.js: server error: no available handler for client

    I am getting the following error in my NodeJS Program:
    colyseus.js: server error: no available handler for "1mnyb2mkjtz2mv9y"

    However, I do have handlers attached to the clients. Below is my server-side code:

    user.on("connected", attachHandler);

    // Attach a handler to the room
    function attachHandler(clientID) {
    console.log("attaching handler to " + clientID);
    gameServer.register(clientID, require('./rooms/mazebattles'));
    }

    And below is my client-side code where the user connects to the room:

    room = client.join(roomID, {create: true}); // Create a new room, and have that client join the room
    socket.emit("connected", socket.id);

    posted in Questions & Help •
    Colyseus.js error after migrating from 0.09 to 0.10

    I just migrated colyseus from 0.09 to 0.10. I am getting the following error:
    colyseus.js: server error: no available handler for "1mnyb24wwjtwkdbld"

    Is there a link to the latest colyseus.js file? I'm using a colyseus.js file from a deprecated project that was posted online, and I don't know how to get the latest version of the colyseus.js file.

    posted in Questions & Help •