<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/fheroes2/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/fheroes2/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 22 Sep 2018 15:30:27 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/fheroes2/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>#41 segfault on a friendly visit</title><link>https://sourceforge.net/p/fheroes2/patches/41/?limit=25#281d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;adding gdb backtrace ..&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">George</dc:creator><pubDate>Sat, 22 Sep 2018 15:30:27 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf25401f7a9f5e1028d39c1a907265efbbd3bc46b</guid></item><item><title>segfault on a friendly visit</title><link>https://sourceforge.net/p/fheroes2/patches/41/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Problem: latest build segfaults on visiting a friendly castle ( not owned by the current color ). &lt;/p&gt;
&lt;p&gt;Reason: in game_startgame.cpp/Game::OpenCastleDialog(), KingdomCastles::const_iterator it  goes all the way to myCastles.end() .  ( Willattach the patch and the stack trace; a debug core file and a binary for post-mortem study can be uploaded on request (fairly big). )&lt;/p&gt;
&lt;p&gt;Suggested fix ( might not be the best one, but it fixes the problem ) -- change line 145 as follows:&lt;/p&gt;
&lt;hr/&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;if(castle.isFriends(conf.CurrentColor()))
{
// (*it)-&amp;gt;OpenDialog(true, need_fade);
    castle.OpenDialog(true, need_fade);
}
&lt;/pre&gt;&lt;/div&gt;


&lt;hr/&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">George</dc:creator><pubDate>Sat, 22 Sep 2018 15:29:38 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net4429666ce4a5baf33d79fadf66d2cf139fdbb682</guid></item><item><title>#40 Fix SETXGUARDIAN spells</title><link>https://sourceforge.net/p/fheroes2/patches/40/?limit=25#55df</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: SandySandy&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SandySandy</dc:creator><pubDate>Mon, 19 Dec 2016 00:46:29 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9cb92caa77f7f036f99b0b65f4248293ef459512</guid></item><item><title>Fix SETXGUARDIAN spells</title><link>https://sourceforge.net/p/fheroes2/patches/40/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;"Set Guardians" spell is broken in latest revisions, it displays correctly (addon-&amp;gt;tmp is set), but the troop info is discarded. This is because a troop object modified is discarded. Changed to modify a reference to tiles' troops instead.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Talas Nomeki</dc:creator><pubDate>Sun, 18 Dec 2016 17:58:24 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net2ea766d59919df06d392c0c40c2280470a11ad9e</guid></item><item><title>Fix SETXGUARDIAN spells</title><link>https://sourceforge.net/p/fheroes2/patches/40/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 40 has been modified: Fix SETXGUARDIAN spells&lt;br/&gt;
Edited By: SandySandy (afletdinov)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;br/&gt;
Owner updated: None =&amp;gt; u'afletdinov'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Talas Nomeki</dc:creator><pubDate>Sun, 18 Dec 2016 17:58:24 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd9bb28808d18301e32538a04d79a180115652154</guid></item><item><title>Rev 3277 Android</title><link>https://sourceforge.net/p/fheroes2/patches/39/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Since some changes of the last year, compilation for SDL Android was not possible anymore. I think you have improved the VFS you use in your engine.&lt;/p&gt;
&lt;p&gt;This patch is going to fix those issues and make it even run with SDL 1.2 and Android the repository alongside other great stuff we are hosting here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://sourceforge.net/projects/libsdl-android"&gt;https://sourceforge.net/projects/libsdl-android/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gerstrong</dc:creator><pubDate>Sun, 31 May 2015 04:38:39 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netffc8e376033bf1d658addbad3b694b5940ffc44a</guid></item><item><title>#37 Please include FHeroes2 Lithuanian (LT) translation from https://translations.launchpad.net/fheroes2/</title><link>https://sourceforge.net/p/fheroes2/patches/37/?limit=25#b349</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All,&lt;br /&gt;
I've updated FHeroes2 Lithuanian translation in &lt;a href="https://translations.launchpad.net/fheroes2/trunk/+pots/fheroes2/lt" rel="nofollow"&gt;https://translations.launchpad.net/fheroes2/trunk/+pots/fheroes2/lt&lt;/a&gt; and exported the latest revision - please include attached lt.po file to fheroes2 SVN repository.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mantas K</dc:creator><pubDate>Fri, 05 Dec 2014 06:19:37 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net146c6a22ca546676e9447952fafac7f0e7b90871</guid></item><item><title>#38 AI heroes cannot get off ship</title><link>https://sourceforge.net/p/fheroes2/patches/38/?limit=25#0108</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SandySandy</dc:creator><pubDate>Fri, 17 Oct 2014 00:08:03 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netc3f5998a7b3ad987b794636fc0801e0029f1dd52</guid></item><item><title>AI heroes cannot get off ship</title><link>https://sourceforge.net/p/fheroes2/patches/38/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When playing games like Seven Lakes, the simple AI never allows heroes to exit a ship once they have entered it. Ai Heroes just sail around forever. A simple solution is to change the following in ai_heroes.cpp method AIHeroesAddedTask(Heroes &amp;amp; hero):&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hero&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;isShipMaster&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="n"&gt;tile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;isWater&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt; &lt;span class="k"&gt;continue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Should be:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hero&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;isShipMaster&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;MP2&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="n"&gt;OBJ_COAST&lt;/span&gt;&lt;span class="o"&gt;!=&lt;/span&gt;&lt;span class="n"&gt;tile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;GetObject&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;tile&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;isWater&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt; &lt;span class="k"&gt;continue&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;M3rlin&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">M3rlin</dc:creator><pubDate>Tue, 30 Sep 2014 04:06:55 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net736185989bdc5dc9aad1fc4565d1e0bd7faa4aa6</guid></item><item><title>AI heroes cannot get off ship</title><link>https://sourceforge.net/p/fheroes2/patches/38/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 38 has been modified: AI heroes cannot get off ship&lt;br /&gt;
Edited By: SandySandy (afletdinov)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">M3rlin</dc:creator><pubDate>Tue, 30 Sep 2014 04:06:55 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8f07ecea0d1d132e8875374ef063f61c1955d40d</guid></item></channel></rss>