Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. phantom007md
    3. Posts
    • Profile
    • More
      • Continue chat with phantom007md
      • Flag Profile
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups

    Posts made by phantom007md

    stream each room logs to the client side

    Hi

    Do you have any ideas how can i steam logs on each room created by the framework?

    posted in Questions & Help •
    RE: could not encode

    endel your my hero and i love you. just in case ;)

    in case any one else makes this mistake i was trying to mutate the client object and assign a accessToken to it so the error occurred.
    i hope better errors will be shown and i didn't know that the client object cant get mutated.

    i'm planning to develop lots of mobile turned based games and i'll join this fantastic framework asap

    posted in Questions & Help •
    could not encode

    Error: Could not encode
    at _encode (/home/phantom/battlewords/matchmaking/node_modules/notepack.io/lib/encode.js:256:13)
    at _encode (/home/phantom/battlewords/matchmaking/node_modules/notepack.io/lib/encode.js:162:19)
    at _encode (/home/phantom/battlewords/matchmaking/node_modules/notepack.io/lib/encode.js:246:17)
    at _encode (/home/phantom/battlewords/matchmaking/node_modules/notepack.io/lib/encode.js:246:17)
    at _encode (/home/phantom/battlewords/matchmaking/node_modules/notepack.io/lib/encode.js:162:19)
    at _encode (/home/phantom/battlewords/matchmaking/node_modules/notepack.io/lib/encode.js:246:17)
    at Object.encode (/home/phantom/battlewords/matchmaking/node_modules/notepack.io/lib/encode.js:261:41)
    at BattleWords.broadcastPatch (/home/phantom/battlewords/matchmaking/node_modules/colyseus/lib/Room.js:215:45)
    at Timeout._patchInterval.setInterval [as _onTimeout] (/home/phantom/battlewords/matchmaking/node_modules/colyseus/lib/Room.js:93:22)
    at ontimeout (timers.js:466:11)

    what could happened for this error.
    please help

    posted in Questions & Help •