<?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[Relationship Problems]]></title><description><![CDATA[<p dir="auto">I am trying to add some political relationships from a mod. I just copied code from ww2global.</p>
<p dir="auto">So I have code.</p>
<pre><code>&lt;relationshipTypes&gt;
    &lt;relationshipType name="War"/&gt;
&lt;/relationshipTypes&gt;
</code></pre>
<p dir="auto">and</p>
<pre><code>&lt;attachment name="relationshipTypeAttachment" attachTo="War" javaClass="games.strategy.triplea.attachments.RelationshipTypeAttachment" type="relationship"&gt;
    &lt;option name="archeType" value="war"/&gt;
 &lt;/attachment&gt;
</code></pre>
<p dir="auto">I receive the error "GameParseException: Could not find relationship type:War"</p>
<p dir="auto">Is there something else I need to set the make this work?</p>
]]></description><link>https://forums.triplea-game.org/topic/4163/relationship-problems</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 16:05:47 GMT</lastBuildDate><atom:link href="https://forums.triplea-game.org/topic/4163.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Jun 2025 00:17:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Relationship Problems on Thu, 19 Jun 2025 02:39:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lafayette" aria-label="Profile: lafayette">@<bdi>lafayette</bdi></a> said in <a href="/post/70851">Relationship Problems</a>:</p>
<blockquote>
<p dir="auto">If you can upload a zip of the map somewhere; I can run it through with a debugger.</p>
</blockquote>
<p dir="auto">I will keep that in mind. For now, I removed the code and will see if I can work without it.</p>
]]></description><link>https://forums.triplea-game.org/post/70854</link><guid isPermaLink="true">https://forums.triplea-game.org/post/70854</guid><dc:creator><![CDATA[RogerCooper]]></dc:creator><pubDate>Thu, 19 Jun 2025 02:39:14 GMT</pubDate></item><item><title><![CDATA[Reply to Relationship Problems on Thu, 19 Jun 2025 00:03:53 GMT]]></title><description><![CDATA[<p dir="auto">If you can upload a zip of the map somewhere; I can run it through with a debugger.</p>
]]></description><link>https://forums.triplea-game.org/post/70851</link><guid isPermaLink="true">https://forums.triplea-game.org/post/70851</guid><dc:creator><![CDATA[LaFayette]]></dc:creator><pubDate>Thu, 19 Jun 2025 00:03:53 GMT</pubDate></item><item><title><![CDATA[Reply to Relationship Problems on Wed, 18 Jun 2025 23:32:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wc_sumpton" aria-label="Profile: wc_sumpton">@<bdi>wc_sumpton</bdi></a> I am still having the issue. I will try using a simple mod to test my code and see what happens.</p>
]]></description><link>https://forums.triplea-game.org/post/70850</link><guid isPermaLink="true">https://forums.triplea-game.org/post/70850</guid><dc:creator><![CDATA[RogerCooper]]></dc:creator><pubDate>Wed, 18 Jun 2025 23:32:30 GMT</pubDate></item><item><title><![CDATA[Reply to Relationship Problems on Wed, 18 Jun 2025 23:26:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rogercooper" aria-label="Profile: rogercooper">@<bdi>rogercooper</bdi></a><br />
Are you still having problems? I have tested the above and it worked fine.</p>
<p dir="auto">Cheers...</p>
]]></description><link>https://forums.triplea-game.org/post/70848</link><guid isPermaLink="true">https://forums.triplea-game.org/post/70848</guid><dc:creator><![CDATA[wc_sumpton]]></dc:creator><pubDate>Wed, 18 Jun 2025 23:26:52 GMT</pubDate></item><item><title><![CDATA[Reply to Relationship Problems on Wed, 18 Jun 2025 23:20:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wc_sumpton" aria-label="Profile: wc_sumpton">@<bdi>wc_sumpton</bdi></a> Yes, relationshiptypeattachment is in the attachment list. There is no relationshipinitialize yet.</p>
]]></description><link>https://forums.triplea-game.org/post/70847</link><guid isPermaLink="true">https://forums.triplea-game.org/post/70847</guid><dc:creator><![CDATA[RogerCooper]]></dc:creator><pubDate>Wed, 18 Jun 2025 23:20:16 GMT</pubDate></item><item><title><![CDATA[Reply to Relationship Problems on Wed, 18 Jun 2025 04:11:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rogercooper" aria-label="Profile: rogercooper">@<bdi>rogercooper</bdi></a></p>
<p dir="auto">Looks good, are the attachment within the &lt;attachmentList&gt; section of the xml. "relationshipTypeAttachment" are the same as "unitAttachment" and "territoryAttachment" and that they are contained within the &lt;attachmentList&gt;&lt;/attachmentList&gt; part or the xml.</p>
<p dir="auto">You do not need the &lt;relationshipInitialize&gt; within the &lt;initialize&gt; section for the xml to run.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/beelee" aria-label="Profile: beelee">@<bdi>beelee</bdi></a><br />
The "archType" can be mixed case as long as it is set to one of the three types, "war", "neutral" or "allied".</p>
<p dir="auto">Cheers...</p>
]]></description><link>https://forums.triplea-game.org/post/70836</link><guid isPermaLink="true">https://forums.triplea-game.org/post/70836</guid><dc:creator><![CDATA[wc_sumpton]]></dc:creator><pubDate>Wed, 18 Jun 2025 04:11:06 GMT</pubDate></item><item><title><![CDATA[Reply to Relationship Problems on Wed, 18 Jun 2025 03:15:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rogercooper" aria-label="Profile: rogercooper">@<bdi>rogercooper</bdi></a></p>
<p dir="auto">Idk if it matters but the archetype "war" is in lower case</p>
]]></description><link>https://forums.triplea-game.org/post/70835</link><guid isPermaLink="true">https://forums.triplea-game.org/post/70835</guid><dc:creator><![CDATA[beelee]]></dc:creator><pubDate>Wed, 18 Jun 2025 03:15:50 GMT</pubDate></item></channel></rss>