<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/fheroes2/patches/" rel="alternate"/><link href="https://sourceforge.net/p/fheroes2/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/fheroes2/patches/</id><updated>2018-09-22T15:30:27.840000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#41 segfault on a friendly visit</title><link href="https://sourceforge.net/p/fheroes2/patches/41/?limit=25#281d" rel="alternate"/><published>2018-09-22T15:30:27.840000Z</published><updated>2018-09-22T15:30:27.840000Z</updated><author><name>George</name><uri>https://sourceforge.net/u/thread13/</uri></author><id>https://sourceforge.netf25401f7a9f5e1028d39c1a907265efbbd3bc46b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;adding gdb backtrace ..&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>segfault on a friendly visit</title><link href="https://sourceforge.net/p/fheroes2/patches/41/" rel="alternate"/><published>2018-09-22T15:29:38.876000Z</published><updated>2018-09-22T15:29:38.876000Z</updated><author><name>George</name><uri>https://sourceforge.net/u/thread13/</uri></author><id>https://sourceforge.net4429666ce4a5baf33d79fadf66d2cf139fdbb682</id><summary type="html">&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;</summary></entry><entry><title>#40 Fix SETXGUARDIAN spells</title><link href="https://sourceforge.net/p/fheroes2/patches/40/?limit=25#55df" rel="alternate"/><published>2016-12-19T00:46:29.407000Z</published><updated>2016-12-19T00:46:29.407000Z</updated><author><name>SandySandy</name><uri>https://sourceforge.net/u/afletdinov/</uri></author><id>https://sourceforge.net9cb92caa77f7f036f99b0b65f4248293ef459512</id><summary type="html">&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;</summary></entry><entry><title>Fix SETXGUARDIAN spells</title><link href="https://sourceforge.net/p/fheroes2/patches/40/" rel="alternate"/><published>2016-12-18T17:58:24.940000Z</published><updated>2016-12-18T17:58:24.940000Z</updated><author><name>Talas Nomeki</name><uri>https://sourceforge.net/u/talas777/</uri></author><id>https://sourceforge.net2ea766d59919df06d392c0c40c2280470a11ad9e</id><summary type="html">&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;</summary></entry><entry><title>Fix SETXGUARDIAN spells</title><link href="https://sourceforge.net/p/fheroes2/patches/40/" rel="alternate"/><published>2016-12-18T17:58:24.940000Z</published><updated>2016-12-18T17:58:24.940000Z</updated><author><name>Talas Nomeki</name><uri>https://sourceforge.net/u/talas777/</uri></author><id>https://sourceforge.netd9bb28808d18301e32538a04d79a180115652154</id><summary type="html">&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;</summary></entry><entry><title>Rev 3277 Android</title><link href="https://sourceforge.net/p/fheroes2/patches/39/" rel="alternate"/><published>2015-05-31T04:38:39.553000Z</published><updated>2015-05-31T04:38:39.553000Z</updated><author><name>Gerstrong</name><uri>https://sourceforge.net/u/gerstrong/</uri></author><id>https://sourceforge.netffc8e376033bf1d658addbad3b694b5940ffc44a</id><summary type="html">&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;</summary></entry><entry><title>#37 Please include FHeroes2 Lithuanian (LT) translation from https://translations.launchpad.net/fheroes2/</title><link href="https://sourceforge.net/p/fheroes2/patches/37/?limit=25#b349" rel="alternate"/><published>2014-12-05T06:19:37.539000Z</published><updated>2014-12-05T06:19:37.539000Z</updated><author><name>Mantas K</name><uri>https://sourceforge.net/u/mantas/</uri></author><id>https://sourceforge.net146c6a22ca546676e9447952fafac7f0e7b90871</id><summary type="html">&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;</summary></entry><entry><title>#38 AI heroes cannot get off ship</title><link href="https://sourceforge.net/p/fheroes2/patches/38/?limit=25#0108" rel="alternate"/><published>2014-10-17T00:08:03.340000Z</published><updated>2014-10-17T00:08:03.340000Z</updated><author><name>SandySandy</name><uri>https://sourceforge.net/u/afletdinov/</uri></author><id>https://sourceforge.netc3f5998a7b3ad987b794636fc0801e0029f1dd52</id><summary type="html">&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;</summary></entry><entry><title>AI heroes cannot get off ship</title><link href="https://sourceforge.net/p/fheroes2/patches/38/" rel="alternate"/><published>2014-09-30T04:06:55.400000Z</published><updated>2014-09-30T04:06:55.400000Z</updated><author><name>M3rlin</name><uri>https://sourceforge.net/u/m3rlin1234/</uri></author><id>https://sourceforge.net736185989bdc5dc9aad1fc4565d1e0bd7faa4aa6</id><summary type="html">&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;</summary></entry><entry><title>AI heroes cannot get off ship</title><link href="https://sourceforge.net/p/fheroes2/patches/38/" rel="alternate"/><published>2014-09-30T04:06:55.400000Z</published><updated>2014-09-30T04:06:55.400000Z</updated><author><name>M3rlin</name><uri>https://sourceforge.net/u/m3rlin1234/</uri></author><id>https://sourceforge.net8f07ecea0d1d132e8875374ef063f61c1955d40d</id><summary type="html">&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;</summary></entry></feed>