<?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[Pass mouse click locations to the server.]]></title><description><![CDATA[<p>Ok, so I can create a database in a room to hold the data for building the entire base over time, I can show (With room visuals) where the potential structures will go when eventually built. I can edit the data base, either manually through the memory editor, or through script... thus updating the database before the structure is built.</p>
<p>What I CAN'T do is click on a room visual to highlight it, then click on an empty tile to tell my code to update that structure's build location.</p>
<p>Obviously, this can't be done in real time, as the script only runs one pass each tick. But a variable like &quot;Game.mousePos&quot; could be added that contains the last position clicked in the last tick's cycle. It would be null if no click was sent during that time.</p>
]]></description><link>http://screeps.com/forum/topic/2454/pass-mouse-click-locations-to-the-server</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 16:16:14 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/2454.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Nov 2018 16:39:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pass mouse click locations to the server. on Invalid Date]]></title><description><![CDATA[<p>Ok, so I can create a database in a room to hold the data for building the entire base over time, I can show (With room visuals) where the potential structures will go when eventually built. I can edit the data base, either manually through the memory editor, or through script... thus updating the database before the structure is built.</p>
<p>What I CAN'T do is click on a room visual to highlight it, then click on an empty tile to tell my code to update that structure's build location.</p>
<p>Obviously, this can't be done in real time, as the script only runs one pass each tick. But a variable like &quot;Game.mousePos&quot; could be added that contains the last position clicked in the last tick's cycle. It would be null if no click was sent during that time.</p>
]]></description><link>http://screeps.com/forum/post/12054</link><guid isPermaLink="true">http://screeps.com/forum/post/12054</guid><dc:creator><![CDATA[Smokeman]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Pass mouse click locations to the server. on Mon, 12 Nov 2018 17:08:06 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/2006">@smokeman</a> I think this game about automation everything. I am do not like idea to past mouse position to the server. If you want you can use flags for this.</p>
]]></description><link>http://screeps.com/forum/post/12055</link><guid isPermaLink="true">http://screeps.com/forum/post/12055</guid><dc:creator><![CDATA[Flyasd1]]></dc:creator><pubDate>Mon, 12 Nov 2018 17:08:06 GMT</pubDate></item><item><title><![CDATA[Reply to Pass mouse click locations to the server. on Invalid Date]]></title><description><![CDATA[<p>You can make the game about automating everything, or not. That's up to you. As described, if you don't want to know there clicking happened, ignore the variable.</p>
]]></description><link>http://screeps.com/forum/post/12056</link><guid isPermaLink="true">http://screeps.com/forum/post/12056</guid><dc:creator><![CDATA[Smokeman]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Pass mouse click locations to the server. on Mon, 12 Nov 2018 17:35:47 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/2006">@smokeman</a> I am try to tell you that you can do what you want by using flags.
<a href="https://bencbartlett.wordpress.com/2018/02/06/screeps-2-interior-design/" rel="nofollow">https://bencbartlett.wordpress.com/2018/02/06/screeps-2-interior-design/</a></p>
]]></description><link>http://screeps.com/forum/post/12057</link><guid isPermaLink="true">http://screeps.com/forum/post/12057</guid><dc:creator><![CDATA[Flyasd1]]></dc:creator><pubDate>Mon, 12 Nov 2018 17:35:47 GMT</pubDate></item><item><title><![CDATA[Reply to Pass mouse click locations to the server. on Invalid Date]]></title><description><![CDATA[<p>On the same line, I would enjoy being able to create custom user interfaces. In the meantime, flags are the way to quickly pass data to the script.<br />
You don't need to have the script rely entirely on flags: in my script creeps eats up any flag that bear their name, and only store its position in memory to know what they must do. You could place a flag named extension, have the script detect it, plan the building, then delete it so you can place another flag.</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/1890">@Flyasd1</a> What you did there is amazing !
I had been thinking about doing something similar, but never got even started. How did you manage to reproduce the look of structures with such fidelity ?</p>
]]></description><link>http://screeps.com/forum/post/12059</link><guid isPermaLink="true">http://screeps.com/forum/post/12059</guid><dc:creator><![CDATA[Estecka]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Pass mouse click locations to the server. on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/2591">@estecka</a> This is not mine. This is <a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/1574">@Muon</a>.</p>
]]></description><link>http://screeps.com/forum/post/12061</link><guid isPermaLink="true">http://screeps.com/forum/post/12061</guid><dc:creator><![CDATA[Flyasd1]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Pass mouse click locations to the server. on Invalid Date]]></title><description><![CDATA[<p>Screeps isn't a realtime game.<br />
It is virtually impossible to grant your request without major changes.<br />
That said you could write your own client extensions to allow this via the console.<br />
But that would more of a hack and probably work very similar to the flags.</p>
]]></description><link>http://screeps.com/forum/post/12062</link><guid isPermaLink="true">http://screeps.com/forum/post/12062</guid><dc:creator><![CDATA[MrFaul]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Pass mouse click locations to the server. on Invalid Date]]></title><description><![CDATA[<p>I would like clicks to be passed to the screeps bot, so that the bot can see which building/creep you have highlighted, and create additional visuals that show extra information about that creep/building. For example, destination, mission, what's it waiting for etc etc</p>
]]></description><link>http://screeps.com/forum/post/12063</link><guid isPermaLink="true">http://screeps.com/forum/post/12063</guid><dc:creator><![CDATA[wtfrank]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Pass mouse click locations to the server. on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/1436">@wtfrank</a> hm passing a &quot;selected&quot; to the game for building visuals actually sounds like a reasonable request.<br />
Could be an array in the game object.</p>
]]></description><link>http://screeps.com/forum/post/12065</link><guid isPermaLink="true">http://screeps.com/forum/post/12065</guid><dc:creator><![CDATA[MrFaul]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Pass mouse click locations to the server. on Thu, 15 Nov 2018 05:59:02 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/85">@mrfaul</a> Passing selected in a very easy task on top of <a href="https://github.com/stybbe/Screeps-SC" rel="nofollow">Screeps-SC</a>, but I must say that processing selection is often overrated. I implemented it at the early game stage then dropped it in a couple of weeks after implementation. But if you really feel you need it, as said, it's not hard to implement it by yourself.</p>
]]></description><link>http://screeps.com/forum/post/12092</link><guid isPermaLink="true">http://screeps.com/forum/post/12092</guid><dc:creator><![CDATA[o4kapuk]]></dc:creator><pubDate>Thu, 15 Nov 2018 05:59:02 GMT</pubDate></item></channel></rss>