Navigation

    Colyseus
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. chungxa
    C

    chungxa

    @chungxa

    Chat Follow Unfollow
    0
    Reputation
    2
    Posts
    26
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

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

    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 •
    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 •