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

    2.7 Release & Testing - Megathread

    Scheduled Pinned Locked Moved News
    57 Posts 12 Posters 17.0k Views 12 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.
    • TheDogT Offline
      TheDog @TheDog
      last edited by

      Currently the Devs are building their development environment, (Gradle) and getting the Lobby environment (PvP) ready.

      This is at the expense of the TripleA engine, currently broke, with its list of outstanding issues. As they are only part timers/hobbists devs and their free time is limited, I suggest players use for now;
      This 2.7 pre-release
      https://github.com/triplea-game/triplea/releases/tag/2.7.15025

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

      RogerCooperR 1 Reply Last reply Reply Quote 3
      • RogerCooperR Offline
        RogerCooper @TheDog
        last edited by

        @thedog If the last reliable version is 15025, we rollback the prerelease.

        1 Reply Last reply Reply Quote 1
        • LaFayetteL Offline
          LaFayette Admin
          last edited by

          @TheDog - Could you please make sure that all important issues are labelled with both '2.7' and 'major'. That way they will appear in this list: https://github.com/triplea-game/triplea/issues?q=is%3Aissue state%3Aopen label%3AMajor label%3A2.7

          TheDogT 1 Reply Last reply Reply Quote 1
          • TheDogT Offline
            TheDog @LaFayette
            last edited by

            @lafayette
            Done, a quick refresh for that link above, will look more closely tomorrow at other issues.

            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
            • LaFayetteL Offline
              LaFayette Admin
              last edited by

              Alright, spent a good 4 hours catching up on TripleA today..

              2.7 status:

              • error reporting modules need to be migrated to the support-server (that is why the error-report functionality throws a 404): #14048
              • need to update the game settings to use the "beta" maps server by default, and remove the old code path that would download & read triplea_maps.yaml
              • a lot of maps have maps.yaml parsing issues, or are using the "wrong" branch. Need to do three things there:
                • A ) server should be forgiving (and even prefer) 'main' as the default branch name
                • B ) need to create a report of which maps have problems
                • C ) fix the various maps that have problems (at least any problems in 'maps.yaml', there are a lot of missing description files and some other more minor issues here and there)

              Otherwise, outstanding are the things on this list: "2.7" & "Major" issue list

              While we are beefing that list up, please keep in mind we should only label things that are introduced or made worse by 2.7 as '2.7'.

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

                @lafayette said in 2.7 Release & Testing - Megathread:

                • a lot of maps have maps.yaml parsing issues, or are using the "wrong" branch. Need to do three things there:
                  • A ) server should be forgiving (and even prefer) 'main' as the default branch name
                  • B ) need to create a report of which maps have problems
                  • C ) fix the various maps that have problems (at least any problems in 'maps.yaml', there are a lot of missing description files and some other more minor issues here and there)

                Do you need some help on the maps? I have done a lot of cleanup already. If you give me examples of the errors I could go in and check them all.

                LaFayetteL 1 Reply Last reply Reply Quote 1
                • LaFayetteL Offline
                  LaFayette Admin @RogerCooper
                  last edited by LaFayette

                  @rogercooper I would love help for it. I'm thinking to update the download maps window to accept the maps with errors. So, instead of seeing a description and an option to download the map, the description would tell you what error the map had. There might need to be an option to "show broken maps" or something.. Overall, I think the download maps windows will be the way to surface these.

                  In the meantime, most of the YAML errors I think are spaces in the "condensed" format.

                  For example:
                  - { map_name: this is map name with spaces, map_path: /my-path }

                  The map name with spaces breaks YAML, needs to be quoted, eg:

                  - { map_name: 'this is map name with spaces', map_path: /my-path }

                  The reasoning is because in the condensed format, YAML can't know where the next token really starts. So, fix #1 is to add quotes.

                  Fix #2 is to use the expanded format, which is tolerant of spaces, eg:

                   - map_name: this is map name with spaces (and is valid!)
                     map_path: /my-path
                  

                  Both formats are sensitive to the leading spaces, the indentation matters. It's pretty high on my list to try and gather a report of the broken maps. No ETA for right now of when that might be available.

                  RogerCooperR 1 Reply Last reply Reply Quote 2
                  • RogerCooperR Offline
                    RogerCooper @LaFayette
                    last edited by

                    @lafayette If you tried to download one of these broken maps now, would there be an error. Can you give me example of a broken map.

                    I have already added every finished map to triplea_maps.yaml and downloaded them all without error.

                    I notice that there some maps which always a need to download such as Alexander 350BC. the mpa.yml file is

                    map_name: Alexander350
                    games:
                    - {game_name: 'Alexander350', file_name: Alexander350.xml}
                    

                    I notice that says game_name, not map_name. Is that the issue?

                    TheDogT 1 Reply Last reply Reply Quote 1
                    • TheDogT Offline
                      TheDog @RogerCooper
                      last edited by

                      @rogercooper
                      Checkout this post from LaFayette
                      https://forums.triplea-game.org/topic/4056/1888a-steam-steel-official-thread/34?page=2

                      Note the spaces near the { }

                      map_name: 1888a_steam_and_steel
                      games:

                      • { game_name: "1888A Steam and Steel", file_name: 1888a_steam_and_steel.xml }
                        or:

                      map_name: 1888a_steam_and_steel
                      games:

                      • game_name: 1888A Steam and Steel
                        file_name: 1888a_steam_and_steel.xml

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

                      RogerCooperR 1 Reply Last reply Reply Quote 1
                      • LaFayetteL Offline
                        LaFayette Admin
                        last edited by

                        Did a quick report on invalid maps, just one with invalid YAML that I found:

                         Invalid map.yml data found at URI: https://github.com/triplea-maps/1888a_steam_and_steel/blob/master/map.yml?raw=true, error: Invalid yaml format: mapping values are not allowed here
                        

                        Second, the server needs to be updated to also check for a 'main' branch in the maps. That would fix a few more maps. (We should prefer "main" as our default branch name going forward rather than "master", fwiw. I'm a bit tempted to bulk update all maps to use 'main' as its default branch).

                        It does seem like there should be quite a few more maps though, even with those fixes applied. I'll need to investigate further to see why/where more maps are not being picked up.

                        If you tried to download one of these broken maps now, would there be an error.

                        In those cases the download button would be disabled. So, the map description area would be a place where the server would report the map problems, and no download button.

                        You may notice, some maps are missing their description.html file, the map download window indicates that file is missing in the description area (but still allows download). So, similar strategy for the maps are fully broken.

                        The alternative I was thinking was to have a dedicated website page with a big table of each map and its status. That might still be in the cards, but feels cleaner to have that info directly built into the game (and the map tag management I think should be there too rather than in the moderator toolbox).

                        I notice that there some maps which always a need to download such as Alexander 350BC. the mpa.yml file is

                        I believe that YAML snippet is fine. The "map_name" is the name of the download, it is the name of the download. After download, the "game name" is the thing that people select as what they want to play, and the "file_name" is a path to the XML file so that the game engine knows where the game data is physically located. FWIW, these values are all now explicit, before the game engine just assumed that the XML had a value that matched the map name, which would match the folder name of the map, etc.. Now none of those need to match, all the "index" information is read from the "map.yml" file. (Of course, to keep compatibility with 2.5 engines, the folder & map names do need to match, with 2.7 the structure and naming is more flexible and less important)

                        1 Reply Last reply Reply Quote 2
                        • LaFayetteL Offline
                          LaFayette Admin
                          last edited by

                          Hmm, interestingly, the current 1888a YAML is valid.
                          I think those error message I found might have been older.
                          So, at this juncture, the ball is in my court for server updates and further investigation of why more maps are not showing up.

                          1 Reply Last reply Reply Quote 2
                          • RogerCooperR Offline
                            RogerCooper @TheDog
                            last edited by

                            @thedog said in 2.7 Release & Testing - Megathread:

                            @rogercooper
                            Checkout this post from LaFayette
                            https://forums.triplea-game.org/topic/4056/1888a-steam-steel-official-thread/34?page=2

                            Note the spaces near the { }

                            map_name: 1888a_steam_and_steel
                            games:

                            • { game_name: "1888A Steam and Steel", file_name: 1888a_steam_and_steel.xml }
                              or:

                            map_name: 1888a_steam_and_steel
                            games:

                            • game_name: 1888A Steam and Steel
                              file_name: 1888a_steam_and_steel.xml

                            I checked out all the map.yml files (thank you to Microsoft Copilot). Only 1888A has this issue. I am unable to edit that file on Github.

                            1 Reply Last reply Reply Quote 1
                            • TheDogT Offline
                              TheDog
                              last edited by

                              @rogercooper
                              What do you think I should change?
                              Should I just rewrite the whole map.yml ?

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

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

                                @thedog I think you just need to remove the spaces after and before the curly brackets.

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