Navigation

    TripleA Logo

    TripleA Forum

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

    Automatic Placement Finder Doesn't Work

    (ARCHIVED) Bug Reports
    3
    13
    2172
    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.
    • S
      StalOlympus last edited by

      I try to use it but it just doesn't work. The program asks for the folder name but after that nothing happens. I put my map in the downloadedMaps, didn't work. I created a new folder called maps and put my map in there, didn't work. Centers.txt and polygons.txt are both included in my map. I checked the console and the error is this;
      Setting memory for new triplea process to: 1G
      Setting memory for new triplea process to: 1037959168
      AutoPlacementFinder Log

      Unit Zoom Percent to use: 0.75
      Unit Width to use: 48
      Unit Height to use: 48
      Place Dimensions to use: 36x36
      Exception in thread "main" java.lang.IllegalStateException: ClientSetting framework has not been initialized. Did you forget to call ClientSetting#initialize() in production code or ClientSetting#setPreferences() in test code?
      at games.strategy.triplea.settings.ClientSetting.getPreferences(ClientSetting.java:172)
      at games.strategy.triplea.settings.ClientSetting.value(ClientSetting.java:227)
      at games.strategy.triplea.settings.ClientSetting.isSet(ClientSetting.java:204)
      at games.strategy.engine.ClientFileSystemHelper.getUserMapsFolderPath(ClientFileSystemHelper.java:149)
      at games.strategy.engine.ClientFileSystemHelper.getUserMapsFolder(ClientFileSystemHelper.java:130)
      at tools.image.AutoPlacementFinder.getMapPropertiesFileForCurrentFolderStructure(AutoPlacementFinder.java:266)
      at tools.image.AutoPlacementFinder.getMapPropertiesFile(AutoPlacementFinder.java:257)
      at tools.image.AutoPlacementFinder.calculate(AutoPlacementFinder.java:86)
      at tools.image.AutoPlacementFinder.main(AutoPlacementFinder.java:69)

      Is there anything I can do?

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

        @stalolympus Can you post what TripleA version you are using?

        1 Reply Last reply Reply Quote 0
        • S
          StalOlympus last edited by

          Engine Version: 1.9.0.0.7621

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

            @stalolympus Ok, I believe this was actually already fixed. Can you try downloading the latest pre-release and use that to see if that avoids the error: https://github.com/triplea-game/triplea/releases/tag/1.9.0.0.9687

            S 1 Reply Last reply Reply Quote 0
            • S
              StalOlympus @redrum last edited by

              @redrum Didn't work again

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

                @stalolympus Ok, can you upload your map folder so I can try to reproduce the error.

                S 1 Reply Last reply Reply Quote 0
                • S
                  StalOlympus @redrum last edited by StalOlympus

                  @redrum I am trying this with a pre-made map that I downloaded from the game that actually works but i deleted the places.txt to see if it's going to work, the map is middle_earth-master. I unzipped it, deleted the places.txt and put the folder in the downloadedMaps. Also I created a new folder called maps on C:\Users\xz\triplea\ and copied the folder there as well. I also tried to run the game as an administrator, nothing happens after the name phase.

                  The map is; https://files.fm/f/g329ne42

                  redrum 2 Replies Last reply Reply Quote 0
                  • redrum
                    redrum Admin @StalOlympus last edited by

                    @stalolympus Alright. I was able to reproduce the error. Looking into now. I think there is actually a bug here that I'm testing a fix for now.

                    1 Reply Last reply Reply Quote 0
                    • General_Zod
                      General_Zod Moderators last edited by

                      You say that you deleted places.txt file. If you mean completely that might be your issue. I seem to recall that you need that file name, even if there's no information in it. To be in the maps folder.

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

                        @general_zod No, there is actually a bug in the map creator right now. No user error in this case as I was able to reproduce it and fix it 🙂

                        General_Zod 1 Reply Last reply Reply Quote 0
                        • General_Zod
                          General_Zod Moderators @redrum last edited by

                          @redrum ok 🙂 nice.

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

                            @stalolympus The issue should be resolved with this latest pre-release now: https://github.com/triplea-game/triplea/releases/tag/1.9.0.0.9725

                            S 1 Reply Last reply Reply Quote 3
                            • S
                              StalOlympus @redrum last edited by

                              @redrum Yeah it's working now. Thanks for replying so quickly and fixing it, really

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