Endel Dreyer
Endel Dreyer
This PR replaces the `redis` package with `ioredis` for both `@colyseus/redis-presence` and `@colyseus/redis-driver`.
There is a security vulnerability that could allow any client that has the `sessionId` and `roomId` to "reconnect" and act on other client's behalf in case he got disconnected AND...
Original report by @MCArth: > what might be an interesting addition to the engine would be the ability to set logging levels of colyseus (and then there be an 'error...
It would be interesting to allow printing incoming and outgoing messages exchanged with the clients through the `DEBUG` flag: `DEBUG=colyseus:messages`
The `colyseus-loadtest` tool currently requires the input file to follow its own "DSL", implementing the methods `onJoin`, `onLeave`, `onStateChange`, etc. **Example** ([See full example](https://github.com/colyseus/colyseus/blob/a404b0fe9113392ed4c1cae7918ccd79aedc0350/packages/loadtest/example/bot.ts#L1-L25)) ```typescript // ... export function requestJoinOptions...
A recurring and really helpful feature request is to allow to directly get a client reference by its `sessionId` property. Currently, this is the implementation to retrieve a client by...
Some internal properties from the abstract `Room` class can have side effects in case the user overwrites it. A few examples: - [`roomName`](https://github.com/colyseus/colyseus/blob/8dd5b6407122cdcab362f5f534bad68eef1dda82/packages/core/src/Room.ts#L57) - [`internalState`](https://github.com/colyseus/colyseus/blob/8dd5b6407122cdcab362f5f534bad68eef1dda82/packages/core/src/Room.ts#L67) - [`_events`](https://github.com/colyseus/colyseus/blob/8dd5b6407122cdcab362f5f534bad68eef1dda82/packages/core/src/Room.ts#L70) - ... We...
This feature is not documented: https://github.com/colyseus/schema/pull/68 Recently [asked on Discord by Edisoni](https://discord.com/channels/525739117951320081/526083188108296202/843864600700911636): > Hi all, can I share messages similar state? I mean > > Define SomeMessage { } with...
The first patch message is having the same size in bytes of the full state. Need to fix this on [@colyseus/schema](https://github.com/colyseus/schema)
> This issue is a few notes for me in the future! PM2 has a `reload` method that shuts down active processes and then spawns them again. To allow no...