<?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[PowerCreeps - Sporadic Loss of PowerCreep.memory]]></title><description><![CDATA[<p>Randomly, some of my power creeps will lose access to their .memory shortcut point to Memory.powerCreeps[name] and I'll receive errors saying &quot;powercreep.memory is undefined.&quot; This is not every tick and when it happens it does not affect every power creep.</p>
]]></description><link>http://screeps.com/forum/topic/2637/powercreeps-sporadic-loss-of-powercreep-memory</link><generator>RSS for Node</generator><lastBuildDate>Sat, 15 Aug 2026 12:51:51 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/2637.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Mar 2019 00:39:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PowerCreeps - Sporadic Loss of PowerCreep.memory on Invalid Date]]></title><description><![CDATA[<p>Randomly, some of my power creeps will lose access to their .memory shortcut point to Memory.powerCreeps[name] and I'll receive errors saying &quot;powercreep.memory is undefined.&quot; This is not every tick and when it happens it does not affect every power creep.</p>
]]></description><link>http://screeps.com/forum/post/13121</link><guid isPermaLink="true">http://screeps.com/forum/post/13121</guid><dc:creator><![CDATA[Hernanduer]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PowerCreeps - Sporadic Loss of PowerCreep.memory on Tue, 19 Mar 2019 01:04:19 GMT]]></title><description><![CDATA[<p>I added a check to set .memory if it wasn't set and I get this interesting error as a result:</p>
<pre><code>Power Creep Processing error Could not set other player's creep memory Error: Could not set other player's creep memory
at Object.set (:40507:23)
at Object.processPowerCreeps (main:12431:18) &lt;-- only part of this that is my code
at Object.module.exports.loop (main:12935:8) &lt;-- only part of this that is my code
at __module (__mainLoop:1:52)
at __mainLoop:2:3
at Object.exports.evalCode (:15990:76)
at Object.exports.run (:30481:24)
at global._init.global._start (:29710:22)</code></pre>
]]></description><link>http://screeps.com/forum/post/13122</link><guid isPermaLink="true">http://screeps.com/forum/post/13122</guid><dc:creator><![CDATA[Hernanduer]]></dc:creator><pubDate>Tue, 19 Mar 2019 01:04:19 GMT</pubDate></item><item><title><![CDATA[Reply to PowerCreeps - Sporadic Loss of PowerCreep.memory on Invalid Date]]></title><description><![CDATA[<p>Can confirm this error, was just sitting and debugging a similar case.</p>
<p>I'm extending prototypes, and this gives a similar error of memory is undefined at infrequent intervals:</p>
<pre>PowerCreep.prototype.getHomeroom = function (): string {
    return this.memory.homeroom;
}</pre>]]></description><link>http://screeps.com/forum/post/13123</link><guid isPermaLink="true">http://screeps.com/forum/post/13123</guid><dc:creator><![CDATA[Kasami]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PowerCreeps - Sporadic Loss of PowerCreep.memory on Invalid Date]]></title><description><![CDATA[<p>So <code>Memory.powerCreeps[name]</code> exists, but <code>Game.powerCreeps[name].memory</code> is undefined?</p>
]]></description><link>http://screeps.com/forum/post/13124</link><guid isPermaLink="true">http://screeps.com/forum/post/13124</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PowerCreeps - Sporadic Loss of PowerCreep.memory on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/3">@artch</a></p>
<p>I'll try to setup some tests to check that, tell me if there's anything else you would like me to try to capture about the tick or environment.</p>
<p>I saw it maybe two-three times in total last night, without any obvious system.</p>
]]></description><link>http://screeps.com/forum/post/13125</link><guid isPermaLink="true">http://screeps.com/forum/post/13125</guid><dc:creator><![CDATA[Kasami]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PowerCreeps - Sporadic Loss of PowerCreep.memory on Invalid Date]]></title><description><![CDATA[<p>It appears that if another player's power creep is &quot;visible&quot; to your game instance, it's being added to Game.powerCreeps. The sporadic nature is coming from my observers passively scanning the map...</p>
<p>I don't think other's power creeps should be in my Game.powerCreeps list.</p>
]]></description><link>http://screeps.com/forum/post/13136</link><guid isPermaLink="true">http://screeps.com/forum/post/13136</guid><dc:creator><![CDATA[Hernanduer]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PowerCreeps - Sporadic Loss of PowerCreep.memory on Invalid Date]]></title><description><![CDATA[<p>agreed. that isnt consistent with the pre-existing API...</p>
]]></description><link>http://screeps.com/forum/post/13137</link><guid isPermaLink="true">http://screeps.com/forum/post/13137</guid><dc:creator><![CDATA[SemperRabbit]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PowerCreeps - Sporadic Loss of PowerCreep.memory on Invalid Date]]></title><description><![CDATA[<p>Nice catch! Thanks, fixed.</p>
]]></description><link>http://screeps.com/forum/post/13139</link><guid isPermaLink="true">http://screeps.com/forum/post/13139</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PowerCreeps - Sporadic Loss of PowerCreep.memory on Invalid Date]]></title><description><![CDATA[<p>That explains it, I'm not checking if I'm the owner when I run foreach on all PCs in Game.powerCreeps.</p>
]]></description><link>http://screeps.com/forum/post/13142</link><guid isPermaLink="true">http://screeps.com/forum/post/13142</guid><dc:creator><![CDATA[Kasami]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>