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

    Issues Loading New Map: Avatar

    Scheduled Pinned Locked Moved Map Making
    82 Posts 5 Posters 38.7k Views 4 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.
    • Black OrderB Offline
      Black Order
      last edited by

      https://mega.nz/#!Tlt1hDxD!mB-sltizJ9hVFdmwJvWoUMgXJpJtD3Bpk4m3LdNDGSQ
      link of the test folder

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        Cernel Moderators @Black Order
        last edited by

        @black-order I cannot download it from there without also installing l'app desktop di MEGA. Can you upload it somewhere easy like sendspace?

        1 Reply Last reply Reply Quote 0
        • Black OrderB Offline
          Black Order
          last edited by

          you can dowload without app 🙂

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            Cernel Moderators @Black Order
            last edited by

            @black-order I cannot with Microsoft Edge.

            1 Reply Last reply Reply Quote 0
            • Black OrderB Offline
              Black Order
              last edited by

              mmm ok thats a promblem any ideas?

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

                @black-order It downloaded fine for me from chrome.

                @Cernel Maybe you need to get a real internet browser 🙂

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

                1 Reply Last reply Reply Quote 0
                • Black OrderB Offline
                  Black Order
                  last edited by

                  thats funny i use firefox "have used chrome,no longer"

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

                    @black-order So your map appears in the list for me by just unzipping the download and putting the avatar folder into the downloadedMaps folder:
                    0_1528208239575_b687335a-0a78-4ff8-aa42-a684a84a247b-image.png

                    File path for XML:

                    ../downloadedMaps/avatar/games/avatar.xml
                    

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

                    1 Reply Last reply Reply Quote 0
                    • Black OrderB Offline
                      Black Order
                      last edited by

                      i will try the same

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        Cernel Moderators @Black Order
                        last edited by

                        @black-order Uh? Can you test if it works unzipped as well? It should work either way. Just be sure not having both the zip and the regular folder at the same time, for testing. I can see no reasons for working zipped if it doesn't unzipped, for you.

                        1 Reply Last reply Reply Quote 0
                        • Black OrderB Offline
                          Black Order
                          last edited by

                          TripleA engine version 1.9.0.0.9687
                          Loading map: age_of_tribes, from: C:\Users\Robin-Teus16\triplea\downloadedMaps\age_of_tribes-master.zip
                          Loading resources from the following paths: [C:\Users\Robin-Teus16\triplea\downloadedMaps\age_of_tribes-master.zip, C:\Program Files\TripleA\assets]
                          Could not parse:jar:file:/C:/Users/Robin-Teus16/triplea/downloadedMaps/avatar.zip!/avatar/games/avatar.xml
                          java.lang.IllegalArgumentException: Cannot connect a territory to itself
                          at games.strategy.engine.data.GameMap.addConnection(GameMap.java:98)
                          at games.strategy.engine.data.GameParser.parseConnections(GameParser.java:715)
                          at games.strategy.engine.data.GameParser.parseMap(GameParser.java:532)
                          at games.strategy.engine.data.GameParser.parseMapDetails(GameParser.java:163)
                          at games.strategy.engine.data.GameParser.parse(GameParser.java:91)
                          at games.strategy.engine.data.GameParser.parse(GameParser.java:85)
                          at games.strategy.engine.framework.ui.GameChooserEntry.fullyParseGameData(GameChooserEntry.java:63)
                          at games.strategy.engine.framework.startup.ui.GameSelectorPanel.lambda$selectGameFile$8(GameSelectorPanel.java:376)
                          at games.strategy.engine.framework.ui.background.BackgroundTaskRunner.lambda$runInBackground$0(BackgroundTaskRunner.java:50)
                          at games.strategy.engine.framework.ui.background.BackgroundTaskRunner.lambda$runInBackgroundAndReturn$1(BackgroundTaskRunner.java:78)
                          at games.strategy.engine.framework.ui.background.BackgroundTaskRunner$1.doInBackground(BackgroundTaskRunner.java:121)
                          at javax.swing.SwingWorker$1.call(Unknown Source)
                          at java.util.concurrent.FutureTask.run(Unknown Source)
                          at javax.swing.SwingWorker.run(Unknown Source)
                          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                          at java.lang.Thread.run(Unknown Source)
                          0_1528208638036_Knipsel.PNG

                          C HeppsH redrumR 3 Replies Last reply Reply Quote 0
                          • C Offline
                            Cernel Moderators @Black Order
                            last edited by

                            @black-order said in give back the map folder! please?:

                            java.lang.IllegalArgumentException: Cannot connect a territory to itself

                            Guess you have a territory connected to the same.

                            1 Reply Last reply Reply Quote 0
                            • HeppsH Offline
                              Hepps Moderators @Black Order
                              last edited by

                              @black-order said in give back the map folder! please?:

                              Cannot connect a territory to itself

                              There is your issue. You apparently have at least one territory with a connection to itself.

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

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

                                @black-order Yeah so now you are a step further and see it in the list but when you select it then it does the full parse and checks if your XML is logically valid. It appears you have a number of connections defined from/to the same territory with is invalid. Here is an example:

                                <connection t1="nwt28" t2="nwt28"/>
                                

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

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  Cernel Moderators @Black Order
                                  last edited by

                                  @black-order Also, now I see that you have stuff like this:

                                  <connection t2="nwt1" t1="nwt0"/>
                                  <connection t2="nwt0" t1="nwt1"/>
                                  

                                  You should not have a same connection spelled both ways. You need only one. I don't believe this should give you problems, but it is redundant.
                                  Anyways I don't get why you get the error but @redrum doesn't.

                                  1 Reply Last reply Reply Quote 0
                                  • Black OrderB Offline
                                    Black Order
                                    last edited by

                                    you have 2 do go and return right?

                                    HeppsH C redrumR 3 Replies Last reply Reply Quote 0
                                    • HeppsH Offline
                                      Hepps Moderators @Black Order
                                      last edited by Hepps

                                      @black-order No. A single connection between all connected terr.

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

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        Cernel Moderators @Black Order
                                        last edited by

                                        @black-order As much as it would be nice that TripleA supports being able to move from A to B but not from B to A, that is not the case. Defining one or the other allows both, thus it is redundant having both.

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

                                          @cernel Correct but I don't believe defining both will cause any issues. Its just redundant and will ignore one of them.

                                          @Black-Order Your issue is that you have a bunch of territories connected to themselves like I posted an example of.

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

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

                                            @black-order Here is a fixed XML file removing the connections to itself: 0_1528209401626_avatar.xml

                                            Then you'll see a new error when trying to start the game (it successfully parses the XML now though). Appears to be a problem with one of your placement files having a duplicate entry for "nek161".

                                            Here is a fixed place file: 0_1528209899890_place.txt

                                            And there is something wrong with your small map image so replace it with the POS2 smallMap.jpeg for now: 0_1528209938008_smallMap.jpeg

                                            Then you'll get an error indicating that you are missing territory entries in the centers.txt for: nwt0-nwt473. You'll need to add all those in to move any further.

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

                                            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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 5 / 5
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums