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

    Iron War: Europe - Official Thread

    Scheduled Pinned Locked Moved Maps & Mods
    67 Posts 11 Posters 39.6k Views 11 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.
    • FrostionF Offline
      Frostion Admin @redrum
      last edited by RoiEX

      @redrum The popup-error I am talking about can easily be reproduced by running Iron War Europe (the version posted above) as a game where all players are “Does nothing (AI)”. During the first or start of second round the error pops up. It is obvious connected to the triggers removing fuel from players and other resources that the players can’t use and therefore should be without.

      The triggers try to remove -9999 of specific resources, but the errors states “-25” for some reason.

      I hope you can investigate and find out if this popup is really necessary, because I have seen this pop up on other maps I made that also have triggers that removes resources from players.

      Error:

      triplea.engine.version.bin:1.9
      Loading map: dragon_war, from: C:\Users\David-Corsair\triplea\downloadedMaps\dragon_war-master.zip
      Loading resources from the following paths: [C:\Users\David-Corsair\triplea\downloadedMaps\dragon_war-master.zip, C:\Games\TripleA\assets]
      Loading map: iron_war_europe, from: C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe
      Loading resources from the following paths: [C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe, C:\Games\TripleA\assets]
      Loading map: iron_war_europe, from: C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe
      Loading resources from the following paths: [C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe, C:\Games\TripleA\assets]
      Loading map: iron_war_europe, from: C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe
      Loading resources from the following paths: [C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe, C:\Games\TripleA\assets]
      Loading map: iron_war_europe, from: C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe
      Loading resources from the following paths: [C:\Users\David-Corsair\triplea\downloadedMaps\iron_war_europe, C:\Games\TripleA\assets]
      java.lang.IllegalArgumentException: Cant remove more than player has of resource: Fuel. current:1 toRemove: 25
      	at games.strategy.engine.data.ResourceCollection.removeResource(ResourceCollection.java:58)
      	at games.strategy.engine.data.changefactory.ChangeResourceChange.perform(ChangeResourceChange.java:42)
      	at games.strategy.engine.data.CompositeChange.perform(CompositeChange.java:49)
      	at games.strategy.engine.data.GameData.performChange(GameData.java:501)
      	at games.strategy.engine.history.History.gotoNode(History.java:122)
      	at games.strategy.triplea.ui.history.HistoryPanel.gotoNode(HistoryPanel.java:262)
      	at games.strategy.triplea.ui.history.HistoryPanel.goToEnd(HistoryPanel.java:371)
      	at games.strategy.engine.history.History.goToEnd(History.java:60)
      	at games.strategy.engine.history.HistoryWriter.addToCurrent(HistoryWriter.java:111)
      	at games.strategy.engine.history.HistoryWriter.addToAndSetCurrent(HistoryWriter.java:100)
      	at games.strategy.engine.history.HistoryWriter.startEvent(HistoryWriter.java:124)
      	at games.strategy.engine.framework.HistorySynchronizer$1.lambda$startHistoryEvent$1(HistorySynchronizer.java:64)
      	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      	at java.awt.EventQueue.access$500(Unknown Source)
      	at java.awt.EventQueue$3.run(Unknown Source)
      	at java.awt.EventQueue$3.run(Unknown Source)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      	at java.awt.EventQueue.dispatchEvent(Unknown Source)
      	at games.strategy.engine.framework.GameRunner$1.dispatchEvent(GameRunner.java:333)
      	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      	at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.IllegalArgumentException: Cant remove more than player has of resource: Fuel. current:1 toRemove: 25
      	at games.strategy.engine.data.ResourceCollection.removeResource(ResourceCollection.java:58)
      	at games.strategy.engine.data.changefactory.ChangeResourceChange.perform(ChangeResourceChange.java:42)
      	at games.strategy.engine.data.CompositeChange.perform(CompositeChange.java:49)
      	at games.strategy.engine.data.GameData.performChange(GameData.java:501)
      	at games.strategy.engine.history.History.gotoNode(History.java:122)
      	at games.strategy.triplea.ui.history.HistoryPanel.gotoNode(HistoryPanel.java:262)
      	at games.strategy.triplea.ui.history.HistoryPanel.goToEnd(HistoryPanel.java:371)
      	at games.strategy.engine.history.History.goToEnd(History.java:60)
      	at games.strategy.engine.history.HistoryWriter.addToCurrent(HistoryWriter.java:111)
      	at games.strategy.engine.history.HistoryWriter.addToAndSetCurrent(HistoryWriter.java:100)
      	at games.strategy.engine.history.HistoryWriter.startEvent(HistoryWriter.java:124)
      	at games.strategy.engine.framework.HistorySynchronizer$1.lambda$startHistoryEvent$1(HistorySynchronizer.java:64)
      	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      	at java.awt.EventQueue.access$500(Unknown Source)
      	at java.awt.EventQueue$3.run(Unknown Source)
      	at java.awt.EventQueue$3.run(Unknown Source)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      	at java.awt.EventQueue.dispatchEvent(Unknown Source)
      	at games.strategy.engine.framework.GameRunner$1.dispatchEvent(GameRunner.java:333)
      	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      	at java.awt.EventDispatchThread.run(Unknown Source)
      

      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 Hmm. Do you know of any maps that clear out resources like this? It appears to be coded that way and I wonder if there is a reason or if removing all resources with triggers was never considered.

        @cernel @hepps Any thoughts?

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

        HeppsH FrostionF 2 Replies Last reply Reply Quote 0
        • HeppsH Offline
          Hepps Moderators @redrum
          last edited by

          @redrum Haven't DL'd it yet.... But I'm really not a triggerman. Not sure I am fluent enough to be of any assistance. I'll take a look.

          "A joyous heart sours with the burden of expectation"
          Hepster

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

            @redrum I can see that other maps also have triggers like mine. I did a search in my little limited archive of XMLs for (resourceCount" value="-) and found some maps that also removes large amounts of resources from players in different circumstances. But I don’t know if the maps experience this error also. Maybe only the mapmakers know.

            From Greyhawn wars xml:
            <option name="resource" value="PUs"/>
            <option name="resourceCount" value="-9999"/>
            War of the Middel-Earth 8v8:
            <option name="resource" value="Industry"/>
            <option name="resourceCount" value="-1000"/>
            Civil War: House divided:
            <option name="resource" value="PUs"/>
            <option name="resourceCount" value="-10000"/>

            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
            • CrazyGC Offline
              CrazyG Moderators
              last edited by

              Glad to see this project got going. Hopefully my work settles down because I always enjoy Frostion's maps

              HeppsH 1 Reply Last reply Reply Quote 1
              • HeppsH Offline
                Hepps Moderators @CrazyG
                last edited by Hepps

                @crazyg Agreed. Truly an artist in many disciplines.

                "A joyous heart sours with the burden of expectation"
                Hepster

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

                  Thanks @CrazyG and @Hepps. I have made alle the trigggers for the "SS-Potential" units now manually (took two hours 😁), so this map here is ready to go into open beta. I would like to uploade it to GitHub but I am kind of waiting for a new TripleA engine to be released that supports hiding players at the start menu. I also have an updated Iron War global map that is ready for upload, but that xml is also making use of hidden players (the neutrals), so it is also waiting for a new game release.

                  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

                  HeppsH prastleP 2 Replies Last reply Reply Quote 1
                  • HeppsH Offline
                    Hepps Moderators @Frostion
                    last edited by

                    @frostion What is this hidden players feature you mention?

                    Is there a conversation somewhere I can reference?

                    "A joyous heart sours with the burden of expectation"
                    Hepster

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

                      @Hepps https://forums.triplea-game.org/topic/132/handling-of-ai-players-not-meant-to-be-played-github-request

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

                      HeppsH 1 Reply Last reply Reply Quote 0
                      • HeppsH Offline
                        Hepps Moderators @redrum
                        last edited by

                        @redrum Right... forgot about that. Thanks

                        "A joyous heart sours with the burden of expectation"
                        Hepster

                        1 Reply Last reply Reply Quote 0
                        • prastleP Offline
                          prastle Moderators Admin @Frostion
                          last edited by

                          @frostion looks GREAT! nice job!

                          If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

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

                            I have now updated Iron War Europe to be in line with the Iron War world map. The update details are as follows:

                            BETA version to v1.0.0:
                            • Added missing sea connections that form Strait of Messina.
                            • British Colonial-Infantry now looks different and is now more distinguishable from the normal British Colonies Infantry.
                            • Tank-Destroyers are now listed in purchase screen before the Light, Medium and Heavy Tanks, not after.
                            • The Anti-Air unit now costs 9 PUs, not 7.
                            • The map uses the resource option “isDisplayedFor” to keep nation specific resources only visible to certain players.
                            • Fuel system has been changed. Now ships and land vehicles use 1 fuel to move one territory, and planes pay half of their full potential movement in fuel when moved.
                            • More PUs have been added to many map territories.
                            • Other minor changes.

                            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 3
                            • F Offline
                              ff03k64
                              last edited by

                              Been playing Europe instead of the whole world. Couple of thoughts.

                              I am playing all of one side against the AI.

                              Seems to favor the axis quite a bit. As the allies it went to turn 15 before i was tipped the scales. As axis, i feel like i am in the winning position on turn 5, just a matter of time. I think part of that is the size of the navies.

                              The rally points from IW could be a good addition to this map. USA had difficulties finding a place to put a new factory.

                              Germany and USA had fairly similar colors. Germany was also similar to one of the Balkan nations, but that isn't as big of a deal, as they are allied.

                              After like 2 turns, iron was not much of a factor for me. I don't know how much you wanted that to be a factor, but the fuel is what really limits things for me. AI seems to use more of its iron though.

                              SS troops seem to need a higher TUV value. They are picked first for casualties.

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