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

    Total World War: December 1941 3.0.0.6

    Scheduled Pinned Locked Moved Maps & Mods
    661 Posts 35 Posters 1.4m Views 33 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.
    • ubernautU Offline
      ubernaut Moderators
      last edited by

      gotten this message a few times when ai tries to attack subs with air:

      Mar 05, 2019 2:55:57 PM games.strategy.engine.message.unifiedmessenger.UnifiedMessenger invoke
      WARNING: Cant add an event, not a step. Must be in a step to add an event to the step.
      Trying to add event: Recording Battle Statistics
      java.lang.IllegalStateException: Cant add an event, not a step. Must be in a step to add an event to the step.
      Trying to add event: Recording Battle Statistics
      at games.strategy.engine.history.HistoryWriter.startEvent(HistoryWriter.java:120)
      at games.strategy.engine.framework.ServerGame$1.startHistoryEvent(ServerGame.java:123)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at games.strategy.engine.message.unifiedmessenger.EndPoint.invokeSingle(EndPoint.java:151)
      at games.strategy.engine.message.unifiedmessenger.EndPoint.invokeMultiple(EndPoint.java:134)
      at games.strategy.engine.message.unifiedmessenger.EndPoint.invokeLocal(EndPoint.java:120)
      at games.strategy.engine.message.unifiedmessenger.UnifiedMessenger.invoke(UnifiedMessenger.java:145)
      at games.strategy.engine.message.UnifiedInvocationHandler.invoke(UnifiedInvocationHandler.java:48)
      at com.sun.proxy.$Proxy13.startHistoryEvent(Unknown Source)
      at games.strategy.engine.history.DelegateHistoryWriter.startEvent(DelegateHistoryWriter.java:35)
      at games.strategy.triplea.delegate.GameDelegateHistoryWriter.startEvent(GameDelegateHistoryWriter.java:42)
      at games.strategy.triplea.delegate.BattleTracker.sendBattleRecordsToGameData(BattleTracker.java:1105)
      at games.strategy.triplea.delegate.BattleDelegate.end(BattleDelegate.java:113)
      at games.strategy.engine.framework.ServerGame.endStep(ServerGame.java:462)
      at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:434)
      at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:290)
      at java.util.Optional.ifPresent(Optional.java:159)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:41)
      at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
      at java.lang.Thread.run(Thread.java:748)

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

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

        @xAAAx Yeah, adding another entrenchment or AA gun could be done if it seems Malta becomes too easy to take and a no brainer for Italy.

        @ubernaut Ok, are you able to reproduce it? It looks to be a harmless error related to writing to the history log.

        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
        • ubernautU Offline
          ubernaut Moderators
          last edited by

          @redrum not sure only noticed it happened when the AI attacked subs with air both times im pretty sure but ill try to pay attention if it happens again.

          i've also noticed that under certain circumstances AA guns seems to be able to move on their own. is that a bug or is that supposed to be possible under certain conditions in this game?

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

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

            @ubernaut it's a player enforced rule as docks give AA and material +1 movement in order to allow them to load onto transports without trucks.

            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 ah gotcha thanks for clarifying. curious one other thing about train tracks noticed there are two in certain territories. is building more than one track on a territory just for redundancy vs strat bombers or is there some other reason it's advantageous to double them up?

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

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

                @ubernaut Just redundancy vs strat bombing.

                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
                • ubernautU Offline
                  ubernaut Moderators
                  last edited by ubernaut

                  @redrum gotcha thanks, confirmed anytime ai attacks subs with air power it creates that message in TWW.

                  Question, regarding the new sub rules can subs still submerge vs depth charge? Does air only attack of subs get one shot or is it a battle to the death unless attacker retreats?

                  Also noticed that AI never submerges subs (not just in this game but all games) even when it really makes sense to do so. AI seems able to retreat from battle curious why the submerge decision logic is more difficult.

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

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

                    @ubernaut They can submerge after the 1st round of depth charge fires. So if I say have 12 destroyers (no techs) attack a stack of subs with LL then they will always kill 1 sub and then the subs can choose to submerge. Not sure what you mean by "air only attack of subs".

                    The AI should submerge if it doesn't have good odds of surviving. I'm fairly sure it works on maps like revised but haven't ever tested in on TWW. If you have a save game showing an example of when the AI should clearly submerge its subs then I'm glad to take a look at it.

                    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
                    • ubernautU Offline
                      ubernaut Moderators
                      last edited by

                      ive never seen hard ai submerge subs on any map i will send the next save after i attack subs which should be submerging. air can attack subs without the assistance of destroyers now so im guessing they act just like destroyers now (in terms of ability to attack subs before they submerge) so i believe you answered my question there. 🙂

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

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

                        sorry correction, i think ive seen subs submerge in the past but not recently (this version of the engine for sure).

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

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

                          @ubernaut Yeah, strat bombers work exactly the same way as destroyer depth charge. Its possible that I accidentally messed something up with the AI. I'll try to do a quick test later today.

                          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
                          • redrumR Offline
                            redrum Admin @ubernaut
                            last edited by

                            @ubernaut I ran a quick test with the latest pre-release and the AI properly submerges remaining subs on revised when I attack 10 subs with 10 BB: test_revised_submerge.tsvg
                            233ba5da-690b-4ac9-881b-20bceb5b94df-image.png

                            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
                            • redrumR Offline
                              redrum Admin @ubernaut
                              last edited by

                              @ubernaut So there is a bug with v3 sub rules when checking submerging. It works fine in any maps based on v2 rules. Here is the PR with a fix and once that's merged you can test the latest pre-release: https://github.com/triplea-game/triplea/pull/4739

                              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 2
                              • ubernautU Offline
                                ubernaut Moderators
                                last edited by

                                yeah i was playing a lot of domination 1914 lately i think that uses v3 based rules also. not very git capable i have an account but honestly not sure how to do a pull request or compile things on my own very well.

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

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

                                  @ubernaut You can get the latest pre-release here: https://github.com/triplea-game/triplea/releases. Don't need to know anything about github just download the appropriate installer for your OS. Just be careful with save games as the new pre-release isn't compatible with old save games.

                                  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
                                  • wirkeyW Offline
                                    wirkey Moderators
                                    last edited by

                                    not sure if I didn't mention it before or if it got ignored: if you liberate russian or chinese L&L territories you can't reinforce them in ncm as they turn russian/chinese immediately instead of being the territory of the nation on turn. Just doesn't feel right...

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

                                      @wirkey I wasn't aware of that though guessing that issue has always existed in TWW. I'll try to take a look to see if there is a way to fix that.

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

                                      wirkeyW 1 Reply Last reply Reply Quote 1
                                      • wirkeyW Offline
                                        wirkey Moderators @redrum
                                        last edited by

                                        @redrum with my very limited knowledge I'd say a trigger after combat should do it: if territory x is russian/chinese change ownership to UK/US or RUS (for Altay).

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

                                          @wirkey Potentially, though I need to take a look at how the triggers currently work and if its using originalOwner/capturedByGoesTo.

                                          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
                                          • redrumR Offline
                                            redrum Admin @wirkey
                                            last edited by

                                            @wirkey I was able to update the triggers to also fire before non-combat move to fix the liberating L&L territory issue. This will be in v3.0.0.3.

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

                                            wirkeyW 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
                                            • 3
                                            • 4
                                            • 5
                                            • 33
                                            • 34
                                            • 1 / 34
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums