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

    Trouble Updating Map

    Scheduled Pinned Locked Moved Player Help
    12 Posts 3 Posters 2.2k Views 2 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.
    • PantherP Offline
      Panther Admin Moderators Lobby Moderators @beelee
      last edited by

      @beelee The error is caused by a reference to the folder

      oztea_1939_global/doc/images/Neutral_Navy.png
      

      that does not exist inside the map-structure.

      Do you remember how that reference might have been included?

      Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

      B 1 Reply Last reply Reply Quote 2
      • B Offline
        beelee @Panther
        last edited by

        @Panther

        Thanks for the reply Panther.

        Well I did it a lot of different ways. I have the image on my desktop and just slid it into where it needed to go. I also did the same thing from the "de Gaulle" game. They look the same and are named the same in both maps. Maybe I should try adding it from de Gaulles to Oz again.

        I'm thinking /doc/ isn't what we want ? I had trouble with git too. Usually i just hit commit-a and it works but I was having to do git add map as well since I replace the whole map when I make a change.

        Anyway I'll mess with it some more.

        Thanks again

        PantherP 1 Reply Last reply Reply Quote 0
        • PantherP Offline
          Panther Admin Moderators Lobby Moderators @beelee
          last edited by Panther

          @beelee
          I just realized that your filename of that specific unit is the only one starting with a capital. Maybe related?

          Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

          B 1 Reply Last reply Reply Quote 1
          • B Offline
            beelee @Panther
            last edited by

            @Panther yea I thought of that too but it's just how it's named in the xml. I usually do that with all new units because I don't like the back and forth between upper and lower. There are others that are named upper and work.

            Deleted the image again and then drug it from de Gaulle map and same thing.

            Screenshot from 2019-11-09 03-06-11.png

            Screenshot from 2019-11-09 03-05-47.png

            So I'm not sure how it's doing it. Maybe I messed something up in the git repo. I'll go through that again

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              beelee @beelee
              last edited by

              @beelee

              yea git seems to list upper case first and my system lists them alphabetically. Anyway the de gaulle map lists it the same way so hmm... i wouldn't think dragging the image from one map to another would mess it up but ?

              well i tried copying it and pasting it instead of dragging it no go. I didn't really think that would work but wth : )

              1 Reply Last reply Reply Quote 0
              • B Offline
                beelee
                last edited by beelee

                I found this from Iron war: https://forums.triplea-game.org/topic/73/iron-war-official-thread/4

                S
                Swampy Mar 31, 2017, 10:29 AM

                I have downloaded the map, but getting an error message:
                triplea.engine.version.bin:1.9
                games.strategy.engine.framework.startup.launcher.MapNotFoundException
                at games.strategy.triplea.ResourceLoader.getMapResourceLoader(ResourceLoader.java:57)
                at games.strategy.util.LocalizeHTML.localizeImgLinksInHTML(LocalizeHTML.java:87)
                0
                Frostion Admin Apr 1, 2017, 1:42 AM

                @Swampy - I think there were some problems with the download that was caused by mismatching names and stuff. NOW the map seems to be both downloadable and working. I already did a small fix. The kamikaze planes can now land on carriers.

                PS: Maybe you actually have to go to your map folder and delete the “iron War BETA” zip and properties file you downloaded, and then redownload the map. (Probably in the directory C:\Users\YOURNAME\triplea\downloadedMaps )
                The new working and updated map is called v2 in the download screen and v0.1.1 in the map selection window.

                Maybe it is a naming thing. I'll go through the xml and make sure they're all spelled the same.

                What exactly did you have @Frostion that was causing this ?

                Oh i see it says "map" not "image" but may be relevant 🙂

                well it's not spelling. they're both the same too

                PantherP 1 Reply Last reply Reply Quote 0
                • PantherP Offline
                  Panther Admin Moderators Lobby Moderators @beelee
                  last edited by Panther

                  @beelee

                  Still I think the reason is this:

                  @Panther said in Trouble Updating Map:

                  @beelee The error is caused by a reference to the folder

                  oztea_1939_global/doc/images/Neutral_Navy.png
                  

                  that does not exist inside the map-structure.

                  Do you remember how that reference might have been included?

                  ... unless the error message is not totally misleading. But I have no idea where the incorrect reference has its origin.

                  Additionally...

                  games.strategy.util.LocalizeHtml localizeImgLinksInHtml
                  

                  ... I am not sure where "Html" is used in that context, either.

                  Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                  1 Reply Last reply Reply Quote 2
                  • B Offline
                    beelee
                    last edited by

                    Finally got it to work but Idk why it did what it did. Needed this "doc" folder:

                    Screenshot from 2019-11-11 19-53-43.png

                    None of the other games have it. i added it to the error game and now it doesn't do it. I think I originally got it from one of Hepps games, TWW I think. Anyway, used a pile of units from other games before and never had this happen.

                    Anyone know how I can get rid of that folder and not have the error show up ? There's only the one image in the doc folder.

                    1 Reply Last reply Reply Quote 0
                    • wc_sumptonW Offline
                      wc_sumpton
                      last edited by

                      @beelee
                      You have " Neutral Navies are represented with a "Neutral_Navy" <img src="Neutral_Navy.png"/> unit placed in their Home country. " in you notes witch reference the image, that is why you need the 'doc\images' directory. if you remove the call to the image then you will not need that directory.

                      Cheers...

                      B 1 Reply Last reply Reply Quote 4
                      • B Offline
                        beelee @wc_sumpton
                        last edited by

                        @wc_sumpton

                        Thank You

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          beelee
                          last edited by

                          Thanks again. I didn't know images in game notes needed a separate folder. Was struggling hard to figure it out 🙂

                          Don't see it mentioned in POS2 anywhere. Maybe next time it's updated it could be mentioned ? I probably wouldn't have thought to look there but may have stumbled across it at one point or another. It may help someone in the future. Just a thought. Once again Thanks

                          1 Reply Last reply Reply Quote 3

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