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)
CS undergrad at UC Davis, passionate about building Node.JS applications.
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)
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);
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.