Navigation

    TripleA Logo

    TripleA Forum

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

    Issues Loading New Map: Avatar

    Map Making
    5
    82
    24043
    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 Order
      Black Order last edited by

      you have 2 do go and return right?

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

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

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

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

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

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

                TripleA engine version 1.9.0.0.9687
                Loading map: avatar, from: C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip
                Loading resources from the following paths: [C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip, C:\Program Files\TripleA\assets]
                Loading map: avatar, from: C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip
                Loading resources from the following paths: [C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip, C:\Program Files\TripleA\assets]
                Failed to start game
                java.lang.IllegalStateException: Error in resource loading. Unable to load expected resource: polygons.txt, the error is that either we did not find the correct path to load. Check the resource loader to make sure the map zip or dir was added. Failing that, the path in this error message should be available relative to the map folder, or relative to the root of the map zip
                at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:146)
                at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:77)
                at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:104)
                at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:232)
                at games.strategy.triplea.TripleA.lambda$startGame$0(TripleA.java:121)
                at games.strategy.ui.SwingAction.lambda$invokeAndWait$0(SwingAction.java:86)
                at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
                at java.awt.event.InvocationEvent.dispatch(Unknown Source)
                at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
                at java.awt.EventQueue.access$500(Unknown Source)
                at java.awt.EventQueue$3.run(Unknown Source)
                at java.awt.EventQueue$3.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
                at java.awt.EventQueue.dispatchEvent(Unknown Source)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                at java.awt.EventDispatchThread.run(Unknown Source)

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

                  @black-order My guess is you have a duplicate or missing entry in polygons.txt. Can you upload the fixed centers.txt so I can take a look?

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

                    2_1528210753016_polygons.txt 1_1528210753016_place.txt 0_1528210753016_centers.txt

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

                      @black-order don't get discouraged... this is all part of map making. You tend to go on a bug hunt after all the up front work is done. It gets easier as you plod on through the issues.

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

                        i know im bussy with it so long about 3 years already and this is just 1% of the 43% i hope 2 bedone in 2020 22feb on my birthday 🙂 😉

                        Hepps redrum 2 Replies Last reply Reply Quote 0
                        • Hepps
                          Hepps Moderators @Black Order last edited by

                          @black-order I hear you. I'm on a journey similar to yours.

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

                            @black-order Here is a zip with mostly working files that just remove all territories except 0-4 (the map mostly launches but you are missing some capitals then). Here is the zip: 0_1528212057743_avatar-simplified.zip

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

                              still get thise error
                              TripleA engine version 1.9.0.0.9687
                              Loading map: avatar, from: C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip
                              Loading resources from the following paths: [C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip, C:\Program Files\TripleA\assets]
                              Loading map: avatar, from: C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip
                              Loading resources from the following paths: [C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip, C:\Program Files\TripleA\assets]
                              Failed to start game
                              java.lang.IllegalStateException: Error in resource loading. Unable to load expected resource: polygons.txt, the error is that either we did not find the correct path to load. Check the resource loader to make sure the map zip or dir was added. Failing that, the path in this error message should be available relative to the map folder, or relative to the root of the map zip
                              at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:146)
                              at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:77)
                              at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:104)
                              at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:232)
                              at games.strategy.triplea.TripleA.lambda$startGame$0(TripleA.java:121)
                              at games.strategy.ui.SwingAction.lambda$invokeAndWait$0(SwingAction.java:86)
                              at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
                              at java.awt.event.InvocationEvent.dispatch(Unknown Source)
                              at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
                              at java.awt.EventQueue.access$500(Unknown Source)
                              at java.awt.EventQueue$3.run(Unknown Source)
                              at java.awt.EventQueue$3.run(Unknown Source)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
                              at java.awt.EventQueue.dispatchEvent(Unknown Source)
                              at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                              at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                              at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                              at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                              at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                              at java.awt.EventDispatchThread.run(Unknown Source)

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

                                @black-order It appears you are missing the polygons.txt from the map folder. Can you post a screenshot of the inside of the avatar folder?

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

                                  0_1528212783401_Knipsel.PNG

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

                                    i must say 1.8 was way easier 2 build your own map
                                    if i could "if i want 2 but i dont because the newest version :(" i would return 2 1.8
                                    and next 2 that im also already so far

                                    Hepps redrum 2 Replies Last reply Reply Quote 0
                                    • Hepps
                                      Hepps Moderators @Black Order last edited by

                                      @black-order Really has nothing to do with the version of Triple A. All of these issues are related to things in your map folder. You would have had the same issues with 1.8

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

                                        @black-order You'd pretty much have all these same problems in 1.8. Can you unzip the avatar folder so the directory structure for the XML file:
                                        C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar\games\avatar.xml

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

                                          done that
                                          think its to much 4 java 🙂 😉
                                          TripleA engine version 1.9.0.0.9687
                                          Loading map: avatar, from: C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar
                                          Loading resources from the following paths: [C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar, C:\Program Files\TripleA\assets]
                                          Loading map: avatar, from: C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar
                                          Loading resources from the following paths: [C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar, C:\Program Files\TripleA\assets]
                                          Failed to start game
                                          java.lang.NullPointerException
                                          at games.strategy.triplea.image.MapImage.loadMaps(MapImage.java:160)
                                          at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:96)
                                          at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:104)
                                          at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:232)
                                          at games.strategy.triplea.TripleA.lambda$startGame$0(TripleA.java:121)
                                          at games.strategy.ui.SwingAction.lambda$invokeAndWait$0(SwingAction.java:86)
                                          at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
                                          at java.awt.event.InvocationEvent.dispatch(Unknown Source)
                                          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
                                          at java.awt.EventQueue.access$500(Unknown Source)
                                          at java.awt.EventQueue$3.run(Unknown Source)
                                          at java.awt.EventQueue$3.run(Unknown Source)
                                          at java.security.AccessController.doPrivileged(Native Method)
                                          at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
                                          at java.awt.EventQueue.dispatchEvent(Unknown Source)
                                          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                                          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                                          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                                          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                                          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                                          at java.awt.EventDispatchThread.run(Unknown Source)

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

                                            @black-order Better. You missed replacing the "smallMap.jpeg" step I had above: 0_1528213563024_smallMap.jpeg

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