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

    Iron War - Official Thread

    Scheduled Pinned Locked Moved Maps & Mods
    662 Posts 26 Posters 1.3m Views 23 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.
    • Black_ElkB Offline
      Black_Elk @Black_Elk
      last edited by

      Just caught this error for the first time... it fired off in the middle of the AI's last turn. I guess Stalin's head exploded from thinking too much about oil hehe. So far it hasn't crashed out the game or anything, but I will probably start a new one anyway.

      0_1495471888064_Iron War Elk vs AI Allies Germany 9.tsvg

      triplea.engine.version.bin:1.9
      Loading map: iron_war, from: C:\Users\jason\triplea\downloadedMaps\iron_war-master.zip
      Loading resources from the following paths: [C:\Users\jason\triplea\downloadedMaps\iron_war-master.zip, C:\Program Files\TripleA_1.9.0.0.3627\assets]
      Loading map: iron_war, from: C:\Users\jason\triplea\downloadedMaps\iron_war-master.zip
      Loading resources from the following paths: [C:\Users\jason\triplea\downloadedMaps\iron_war-master.zip, C:\Program Files\TripleA_1.9.0.0.3627\assets]
      WARNING [Triplea start thread] ProAI -> 8-USSRCombatMove: could not move [Medium-Tank owned by USSR] over Route:Ural -> Sverdlovsk -> Tatarstan because: Not enough resources to perform this move, you need: 2 Fuel for this move
      WARNING [Triplea start thread] ProAI -> 8-USSRNonCombatMove: could not move [Submarine owned by USSR, Submarine owned by USSR] over Route:North Atlantic 3 Sea Zone -> North Atlantic 5 Sea Zone -> Atlantic 7 Sea Zone because: Not enough resources to perform this move, you need: 4 Fuel for this move
      WARNING [Triplea start thread] ProAI -> 8-USSRNonCombatMove: could not move [SP-Artillery owned by USSR] over Route:Irkutsk -> Bartsk -> Khakassia because: Not enough resources to perform this move, you need: 2 Fuel for this move
      WARNING [Triplea start thread] ProAI -> 8-USSRNonCombatMove: could not move [SP-Artillery owned by USSR] over Route:Syria -> Transjordan because: Not enough resources to perform this move, you need: 1 Fuel for this move
      WARNING [Triplea start thread] ProAI -> 8-USSRNonCombatMove: could not move [Medium-Tank owned by USSR] over Route:Ural -> Yamalia -> Khanatia because: Not enough resources to perform this move, you need: 2 Fuel for this move
      WARNING [Triplea start thread] ProAI -> 8-USSRNonCombatMove: could not move [Submarine owned by USSR] over Route:Midway Island Sea Zone -> Pacific 5 Sea Zone -> New Hebrides Sea Zone because: Not enough resources to perform this move, you need: 2 Fuel for this move
      WARNING [Triplea start thread] ProAI -> 8-USSRNonCombatMove: could not move [Mech-Inf owned by USSR] over Route:Orissa -> India -> French India because: Not enough resources to perform this move, you need: 2 Fuel for this move
      WARNING [Triplea start thread] ProAI -> 8-USSRNonCombatMove: could not move [SP-Artillery owned by USSR, Mech-Inf owned by USSR] over Route:Orissa -> Nepal because: Not enough resources to perform this move, you need: 2 Fuel for this move
      WARNING [Triplea start thread] ProAI -> 8-FranceNonCombatMove: could not move [Mech-Inf owned by France] over Route:Gabon -> Equatorial Africa -> Ubangi-Shari because: Not enough resources to perform this move, you need: 2 Fuel for this move
      WARNING [Triplea start thread] ProAI -> 8-French-ColoniesNonCombatMove: could not move [SP-Artillery owned by French-Colonies, Mech-Inf owned by French-Colonies] over Route:India -> Orissa -> Nepal because: Not enough resources to perform this move, you need: 4 Fuel for this move
      WARNING [Triplea start thread] ProAI -> 8-BritainNonCombatMove: could not move [Destroyer owned by Britain, Cruiser owned by Britain] over Route:San Diego Sea Zone -> Gulf of California Sea Zone -> Gulf of Fonseca Sea Zone because: Not enough resources to perform this move, you need: 4 Fuel for this move
      java.lang.OutOfMemoryError: Java heap space
      at java.awt.image.DataBufferByte.<init>(Unknown Source)
      at java.awt.image.Raster.createInterleavedRaster(Unknown Source)
      at java.awt.image.BufferedImage.<init>(Unknown Source)
      at games.strategy.ui.Util.createImage(Util.java:86)
      at games.strategy.triplea.ui.screen.Tile.createBlankImage(Tile.java:90)
      at games.strategy.triplea.ui.screen.Tile.getImage(Tile.java:66)
      at games.strategy.triplea.ui.BackgroundDrawer.run(MapPanel.java:850)
      at java.lang.Thread.run(Unknown Source)

      Black_ElkB redrumR 2 Replies Last reply Reply Quote 0
      • Black_ElkB Offline
        Black_Elk @Black_Elk
        last edited by Black_Elk

        Started up a new full game. This time with Balkans under German control and an AI income boost of 25%. This time decided to take control of everyone on the Axis team, since I enjoy listening to the music play, and makes sure that only AI will get the extra cash.

        I went with an opening attack by the Truk fleet against the USN, but got beat back. Their carrier and battleship stood tall! So a minor setback for the Axis team there, but otherwise things are going as one might hope hehe.

        0_1495473400900_Iron War Elk vs AI Allies x25 income Germany 2.tsvg

        Finally saw the US AI buy a factory for Liberia! haha
        0_1495474712805_Iron War Elk vs AI Allies x25 income Germany 3.tsvg

        Sneaky Americans took Tokyo while we weren't looking 🙂 Nice one AI!
        0_1495477656257_Iron War Elk vs AI Allies x25 income Italy 5.tsvg

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

          I have noticed that errors do pop up sometimes, especially when triggers try to remove PUs or resources from the players that have non, or like when AI wants to move units and does not have fuel for it. I have no idea about what to do when these non-game breaking errors occur 😞
          Also, there seems to be a problem when I load your latest save game and try to look at the history. This also triggers an error.

          Errors like the one popping up (“Could not set property:production subject:TerritoryAttachment attached to:Bulgaria with name:territoryAttachment new value:6”) is something I also see when playing. I think there is some sort of engine problem when showing history after the PU value of some territories has been altered, and this makes an error, especially when one wants to look at history ingame. In this case Bulgaria once had a PU value of 6 at game start, but by round 5 this has been altered by trigger to a new value of 3. This makes an error while looking at history. Help! @Developers

          About your last save:
          It looks to me as you handled the Axis pretty well, up to the point where you lost Japan to a “sneak” attack. (I have also made this mistake before 😜 ) It also seems to me that AI USA had a 90% focus on attacking Japan. Can I ask...

          1. When you play with AI +25% PUs, do you then bombard factories?
          2. Why does Italy have 39 colonial recruitment in the bank? Do you think the colonial troops are worth the buy?
          3. When you play as Germany, do you always send PUs to Finland, Iraq and Iran to keep them alive? I do.
          4. Di you support Thailand with PUs?
          5. Did you send PUs around between the Axis major powers?
          6. How was your need for fuel when controlling all three axis major powers? Were you thirsty? And were you dependant on Iraq and Iran to send their fuel to specific players? I can see that you have ended up with (before italian

          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

          Black_ElkB redrumR 2 Replies Last reply Reply Quote 1
          • Black_ElkB Offline
            Black_Elk @Frostion
            last edited by Black_Elk

            @Frostion

            I'm kind of a capricious overlord, so I generally save all my cash and resources for the big 3 hehe. In the past I would usually assign Finland, Iraq, Iran, and Thailand to the AI, so it's kind of a new thing for me to take control over them.

            I haven't been bombing much lately, I tend to save that as a mop up tactic once it's a forgone conclusion. Or occasionally in retaliation for an AI bombing run. It still feels like a bit of cheap shot, though I suppose with the boost maybe the AI can handle it hehe.

            I usually buy the SS units little by little with Germany, but with Italy for whatever reason I will often let them stack up and then spam colonials at the end. They're definitely worth the cost. Cheap hitpoints are always a good buy haha. Not sure why but usually I'll go with magnified builds, like a bunch of aircraft, or mech or whatever at one time, rather than building up piecemeal. Buying infantry/art and air for several rounds saves on the resources, so when I finally unleash I usually have a fair amount banked to support the play. Since nothing is worse than grinding to a hault mid-move.

            Didn't do much fuel or cash exchanging that time, but might give it a go on the next run. Each time I start I new game I think about a new coordination plan, but then a lot of the time when the purchase screen comes up I'll forget it, and default to greedily spending the whole pile haha.

            Ps. Just did a quick first round under the same conditions, except this time I sent everything I could to Japan, to see how strong we could make them. Here they got 25 PUs from Germany, 25 from Italy and 10 fuel from Iran. This time we aim to keep Tokyo haha
            0_1495491779515_Iron War Elk vs AI Allies x25 income Japan 1.tsvg

            When playing the AI I often give myself over to last minute, impulsive and reckless purchasing haha. Like just there with Japan, I'm sure I had a different thought last round, but sometimes its like, 'hey, lets scrap all that, go ahead and buy 9 fighters, why not!' lol
            0_1495493519466_Iron War Elk vs AI Allies x25 income Germany 3.tsvg

            Looks like the tide is turning against us. A bit of overreach and some assassin strikes by KNIL set us back hehe. Probably should have broken Sumatra right off the bat. But fun stuff!
            Here we are in 43...
            0_1495498479235_Iron War Elk vs AI Allies x25 income Germany 7.tsvg

            Anzac AI sent the pride of the IJN to the bottom of the Sea! haha Brilliant!
            0_1495500905208_Iron War Elk vs AI Allies x25 income Japan 8.tsvg

            @beelee For sure dude! You know how I like to go down, in a blaze of glory heheh

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

              @Black_Elk So the error is "java.lang.OutOfMemoryError: Java heap space" which means TripleA ran out of memory. You probably want to try increasing the memory to avoid that.

              The rest of the "WARNING" messages just indicate the AI tried to do something that wasn't possible. This won't cause any errors but just negatively impacts the AI's performance. It appears most of them have to do with the AI trying to move units that it didn't have enough fuel to move.

              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 @Frostion
                last edited by

                @Frostion Umm I'm not aware of any errors related to changing territory PU values and haven't seen that error message before. Can you post the full error log and a save game to reproduce it?

                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 Frostion

                  @redrum
                  I used the last posted savegames of Black_Elk, and loaded it with the latest version of Iron War. Then I just went into history mode to look at round one, and this triggered the error.

                  I can post the full error tomorrow if you want.

                  Edit: In would imagine the error could be produced by starting a new game with the map option "Balkan states are German" on. This will change the five Balkan territories' PU value during round one. Then in round two one might look at history and trigger the error. But this is just my first thought.

                  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
                  • B Offline
                    beelee @Black_Elk
                    last edited by beelee

                    @Black_Elk
                    seems as if you're having so much fun it should almost be illegal : )
                    well... unless you're in Cal or AK or WA, Oregon... heh heh : )

                    My bad sorry folks : )

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

                      @Frostion You're correct. I easily reproduced using the setting in round 1 and there is a bug with the game history and changing territory production value. Here is the issue to track the bug: https://github.com/triplea-game/triplea/issues/1743

                      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

                        @all
                        Before I report this as an issue, I would like to hear if someone has any ideas about what is going on. When playing as Germany and building a carrier in round one, placing it in the North Sea bordering West Germany, the engine seems to not let me choose what air units to move out onto the new carrier. I would like the 3 fighters to move out onto the carrier, but the engine only seems to let me move 2 air units (1 fighter and one bomber). Why is there no option to choose the 3 fighters instead?
                        This happens regardless of any of the units have moved around on the map in combat or not.

                        Here are some screenshots of the problem:
                        0_1495553608322_Unavngivet.png

                        0_1495553638057_Unavngivet2.png

                        0_1495553647191_Unavngivet3.png

                        Here are the units:
                        Fighter
                        <option name="attack" value="5"/>
                        <option name="defense" value="6"/>
                        <option name="movement" value="4"/>
                        <option name="carrierCost" value="1"/>
                        <option name="isAir" value="true"/>
                        <option name="canScramble" value="true"/>
                        <option name="maxScrambleDistance" value="1"/>
                        <option name="canIntercept" value="true"/>
                        <option name="canEscort" value="true"/>
                        <option name="canAirBattle" value="true"/>
                        <option name="airAttack" value="6"/>
                        <option name="airDefense" value="6"/>

                        Bomber
                        <option name="attack" value="7"/>
                        <option name="defense" value="2"/>
                        <option name="movement" value="6"/>
                        <option name="carrierCost" value="2"/>
                        <option name="isAir" value="true"/>
                        <option name="isStrategicBomber" value="true"/>
                        <option name="bombingMaxDieSides" value="3"/>
                        <option name="canIntercept" value="true"/>
                        <option name="canAirBattle" value="true"/>
                        <option name="airAttack" value="2"/>
                        <option name="airDefense" value="2"/>
                        </attachment>

                        Carrier
                        <option name="attack" value="2"/>
                        <option name="defense" value="2"/>
                        <option name="movement" value="2"/>
                        <option name="fuelCost" value="Fuel" count="1"/>
                        <option name="hitPoints" value="2"/>
                        <option name="isSea" value="true"/>
                        <option name="carrierCapacity" value="3"/>

                        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 redrum

                          @Frostion So it let's you pick 1 fighter and 1 bomber for a total of 3 carrierCost but won't let you select 3 fighters which would be the same cost?

                          Edit: Does it automatically just select 1 fighter and 1 bomber when you choose "2"? Or are you doing something to specifically select those? My hunch is that it is just randomly selecting air units with carrierCapacity and there isn't a way to select specific air units.

                          Edit2: If you remove the bomber from the territory, does it then allow you to select 3 fighters?

                          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 Frostion

                            @redrum

                            "So it let's you pick 1 fighter and 1 bomber for a total of 3 carrierCost but won't let you select 3 fighters which would be the same cost?"
                            Thats right.

                            "Does it automatically just select 1 fighter and 1 bomber when you choose "2"?"
                            Yes, but I cannot choose 3 in any way.

                            "Or are you doing something to specifically select those?"
                            No, there is no option to choose unit type.

                            "If you remove the bomber from the territory, does it then allow you to select 3 fighters?"
                            Yes, then I can click my way to 3 units

                            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 Alright, I understand the problem. We really need to add the ability to select which air units to move to carrier not just randomly select them. This probably hasn't come up much since most maps only have 1 type of air unit that can land on carriers. Can you go ahead and create a github issue for this?

                              As a workaround, you could consider changing the ruleset to make players land air units in the sea territory you are placing the carrier. I personally prefer that rule to the deploying of planes from an adjacent land territory to the carrier.

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

                                @redrum OK, I will post an issue ☺

                                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
                                • Black_ElkB Offline
                                  Black_Elk
                                  last edited by

                                  Yeah this has been going down since the first game I played. I think I mentioned it in my initial posts, though in that instance it was the German air transport that was giving me the issue.

                                  Also sometimes you will run into kinks if two coastal factories border the same sea zone (like Japan and Manchuria for example), where you have to make sure you place in the right order to get the proper fighter prompt for the carrier.

                                  My eventual solution to bombers on carriers was just to make sure I landed them in a different territory than the one I planned to build the carrier from.

                                  Would be sweet if that one got a fix.

                                  Black_ElkB 1 Reply Last reply Reply Quote 1
                                  • Black_ElkB Offline
                                    Black_Elk @Black_Elk
                                    last edited by Black_Elk

                                    possibly related...

                                    Saw something in this Solo Japan game of Iron War, where the US AI in round 3 placement phase attempts to place 2 bombers and 1 dive bomber in the Hawaiian sea zone, only to have them crash into the water because there is no landing spot available on the carrier.

                                    So basically AI just threw 78 PU's into the ocean to no purpose hehe. I think I've seen this happen before with the AI attempting to place air transports in the water too. Often the AI's turns happen so fast it is hard to tell when it happens, but there is definitely TUV lost in the water mysteriously.
                                    0_1495644060355_Elk Japan vs AI Allies US bomber placement on carrier error.tsvg

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

                                      @Black_Elk There is definitely an AI bug there. It appears that the issue is the AI runs out of resources to be able to build all sea units after purchasing a few so only can afford air units in the Hawaiian SZ. It actually realizes there isn't enough carrier room but there is a bug that even though all air units have a 0% chance of being purchased it still selects one of them randomly! Essentially, this is just a rare edge case that has to do with not handling when only air units are available to purchase based on resources in a SZ and none of them have carrier space. This pretty much never happens on 99% of maps since they have cheap sea units like subs or destroyers that would always be available.

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

                                      Black_ElkB 1 Reply Last reply Reply Quote 1
                                      • Black_ElkB Offline
                                        Black_Elk @redrum
                                        last edited by Black_Elk

                                        @redrum Right on. I was wondering what it could be. Managing steel consumption for ships can be a real challenge, so I can see how the AI might botch it occasionally. Even the lowly patrol boat is a steel hog hehe.

                                        Well, for the glory of the Empire I kept it going until Axis economic victory at the end of the 15th round. I was surprised it took so long, since Japan got pretty rich gobbling up Russia. At this point in 1947, India is like the lone hold out standing in the way of complete Japanese domination of Asia.
                                        0_1495654071250_Elk Japan vs AI Allies Japan 16.tsvg

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

                                          @Black_Elk This is now fixed with PR: https://github.com/triplea-game/triplea/pull/1752. Please test once that is merged. I saved the game right before the US turn and used that to reproduce the bug and then verify the AI doesn't do it after the change: 0_1495673931642_test.tsvg

                                          Hopefully, no more throwing away TUV into the ocean 🙂

                                          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 @Frostion
                                            last edited by

                                            @Frostion Thanks for opening the issue: https://github.com/triplea-game/triplea/issues/1751. I'll take a look and see how much effort that would be to implement.

                                            Also after fixing the bug @Black_Elk reported, I ran a test game with all Fast AI for 17 rounds with no errors and it was pretty much dead even on TUV.

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

                                            Black_ElkB 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
                                            • 27
                                            • 28
                                            • 29
                                            • 30
                                            • 31
                                            • 32
                                            • 33
                                            • 34
                                            • 29 / 34
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums