Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Canal Bug

    (ARCHIVED) Bug Reports
    4
    7
    1357
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Schulz
      Schulz last edited by Schulz

      Triplea engine does not allow using one sea zone for two different canal. For example in Crazy Europe's map I am not allowed to create Bosphorus and Dardanelles at the same time because they have both the same sea zone (Sea Zone 190 aka Sea of Marmara)

      redrum C 2 Replies Last reply Reply Quote 0
      • redrum
        redrum Admin @Schulz last edited by

        @schulz Can you post the map zip?

        1 Reply Last reply Reply Quote 0
        • C
          Cernel Moderators @Schulz last edited by

          @schulz I believe this would be an invalid bug report.

          However, I suppose you are supposed to paste the code you are trying to use, if referring to an availabe game, or your entire map, otherwise, and the eventual error you are getting, for the bug report to be actually verifiable, specifically.

          Try using (pasting in your game xml) this code and let us know if it works:

          	<attachment name="canalAttachmentTurkey 02 - Turkey 06" attachTo="Sea Zone 184" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory">
          		<option name="canalName" value="the Dardanelles strait"/>
          		<option name="landTerritories" value="Turkey 02:Turkey 06"/>
          	</attachment>
          	<attachment name="canalAttachmentTurkey 02 - Turkey 06" attachTo="Sea Zone 190" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory">
          		<option name="canalName" value="the Dardanelles strait"/>
          		<option name="landTerritories" value="Turkey 02:Turkey 06"/>
          	</attachment>
          
          	<attachment name="canalAttachmentTurkey 03 - Turkey 04" attachTo="Sea Zone 190" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory">
          		<option name="canalName" value="the Bosphorus strait"/>
          		<option name="landTerritories" value="Turkey 03:Turkey 04"/>
          	</attachment>
          	<attachment name="canalAttachmentTurkey 03 - Turkey 04" attachTo="Sea Zone 191" javaClass="games.strategy.triplea.attachments.CanalAttachment" type="territory">
          		<option name="canalName" value="the Bosphorus strait"/>
          		<option name="landTerritories" value="Turkey 03:Turkey 04"/>
          	</attachment>
          Schulz General_Zod 2 Replies Last reply Reply Quote 1
          • Schulz
            Schulz @Cernel last edited by

            @cernel

            Thank you. Problem is solved. I have forgot to give different attachment numbers to canals.

            1 Reply Last reply Reply Quote 0
            • General_Zod
              General_Zod Moderators @Cernel last edited by General_Zod

              @cernel

              Does it work with actual spaces and - , in the attachment names? I think this format can cause problems down the line if your using spaces across the board.

              C 1 Reply Last reply Reply Quote 0
              • C
                Cernel Moderators @General_Zod last edited by

                @general_zod If you mean the "name", of course not. That just needs to be different if attached to a same sea zone, and, beside assuring this, it has no use.

                I could have called the first two ones "canalAttachment1" and the last two ones "canalAttachment2", or whatever, as long as not the same.

                General_Zod 1 Reply Last reply Reply Quote 0
                • General_Zod
                  General_Zod Moderators @Cernel last edited by

                  @cernel

                  Yes I was referring to attachment names. I've noticed that certain features do not even acknowledge the attachment if formatted badly.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums