<?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[Is there a case that client fails to send messages to server but still receives patches from server for a while?]]></title><description><![CDATA[<p>We use the Colyseus (0.14) client for Unity and have run into an issue: Player A seems to fail to send messages to the server so that other players cannot see him move. But interestingly, he still can see other players move around. This persists for about 1 minute before onLeave() is triggered on him.</p>
]]></description><link>http://discuss.colyseus.io/topic/713/is-there-a-case-that-client-fails-to-send-messages-to-server-but-still-receives-patches-from-server-for-a-while</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 09:53:54 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/713.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Aug 2022 08:41:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Is there a case that client fails to send messages to server but still receives patches from server for a while? on Invalid Date]]></title><description><![CDATA[<p>We use the Colyseus (0.14) client for Unity and have run into an issue: Player A seems to fail to send messages to the server so that other players cannot see him move. But interestingly, he still can see other players move around. This persists for about 1 minute before onLeave() is triggered on him.</p>
]]></description><link>http://discuss.colyseus.io/post/2047</link><guid isPermaLink="true">http://discuss.colyseus.io/post/2047</guid><dc:creator><![CDATA[duong2179]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Is there a case that client fails to send messages to server but still receives patches from server for a while? on Invalid Date]]></title><description><![CDATA[<p>Any log or errors? If not, probably because of the network lagging.</p>
]]></description><link>http://discuss.colyseus.io/post/2048</link><guid isPermaLink="true">http://discuss.colyseus.io/post/2048</guid><dc:creator><![CDATA[COCO]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Is there a case that client fails to send messages to server but still receives patches from server for a while? on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/873">@coco</a> No error logs on both sides, unfortunately.</p>
]]></description><link>http://discuss.colyseus.io/post/2049</link><guid isPermaLink="true">http://discuss.colyseus.io/post/2049</guid><dc:creator><![CDATA[duong2179]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Is there a case that client fails to send messages to server but still receives patches from server for a while? on Invalid Date]]></title><description><![CDATA[<p>Do you all maybe know if a Colyseus client can ping the server?</p>
]]></description><link>http://discuss.colyseus.io/post/2050</link><guid isPermaLink="true">http://discuss.colyseus.io/post/2050</guid><dc:creator><![CDATA[duong2179]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Is there a case that client fails to send messages to server but still receives patches from server for a while? on Tue, 16 Aug 2022 10:48:26 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/2424">@duong2179</a></p>
<p>Yes, there's a ping function inside Colyseus:</p>
<p>v0.15:</p>
<pre><code>import { Server } from &quot;colyseus&quot;;
import { WebSocketTransport } from &quot;@colyseus/ws-transport&quot;;
const gameServer = new Server({
    transport: new WebSocketTransport({
        server: http.createServer(app),
        pingInterval: 5000,
        pingMaxRetries: 3,
    })
});
</code></pre>
<p>before v0.15:</p>
<pre><code>import { Server } from &quot;colyseus&quot;;
const gameServer = new Server({
    server: http.createServer(app),
    pingInterval: 5000,
    pingMaxRetries: 3,
})
</code></pre>
]]></description><link>http://discuss.colyseus.io/post/2051</link><guid isPermaLink="true">http://discuss.colyseus.io/post/2051</guid><dc:creator><![CDATA[COCO]]></dc:creator><pubDate>Tue, 16 Aug 2022 10:48:26 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a case that client fails to send messages to server but still receives patches from server for a while? on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/873">@COCO</a> Thank you. But I am asking about pinging from client to server...</p>
]]></description><link>http://discuss.colyseus.io/post/2052</link><guid isPermaLink="true">http://discuss.colyseus.io/post/2052</guid><dc:creator><![CDATA[duong2179]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Is there a case that client fails to send messages to server but still receives patches from server for a while? on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/2424">@duong2179</a></p>
<p>Then you can send something by client, and timing yourself.</p>
]]></description><link>http://discuss.colyseus.io/post/2053</link><guid isPermaLink="true">http://discuss.colyseus.io/post/2053</guid><dc:creator><![CDATA[COCO]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>