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

    AI Development Discussion and Feedback

    Scheduled Pinned Locked Moved AI
    316 Posts 32 Posters 431.4k Views 30 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.
    • LaFayetteL Offline
      LaFayette Admin @Captain Crunch
      last edited by

      @Captain-Crunch would you be able to post a screen-shot of what you are seeing to this forum thread: https://forums.triplea-game.org/topic/1740/movable-unit-highlight-remove-button-change-to-be-a-toggle/5

      The side-bar should have scrollbars, as it always had, in a way the problem of buttons getting cutting off would have always existed as soon as you made enough moves. The 'unit scroller' area was supposed to essentially allow that problem to happen after only 4 moves instead of for example about 5 moves. I'm concerned we may have a deeper issue with the 'undo' button placement and/or the last move always being cut-off even with scrollbars in use.

      Captain CrunchC 1 Reply Last reply Reply Quote 1
      • ubernautU Offline
        ubernaut Moderators @redrum
        last edited by

        @redrum yeah something is still wrong with opening save files it always resets the game it seems to lock it up also i could make a video and send it to you if you like. 🙂

        "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

        redrumR 2 Replies Last reply Reply Quote 0
        • redrumR Offline
          redrum Admin @ubernaut
          last edited by

          @ubernaut Yeah, a video or screenshots would probably help as everything seems fine with your save game on my end.

          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
          • Captain CrunchC Offline
            Captain Crunch Banned @LaFayette
            last edited by Captain Crunch

            @LaFayette ook, I twiddled around with the next resolution up and made the Units bigger ... but I also had to make the font bigger so I can read the numbers and then the scroll height of the Combat Window is bigger now but the Combat Window height should be a little higher for people that use the 2 lowest resolution settings is what I'm saying.

            undomovebuttonblocked.jpg

            I would hold the little dot of the scroll bar and move it up and down and sometimes with some countries each move I made I would barely be able to get the "undo move" button on my screen to click it ... I would scroll up and down and sometimes it was almost impossible to get the item to be right in the middle of the window so I could find the undo move button so I mentioned it ... but right now I increased size of the Units and fonts and went 1 resolution up and its ok so you decide if you want to increase the Combat Window height or not!

            All good!!

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

              @ubernaut Yeah, in your video it never shows the save game file name like it does here for me:
              165661dc-b513-4a88-aeef-5c0579ebfe12-image.png

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

              ubernautU 1 Reply Last reply Reply Quote 0
              • ubernautU Offline
                ubernaut Moderators @redrum
                last edited by

                @redrum when i try to doa manual save it locks up in the same manner (before it can save actaully) also cannot load games for revised so there's definitely an issue with open/save logic in the prerelease at least on mac.

                "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

                redrumR 2 Replies Last reply Reply Quote 0
                • redrumR Offline
                  redrum Admin @ubernaut
                  last edited by

                  @ubernaut Ok, I opened an issue so we can get someone else with a Mac to try save/loading games with the pre-release: https://github.com/triplea-game/triplea/issues/5945

                  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 1
                  • FrostionF Offline
                    Frostion Admin
                    last edited by

                    @redrum So I ran into an issue with my Warcraft map and the AI. The map is heavily dependant on the AI to set up the randomized map / seed the map with units, hero items, buildings, resource generating stuff and more (by territory picking, then place units held from start, then again units given after this and finally placing a flag unit in every 400 territories). So when the player starts up a game, the first thing that happens before the human players get to do anything is the before mentioned. It technically works well.

                    But unless the AI pause duration is set to 0 it is a painfully long process. It takes minutes for the map to place the approximately 1000 units. I have used the AI for a similar technical purpose before, in the Star Trek map. I don't know if any other map uses AI in a similar technical way placing or managing stuff ... and not just use AI to play against.

                    I really think that the playing experience is much better with the AI pause pause duration set to 400 ms+ (default setting or longer). If playing a map with 0 ms, unit moves and actions are done so fast that one can't follow them and also sounds are often played at once in an irritating manner.

                    I would really like to have the AI set up the map as fast as possible (0ms) and then afterwards play against the AI with a standard pause duration. Can there be an automated solution?

                    Could the different step types be made to have AI pause duration attachments? (Like the round count attachment?)

                    Is there a possibility that something like "console commands" could set AI pause duration? Maybe via XML triggers? Maybe via something like a consolecommands.properties txt file?

                    Could every AI type have its own settings file, like an HardAI.properties. Where different aspects of AI behaviour is defined, including AI pause duration for different steps.

                    Some other solution other than players manually setting the AI pause duration back and forth? 🤔

                    Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

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

                      @Frostion Good question. Can you give me a little more detail on how you are doing the initial set up? Is it all done by a single AI player so that if we just allow setting AI pause duration by player would work? Or is it different phases for each player?

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

                      FrostionF 1 Reply Last reply Reply Quote 0
                      • FrostionF Offline
                        Frostion Admin @redrum
                        last edited by

                        OK then @redrum ☺ Understand that in this map the "minor" AI and "nature" AI players are all passive after the initial territory picking and placements. There are no combat moves, purchases, placements etc. during the game. These players only have pre-game steps. Only the 8 main players are active after the game begins.

                        It starts out like this...
                        Teritory Picking/Placement: At the moment, there are like 20 AI players (minor primitive passive races) who all can pick 3 territories each (as they hold 3 units) and a huge player called Nature picks the rest, like 340 territories. Nature player places all the map's non-combat stuff units, all capturable without a fight. A player can never do combat vs. Nature player but all the minor player units have defensive stats.

                        Pre-game Placement Round A: The 20 minor AI players get like 2-5 fighting units by trigger to place and fill up their 3 territories with more units.

                        Pre-game Placement Round B: Finally the 20 minor players and Nature player get 1 Flag for each owned territory to place.

                        Now the game is on, round 1, and the ordinary player 1 to 8 can do their first things; combat move. It would be nice if AI pause duration could return to normal now.

                        (Unit specifications prevent more than 1 Flag per territory, so AI is forced to place in all/each territories) (Reason why there are multiple placement rounds are because I only want a minor player to have 3 territories each from start, then fill these with extra units) (I have thought about changing the procedure a bit ... But the concept will pretty much be the same I think)

                        So as you can see, in this game, in my case, the minors could actually be a dumb version of AI only placing with a 0 ms speed, then waiting to be attacked by a real player. But as some of the main 8 players can also be played as Hard AI, it would be good to have normal functioning AI for this. What do you think? 🤔

                        Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

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

                          @Frostion so what if we allowed setting pause duration per player and set nature to 0. Would that be enough?

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

                          C FrostionF 2 Replies Last reply Reply Quote 0
                          • C Online
                            Cernel Moderators @redrum
                            last edited by

                            @redrum This reminds me of that other thing of the Risk stile random placement, that you probably don't want to see if you have an enormous number of territories, but it is nice to see in a map like risk (still much faster than drawing cards).

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

                              @ubernaut Can you test the latest pre-release here and see if that fixes the save game loading issue: https://github.com/triplea-game/triplea/releases/download/2.0.18171/TripleA_2.0.18171_macos.dmg

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

                              ubernautU 1 Reply Last reply Reply Quote 3
                              • ubernautU Offline
                                ubernaut Moderators @redrum
                                last edited by

                                @redrum yeah seems to work now. 🙂 i'll check the ai strategies when i have some time.

                                "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

                                1 Reply Last reply Reply Quote 1
                                • FrostionF Offline
                                  Frostion Admin @redrum
                                  last edited by

                                  @redrum Sorry for the long wait for a reply. An option to set map specific individual player AI pause duration would certainly help, even better if it was changeable during play, but a permanent would also work.

                                  In my case it would perhaps speed up the automated map setup by 50% if player Nature had a permanent 0 ms AI pause duration.

                                  How do you think this can be achieved? XML setting? an first version of a new file called AI.properties? 😃 Yay ... That would be nice and have many potential future applications 😁

                                  Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

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

                                    The AI appears having serious problems in games where nobody has any capitals and there are factories in all territories, stacking and stacking units somewhere, not sending them to the frontline, and generally being very lazy and clueless at pushing. It is also very slow deciding the purchase. I'm testing this on a map modification of 270BC I'm making, and I'll give more details once is out.

                                    redrumR C 2 Replies Last reply Reply Quote 0
                                    • redrumR Offline
                                      redrum Admin @Cernel
                                      last edited by redrum

                                      @Cernel There is some logic to try to handle the "factory in every territory" type maps but its only been tested on a few maps like Domination I believe.

                                      @Frostion Ok. I'll think about it a bit. It would either be specified in the XML or in a properties file.

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

                                        @ubernaut would you mind jumping in on: https://github.com/triplea-game/triplea/issues/5792? We'd really like to get the problem object text wrapping fixed, but need more information and someone to work with to help us test any fixes. We're curious off the bat which UI Look & Feel you are using and confirmation that you're using Mac OS.

                                        ubernautU 1 Reply Last reply Reply Quote 0
                                        • ubernautU Offline
                                          ubernaut Moderators @LaFayette
                                          last edited by

                                          @LaFayette ok i'll reply there my name there is 'doctored'

                                          "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

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

                                            @Cernel said in AI Development Discussion and Feedback:

                                            It is also very slow deciding the purchase. I'm testing this on a map modification of 270BC I'm making, and I'll give more details once is out.

                                            Actually, the slowness appears to be some sort of major regression with the prerelease. Further testing reveal that, letting "Fast AI" play alone, these are the times to make the first 2 rounds (from clicking on "Play" till ending round 2):

                                            1.9.0.0.13066: 7 first and 45 second minutes.

                                            2.0.18267: 19 first and 32 second minutes.

                                            In both cases, I've assigned -Xmx8192M and -Xms8192M, that just means unlimited.

                                            The difference lays on the fact that, while the stable needs only a few seconds there, the prerelease takes an excruciatingly long time each "purchase" phase, to decide what to buy.

                                            On the other hand, the prerelease might be a little lighter on the RAM use, as I see it is at 3.32G at the end of round 2 for 1.9.0.0.13066 and 3.28G at the same point for 2.0.18267.

                                            redrumR LaFayetteL C 3 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
                                            • 15
                                            • 16
                                            • 1 / 16
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums