Navigation

    TripleA Logo

    TripleA Forum

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

    Error while loading map

    Map Making
    2
    6
    1805
    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.
    • T
      thephalanx1453 last edited by

      So I added some territory effects to sea zones on the WWIIv3 map, and it worked perfectly. However, when I tried to do the exact same thing to the WWII Global 1940 2nd map, it gave me this error while loading the map.

      SAXParseException: game: Axis and Allies Global 1940 2nd Edition Enhanced, line: 7119, column: 8, error: The content of element type "game" must match "(info,loader,triplea?,diceSides?,map,resourceList?,playerList,unitList?,relationshipTypes?,territoryEffectList?,gamePlay,production?,technology?,attachmentList?,initialize?,propertyList?)".

      I did make sure to add the territoryeffect to pre-existing territoryAttachment where they exist, so no duplicate territoryAttachment for the same sea zone. and despite the error, everything seems to work well: convoy zones work as they should, and my own effect also works.

      I'm wondering if I've missed anything.

      redrum 1 Reply Last reply Reply Quote 0
      • redrum
        redrum Admin @thephalanx1453 last edited by

        @thephalanx1453 Can you post your game XML? It appears you either have an incorrect element or typo.

        1 Reply Last reply Reply Quote 0
        • T
          thephalanx1453 last edited by

          @redrum
          https://pastebin.com/sYeUcTLX

          redrum 1 Reply Last reply Reply Quote 0
          • redrum
            redrum Admin @thephalanx1453 last edited by

            @thephalanx1453 territoryEffectList must come after relationshipTypes. If you just copy and paste the <territoryEffectList> section to after <relationshipTypes> section then it should work fine.

            T 1 Reply Last reply Reply Quote 0
            • T
              thephalanx1453 @redrum last edited by

              @redrum Thank you for helping, it worked.

              redrum 1 Reply Last reply Reply Quote 0
              • redrum
                redrum Admin @thephalanx1453 last edited by

                @thephalanx1453 Np. FYI, most XML editing tools can be used to validate the XML against the "game.DTD" to ensure its valid before trying to start a game: https://github.com/triplea-game/triplea/blob/master/src/main/resources/games/strategy/engine/xml/game.dtd

                This will often give you hints on what the issue is.

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