<?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[PTR Changelog 2017-06-23]]></title><description><![CDATA[<div id="wmd-preview-section-2330" class="wmd-preview-section preview-content">
<p><em>This post describes changes on the <a href="http://docs.screeps.com/ptr.html" target="_blank" rel="nofollow noreferrer">Public Test Realm</a>.</em></p>
<p>This is an experimental attempt to store all room objects data in <a href="https://cassandra.apache.org" rel="nofollow noreferrer">Apache Cassandra</a> instead of MongoDB. It potentially can reduce the database load and allow us to effectively scale the database without introducing the world sharding feature.</p>
<p>The server driver has been refactored with experimental support of Cassandra and deployed to the PTR. <strong>We ask everybody to help us test this change.</strong> When the driver is tested well enough and confirmed to be stable, we’ll make a temporary production deployment to benchmark performance and decide whether it’s worth it to proceed with the migration.</p>
</div>
<div id="wmd-preview-section-2259" class="wmd-preview-section preview-content">
<h3 id="what-to-test">What to test?</h3>
<p>This change affects all mechanics regarding world room objects, their state fetching and modification, using both API and UI. Only room objects data is moved to Cassandra; all other types of data (like account preferences and activity, flags, intents, leaderboards, market data, map statistics and terrain) are still stored in MongoDB and Redis and not affected by this change.</p>
<p>Please do your best to test as many patterns changing rooms objects state as possible and report in this topic what are your results.</p>
</div>]]></description><link>http://screeps.com/forum/topic/75/ptr-changelog-2017-06-23</link><generator>RSS for Node</generator><lastBuildDate>Sat, 17 Oct 2026 18:50:26 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/75.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Jun 2017 08:16:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<div id="wmd-preview-section-2330" class="wmd-preview-section preview-content">
<p><em>This post describes changes on the <a href="http://docs.screeps.com/ptr.html" target="_blank" rel="nofollow noreferrer">Public Test Realm</a>.</em></p>
<p>This is an experimental attempt to store all room objects data in <a href="https://cassandra.apache.org" rel="nofollow noreferrer">Apache Cassandra</a> instead of MongoDB. It potentially can reduce the database load and allow us to effectively scale the database without introducing the world sharding feature.</p>
<p>The server driver has been refactored with experimental support of Cassandra and deployed to the PTR. <strong>We ask everybody to help us test this change.</strong> When the driver is tested well enough and confirmed to be stable, we’ll make a temporary production deployment to benchmark performance and decide whether it’s worth it to proceed with the migration.</p>
</div>
<div id="wmd-preview-section-2259" class="wmd-preview-section preview-content">
<h3 id="what-to-test">What to test?</h3>
<p>This change affects all mechanics regarding world room objects, their state fetching and modification, using both API and UI. Only room objects data is moved to Cassandra; all other types of data (like account preferences and activity, flags, intents, leaderboards, market data, map statistics and terrain) are still stored in MongoDB and Redis and not affected by this change.</p>
<p>Please do your best to test as many patterns changing rooms objects state as possible and report in this topic what are your results.</p>
</div>]]></description><link>http://screeps.com/forum/post/376</link><guid isPermaLink="true">http://screeps.com/forum/post/376</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>Awsome change, testing now.</p>
<p>findings so far:</p>
<p>Could it be that we currently don't have vision in rooms where we do have an owned structure, but no active creeps? </p>
<ul>
<li>Flag in a room with owned structures WITHOUT creeps do not have any .room property set</li>
</ul>]]></description><link>http://screeps.com/forum/post/377</link><guid isPermaLink="true">http://screeps.com/forum/post/377</guid><dc:creator><![CDATA[Dissi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>I hope I'm not too stupid, didn't touch PTR for a long time now</p>
<p> </p>
<p> - It took very long (~a minute) between uploading code via grunt to PTR and actually showing the code in the web interface</p>
<p>More important:</p>
<p> - `&gt; JSON.stringify(Game.rooms)<br>&lt; {}`</p>
<p>I just respawned in room W48N96, I guess I should have at least the room, where my spawn is located.</p>]]></description><link>http://screeps.com/forum/post/378</link><guid isPermaLink="true">http://screeps.com/forum/post/378</guid><dc:creator><![CDATA[TooAngel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>Same issue as TooAngel,</p>
<p>No creeps = no vision now</p>]]></description><link>http://screeps.com/forum/post/379</link><guid isPermaLink="true">http://screeps.com/forum/post/379</guid><dc:creator><![CDATA[Dissi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>Deployed some fixes, please try the same test pattern again.</p>]]></description><link>http://screeps.com/forum/post/380</link><guid isPermaLink="true">http://screeps.com/forum/post/380</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p> - W48N96 can not remove hostile constructionSites (via the web interface)</p>]]></description><link>http://screeps.com/forum/post/381</link><guid isPermaLink="true">http://screeps.com/forum/post/381</guid><dc:creator><![CDATA[TooAngel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>Currently it can't be deleted on the main realm either. Probably some glitch somewhere, but not related to this change.</p>]]></description><link>http://screeps.com/forum/post/382</link><guid isPermaLink="true">http://screeps.com/forum/post/382</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>The cooldown on terminals seems rather large:</p>
<p><a href="https://screeps.com/ptr/#!/room/E13N15" rel="nofollow noreferrer">https://screeps.com/ptr/#!/room/E13N15</a></p>
<p> </p>
<p><a href="http://i.imgur.com/PzOaCWm.png" rel="nofollow noreferrer">http://i.imgur.com/PzOaCWm.png</a></p>
<p> </p>
<p>Same for</p>
<p><a href="https://screeps.com/ptr/#!/room/E3N8" rel="nofollow noreferrer">https://screeps.com/ptr/#!/room/E3N8</a></p>]]></description><link>http://screeps.com/forum/post/383</link><guid isPermaLink="true">http://screeps.com/forum/post/383</guid><dc:creator><![CDATA[Dissi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>It seems terminal transfers aren't working. I'm receiving OK statuses, but no resources are actually being transferred.</p>]]></description><link>http://screeps.com/forum/post/384</link><guid isPermaLink="true">http://screeps.com/forum/post/384</guid><dc:creator><![CDATA[kshepard]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>That could also explain why I got 0 energy in every terminal now. The cooldown is also 60K ticks</p>]]></description><link>http://screeps.com/forum/post/385</link><guid isPermaLink="true">http://screeps.com/forum/post/385</guid><dc:creator><![CDATA[Dissi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<blockquote>
<p>It seems terminal transfers aren’t working. I’m receiving OK statuses, but no resources are actually being transferred.</p>
</blockquote>
<p>A quick test of terminals seemed to work fine. Could you please provide more details?</p>]]></description><link>http://screeps.com/forum/post/386</link><guid isPermaLink="true">http://screeps.com/forum/post/386</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>My code keeps trying to balance energy among rooms, and it's constantly trying to send the same amount of energy from one room to another, which gets a status of OK, but no transfer actually occurs, so the next tick it tries to do the same thing again. An example of this is an energy transfer from E21N57 to E21N51, which is currently failing with an OK status every tick.</p>]]></description><link>http://screeps.com/forum/post/387</link><guid isPermaLink="true">http://screeps.com/forum/post/387</guid><dc:creator><![CDATA[kshepard]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>I got the same kind of logic in olace, but for minerals.
<br />It does also send back a transaction, so it could be related to 2 terminals sending things to each other </p>]]></description><link>http://screeps.com/forum/post/388</link><guid isPermaLink="true">http://screeps.com/forum/post/388</guid><dc:creator><![CDATA[Dissi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>Awesome! I love tech experiments. Let the stress testing commence.</p>
<p><br>I activated my CPU and let my AI go all in. I've modified no code since my last run, and things were to my knowledge stable. So far my code itself seems to be running, but at time of writing this, E59S39 on PTR is froze up entirely, excluding [room]visuals. Creep TTL seems to be decreasing but intents don't seem to be processing? Other rooms are intermittently freezing as well.</p>
<p>Container and rampart decay went into the negative in both rooms (attempting to remove containers didn't work either). Seems to have a loose correlation with the pauses at least. Is it possible the rooms aren't considered "active"? My code runs in stages with rooms, creeps, and structures as separate main-level loops, so I can guarantee something is trying to act on the world. </p>
<p><br>Something appears to be wiping out the terminal store entirely. No energy value, nothing. Inspection of a terminal shows the property 'store' is there, but as an empty object. The GUI still shows the resources.</p>
<p>Transfer behavior appears to be a little bugged. Getting invalid target on some previously valid transfer targets such as towers and extensions. Not yet sure why this might be. Mostly occuring in the the frozen room E59S39.</p>
<p> </p>]]></description><link>http://screeps.com/forum/post/389</link><guid isPermaLink="true">http://screeps.com/forum/post/389</guid><dc:creator><![CDATA[WarInternal]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>I spent awhile trying to track down an issue, and it turned out to be that Game.getObjectById(undefined) is returning a seemingly random object in one of my rooms (it changes), but with the id field undefined.<br><br>I have many calls in my code that will call Game.getObjectById(undefined) and expect to get null back, and that has never caused problems on the main server. No idea if this issue is related in any way to having a different DB.</p>]]></description><link>http://screeps.com/forum/post/390</link><guid isPermaLink="true">http://screeps.com/forum/post/390</guid><dc:creator><![CDATA[stuy486]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/7">@WarInternal</a> has it happened right after you activated your account on the PTR, or kept happening after that? I can see now that E59S39 is active, is something wrong with it right now?</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/74">@stuy486</a> Could you please show an exact snippet of code and the result of it? What is the object with id field undefined?</p>]]></description><link>http://screeps.com/forum/post/391</link><guid isPermaLink="true">http://screeps.com/forum/post/391</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>Code in my main loop:</p>
<p><br>module.exports.loop = function () {<br> console.log(JSON.stringify(Game.getObjectById(undefined)));<br> return;</p>
<p> </p>
<p>Output on the console:</p>
<p>{"room":{"name":"E7S64","mode":"world","energyAvailable":0,"energyCapacityAvailable":0,"visual":{"roomName":"E7S64"}},"pos":{"x":23,"y":46,"roomName":"E7S64"},"id":"undefined","ticksToDecay":828,"hits":4700,"hitsMax":5000,"structureType":"road"}</p>
<p> </p>
<p>Now that I'm typing this up, I've gone and looked at that room and there's actually two roads at that spot, one with an ID and one without.</p>
<p>So, I suppose it's possible Game.getObjectById() is functioning properly, and the real problem is that there are structures without IDs in various places in my rooms.</p>]]></description><link>http://screeps.com/forum/post/392</link><guid isPermaLink="true">http://screeps.com/forum/post/392</guid><dc:creator><![CDATA[stuy486]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>@Artem It's ongoing. </p>
<p>Found a bug. Everything in my `Game.structures` is reporting the property structureType as road. Explains all (or most of) the problems I'm having actually.</p>]]></description><link>http://screeps.com/forum/post/393</link><guid isPermaLink="true">http://screeps.com/forum/post/393</guid><dc:creator><![CDATA[WarInternal]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>Undefined objects and invalid structureTypes must be fixed now, please confirm.</p>]]></description><link>http://screeps.com/forum/post/394</link><guid isPermaLink="true">http://screeps.com/forum/post/394</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>structureType fix confirmed, thank you.</p>]]></description><link>http://screeps.com/forum/post/395</link><guid isPermaLink="true">http://screeps.com/forum/post/395</guid><dc:creator><![CDATA[WarInternal]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>Drop-harvest mining (work parts without carry) without container appears to create a resource pile if none exists, but does not add to an existing pile, so energy is lost until the previous pile decays. </p>]]></description><link>http://screeps.com/forum/post/396</link><guid isPermaLink="true">http://screeps.com/forum/post/396</guid><dc:creator><![CDATA[WarInternal]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>I respawned on the ptr and noticed that my MOVE,MOVE,CARRY,WORK creep gets fatigue when running over plain terrain:</p>
<p> 2 when empty, 4 when full</p>
<p><a href="https://screeps.com/ptr/#!/room/E83S84" rel="nofollow noreferrer">https://screeps.com/ptr/#!/room/E83S84</a></p>]]></description><link>http://screeps.com/forum/post/397</link><guid isPermaLink="true">http://screeps.com/forum/post/397</guid><dc:creator><![CDATA[W4rl0ck]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>New fixes arrived, please confirm.</p>]]></description><link>http://screeps.com/forum/post/398</link><guid isPermaLink="true">http://screeps.com/forum/post/398</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>Cool. I'm completely out of energy from some of the last bugs. If you inject some energy into my storage and/or terminals I'll be able to test a lot faster.</p>]]></description><link>http://screeps.com/forum/post/399</link><guid isPermaLink="true">http://screeps.com/forum/post/399</guid><dc:creator><![CDATA[kshepard]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>I got the same issue, I'm completely out of energy.</p>]]></description><link>http://screeps.com/forum/post/400</link><guid isPermaLink="true">http://screeps.com/forum/post/400</guid><dc:creator><![CDATA[Dissi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PTR Changelog 2017-06-23 on Invalid Date]]></title><description><![CDATA[<p>OK, PTR data has been re-deployed from the main server.</p>]]></description><link>http://screeps.com/forum/post/401</link><guid isPermaLink="true">http://screeps.com/forum/post/401</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>