TripleA Logo TripleA Forum
    • TripleA Website
    • Recent
    • Popular
    • Register
    • Login

    Bugs in World War I

    Scheduled Pinned Locked Moved Bug Reports
    28 Posts 5 Posters 2.9k 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.
    • TheDogT
      TheDog @wc_sumpton
      last edited by TheDog

      @wc_sumpton
      Would your super-dupa placementAnyTerritory fix,
      https://forums.triplea-game.org/topic/3326/1941-global-command-decision-official-thread/1005?page=51

      aid the AI into purchasing?

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

      wc_sumptonW 1 Reply Last reply
      Reply Quote 3
      • wc_sumptonW
        wc_sumpton @TheDog
        last edited by

        @TheDog said:

        Would your super-dupa placementAnyTerritory fix

        Thanks for the thought. This hack helps with the placement of factory/construction type units which were not placed by the AI's normal purchase-placement routine. Here the problem is with purchasing, which the AI is not doing because the AI does not find when to start a simulated purchase. Without creating a purchase, there is nothing to place.
        For my testing, replacing "placeNoAirCheck" with "place" does allow the AI to make purchases but this does not seem to work for @rogercooper. I'm not replacing the delegate "NoAirCheckPlaceDelegate" with the "PlaceDelegate" as there would be no change in my testing. So maybe @rogercooper could test if changing both the name and delegate makes any difference.

        Cheers...

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

          @wc_sumpton I got around to testing this out and I by getting rid of placeNoAirCheck and using placementAny Territory the AI builds correctly.

          I am not sure about the next step. Should I create AI versions of the scenarios and add to the mod?

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

            @RogerCooper said:

            I am not sure about the next step. Should I create AI versions of the scenarios and add to the mod?

            Not sure what is being asked. The AI makes purchases, that was all that I understood was needed.

            Cheers...

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

              @wc_sumpton I created a new xml with the suggested changes and it works. Now, should I change the XML for the mod in the repository or upload a new XML so the users can play an "AI" version while retaining the original scenario?

              wc_sumptonW VictoryFirstV 2 Replies Last reply
              Reply Quote 2
              • wc_sumptonW
                wc_sumpton @RogerCooper
                last edited by

                @RogerCooper

                Ha... Okay, now I understand. These maps, World War I 1914 Balanced, World War I 1914 Improved and World War I 1914 Tournament Rules belong to @victoryfirst. He will have to decide.

                Cheers...

                1 Reply Last reply
                Reply Quote 0
                • VictoryFirstV
                  VictoryFirst @RogerCooper
                  last edited by

                  @RogerCooper What is the exact change? I lost track of all this. If it does not affect the rest of the game, I'd be OK with making any changes.

                  RogerCooperR 1 Reply Last reply
                  Reply Quote 1
                  • RogerCooperR
                    RogerCooper @VictoryFirst
                    last edited by

                    @VictoryFirst I replaced all references to "placeNoAir" to "place" and added

                    <attachment foreach="$All-Players$" name="rulesAttachment" attachTo="@All-Players@" javaClass="RulesAttachment" type="player">
                    	    <option name="placementAnyTerritory" value="true"/>
                    </attachment>	
                    
                    
                    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
                    • 2 / 2
                    • First post
                      Last post
                    Powered by NodeBB Forums