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. henrydavidzhu
H

henrydavidzhu

@henrydavidzhu

Chat Follow Unfollow

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

1
Reputation
3
Posts
1.6k
Profile views
0
Followers
0
Following
Joined 30 Mar 2019, 21:33 Last Online 27 Apr 2019, 18:09
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 • 26 Apr 2019, 05:18
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 • 2 Apr 2019, 01:23
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 • 31 Mar 2019, 07:04

© 2023 Endel Dreyer