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

    Trying to put age of tribes engine on alexander 350 world map

    Scheduled Pinned Locked Moved Maps & Mods
    147 Posts 5 Posters 75.4k Views 4 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.
    • Ted SelfT Offline
      Ted Self @wc_sumpton
      last edited by

      @wc_sumpton latest error says line 2722.11 end tag for type "game" must end with a ">" This is really confusing because </game> is at the end of the file. I'm so lost, lol. I admit I have not looked at every line of the xml closely because I figured the best way to find the errors was to try to launch it.

      Ted SelfT 1 Reply Last reply Reply Quote 0
      • Ted SelfT Offline
        Ted Self @Ted Self
        last edited by

        @ted-self I guess it is obvious what I'm trying to do. I thought if I get rid of the alexander units and keep the stuff about the map, and then bring the units and tech from the age xml and combine the two, then all I would have to do would be to change the hattic starting point to its new place on the world map and so forth. Also put the nature and barbarians around here and there. However it's one error message after the other. I am trying to not get discouraged because I really want it to work. So I made the new capitals/starting points as follows- One for north and one for south america, (mexico and chile), one for europe, one for africa, one for middle east, one for india and one for china and one for slave. Of course most of them have the wrong names, such as baltic in mexico. That could be corrected later if I could just get it to run, lol. I bet there have been lots of frustrated people trying to make new games over the years. 🙂

        wc_sumptonW 2 Replies Last reply Reply Quote 0
        • wc_sumptonW Offline
          wc_sumpton @Ted Self
          last edited by

          @ted-self

          Yea, there could be a lot of problems with this. First what are you using to edit the xml? Most here, I think use Notepad++. I you are using a text editor, I would suggest getting this, it is free.

          https://notepad-plus-plus.org/downloads/

          And yes, the <game> tag starts at the beginning, and ends at the very end. What this is saying is that you have an extra </ end tag somewhere, or a beginning tag without an end.

          With Notepad++ you could close up beginning tag to see where they end to help trace down this problem.

          Cheers...

          1 Reply Last reply Reply Quote 2
          • wc_sumptonW Offline
            wc_sumpton @Ted Self
            last edited by

            @ted-self

            Not sure where "alexander 350" is?

            Cheers...

            Ted SelfT 1 Reply Last reply Reply Quote 0
            • Ted SelfT Offline
              Ted Self @wc_sumpton
              last edited by

              @wc_sumpton I will upload it to the same place.

              RogerCooperR wc_sumptonW 2 Replies Last reply Reply Quote 1
              • RogerCooperR Offline
                RogerCooper @Ted Self
                last edited by

                @ted-self I use a program called XML Copy Editor, which checks automatically the formatting.

                1 Reply Last reply Reply Quote 3
                • wc_sumptonW Offline
                  wc_sumpton @Ted Self
                  last edited by

                  @ted-self

                  How is your project going?

                  Cheers...

                  Ted SelfT 1 Reply Last reply Reply Quote 0
                  • Ted SelfT Offline
                    Ted Self @wc_sumpton
                    last edited by

                    @wc_sumpton I am still working on it. Did you find alexander350? It's at https://github.com/tedrockets/triplea I can't remember for sure but I think I had to move some folders around to make it work.

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

                      @ted-self

                      Got it! Thanks

                      Cheers...

                      Ted SelfT 1 Reply Last reply Reply Quote 0
                      • Ted SelfT Offline
                        Ted Self @wc_sumpton
                        last edited by

                        @wc_sumpton Well, I got the xml copy editor and worked out some kinks. But still when I run the check wellformedness I get error at line 19485.5 mismatched tag. This is the last line where it says </game>
                        When I run validate I get error at line 2 column 34 unable to open DTD document.
                        When I try to launch the game I get parsing halted at 19485 unitInitialize must have end tag.
                        The new file is at https://github.com/tedrockets/triplea if anyone would like to have a look. I am stumped.

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

                          @ted-self

                          The xml for TripleA maps follow a certain structure.
                          <game>
                          <variableList></variableList>
                          <map> </map>
                          <resourceList></resourceList>
                          <playerList></playerList>
                          <unitList></unitList>
                          <relationshipTypes></relationshipTypes>
                          <territoryEffectList></territoryEffectList>
                          <gamePlay></gamePlay>
                          <production></production>
                          <technology></technology>
                          <attachmentList></attachmentList>
                          <initialize></initialize>
                          <propertyList></propertyList>
                          </game>

                          In the xml provided <attachmentList> starts at 1241 with a </attachmentList> at 2596 followed by <delegate ... />, which are part of the <gamePlay>, but are not within any header. Then another <attachmentList> at 2724 a floating <attachment> at 2726. <initialize> at 3163 with no </attachmentList> prior. More <attachment> at 3223 with no </unitInitialize> or </initialize>. At 18994 another <initialize> but this is ended at 19105 with a </initialize> and <propertyList> with its </propertyList> at 19482 followed by </game>

                          There are a lot of structure errors here.

                          I am sorry, but it is getting late for me. I will try to help more tomorrow.

                          Cheers...

                          Ted SelfT 1 Reply Last reply Reply Quote 1
                          • Ted SelfT Offline
                            Ted Self @wc_sumpton
                            last edited by

                            @wc_sumpton Hi, I uploaded my latest try after 2am this morning. https://github.com/tedrockets/triplea I think I have everything in order now. I made a couple of maps several years ago but I have forgotten how I did it. I still get an error message at line 18807 which says mismatched tag. At 18807 it says </attachmenList> Strangely when I try to launch the game it says line 18807 <attachment> must have an end tag. Thanks for looking...

                            TheDogT wc_sumptonW 2 Replies Last reply Reply Quote 1
                            • TheDogT Offline
                              TheDog @Ted Self
                              last edited by TheDog

                              @ted-self
                              This should be the spelling of
                              </attachment List>

                              in your xml it is
                              </attatchmentList>
                              notice the extra t

                              Find and replace to recorrect.

                              Having said the above, for me it loads and runs without error in 2.5 & 2.6

                              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
                              • wc_sumptonW Offline
                                wc_sumpton @Ted Self
                                last edited by wc_sumpton

                                @ted-self

                                @TheDog is correct, there are a lot of "attatchment", "Attatchment" and "attatchTo" in AgeWorld.xml (706 total). These can be corrected by replacing "ttatch" with "ttach".

                                But there are still some structure problems. If you have Notepad++, then you should see besides each beginning block start a "-" in a square along a line. By tapping that "-" you close each block, and the "-" changes to "+". Starting with <map> line 6 should close the xml to line 713, which begins <resourceList>. Closing <resourceList> show <playerList> at 717. A blank line (this is ok) at 733 and <unitList> at 734. Continue doing this until you encounter <attachmentList> at line 2142, closing <attachmentList> will go to the end of the file (line 19335), showing that there is a problem. The </attachmentList> is at 18807. The problem is a floating <attachment> located at 2598, that needs to be removed. Now closing <attachmentList> goes to line 18807 <initialize>. Closing <initialize> once again goes to the end of the file, and </initialize> is located at 18954. But <unitInitialize>, at 18820, has no ending tag. Put it after line 18865. And another problem exist when closing <propertyList>. <property name="notes"> at line 19170 has no closing tag. Place </property> at 19330, after </value> but before </propertyList>.

                                If you close <propertyList> you should see </game> at line 19334. With all the beginning tags closed you should see a structure that looks like my earlier post. Once this structure is corrected, other debugging can start.

                                Cheers...

                                Ted SelfT 1 Reply Last reply Reply Quote 0
                                • Ted SelfT Offline
                                  Ted Self @wc_sumpton
                                  last edited by

                                  @wc_sumpton xml copyeditor finds no form errors. However when I try to launch the game I get an error at 2596. I think this is about where I started changing attatchment to attachment. Enclosed is the error message. errors.jpg
                                  My latest xml file is at https://github.com/tedrockets/triplea
                                  After about 20 hours or so working on this I feel certain that madness will soon ensue and I will become like a character in a short story by H P Lovecraft. 😮

                                  wc_sumptonW 1 Reply Last reply Reply Quote 1
                                  • wc_sumptonW Offline
                                    wc_sumpton @Ted Self
                                    last edited by

                                    @ted-self

                                    Structure looks much better now. "attachmentname" should be "attachment name". When the search/replace was done, a space was not accounted for. Simple mistake done it/still do it many times. You are making headway!!

                                    Cheers...

                                    Ted SelfT 1 Reply Last reply Reply Quote 2
                                    • Ted SelfT Offline
                                      Ted Self @wc_sumpton
                                      last edited by

                                      @wc_sumpton But there is no instance of attachmentname in the xml, it is attachment name. That is what is so weird.

                                      Ted SelfT wc_sumptonW 2 Replies Last reply Reply Quote 0
                                      • Ted SelfT Offline
                                        Ted Self @Ted Self
                                        last edited by

                                        @ted-self Wait, I just saw where someone said the error is This should be the spelling of
                                        </attachment List> so I will try that,

                                        TheDogT Ted SelfT 2 Replies Last reply Reply Quote 0
                                        • wc_sumptonW Offline
                                          wc_sumpton @Ted Self
                                          last edited by

                                          @ted-self

                                          The error say's row 2596. That is where I found the error "attachmentname". Count was 141 instances that needed fixing.

                                          Next came an error: Could not find production rule:buyCaveman. The <production> area is not right. I would remove the whole area <production> through </production> and recopy from Age of Tribes xml.

                                          Cheers...

                                          1 Reply Last reply Reply Quote 0
                                          • TheDogT Offline
                                            TheDog @Ted Self
                                            last edited by

                                            @ted-self
                                            Thats is my bad 🙄
                                            </attachment List>

                                            should be
                                            </attachmentList>
                                            that is without the space before the L

                                            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

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