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

    Need Some Advice...

    Scheduled Pinned Locked Moved Map Making
    5 Posts 3 Posters 2.0k Views 3 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.
    • I Offline
      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.

      HeppsH redrumR 2 Replies Last reply Reply Quote 0
      • HeppsH Offline
        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)

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

        1 Reply Last reply Reply Quote 0
        • redrumR Offline
          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

          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 1
          • HeppsH Offline
            Hepps Moderators @redrum
            last edited by

            @redrum 😃

            Nothing like ruining the rest of the surprises.

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

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

              Ha! That's the stuff.

              It works. Thanks, guys.

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