<?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[Getting URL is not defined when connecting to Room]]></title><description><![CDATA[<p>Been banging my head against this, trying to connect to a room.</p>
<p>When I try connecting to a Room, I get a console log in the web browser that url is not defined. However I know the server is seeing it, as onInit() in the server is called for that room.</p>
<p>Client Repo:<br />
<a href="https://github.com/KG204/ff_client" rel="nofollow">https://github.com/KG204/ff_client</a><br />
Colyseus connection code is in src/application.js</p>
<p>Server Repo:<br />
<a href="https://github.com/KG204/ff" rel="nofollow">https://github.com/KG204/ff</a></p>
<p>Screenshot of browser:<br />
<a href="https://imgur.com/a/9yw9haC" rel="nofollow">https://imgur.com/a/9yw9haC</a></p>
]]></description><link>http://discuss.colyseus.io/topic/205/getting-url-is-not-defined-when-connecting-to-room</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Mar 2026 16:44:05 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/205.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 29 Jan 2019 05:36:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Getting URL is not defined when connecting to Room on Tue, 29 Jan 2019 07:34:34 GMT]]></title><description><![CDATA[<p>Been banging my head against this, trying to connect to a room.</p>
<p>When I try connecting to a Room, I get a console log in the web browser that url is not defined. However I know the server is seeing it, as onInit() in the server is called for that room.</p>
<p>Client Repo:<br />
<a href="https://github.com/KG204/ff_client" rel="nofollow">https://github.com/KG204/ff_client</a><br />
Colyseus connection code is in src/application.js</p>
<p>Server Repo:<br />
<a href="https://github.com/KG204/ff" rel="nofollow">https://github.com/KG204/ff</a></p>
<p>Screenshot of browser:<br />
<a href="https://imgur.com/a/9yw9haC" rel="nofollow">https://imgur.com/a/9yw9haC</a></p>
]]></description><link>http://discuss.colyseus.io/post/666</link><guid isPermaLink="true">http://discuss.colyseus.io/post/666</guid><dc:creator><![CDATA[KG204]]></dc:creator><pubDate>Tue, 29 Jan 2019 07:34:34 GMT</pubDate></item><item><title><![CDATA[Reply to Getting URL is not defined when connecting to Room on Invalid Date]]></title><description><![CDATA[<p>A sample project or code snippet would go a long way to helping figure out what's going on.</p>
]]></description><link>http://discuss.colyseus.io/post/667</link><guid isPermaLink="true">http://discuss.colyseus.io/post/667</guid><dc:creator><![CDATA[seiyria]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Getting URL is not defined when connecting to Room on Invalid Date]]></title><description><![CDATA[<p>Client Repo:<br />
<a href="https://github.com/KG204/ff_client" rel="nofollow">https://github.com/KG204/ff_client</a><br />
Colyseus connection code is in src/application.js</p>
<p>Server Repo:<br />
<a href="https://github.com/KG204/ff" rel="nofollow">https://github.com/KG204/ff</a></p>
<p>Screenshot of browser:<br />
<a href="https://imgur.com/a/9yw9haC" rel="nofollow">https://imgur.com/a/9yw9haC</a></p>
]]></description><link>http://discuss.colyseus.io/post/668</link><guid isPermaLink="true">http://discuss.colyseus.io/post/668</guid><dc:creator><![CDATA[KG204]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Getting URL is not defined when connecting to Room on Invalid Date]]></title><description><![CDATA[<p>hey <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/303">@KG204</a>, welcome!</p>
<p>this is an error from your room handler, apparently the error is here: <a href="https://github.com/KG204/ff/blob/master/src/questionretriever.js#L13" rel="nofollow">https://github.com/KG204/ff/blob/master/src/questionretriever.js#L13</a></p>
<p><code>url</code> is not defined on this scope, you should use <code>this.url</code> I think</p>
<p>cheers!</p>
]]></description><link>http://discuss.colyseus.io/post/669</link><guid isPermaLink="true">http://discuss.colyseus.io/post/669</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Getting URL is not defined when connecting to Room on Invalid Date]]></title><description><![CDATA[<p>Thank you! Apologies if I thought it was colyseus related.</p>
<p>Its probably that but I wont be able to test for a while (computer crashed and fails to start, less than a year old, still under warranty)</p>
<p>And that's why unit tests should always be used. Could have caught the error. I come from a compiled background so still getting used to debugging JS</p>
]]></description><link>http://discuss.colyseus.io/post/670</link><guid isPermaLink="true">http://discuss.colyseus.io/post/670</guid><dc:creator><![CDATA[KG204]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>