<?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[Add a static flag to room visuals OR the ability to set a raw string.]]></title><description><![CDATA[<h3>What is the goal?</h3>
<ul>
<li>A simple efficient way to display static data on the client</li>
</ul>
<h3>Use case?</h3>
<ul>
<li>Well all static debug data like infrastructure planning etc.</li>
</ul>
<h3>How to could we achieve that:</h3>
<ul>
<li>A static flag on room visuals</li>
<li>The ability to directly set the raw string of the serialized output from a RoomVisual object (memory buffered)</li>
</ul>
<h3>What's the difference between the two?</h3>
<ul>
<li>static flag
<ul>
<li>Pro: Allows easy caching on the server side to send it only once to the client like loading the room</li>
<li>Con: Requires changes to both server and client side</li>
</ul>
</li>
<li>set raw
<ul>
<li>Pro: very flexible to use</li>
<li>Pro: only a server side change</li>
<li>Con: eats memory</li>
<li>Con: eats server bandwidth</li>
</ul>
</li>
</ul>
<h4>EDIT:</h4>
<p><strong>wtfrank</strong> noted that to know which rooms are subscribed is also a useful information i.e. <code>RoomVisual.subscribed</code> or <code>Game.getSubscribedRooms()</code></p>
<hr />
<p>Please insert input below <img
      src="http://screeps.com/forum/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=a1k070tfs06"
      class="not-responsive emoji emoji-android emoji--smile"
      title=":-D"
      alt="😄"
    /></p>
]]></description><link>http://screeps.com/forum/topic/2414/add-a-static-flag-to-room-visuals-or-the-ability-to-set-a-raw-string</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 07:37:18 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/2414.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Oct 2018 22:38:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Add a static flag to room visuals OR the ability to set a raw string. on Tue, 23 Oct 2018 14:03:46 GMT]]></title><description><![CDATA[<h3>What is the goal?</h3>
<ul>
<li>A simple efficient way to display static data on the client</li>
</ul>
<h3>Use case?</h3>
<ul>
<li>Well all static debug data like infrastructure planning etc.</li>
</ul>
<h3>How to could we achieve that:</h3>
<ul>
<li>A static flag on room visuals</li>
<li>The ability to directly set the raw string of the serialized output from a RoomVisual object (memory buffered)</li>
</ul>
<h3>What's the difference between the two?</h3>
<ul>
<li>static flag
<ul>
<li>Pro: Allows easy caching on the server side to send it only once to the client like loading the room</li>
<li>Con: Requires changes to both server and client side</li>
</ul>
</li>
<li>set raw
<ul>
<li>Pro: very flexible to use</li>
<li>Pro: only a server side change</li>
<li>Con: eats memory</li>
<li>Con: eats server bandwidth</li>
</ul>
</li>
</ul>
<h4>EDIT:</h4>
<p><strong>wtfrank</strong> noted that to know which rooms are subscribed is also a useful information i.e. <code>RoomVisual.subscribed</code> or <code>Game.getSubscribedRooms()</code></p>
<hr />
<p>Please insert input below <img
      src="http://screeps.com/forum/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=a1k070tfs06"
      class="not-responsive emoji emoji-android emoji--smile"
      title=":-D"
      alt="😄"
    /></p>
]]></description><link>http://screeps.com/forum/post/11745</link><guid isPermaLink="true">http://screeps.com/forum/post/11745</guid><dc:creator><![CDATA[MrFaul]]></dc:creator><pubDate>Tue, 23 Oct 2018 14:03:46 GMT</pubDate></item><item><title><![CDATA[Reply to Add a static flag to room visuals OR the ability to set a raw string. on Invalid Date]]></title><description><![CDATA[<p>So I find visuals are quite expensive, particularly because they are rendered for all rooms regardless of whether you are looking at the room, or even logged on.</p>
<p>It would be interesting to me if our AIs could be told which room(s) our client was viewing, and then we could choose to render visuals for that room only.</p>
]]></description><link>http://screeps.com/forum/post/11753</link><guid isPermaLink="true">http://screeps.com/forum/post/11753</guid><dc:creator><![CDATA[wtfrank]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Add a static flag to room visuals OR the ability to set a raw string. on Tue, 23 Oct 2018 13:40:00 GMT]]></title><description><![CDATA[<p>Hmm since there could be multiple rooms something like <code>RoomVisual.subscribed</code> or <code>Game.getSubscribedRooms()</code> would be nice indeed.</p>
]]></description><link>http://screeps.com/forum/post/11754</link><guid isPermaLink="true">http://screeps.com/forum/post/11754</guid><dc:creator><![CDATA[MrFaul]]></dc:creator><pubDate>Tue, 23 Oct 2018 13:40:00 GMT</pubDate></item></channel></rss>