Endel Dreyer

Results 381 comments of Endel Dreyer

Thank you for the heads-up and proposing the fix - I've just applied it here https://github.com/colyseus/colyseus/commit/2315a34846ab7e45ffcf9fb4c21540ef73ba52b5 The duplication of `@colyseus/core` module should not indeed happen. There might've been an indermediate...

Schemas v3 has been refactored recently to avoid triggering errors at encoding time. Now instance validation run during assignment instead: https://github.com/colyseus/schema/blob/9107fe8fee7a119dfa74cec8d71325df5917c096/src/annotations.ts#L393-L398 e.g.: this will throw an error: ```typescript class State...

Colyseus 0.16 no longer throws errors at encoding time (unless it's an actual unknown encoding bug rather than user data type error) We also have a [custom error handling within...

Thank you for the report @Always-Pixels - we need to handle JSON parse errors there

Thank you for the detailed report again @devcube9. The uWebSocket.js transport does forward the `getRemoteAddressAsText()` during [WebSocket upgrade (`onAuth()`) ](https://github.com/colyseus/colyseus/blob/dc66f07ff6e05a21598e1a98a14415c5f477a39b/packages/transport/uwebsockets-transport/src/uWebSocketsTransport.ts#L66-L74), but [does not during the first matchmake request (`static onAuth()`)](https://github.com/colyseus/colyseus/blob/dc66f07ff6e05a21598e1a98a14415c5f477a39b/packages/transport/uwebsockets-transport/src/uWebSocketsTransport.ts#L267)....

Thank you for the repro. This is the error I see from the server, going to investigate soon: ``` Warning: uWS.HttpResponse writes must be made from within a corked callback....

This issue has been fixed now in 0.16 🎉 https://github.com/colyseus/colyseus/releases/tag/0.16.0

Hi @kpotschi, the upcoming version 0.16 (currently in "preview" tag) is using a different MessagePack package, maybe this issue has been fixed there, need to confirm it!

Just pushed to include the `"types"` key on `exports` list, so editors (e.g. VSCode) can pick the types up for auto-completion.

Hi Matteo 👋 Thank you for the kind words 💙 I've just tried splicing a single item and it seems to be working. Do you mind sharing a reproduction scenario?...