Navigation

    TripleA Logo

    TripleA Forum

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

    Need Some Advice...

    Map Making
    3
    5
    1418
    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.
    • I
      Invincible Egg last edited by

      Hello,

      I've been experiencing an issue with getting my custom map to launch in both a local game and a networked game with bots. I have hunted down what I believe to be all the bugs in my xml, yet whenever I go to press play in a local lobby, TripleA sort of blinks and then does nothing. In a networked game with bots, it will give me an error message along these lines:

      triplea.engine.version.bin:1.9
      Loading map: east_vs_west, from: C:\Users\Will & Yen\Documents\Axis and Allies\Triplea Downloaded Maps\triplea\downloadedMaps\east_vs_west-master.zip
      Loading resources from the following paths: [C:\Users\Will & Yen\Documents\Axis and Allies\Triplea Downloaded Maps\triplea\downloadedMaps\east_vs_west-master.zip, C:\Users\Will & Yen\Documents\Axis and Allies\TripleA\assets]
      Loading map: east_vs_west, from: C:\Users\Will & Yen\Documents\Axis and Allies\Triplea Downloaded Maps\triplea\downloadedMaps\east_vs_west-master.zip
      Loading resources from the following paths: [C:\Users\Will & Yen\Documents\Axis and Allies\Triplea Downloaded Maps\triplea\downloadedMaps\east_vs_west-master.zip, C:\Users\Will & Yen\Documents\Axis and Allies\TripleA\assets]
      java.lang.reflect.InvocationTargetException
      at java.awt.EventQueue.invokeAndWait(Unknown Source)
      at java.awt.EventQueue.invokeAndWait(Unknown Source)
      at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
      at games.strategy.triplea.TripleA.startGame(TripleA.java:122)
      at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:49)
      at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$150(AbstractLauncher.java:51)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.IllegalStateException: resource not found:smallMap.jpeg

      The key note here being "Caused by: java.lang.IllegalStateException: resource not found:smallMap.jpeg", which is strange because I have a 250 pixel wide shrunken JPEG image of my map in the main folder. My guess is that it isn't quite formatted right, but I've compared it to working community maps, and I haven't found the issue yet.

      For reference, here's my map/game:

      https://drive.google.com/open?id=0B7zDFzKBWgNiOXREVFJRQ0xOb1k

      Anybody have any thoughts? I'm lost.

      Hepps redrum 2 Replies Last reply Reply Quote 0
      • Hepps
        Hepps Moderators @Invincible Egg last edited by

        @invincible-egg Your small map is a png image instead of a Jpeg. (At least in the version you made available in the other thread)

        1 Reply Last reply Reply Quote 0
        • redrum
          redrum Admin @Invincible Egg last edited by redrum

          @invincible-egg You need to rename the smallMap.JPEG -> smallMap.jpeg. TripleA doesn't like the all caps image file extension.

          Then you will see this error:
          No data of type centers for territory:Papau New Guinea

          Which means you are missing Papau New Guinea from the centers.txt and it also appears you are missing it and "SZ Bay of Biscay and The Channel" from a number of the files. So not sure if you want those territories or not. I'll assume you don't and the easy solution is just remove all references of "Papau New Guinea" and "SZ Bay of Biscay and The Channel" from evw.xml.

          Then you'll see this error:
          games.strategy.triplea.ui.mapdata.MapData.getPlayerColor(MapData.java:448)

          This means you don't have player colors defined properly. You need to edit the map.properties nations names to match those in the evw.xml (remove the underscores).

          Then you'll see this error:
          Image Not Found:flags/WarsawPact_small.png

          You need to make sure to have flags for each of the nations properly named (no underscores).

          Here is a working zip: https://drive.google.com/open?id=0B_IYMG8ratY0R0RGZDVmRC1iYUk

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

            @redrum 😃

            Nothing like ruining the rest of the surprises.

            1 Reply Last reply Reply Quote 0
            • I
              Invincible Egg last edited by

              Ha! That's the stuff.

              It works. Thanks, guys.

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