<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Why can&#x27;t I join the room through room id? (SOLVED)]]></title><description><![CDATA[<p>Why can't I join the room through room id?</p>
]]></description><link>http://discuss.colyseus.io/topic/88/why-can-t-i-join-the-room-through-room-id-solved</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 19:45:29 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/88.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Jun 2018 08:42:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Why can&#x27;t I join the room through room id? (SOLVED) on Wed, 06 Jun 2018 21:17:13 GMT]]></title><description><![CDATA[<p>Why can't I join the room through room id?</p>
]]></description><link>http://discuss.colyseus.io/post/273</link><guid isPermaLink="true">http://discuss.colyseus.io/post/273</guid><dc:creator><![CDATA[samael65535]]></dc:creator><pubDate>Wed, 06 Jun 2018 21:17:13 GMT</pubDate></item><item><title><![CDATA[Reply to Why can&#x27;t I join the room through room id? (SOLVED) on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/80">@samael65535</a>, you should be able to do that. Can you provide more details like your room handler (<code>requestJoin</code> method) and the colyseus versions you're using?</p>
<p>Cheers</p>
]]></description><link>http://discuss.colyseus.io/post/274</link><guid isPermaLink="true">http://discuss.colyseus.io/post/274</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Why can&#x27;t I join the room through room id? (SOLVED) on Invalid Date]]></title><description><![CDATA[<p>One more question, When I use the client in Electron, the message is not correct</p>
<pre><code class="language-javascript">var message = msgpack.decode(new Uint8Array(event.data)); 
</code></pre>
]]></description><link>http://discuss.colyseus.io/post/276</link><guid isPermaLink="true">http://discuss.colyseus.io/post/276</guid><dc:creator><![CDATA[samael65535]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Why can&#x27;t I join the room through room id? (SOLVED) on Invalid Date]]></title><description><![CDATA[<p><img src="/assets/uploads/files/1528120794499-28fd6720-01fc-4095-a7d3-a0ee31f8aaa3-image-resized.png" alt="0_1528120792387_28fd6720-01fc-4095-a7d3-a0ee31f8aaa3-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://discuss.colyseus.io/post/277</link><guid isPermaLink="true">http://discuss.colyseus.io/post/277</guid><dc:creator><![CDATA[samael65535]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Why can&#x27;t I join the room through room id? (SOLVED) on Invalid Date]]></title><description><![CDATA[<p>This is really weird indeed. It looks like an issue with <code>notepack.io</code> decoder. I've just created an issue in their repository: <a href="https://github.com/darrachequesne/notepack/issues/17" rel="nofollow">https://github.com/darrachequesne/notepack/issues/17</a></p>
<p>I'll try to debug that in the meantime.</p>
]]></description><link>http://discuss.colyseus.io/post/278</link><guid isPermaLink="true">http://discuss.colyseus.io/post/278</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Why can&#x27;t I join the room through room id? (SOLVED) on Wed, 06 Jun 2018 02:57:52 GMT]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/80">@samael65535</a>,</p>
<p>I finally understood why this is happening, still don't know how to fix it though.</p>
<ul>
<li>As <code>notepack.io</code> has a browser-specific version for browsers specified on its <code>package.json</code> (<a href="https://github.com/darrachequesne/notepack/blob/master/package.json#L36-L39" rel="nofollow">see</a>), it decodes the messages properly in the browser environment.</li>
<li>When running inside Electron, it will load the Node.js version, not the browser one</li>
<li>The <code>colyseus.js</code> client converts the incoming data to array via <code>new Uint8Array(event.data)</code>, which can't be properly decoded in the Node.js version of the decoder.</li>
</ul>
<p>Maybe you can fix this temporarily by replacing the <code>lib/*</code> files under <code>node_modules/notepack.io</code> with the ones located on <code>browser/*</code>. Of course this is not a definitive solution.</p>
]]></description><link>http://discuss.colyseus.io/post/285</link><guid isPermaLink="true">http://discuss.colyseus.io/post/285</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Wed, 06 Jun 2018 02:57:52 GMT</pubDate></item><item><title><![CDATA[Reply to Why can&#x27;t I join the room through room id? (SOLVED) on Invalid Date]]></title><description><![CDATA[<p>OK, I'll try</p>
]]></description><link>http://discuss.colyseus.io/post/286</link><guid isPermaLink="true">http://discuss.colyseus.io/post/286</guid><dc:creator><![CDATA[samael65535]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Why can&#x27;t I join the room through room id? (SOLVED) on Wed, 06 Jun 2018 21:16:52 GMT]]></title><description><![CDATA[<p>Hey <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/80">@samael65535</a>, I've managed to fix this by forcing the client to always use the browser version of <code>notepack.io</code>. It's fixed on latest version (<a href="https://github.com/gamestdio/colyseus.js/releases/tag/0.9.7" rel="nofollow"><code>colyseus.js@^0.9.7</code></a>).</p>
<p>Thanks a lot for reporting and providing your example!</p>
]]></description><link>http://discuss.colyseus.io/post/292</link><guid isPermaLink="true">http://discuss.colyseus.io/post/292</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Wed, 06 Jun 2018 21:16:52 GMT</pubDate></item><item><title><![CDATA[Reply to Why can&#x27;t I join the room through room id? (SOLVED) on Invalid Date]]></title><description><![CDATA[<p>Thanks :smile:</p>
]]></description><link>http://discuss.colyseus.io/post/296</link><guid isPermaLink="true">http://discuss.colyseus.io/post/296</guid><dc:creator><![CDATA[samael65535]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>