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

    How to modify borders on an existing map

    Scheduled Pinned Locked Moved Map Making
    108 Posts 6 Posters 47.8k Views 5 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.
    • B Offline
      beelee @TheDog
      last edited by

      @thedog said in How to modify borders on an existing map:

      Try this, I have not read it.
      https://forums.triplea-game.org/topic/438/solved-game-fails-to-start-no-data-of-type-centers-for-territory

      It seems a naming error which i think 2.6 does different now. At any rate, looks as if Davor still deleting some stuff

      Davor PavlićD 1 Reply Last reply Reply Quote 1
      • Davor PavlićD Offline
        Davor Pavlić @beelee
        last edited by

        @beelee

        I took a look at that thread and tbh i cant find any naming issue, especially since it worked
        until now and i didnt rename anything.

        I deleted the lines in XML which mentioned Italy, East Prussia and Sakhalin because those territory names no longer exist on my map. For the lines that add units and other attachmebts i changed every single one that again mentioned those territories, with my logic being that the map isnt running because the map keeps looking and placing stuff on non-existant territory.

        Maybe i missed something somewhere, i dont know.

        I have a backup copy of Iron War files so its not a big deal if i mess something up big time, but yeah, ill see what i can do tomorrow.

        TheDogT B 2 Replies Last reply Reply Quote 2
        • TheDogT Online
          TheDog @Davor Pavlić
          last edited by

          @davor-pavlić
          Zip up your whole wip folder and I will take a look if I have time tomorrow morning otherwise it will be Thursday morning.

          https://forums.triplea-game.org/tags/thedog
          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

          Davor PavlićD 2 Replies Last reply Reply Quote 2
          • B Offline
            beelee @Davor Pavlić
            last edited by

            @davor-pavlić yea sorry meant the referenced thread was about a naming error.

            It seems triplea is still looking for something you've removed. I've had that happen with other things in the past

            1 Reply Last reply Reply Quote 1
            • Davor PavlićD Offline
              Davor Pavlić @TheDog
              last edited by

              @thedog

              Alright ill send it tomorrow when i find the time

              1 Reply Last reply Reply Quote 0
              • Davor PavlićD Offline
                Davor Pavlić @TheDog
                last edited by

                @thedog

                Here's the folder
                https://drive.google.com/drive/folders/1d4lOQ2CbHLe_YhN-n6Gy3XuAaWHuE6lX?usp=share_link

                TheDogT 1 Reply Last reply Reply Quote 1
                • TheDogT Online
                  TheDog @Davor Pavlić
                  last edited by TheDog

                  @davor-pavlić
                  You need to change Croatia to Yugoslavia in these files;
                  centers.txt
                  place.txt
                  polygons.txt
                  pu_place.txt

                  Add Northern & Southern Italy to pu_place.txt

                  Change Italy to Southern Italy? in vc.txt

                  In the xml
                  5157 Change Italy to Northern Italy
                  5617 Change Italy to Northern Italy
                  10021 Change Italy to Northern Italy
                  17730 Change Italy to Northern Italy

                  There are more but I will let you sort those out.

                  Post the file set again if you get stuck.

                  https://forums.triplea-game.org/tags/thedog
                  https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                  Davor PavlićD 1 Reply Last reply Reply Quote 1
                  • Davor PavlićD Offline
                    Davor Pavlić @TheDog
                    last edited by

                    @thedog

                    Uuuu i've missed a lot!

                    I done it now like you said, yeah i missed a lot of stuff lol.

                    Unfortunately it still shows the same error message 😞

                    I just triple checked all txt files and xml with a search function, didn't find a single 'Italy, 'East Prussia', 'Croatia' or 'Sakhalin', everything is changed into appropriate new territory names. Of course except the Italy player, i didn't rename the player. I also fixed some border connections because i noticed i didn't have Southern Italy connected to any territories, im not sure if that impacts running the map but i've fixed that, and it still doesnt' run the map.

                    My lack of experience shows but im doing my best. I think it will take me a while to understand all this regarding the xml editing but once i get it down ill be good to go.

                    Here i uploaded a folder again, whenever you have time check it out and let me know what i should do
                    https://drive.google.com/drive/folders/1d4lOQ2CbHLe_YhN-n6Gy3XuAaWHuE6lX?usp=share_link

                    TheDogT 1 Reply Last reply Reply Quote 1
                    • TheDogT Online
                      TheDog @Davor Pavlić
                      last edited by TheDog

                      @davor-pavlić
                      Hey, you are new to this and it is a steep learning curve, keep going, and will become a pro like me. 🙄

                      xml coding is complicated, there are so many inter linking elements to it.

                      Search for the hi-lighted text below, the Italy is part of a condition and trigger
                      line 7161is a Territory (not player/nation) so needs adding a Northern or Southern prefix.
                      directPresenceTerritories" value="Italy
                      The above is paired with line 10023

                      e9c6606d-310e-46a6-a02e-d6e848b4bcb4-image.png

                      There will probably be more errors like this.

                      https://forums.triplea-game.org/tags/thedog
                      https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                      Davor PavlićD 2 Replies Last reply Reply Quote 1
                      • Davor PavlićD Offline
                        Davor Pavlić @TheDog
                        last edited by

                        @thedog

                        Ah okay i see.

                        Should i also change the 'directPresenceTerritories' to Northern/Southern Italy as well?

                        42fc5f55-3514-4d8a-9bc2-401c9fea4ea3-image.png

                        TheDogT 1 Reply Last reply Reply Quote 0
                        • TheDogT Online
                          TheDog @Davor Pavlić
                          last edited by

                          @davor-pavlić
                          Doh, yes I was not clear.

                          https://forums.triplea-game.org/tags/thedog
                          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                          1 Reply Last reply Reply Quote 1
                          • Davor PavlićD Offline
                            Davor Pavlić @TheDog
                            last edited by Davor Pavlić

                            @thedog

                            How did you get that error report? This could be useful for me so i can know where the problem is.

                            Mine just tells about the error in data centers and nothing else specific.

                            TheDogT 1 Reply Last reply Reply Quote 0
                            • TheDogT Online
                              TheDog @Davor Pavlić
                              last edited by

                              @davor-pavlić
                              I have 3 versions of TripleA on my PC, all should give the same error message.
                              But this came from TripleA-2.5.22294

                              Sometimes its best to close TripleA and restart it.

                              The error text varies with each error.

                              https://forums.triplea-game.org/tags/thedog
                              https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                              Davor PavlićD 1 Reply Last reply Reply Quote 0
                              • Davor PavlićD Offline
                                Davor Pavlić @TheDog
                                last edited by Davor Pavlić

                                @thedog

                                e84bcb4e-beae-4259-96d3-38954740d6ce-image.png

                                Does the 'Capital' refer to the territory or the player/nation?

                                Yea my version of TripleA doesn't show any useful information in error, i can't know where the problem is, it just says what the problem is.

                                The confusing thing in this case is that 'Italy' was a territory and a player, so it's hard to figure out what it actually refers to hah

                                1 Reply Last reply Reply Quote 0
                                • TheDogT Online
                                  TheDog
                                  last edited by

                                  @davor-pavlić

                                  Does the 'Capital' refer to the territory or the player/nation?

                                  Player/nation

                                  .

                                  The confusing thing in this case is that 'Italy' was a territory and a player, so it's hard to figure out what it actually refers to hah

                                  Agreed.

                                  I would download another version, to see if that gives you more/some error messages.

                                  TripleA-2.5.22294
                                  https://triplea-game.org/download/
                                  or
                                  version 2.6+
                                  https://github.com/triplea-game/triplea/releases

                                  I add the version number to the end of the install and the folder to identify it.

                                  https://forums.triplea-game.org/tags/thedog
                                  https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                                  Davor PavlićD 1 Reply Last reply Reply Quote 0
                                  • Davor PavlićD Offline
                                    Davor Pavlić @TheDog
                                    last edited by

                                    @thedog

                                    Wait, i have 2.5.22294 hahah

                                    This is how my errors look over and over again while trying to run this

                                    784bc48e-475d-46ca-b307-7b6764914141-image.png

                                    TheDogT 1 Reply Last reply Reply Quote 0
                                    • TheDogT Online
                                      TheDog @Davor Pavlić
                                      last edited by

                                      @davor-pavlić
                                      Send me a link to the file set later this evening, I look at it tomorrow morning.

                                      https://forums.triplea-game.org/tags/thedog
                                      https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                                      Davor PavlićD 1 Reply Last reply Reply Quote 0
                                      • Davor PavlićD Offline
                                        Davor Pavlić @TheDog
                                        last edited by

                                        @thedog

                                        here you go
                                        https://drive.google.com/drive/folders/1d4lOQ2CbHLe_YhN-n6Gy3XuAaWHuE6lX?usp=share_link

                                        B 1 Reply Last reply Reply Quote 1
                                        • B Offline
                                          beelee @Davor Pavlić
                                          last edited by

                                          @davor-pavlić open your TripleA folder and you'll see "error.log"

                                          Screenshot from 2022-12-01 16-28-29.png

                                          That should give you some more info. Once you can get the game to actually run, go to the "Debug" top left and hit "Show Console"

                                          That will also provide more ingame info.

                                          I think there's a thing called a "stacktrace" that has the error info but I don't remember how to do it

                                          TheDogT 1 Reply Last reply Reply Quote 2
                                          • TheDogT Online
                                            TheDog @beelee
                                            last edited by TheDog

                                            @Davor-Pavlić
                                            in the xml
                                            line 5420
                                            need to add block of code for Eastern Poland

                                            line 5426-ish
                                            need to add block of code for Southern Italy

                                            Then for me it ran without error.

                                            https://forums.triplea-game.org/tags/thedog
                                            https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                                            1 Reply Last reply Reply Quote 2

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