Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Game Crash when air units in battle

    Maps & Mods
    4
    11
    180
    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.
    • G
      gr8gamerguy last edited by

      Above was an example of error message when only Air Balloon was left. I also got same messages for Orcs' Airship, Elfs' Hippogryph, and Humans' Airship

      A couple other issues related to Air Units:

      1. AI doesn't seem to use Air Transports to move land units.
      2. Air units can attack submarines.
      3. Used Hippygryph to move Ayaana and attacked lone orc footman. Ayaana didn't get blunderbuss targeted attack in that battle.

      Also regarding submarines
      4) Targeted attacks, such as Juggernaut, occur before submarine can first strike. I would suggest moving first strike ability before targeted attacks.

      Other observations:
      5) Marryk's frost delivery only stops units with 1 movement. If unit has 2 or more movement, they get full movement out of space, and can use full movement when moving through a frosted space.
      6) Crown of Kings treasure is giving 10 elite per turn instead of 5 as stated in treasure pop up.
      7) Ally unit can't pick up an unused range weapon left in an allies' space.
      😎 Elf's Ceremonial Fire unit dies at start of next round. Unit should remain and sustain wisps like Ogre Mound and other such territory capturable items.
      9) Ettin should have 2HP.
      10) can't deploy a factory in a space containing a shipyard.
      11) no option to build a shipyard. Factories can't build ships.
      12) may have mentioned this earlier, but too many targeted attacks don't allow selection of casualties and AI always picks most expensive unit it can kill with attack. Should allow user to select casualty.

      1 Reply Last reply Reply Quote 0
      • T
        Trevan last edited by

        What map is this for? And do you have a save game that is already at a battle that shows these issues?

        1 Reply Last reply Reply Quote 0
        • LaFayette
          LaFayette Admin last edited by

          @Trevan I recognize this from this thread:

          • https://forums.triplea-game.org/topic/1031/warcraft-war-heroes-official-thread/256?page=13

          With a stack trace reported in:

          • https://github.com/triplea-game/triplea/issues/7678

          It does look like some of these errors might be consistent, a save game at the moment of error would likely be really helpful.

          tripleabuilderbot created this issue in triplea-game/triplea

          closed 2.2.20868: TransportTracker#unloadAirTransportChange:143 - IllegalStateException #7678

          1 Reply Last reply Reply Quote 0
          • T
            Trevan last edited by

            The images in that thread are helpful so I'll try to duplicate it in battle.

            1 Reply Last reply Reply Quote 1
            • T
              Trevan last edited by

              I've been able to duplicate it. The issue is that the transported units are available as targets for the AA phase. And if you have defenders that can target the transported units during that phase, then the transported unit will die before it is "landed". Then when the "landParatroopers" phase runs, it tries to land a dead unit and goes into a bad state.

              My question is: Should paratroopers be targeted during the AA phase? If they shouldn't then I can remove them from the attacker list until after they've landed. If they should, then I'll need to change the "landParatroopers" phase to ignore dead units.

              Panther 1 Reply Last reply Reply Quote 1
              • LaFayette
                LaFayette Admin last edited by

                Good work digging into this @Trevan

                Typically paratroops are not eligible for AA shots, they are essentially cargo and it's their air transport that is getting shot at. AFAIK paratroops units are removed if their air transport is destroyed.

                I'm a bit curious why these units are different from paratroops infantry in the WWII maps, those paratroop infantries are not targets for AA.

                I wonder if the right fix is to make these units not get shot at by AA. So it would be to be sure if a unit is being air transported, then AA does not fire against that unit, but if the air transport is hit then it needs to be removed and any paratroops it is carrying (which presumably should be handled already in the land paratroop phase, otherwise I really wonder how this works for WWII maps).

                T 1 Reply Last reply Reply Quote 0
                • Panther
                  Panther Admin Moderators @Trevan last edited by

                  @Trevan said in Game Crash when air units in battle:

                  My question is: Should paratroopers be targeted during the AA phase?

                  It depends on the game. We have maps where Paratroopers are "flying infantry", so they are not transported by anything.
                  But they are subject to AA-fire.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Trevan @LaFayette last edited by

                    @LaFayette said in Game Crash when air units in battle:

                    I'm a bit curious why these units are different from paratroops infantry in the WWII maps, those paratroop infantries are not targets for AA.

                    "AA phase" is probably an inaccurate term for the phase since units can target non-airplane units in that phase.

                    They are targeted because the units firing during the AA phase can hit them. If they weren't paratrooped (?), they would be normally fired at during the AA phase without any problems.

                    LaFayette 1 Reply Last reply Reply Quote 0
                    • LaFayette
                      LaFayette Admin @Trevan last edited by

                      @Trevan are these units actually being transported? Agree, self propelled paratroopers are eligible for AA, they are their own transport.

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        Trevan @LaFayette last edited by

                        @LaFayette said in Game Crash when air units in battle:

                        @Trevan are these units actually being transported? Agree, self propelled paratroopers are eligible for AA, they are their own transport.

                        Yes, they are actually transported. The code doesn't prevent shooting air transported items. This is probably because when air transport was written, maps only could shoot at air units during the AA phase.

                        1 Reply Last reply Reply Quote 0
                        • LaFayette
                          LaFayette Admin last edited by

                          Thanks for finding that. I think the fix is for AA to not shoot at air transported units. On the flip side we should be sure they are removed as casualties if the transport is shot down.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums