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

    Fixed Game of Thrones Map Bug

    Scheduled Pinned Locked Moved Maps & Mods
    23 Posts 4 Posters 6.7k 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
      last edited by

      @Johnnyboy Welcome to the forum. It would be great if you want to submit some fixes for the Game of Thrones map. We host the maps and changes at github and this guide can walk you through submitting them there: https://docs.google.com/document/d/1FfF7N0srp9QG0_if5D-c1d1Aa1QTttdhxgm1GBh3pI4. If that is a bit too overwhelming to start then if you attach the files or zip here on the forum then I can put them into the github map repo: https://github.com/triplea-maps/game_of_thrones

      Here are some other good resources for GoT and map making:

      • GoT issues: https://github.com/triplea-game/triplea/issues/3160
      • Map making overview: https://github.com/triplea-game/triplea/blob/master/docs/map_making/map_and_map_skin_making_overview.md
      • XML reference map (POS2): https://github.com/triplea-maps/the_pact_of_steel/blob/master/map/games/pact_of_steel_2.xml

      @wc_sumpton I gave you write access to the github repo. I see you have an open PR with lots of updates: https://github.com/triplea-maps/game_of_thrones/pull/3. Did you test those? I'm good with moving forward with that if so.

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

      C 2 Replies Last reply Reply Quote 2
      • C Offline
        Cernel Moderators @redrum
        last edited by

        @redrum I wasn't aware of that. If there is interest, I can review or take a look at the point at which @wc_sumpton got, tell if I see anything wrong with it, but I need to know how to download it like if the PR has been merged (but, really, I would just merge it, then test; the map is currently broken so how much worse can it be?).

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

          @Cernel You can download the zip with the changes here: https://github.com/WCSumpton/game_of_thrones/archive/master.zip. I'm pretty open to just merging it just want to make sure the map still launches.

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

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            Cernel Moderators @redrum
            last edited by

            @redrum Uhm, nope. I get this:

            GRAVE: Could not parse:jar:file:/D:/Programs/TripleA/downloadedMaps/game_of_thrones-master.zip!/game_of_thrones-master/map/games/Game_of_Thrones.xml
            games.strategy.engine.data.GameParseException: map name: 'jar:file:/D:/Programs/TripleA/downloadedMaps/game_of_thrones-master.zip!/game_of_thrones-master/map/games/Game_of_Thrones.xml', game name: 'Game_of_Thrones', Unexpected Exception while setting values for attachmentUnitSupportAttachment attached to:UnitType{name=Archer} with name:supportAttachmentArcher
            	at games.strategy.engine.data.GameParser.newGameParseException(GameParser.java:108)
            	at games.strategy.engine.data.GameParser.setValues(GameParser.java:1269)
            	at games.strategy.engine.data.GameParser.parseAttachments(GameParser.java:1219)
            	at games.strategy.engine.data.GameParser.parseMapDetails(GameParser.java:200)
            	at games.strategy.engine.data.GameParser.parse(GameParser.java:97)
            	at games.strategy.engine.data.GameParser.parse(GameParser.java:91)
            	at games.strategy.engine.framework.ui.GameChooserEntry.fullyParseGameData(GameChooserEntry.java:52)
            	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorPanel.lambda$selectGameFile$7(GameSelectorPanel.java:271)
            	at games.strategy.engine.framework.ui.background.BackgroundTaskRunner.lambda$runInBackground$0(BackgroundTaskRunner.java:50)
            	at games.strategy.engine.framework.ui.background.BackgroundTaskRunner$1.doInBackground(BackgroundTaskRunner.java:121)
            	at javax.swing.SwingWorker$1.call(Unknown Source)
            	at java.util.concurrent.FutureTask.run(Unknown Source)
            	at javax.swing.SwingWorker.run(Unknown Source)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            	at java.lang.Thread.run(Unknown Source)
            Caused by: games.strategy.engine.data.MutableProperty$InvalidValueException: failed to set string property value to 'Sellsword:GoldCloak:Spearman:FacelessMan:Giant:Khal:Longship:'
            	at games.strategy.engine.data.MutableProperty.setStringValue(MutableProperty.java:64)
            	at games.strategy.engine.data.MutableProperty.setValue(MutableProperty.java:88)
            	at games.strategy.engine.data.GameParser.setValues(GameParser.java:1265)
            	... 14 more
            Caused by: games.strategy.engine.data.GameParseException: Could not find unitType. name:   for: UnitSupportAttachment attached to:UnitType{name=Archer} with name:supportAttachmentArcher
            	at games.strategy.triplea.attachments.UnitSupportAttachment.setUnitType(UnitSupportAttachment.java:91)
            	at games.strategy.engine.data.MutableProperty.setStringValue(MutableProperty.java:60)
            	... 16 more
            
            
            redrumR 1 Reply Last reply Reply Quote 0
            • redrumR Offline
              redrum Admin @Cernel
              last edited by redrum

              @Cernel Now you see why I wanted someone to test it first 🙂

              But appears the supportAttachmentArcher is referring to invalid unit type from this list Sellsword:GoldCloak:Spearman:FacelessMan:Giant:Khal:Longship:

              I think its the final colon that is the issue.

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

              C 1 Reply Last reply Reply Quote 1
              • C Offline
                Cernel Moderators @redrum
                last edited by

                @redrum I guess you were right, but @wc_sumpton is a big name so I was absolutely sure the game was at least playable.

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

                  @Cernel Its possible that because the changes were done a while ago that engine improvements have now caused the errors.

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

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    Cernel Moderators @redrum
                    last edited by

                    @redrum said in Fixed Game of Thrones Map Bug:

                    @Johnnyboy Welcome to the forum. It would be great if you want to submit some fixes for the Game of Thrones map. We host the maps and changes at github and this guide can walk you through submitting them there: https://docs.google.com/document/d/1FfF7N0srp9QG0_if5D-c1d1Aa1QTttdhxgm1GBh3pI4.maps/the_pact_of_steel/blob/master/map/games/pact_of_steel_2.xml

                    Yes, but that is the guide made by @Frostion. So, there is not an official TripleA guide about how to get maps into the repository anywhere anymore? Also, maybe, then, hosting that guide somewhere in TripleA, so to make that official, if the process mapmakers are supposed to follow is still exactly that one.

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

                      @redrum thanks for the update. @Cernel, yes it has been quite some time since I looked at the xml. Am not quite sure how far I was able to get. If @Johnnyboy wants this map them I am quite happy to let him have it.

                      Cheers...

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

                        Alright, I just cleaned up @wc_sumpton updates and released a v2.0.

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

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

                          @redrum Thank you. Sorry for leaving such a mess.

                          Cheers...

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

                            @wc_sumpton All good. You did most of the work. I just fixed a few small errors and cleaned up the notes a bit more.

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

                            C 1 Reply Last reply Reply Quote 1
                            • C Offline
                              Cernel Moderators
                              last edited by

                              @redrum Since the game is currently not balanced, or owned, or anything like that, could I just get a push merged to simply cut by half all territories productions, rounded up, to make it more playable? Asking here if that would be accepted or not, because there would be no playtesting, or commitment or anything regarding it, just simply what I said (tho I would probably try to play it with somebody, thereafter, but that's it).

                              @wc_sumpton Can you make a complete list of all the things that you wished to do on this map and didn't? Asking not much for myself, but for anyone who might want to take over this, and maybe finish your project.

                              I think I'll make a search in the two forums and GitHub for anything reported on this game, and see if the issue is still there in the current version.

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

                                @Cernel I'd prefer not to make drastic changes without considering how the map already plays. I also don't know that there are a ton of people that share your preference for lower production and unit counts.

                                It would be good to get a list of recommended changes or any remaining bugs. If they are minor, I don't mind making them.

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

                                C 1 Reply Last reply Reply Quote 0
                                • C Offline
                                  Cernel Moderators @redrum
                                  last edited by

                                  @redrum I don't recall I've ever seen anyone playing this game in the lobby or in forum since the last time I hosted it, several years ago.

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

                                    @Cernel Agree. Besides a few random posts on the forums/github about issues with it, I haven't seen hardly anyone play it. What I meant was I assume whoever designed it thought some about territory values and unit costs and just cutting them in half to cut them in half isn't necessarily a good idea.

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

                                    C 1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      Cernel Moderators @redrum
                                      last edited by

                                      @redrum Of course, cutting production by probably about 40% (as per rounding up) would be for reducing units accumulation overtime, especially assuming this would be played the Feudal Japan way (only other way would be finding 11 people to play with).

                                      I also want to point out that this map suffers the v1 naval bombardment inconsistency issue. As otherwise the ruleset is currently Classic, the fact that naval bombardment behaves as Revised is likely to be unintended. I firstly reported this thing that I believe to be a bug (even tho I cannot affirm it, as I would need a reference that categorically states that the TripleA default is supposed to be Classic in all cases):
                                      https://sourceforge.net/p/triplea/bugs/1082/

                                      This may be one of those cases that need the fix in the xml, as per what Veqryn said:

                                      I will change this on each xml that we find that needs it.
                                      Unfortunately for backwards compatibility, and to avoid unintended side effects, I will not change the default behavior in the engine or rename the property.
                                      Can you help me find all the maps that need changing, besides the ones in the Classic and Classic variations zips?

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        Cernel Moderators @redrum
                                        last edited by

                                        @redrum said in Fixed Game of Thrones Map Bug:

                                        @wc_sumpton All good. You did most of the work. I just fixed a few small errors and cleaned up the notes a bit more.

                                        Then I guess his thread could be considered the current official one for this map?

                                        https://forums.triplea-game.org/topic/950/game-of-thrones

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

                                          @Cernel Yeah, can probably repurpose that thread to be the official one and should probably move the conversation there since this was really about fixing some of the bugs in the map.

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

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