<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Stellaris &#8211; Wade Tregaskis</title>
	<atom:link href="https://wadetregaskis.com/tags/stellaris/feed/" rel="self" type="application/rss+xml" />
	<link>https://wadetregaskis.com</link>
	<description></description>
	<lastBuildDate>Thu, 01 Aug 2024 00:34:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wadetregaskis.com/wp-content/uploads/2016/03/Stitch-512x512-1-256x256.png</url>
	<title>Stellaris &#8211; Wade Tregaskis</title>
	<link>https://wadetregaskis.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">226351702</site>	<item>
		<title>Stellaris AI construction &#038; science ship spam bugs</title>
		<link>https://wadetregaskis.com/stellaris-ai-construction-science-ship-spam-bugs/</link>
					<comments>https://wadetregaskis.com/stellaris-ai-construction-science-ship-spam-bugs/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Thu, 01 Aug 2024 00:33:12 +0000</pubDate>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Bugs!]]></category>
		<category><![CDATA[Stellaris]]></category>
		<guid isPermaLink="false">https://wadetregaskis.com/?p=8329</guid>

					<description><![CDATA[There&#8217;s a couple of bugs in Stellaris, that have been present for year(s), where the AI inexplicably builds absurd numbers of construction and/or science ships, then has them sit idle forever. This AI behaviour would be merely eccentric if it didn&#8217;t cause major performance issues with the game. For the case of too many science&#8230; <a class="read-more-link" href="https://wadetregaskis.com/stellaris-ai-construction-science-ship-spam-bugs/" data-wpel-link="internal">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>There&#8217;s a couple of bugs in <a href="https://www.paradoxinteractive.com/games/stellaris/about" data-wpel-link="external" target="_blank" rel="external noopener">Stellaris</a>, <a href="https://www.reddit.com/r/Stellaris/comments/11s0wva/lag_spike_every_7_days/" data-wpel-link="external" target="_blank" rel="external noopener">that have been present for year(s)</a>, where the AI inexplicably builds absurd numbers of construction and/or science ships, then has them sit idle forever.</p>


<div class="wp-block-image is-style-default">
<figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="5120" height="2880" src="https://wadetregaskis.com/wp-content/uploads/2024/07/stellaris-legion-of-science-ships.avif" alt="" class="wp-image-8333" srcset="https://wadetregaskis.com/wp-content/uploads/2024/07/stellaris-legion-of-science-ships.avif 5120w, https://wadetregaskis.com/wp-content/uploads/2024/07/stellaris-legion-of-science-ships-256x144.avif 256w, https://wadetregaskis.com/wp-content/uploads/2024/07/stellaris-legion-of-science-ships-1024x576.avif 1024w, https://wadetregaskis.com/wp-content/uploads/2024/07/stellaris-legion-of-science-ships-768x432.avif 768w, https://wadetregaskis.com/wp-content/uploads/2024/07/stellaris-legion-of-science-ships-2048x1152.avif 2048w, https://wadetregaskis.com/wp-content/uploads/2024/07/stellaris-legion-of-science-ships-256x144@2x.avif 512w, https://wadetregaskis.com/wp-content/uploads/2024/07/stellaris-legion-of-science-ships-2048x1152@2x.avif 4096w" sizes="(max-width: 5120px) 100vw, 5120px" /></figure>
</div>


<p>This AI behaviour would be merely eccentric if it didn&#8217;t cause major performance issues with the game.</p>



<p>For the case of too many science ships, the effect seems subtle &#8211; just a small, evenly-spread slow-down of the game.  Probably not worth worrying about generally, though if you happen to notice an AI empire spamming science ships, it may be worth addressing.</p>



<p>For the case of too many construction ships, the effect is much more pronounced.   Every AI construction ship triggers an expensive script periodically, and all aligned together in time, which can result in noticeable hangs every seven in-game days if there&#8217;s many of them.</p>



<p>And &#8220;too many&#8221; is a surprisingly small number &#8211; as few as ten can cause five-second-long hangs every seven in-game days, in my experience.  I suspect their detrimental effect is superlinear to their number (because the AI having only a couple seems to incur no noticeable overhead).  It&#8217;s likely also contingent on some other factor, that I have not yet identified, as the hangs only manifest themselves in some games.</p>



<p>I&#8217;m very thankful to <a href="https://www.reddit.com/user/Confident_Chance_770/" data-wpel-link="external" target="_blank" rel="external noopener">Confident_Chance_770</a> for pinning the periodic hangs down to this cause.</p>



<h2 class="wp-block-heading">Confirming the too-many-construction-ships diagnosis</h2>



<p>Since this can be caused by a mere few construction ships &#8211; as little as four or five, which is not otherwise remarkable &#8211; one way to confirm this is the issue is to profile the game&#8217;s script execution:</p>



<ol class="wp-block-list">
<li>Pause the game (e.g. hit the spacebar).  Ideally a day or so before the next hang day, and clear of the first day of the in-game month.</li>



<li>Hit the backtick (`) key (top-left on most keyboard layouts, above tab and left of 1) to bring up <a href="https://stellaris.paradoxwikis.com/Console_commands" data-wpel-link="external" target="_blank" rel="external noopener">the game&#8217;s debugger / cheat console</a>.</li>



<li>Type &#8220;script_profiler&#8221; and hit return.</li>



<li>Unpause the game (e.g. close the console by hitting the backtick key again, then hit the spacebar).</li>



<li>Let the game run until one of the hang days is encountered.  Note that the game will run slower than normal while profiling is enabled, especially on the hang days.</li>



<li>Pause the game.</li>



<li>Open the console again.</li>



<li>Type &#8220;script_profiler&#8221; again and hit return.  This concludes the profiling and dumps the results to two files.</li>



<li>Open the summary results from ~/Documents/Paradox Interactive/Stellaris/logs/script_profiling_summary.log.</li>



<li>Check if &#8220;planet_possible.find_planet&#8221; is the topmost item and listed as consuming significant amounts of CPU time (e.g. 5s, for a single hang day).  If it is, you&#8217;re likely experiencing the construction ship bug.<br><br>If it&#8217;s not, it&#8217;s <em>possible</em> it&#8217;s still the same bug, but possibly not.  You could try the usual diagnostic routine &#8211; e.g. websearch for the symptoms and top script names from the profile, contact the author of any suspicious or newly-added plug-ins you&#8217;re using, contact Paradox Interactive, etc.</li>
</ol>



<h2 class="wp-block-heading">Remedying the bugs</h2>



<p>If you determine that it likely is the construction / science ship spam bug, you can rectify it via these steps:</p>



<ol class="wp-block-list">
<li>Save your game.  Just in case something goes wrong with this process.</li>



<li>Pause the game.  <strong>This is very important</strong> &#8211; if you don&#8217;t, the AI is likely to complete screw with your empire while you&#8217;re away (during steps 4 through 6).</li>



<li>Open the console.</li>



<li>Type &#8220;play N&#8221; where N is an integer starting at one.  Not all integers are used &#8211; just keep incrementing until you get a correct result, which is that it switches your control to one of the AI empires.</li>



<li>Close the console.</li>



<li>Check the civilian ships list to see if there are absurd numbers of science ships, or more than a couple of construction ships.  If there are, kill them.  Usually when this bug occurs most of the ships are together in one system, so you can accelerate this process by finding those big group(s) of construction &amp; science ships, drag-selecting them within the system view, then hitting the Delete key (and return to confirm decommissioning).  It&#8217;s pretty safe to just delete <em>all</em> the AI empire&#8217;s construction &amp; science ships, since the AI can cheaply and quickly build new ones if they <em>actually</em> want them (in my experience they often don&#8217;t, at least not promptly, suggesting the ships were unnecessary to begin with).<br><br>If there are not, go back to step 4 and try subsequent integers, to check other AI empires.</li>



<li>Once you&#8217;ve found and destroyed the offending ships, type &#8220;play 0&#8221; into the console to restore control to your own empire.</li>



<li>Unpause the game and continue playing &#8211; hopefully now without the noticeable hangs every seven in-game days.</li>
</ol>



<p>Repeat as necessary when the problem recurs (and perhaps focus your in-game efforts on wiping out the offending AIs, as a more permanent solution).</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wadetregaskis.com/stellaris-ai-construction-science-ship-spam-bugs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			<media:content url="https://wadetregaskis.com/wp-content/uploads/2024/07/stellaris-legion-of-science-ships-2048x1152.avif" medium="image" />
<post-id xmlns="com-wordpress:feed-additions:1">8329</post-id>	</item>
		<item>
		<title>Stellaris review</title>
		<link>https://wadetregaskis.com/stellaris-review/</link>
					<comments>https://wadetregaskis.com/stellaris-review/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Sat, 21 May 2016 14:37:10 +0000</pubDate>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Sad]]></category>
		<category><![CDATA[Stellaris]]></category>
		<guid isPermaLink="false">https://blog.wadetregaskis.com/?p=3643</guid>

					<description><![CDATA[This is a fantastic game if you love spending hours meticulously crafting a beautiful empire, micro-optimising it to a cutting edge, and then having the AI come in and wipe you out instantly. Fun for the whole family. As best I can tell it&#8217;s fatally buggy, because it lets the AI essentially cheat, and you&#8230; <a class="read-more-link" href="https://wadetregaskis.com/stellaris-review/" data-wpel-link="internal">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>This is a fantastic game if you love spending hours meticulously crafting a beautiful empire, micro-optimising it to a cutting edge, and then having the AI come in and wipe you out instantly. Fun for the whole family.</p>



<p>As best I can tell it&#8217;s fatally buggy, because it lets the AI essentially cheat, and you can&#8217;t turn that misfeature off.</p>



<p>But in its defense it kind of sets expectations right from the beginning. My very first game failed as described above, though it was at least because my empire was weak and I&#8217;d made some actual mistakes. There&#8217;s no manual or tutorial, just the in-game tips which are sparse, terse, and simply don&#8217;t cover a lot of essential elements of gameplay. So my first abrupt loss was unsurprising &#8211; unfortunately, trial and error is the name of the game here.</p>



<p>Subsequent games went no better, however.</p>



<p>I eventually found that there&#8217;s a config option when starting a new game, for how many AIs start way ahead of you. Ah, that sounds like the problem. Unfortunately even when set to zero, at least one AI still does this. And it&#8217;s not just a little ahead &#8211; they seem to start <em>completely</em>&nbsp;advanced in tech tree and with effectively infinite resources. And the most infuriating of all is that they can lurk for hours of gameplay before actually deciding to annihilate you on a whim. I&#8217;d appreciate if they just wipe me out straight away and save me all that wasted time.</p>



<p>For example, in my most recent game I had taken control of nearly a third of the galaxy, beating out half a dozen other AIs, and was shown by the game as equal or greater in strength than all the AIs I&#8217;d contacted. And then an AI from the other side of the galaxy declared war on me without any warning &#8211; I didn&#8217;t even know they existed &#8211; and wiped me out in literally about sixty seconds. They cleared out all my space stations, all my defenses, killed my main battle fleet in literally a single shot, and made short work of taking over all my planets with hundreds of invading armies that individually were more powerful than an entire planet&#8217;s defences. They had multiple battle fleets that were each more than a hundred times more powerful than my entire armada.</p>



<p>So that sucks. I went back through my saves to try to find a branch point where I could retry from, but came to the sad conclusion that there&#8217;s no possible way to beat that AI &#8211; at best I can hope it simply doesn&#8217;t decide to kill me. But they always do, eventually.</p>



<p>And it&#8217;s depressingly insightful what happens next, which is to say, nothing… the game just keeps going, with you unable to do anything at all &#8211; all your planets are conquered, all your shipyards long gone, all your ships at best hiding in dark corners of the galaxy. And yet the game just keeps trudging along, revealing the truth: it&#8217;s not <em>for</em>&nbsp;you. You were just a transient.</p>



<p>For the sake of argument, though, let&#8217;s hypothesise that they soon fix this crippling bug. In that case, the game is… meh. There&#8217;s a lot of time spent waiting for something to happen. Particularly at the beginning, when your empire is small and you&#8217;re completely growth &amp; resource constrained, it&#8217;s 90% just waiting for the real game to develop. The &#8216;Fastest&#8217; game speed option isn&#8217;t nearly fast enough.</p>



<p>It shares a lot with Cities: Skylines, in that respect. A pretty, intricately detailed game that invites you in alluringly, but turns out to be fundamentally repetitive, and missing the actual <em>gameplay</em>&nbsp;part. Not to mention the fun that traditionally accompanies games.</p>



<p>One more point, because it&#8217;s something I always look and hope for particularly in strategy games like this &#8211; deep diplomacy. Unfortunately, in Stellaris the &#8216;diplomacy&#8217; aspects are pointless. Aside from the options available being rudimentary and very difficult to manage &#8211; good GUIs for diplomacy have been well established by many other games, so it&#8217;s a mystery why they couldn&#8217;t follow suit &#8211; it&#8217;s moot in any case though, as AIs will never, ever give you anything without you giving them <em>way</em>&nbsp;more in return. Most AIs won&#8217;t even deal with you. And there&#8217;s also crippling bugs in the diplomacy code too, such as the fun one where you <em>finally</em>&nbsp;find a deal the AI might accept, that&#8217;s not <em>totally</em>, ubsurdly unfair, and you offer it, and then the game enacts all the things <em>you</em>&nbsp;promised to give to the AI and not one single thing <em>they</em>&nbsp;were required to contribute.</p>



<p>Suffice to say Stellaris is a pretty big waste of money, and more importantly, time.</p>



<p>In many respects it feels heavily &#8216;inspired&#8217; by Endless Space. Endless Space can be unforgiving to beginners, and has a few minor bugs &amp; GUI flaws, but it&#8217;s actually <em>winnable</em>&nbsp;if you give it some time and develop some skill, and can be enjoyable to play if you invest some time to learn it. So just go play that instead, and save yourself money &amp; irritation.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wadetregaskis.com/stellaris-review/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3643</post-id>	</item>
	</channel>
</rss>
