Navigation

    TripleA Logo

    TripleA Forum

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

    Error when converting Middle East scenario

    Maps & Mods
    3
    5
    1105
    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.
    • R
      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?

      Hepps redrum 2 Replies Last reply Reply Quote 0
      • Hepps
        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.

        1 Reply Last reply Reply Quote 0
        • redrum
          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

          Hepps 1 Reply Last reply Reply Quote 1
          • Hepps
            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.

            R 1 Reply Last reply Reply Quote 0
            • R
              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
              • 1 / 1
              • First post
                Last post
              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums