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 74.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.
    • W 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
        • Ted SelfT Offline
          Ted Self @Ted Self
          last edited by

          @ted-self OK mass confusion set in for a few minutes there and I think I had an older file uploaded to https://github.com/tedrockets/triplea
          Anyhow I corrected spelling on attachmentname and attachement List Now my latest attempt is uploaded and I get this error in xml copy editor errorxx.jpg
          and this error when trying to launch. I have the latest version of triplea. errorxxx.jpg

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

            @ted-self oh wait, I just saw the latest post from the dog, let me try again.

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

              @ted-self OK I made it this far, further than before! errrorxxxx.jpg

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

                @ted-self That means you have buyCaveman in production frontier, but don't have a production rule called buyCaveman. This can be a capitalization issue.

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

                  @rogercooper Arrgg now it says could not find resource:Tech the latest xml is at https://github.com/tedrockets/triplea SOS

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

                    @ted-self

                    Check <resourceList> to see if "Tech" is listed.

                    Cheers...

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

                      @wc_sumpton it is listed.

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

                        @ted-self You know, a couple of things just hit me. I had been using the primeval xml from the age of tribes master zip, and maybe I should have been using the age of tribes xml from the age of tribes zip. It is the one I have been playing recently that works, perhaps because I accidently screwed the other one up. Anyhow, the xmls from the alexander world map, the age of tribes zip and my latest attempt to combine the two are at https://github.com/tedrockets/triplea My brain is in a bit of overdrive fatigue right now if anyone would care to take a stab at it.

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

                          @ted-self

                          Tried using Alexander350 and Age of Tribes: Primeval:

                          <game>
                              <info name="World of Ages: Primeval" version="0.003"/>
                              <loader javaClass="games.strategy.triplea.TripleA"/>
                          	<triplea minimumVersion="2.5.22294"/>
                          	<diceSides value="6"/>
                          	<!-- Notes:
                          	** Merging of Alexander350 and Age of Tribes: Primeval xml's
                          	** .001 testing rename of Alexander350 to World of Ages: Primeval
                          	**		replacing 'ttatch' with 'ttach' (705 replacements)
                          	**		changes to map.yml
                          +++++++++++++++++++++++++++ start change +++++++++++++++++++++++++++++++++++++++++++++++++
                          map_name: world_of_ages
                          games:
                          - {game_name: 'World of Ages: Primeval', file_name: world_of_ages_primeval.xml}
                          version: 0
                          ++++++++++++++++++++++++++++++++ end +++++++++++++++++++++++++++++++++++++++++++++++++++++
                          	** .002 testing merger <map> and territoryAttachment Alexander350
                          	**		everything else Age of Tribes: Primeval
                          	**		rename folders units and flags to units_alexander350 and flags_alexander350
                          	**		copied folders units and flags from AoT:P
                          	**		also folders dice, doc, misc, PUs, resources and sounds
                          	**		renamed map.properties to map_alexander350.properties and copied map.properties from AoT:P
                          	** expected error with test: No player named: Carthage,   for: TerritoryAttachment
                          	** .003 comment out all <option name="capitan" value="x"/> because players are changed
                          	--> <!-- example -->
                          	<!-- <option name="capital" value="Carthage"/> -->
                          	<!-- end example --> <!--
                          	**		7 changes made
                          	**		also commented out all CanalAttachment
                          	**		also conditions and triggers which refference a territory of sea zone
                          	**		alse commented out <ownerInitialize> and  all <unitPlacement> under <unitInitialize>
                          	** 		add <heldUnits> in <unitInitialize>
                          			<heldUnits unitType="Caveman" player="Brittonic" quantity="10"/>
                                      <heldUnits unitType="Caveman" player="Celtic" quantity="10"/>
                                      <heldUnits unitType="Caveman" player="Germanic" quantity="10"/>
                                      <heldUnits unitType="Caveman" player="Romanic" quantity="10"/>
                                      <heldUnits unitType="Caveman" player="Baltic" quantity="10"/>
                                      <heldUnits unitType="Caveman" player="Hellenic" quantity="10"/>
                                      <heldUnits unitType="Caveman" player="Slavic" quantity="10"/>
                                      <heldUnits unitType="Caveman" player="Hattic" quantity="10"/>
                                      <heldUnits unitType="Caveman" player="Barbarians" quantity="50"/>
                          	** for testing purposes only added random start delegate
                          			<delegate name="randomStartDelegate" javaClass="games.strategy.triplea.delegate.RandomStartDelegate" display="Pregame Nation Placements"/>
                          	** also added setup after initialize
                          			<step name="setupRandomStartDelegate" delegate="randomStartDelegate" display="Pregame Nation Placements" maxRunCount="1"/>
                          	** and game property for ramdom setup
                          			<property name="Territories Are Assigned Randomly" value="true" editable="true">
                          				<boolean/>
                          			</property>		
                          	-->
                          

                          Cheers...

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

                            @wc_sumpton What am I looking at here? What software is it?

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

                              @ted-self

                              I attempted the merger, as I understood you were doing. What is presented is the comment section at the top of the xml. There is no special software, I just used a 'code box' to highlight the xml from normal entry.

                              Cheers...

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

                                @wc_sumpton Still confused, is it from notepad++ or the built in triplea game maker? I am starting to wonder if I should just start from scratch and use triplea map creator part 2? Also thanks to you and everyone trying to help and happy 4th of July to you all.

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

                                  @ted-self

                                  Yes, I do use Notepad++. It is only an editor and doesn't build an xml.

                                  Cheers...

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

                                    @ted-self It easier to fix issues than to start from scratch. I have fixed many scenarios, if you keeping on plugging away the issues, you can fix them. Try to use an editor that understands XML syntax.

                                    The different age of tribes XML's only differ in their setup, so it doesn't matter which one you use.

                                    If you are getting frustrated at this, try modifying an existing XML to get a better feel for the process.

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

                                      @wc_sumpton How did you get notepad++ to attempt the merger? Did the error list just appear at the top of the page?

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

                                        @rogercooper Mr. Cooper, I have been stumped on this latest error message when I try to launch the game for almost 2 days now.
                                        image_2023-07-05_133642211.png
                                        XML Copy editor is no help because it claims the xml is well formed. Please have a look at the AgeWorld.xml at https://github.com/tedrockets/triplea/tree/main Thanks in advance.

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

                                          @ted-self

                                          Notepad++ is just a text editor, and cannot merge xml's. The section not wanted are deleted. The section that are wanted are copied and pasted. What I did was probably the same thing that you did, documenting the steps I preformed at the top of the xml.

                                          Cheers...

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

                                            @ted-self tech24.jpg

                                            Ted SelfT RogerCooperR 2 Replies 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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 2 / 8
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums