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. chungxa
  3. Posts
  • Profile
  • More
    • Continue chat with chungxa
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Posts made by chungxa

RE: How to synchronize interactions with game objects?

You can use stateful objects (Schema) and subscribe for its changes. At client side, when an object hits another object for example, you can send a message to server and let server decide if it's valid or not, if yes it will update involved objects

posted in Questions & Help • 6 Mar 2023, 16:11
Server goes shutdown after MatchMakeError

Hi all, I'm trying to find out which could lead to the server shutdown happening recently. Bellow is a case that you can see after an error occurred, the graceful shutdown progress started.

Error: room "SFuMjng78" not found
at new MatchMakeError (/var/www/Server/node_modules/colyseus.js/lib/Client.js:61:28)
at Client.<anonymous> (/var/www/Server/node_modules/colyseus.js/lib/Client.js:185:35)
at step (/var/www/Server/node_modules/colyseus.js/lib/Client.js:46:23)
at Object.next (/var/www/Server/node_modules/colyseus.js/lib/Client.js:27:53)
at fulfilled (/var/www/Server/node_modules/colyseus.js/lib/Client.js:18:58)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:94:5)
left y9BSgj4jF vp1ZqNWC8
left y9BSgj4jF uGzjwVgVa
left y9BSgj4jF 9fOJ5SdoC
left y9BSgj4jF Yvip_paAz
left y9BSgj4jF JaRwqtFrR
left y9BSgj4jF lYL3rY1cm
left y9BSgj4jF igZyCtr8n
left y9BSgj4jF VG_XLxXhd
2023-03-06T12:03:32: PM2 log: App name:Server id:1 disconnected
2023-03-06T12:03:32: PM2 log: App [Server:1] exited with code [1] via signal [SIGINT]

posted in Questions & Help • 6 Mar 2023, 15:48

© 2023 Endel Dreyer