TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Error when converting Middle East scenario

    Scheduled Pinned Locked Moved Maps & Mods
    5 Posts 3 Posters 2.2k Views 3 Watching
    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.
    • RogerCooperR Offline
      RogerCooper
      last edited by

      I am applying my usual techniques when converting the old Middle East scenario. I am getting an unusual error:

      triplea.engine.version.bin:1.9
      Could not find attachment 'games.strategy.triplea.attatchments.TerritoryAttachment'. This is can be a map configuration problem, and would need to be fixed in the map XML. Or, the map XML is using a feature from a newer game engine version, and you will need to install the latest TripleA for it to be enabled. Meanwhile, the functionality provided by this attachment will not available.
      Could not parse:file:/C:/Users/Judy/triplea/downloadedMaps/Middle_East/games/middle_east.xml
      games.strategy.engine.data.GameParseException: MapName: file:/C:/Users/Judy/triplea/downloadedMaps/Middle_East/games/middle_east.xml, Attachment of type games.strategy.triplea.attatchments.TerritoryAttachment could not be instantiated

      0_1506642333169_middle_east.xml
      I have attached the XML file. When I validate against the game.dtd I received the equally mysterious error "Error at line 620, column 18: no declaration found for element 'attachmentList'"

      Does anyone see what is wrong?

      HeppsH redrumR 2 Replies Last reply Reply Quote 0
      • HeppsH Offline
        Hepps Moderators @RogerCooper
        last edited by

        @rogercooper Looked really quickly but didn't go through it in-depth. Seems to be some inconsistencies in the formatting of the territory attachments... these might be what are causing the issues.

        "A joyous heart sours with the burden of expectation"
        Hepster

        1 Reply Last reply Reply Quote 0
        • redrumR Offline
          redrum Admin @RogerCooper
          last edited by

          @rogercooper said in Error when converting Middle East scenario:

          games.strategy.triplea.attatchments.TerritoryAttachment

          It looks like you have the package name wrong in the XML:
          games.strategy.triplea.attatchments.TerritoryAttachment

          Should be:
          games.strategy.triplea.attachments.TerritoryAttachment

          TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

          HeppsH 1 Reply Last reply Reply Quote 1
          • HeppsH Offline
            Hepps Moderators @redrum
            last edited by

            @redrum said in Error when converting Middle East scenario:

            games.strategy.triplea.attatchments.TerritoryAttachment

            Man is infallible...

            "Al Qalif" Old attatchment for that terr.

            "A joyous heart sours with the burden of expectation"
            Hepster

            RogerCooperR 1 Reply Last reply Reply Quote 0
            • RogerCooperR Offline
              RogerCooper @Hepps
              last edited by

              @hepps Thanks for everyone's help. I was able to convert everything successfully. It is odd that seemingly identical pieces of text were actually slightly different.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums