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

    Map Making Error

    Scheduled Pinned Locked Moved Map Making
    18 Posts 5 Posters 4.9k 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.
    • redrumR Offline
      redrum Admin @beelee
      last edited by

      @beelee Not really following you. Did the XML I uploaded not fix the problem for you? Are you still seeing the same error after using that or a different error?

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

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

        @redrum well i renamed the xml so it'd match the previous working name. No joy there either.

        Guess I'll go punch some paper and try again tomorrow.

        Thanks for your time

        RogerCooperR redrumR 2 Replies Last reply Reply Quote 0
        • RogerCooperR Offline
          RogerCooper @beelee
          last edited by

          @beelee I use the program XML copy editor, which you can use to verify the XML code before running. It is good at catching typos.

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

            @beelee What error did you get after using the XML I posted? It worked for me and the only other change I had to make was change the mapName property to match the folder:

                <property name="mapName" value="world_war_ii_global" editable="false"/>
            

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

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

              @redrum well finally got it to work. Was a naming issue, had to get rid of all the numbers, which I tried last night, but...I screwed up somewhere. Anyway don't know why you had to rename the way you did. This is what i have:

              <property name="mapName" value="global_40_house_rules" editable="false"/>

              Still trying to figure out these editors. If @anyone knows where I can find some sort of tutorial on notepadqq, it would be way cool. I looked around a couple weeks ago and never found anything that helpful.

              If you don't mind redrum, could you give me an example of what you changed ? Just want to understand where I screwed up. No biggie if you're busy ( which I'm sure you are 🙂 ).

              Thanks for Everyone's time : )

              Peace Out

              prastleP redrumR 2 Replies Last reply Reply Quote 1
              • prastleP Offline
                prastle Lobby Moderators Admin @beelee
                last edited by

                @beelee good job bee

                If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

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

                  @beelee Here is what I use to compare files in Notepad++: http://www.technicaloverload.com/compare-two-files-using-notepad/

                  You actually had just random "n" characters at the beginning of some of the lines. Here is an example from your original XML:

                      <attachment name="conditionAttachment_Germans_BomberA3" attachTo="Germans" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
                        <option name="techs" value="BombersA3_GiveToAll" count="1"/>
                      </attachment>
                  n    <attachment name="conditionAttachment_Russians_BomberA3" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
                        <option name="techs" value="BombersA3_GiveToAll" count="1"/>
                      </attachment>
                  

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

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

                    @redrum Thank you

                    as my buddy's dad used to say " if you're gonna be stupid you gotta be tough" 🙂

                    @prastle thanks bro : )

                    @RogerCooper thanks for the heads up on the XML copy editor. Gonna give it a go. Just one more challenge for me heh heh : )

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

                      Probably not the best place for this as i'm sure it's addressed somewhere but if you have:

                      <info name="Global 40 House Rules with Canada" version="1.2.1.a/>

                      instead of:

                      <info name="Global 40 House Rules with Canada" version="1.2.1.1"/>

                      it won't show up in the "select map" section when triplea is on. Just thought I'd I share since it took me 24 hours to figure it out : )

                      Please move to appropriate place or delete : )

                      1 Reply Last reply Reply Quote 1
                      • R Offline
                        raven009
                        last edited by

                        you should use notepad++

                        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 / 1
                        • First post
                          Last post
                        Powered by NodeBB Forums