<?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[Create structure wall -7 near exit]]></title><description><![CDATA[<p>Got a weird (but minor) issue here... on Shard2 room W1N56, I can't seem to create a wall in code at positions (32,48), (34,48), or (42,48).  The error code being returned is -7, ERR_INVALID_TARGET, The structure cannot be placed at the specified location.</p>
<p>Game.rooms.W1N56.createConstructionSite(32, 48, STRUCTURE_WALL)
or
Game.rooms.W1N56.createConstructionSite(new RoomPosition(32, 48, 'W1N56'), STRUCTURE_WALL)</p>
<p>By the rules of all other rooms I've seen, I should be able to place a wall in these spots. They are range 2 from any exit.  I can actually do so using the UI build menu, but can't do it via code/script.  I've placed them by hand for now but thought the devs may wanna know, as something seems amiss behind the scenes.</p>
<p>Cheers</p>
]]></description><link>http://screeps.com/forum/topic/3254/create-structure-wall-7-near-exit</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 14:50:48 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/3254.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 Aug 2022 10:21:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Create structure wall -7 near exit on Invalid Date]]></title><description><![CDATA[<p>Got a weird (but minor) issue here... on Shard2 room W1N56, I can't seem to create a wall in code at positions (32,48), (34,48), or (42,48).  The error code being returned is -7, ERR_INVALID_TARGET, The structure cannot be placed at the specified location.</p>
<p>Game.rooms.W1N56.createConstructionSite(32, 48, STRUCTURE_WALL)
or
Game.rooms.W1N56.createConstructionSite(new RoomPosition(32, 48, 'W1N56'), STRUCTURE_WALL)</p>
<p>By the rules of all other rooms I've seen, I should be able to place a wall in these spots. They are range 2 from any exit.  I can actually do so using the UI build menu, but can't do it via code/script.  I've placed them by hand for now but thought the devs may wanna know, as something seems amiss behind the scenes.</p>
<p>Cheers</p>
]]></description><link>http://screeps.com/forum/post/16647</link><guid isPermaLink="true">http://screeps.com/forum/post/16647</guid><dc:creator><![CDATA[Earwig]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>