Endel Dreyer

Results 381 comments of Endel Dreyer

Interesting, thank you for reporting @saltlevent, I can confirm this is happening here: https://stackblitz.com/edit/colyseus-schema-issue-report-vxwj94?file=index.ts I'm currently working on a new version of `@colyseus/schema` with a big restructuring, so I'll investigate...

Thanks for sharing the reproduction scenario, will add this to https://github.com/colyseus/colyseus/issues/641

As a workaround, you can try flushing the changes (via [`this.broadcastPatch()`](https://github.com/colyseus/colyseus/blob/35790f7f7623dc3b5d4f2f6411ef0c08e6044311/packages/core/src/Room.ts#L482-L485)) to force the state to sync before doing the `.unshift()` operation: ```typescript x.push(1) x.push(2) x.push(3) x.push(4) x.push(5) x.pop() x.pop()...

Hi @r3ndd, thanks for taking the time to raise the discussion. The plan is to deprecate the current implementation of filters ([see roadmap](https://github.com/colyseus/colyseus/wiki/Public-Roadmap#colyseus-framework)) I still don't have a clear implementation...

According to https://github.com/WICG/web-transport/issues/65#issuecomment-537211670, we could use the [`RTCQuicTransport`](https://developers.google.com/web/updates/2019/01/rtcquictransport-api) as a proof of concept, before `WebTransport` is actually implemented. I honestly don't think WebRTC is viable for authoritative servers, but we...

Hi @epurban, thanks for your interest here! I've been experimenting with the [fails-components/webtransport](https://github.com/fails-components/webtransport) implementation of WebTransport in the [`webtransport`](https://github.com/colyseus/colyseus/tree/webtransport/packages/transport/h3-transport/src) branch. The JavaScript SDK also has a [`webtransport`](https://github.com/colyseus/colyseus.js/blob/webtransport/src/transport/H3Transport.ts) branch and things...

Hi @hunkydoryrepair, your scenario is an intended behavior, in order to simplify listening on direct references on the root structure, such as: `room.state.sub.listen("index", () => {})`. When structures are "reflected"...

There are some alternatives such as: - https://github.com/gamestdio/websocket.js - https://github.com/appuri/robust-websocket

Fixed by @yiming0 here https://github.com/colyseus/schema/pull/149 🎉

Oh right! Thank you @sylvainpolletvillard, let's close this :D Happy new year! ✨