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

    Jurassic v2.0

    Scheduled Pinned Locked Moved Maps & Mods
    30 Posts 4 Posters 428 Views 4 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.
    • G Offline
      GREGOREK @GREGOREK
      last edited by

      reliefTiles are now displaying.
      I have once again brought shame to my family.

      still have the two territories not displaying all their parts as posted above.

      1 Reply Last reply Reply Quote 1
      • G Offline
        GREGOREK
        last edited by

        Here's an interesting wrinkle. I have a memory fault. something I've done or omitted, is trashing memory.

        neanderthal.png

        I associated a territory with one of the players simply to mark it in the game, and suddenly a working territory cannot find the forest factory image which is used everywhere.

        neanderthalNull.png

        The gray box is the new anomaly. All forest territories have an invisible 16x16 factory. Nothing special about this one. Defined exactly like all the others. This error does not happen when the larger polygon loop described above is not assigned a player owner.

        TheDogT 1 Reply Last reply Reply Quote 0
        • TheDogT Offline
          TheDog @GREGOREK
          last edited by

          @GREGOREK
          These version will ignore the missing image and then tell you which image is missing.

          2.7.15256
          ▪ Technology tab split from players tab on to its own tab. (Really good for 1888a & Total World War as they have lots of Tech)
          ▪ Shows any map missing icons as a placeholder square icon.
          ▪ Shows on status bar the relationship(war, neutral, allied) of territories (Really good in FFA maps)
          https://github.com/triplea-game/triplea/releases/tag/2.7.15256

          and
          https://github.com/triplea-game/triplea/releases/tag/2.7.15570

          So upgrade.

          https://forums.triplea-game.org/tags/thedog
          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            GREGOREK @TheDog
            last edited by

            @TheDog
            Upgraded to latest. Now experiencing squint font with no way to change it. (?)
            Problems persist. Factory Image is loaded and used everywhere. XML is script generated so any typo would appear everywhere.
            Getting new error behaviors by simply adding owner to a territory suggests memory trashing somewhere.
            I probably gutted too much out of Jurassic to make a bare-bones XML. Jurassic works with no change to management image files like factories. All carried over to Neanderthal.
            I suspect a missing initializer in the XML.
            Thanks for the help. I'll keep digging.

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              GREGOREK @GREGOREK
              last edited by

              Note: in this latest version, I dont see the debug window. Latest screen error:

              NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getWidth(java.awt.image.ImageObserver)" because "fromFile" is null
              

              Who is this 'Observer'? and are they watching me now?!

              TheDogT wc_sumptonW 2 Replies Last reply Reply Quote 1
              • TheDogT Offline
                TheDog @GREGOREK
                last edited by

                @GREGOREK
                Just checking you know about triplea.log
                It is located here
                C:\Users\%USERNAME%\triplea

                The console looks very similar to triplea.log

                https://forums.triplea-game.org/tags/thedog
                https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                1 Reply Last reply Reply Quote 1
                • wc_sumptonW Offline
                  wc_sumpton @GREGOREK
                  last edited by

                  @GREGOREK said:

                  Who is this 'Observer'?

                  👆

                  Cheers...

                  TheDogT 1 Reply Last reply Reply Quote 0
                  • TheDogT Offline
                    TheDog @wc_sumpton
                    last edited by

                    I will guess this maybe the Observer
                    c5111d2d-4415-49d4-afe8-9f9966fc7ac9-image.jpeg

                    https://forums.triplea-game.org/tags/thedog
                    https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                    G 1 Reply Last reply Reply Quote 1
                    • G Offline
                      GREGOREK @TheDog
                      last edited by

                      @TheDog
                      Thank you for noting location of LOG file.
                      Observer is set to false.

                      26343 13:08:20.484 [pool-4-thread-1] ERROR o.t.game.client.HeadedGameRunner - java.lang.NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getWidth(java.awt.image.ImageObserver)" because "fromFile" is null
                      at games.strategy.triplea.image.TileImageFactory.loadUnblendedImage(TileImageFactory.java:220)
                      at games.strategy.triplea.image.TileImageFactory.getImage(TileImageFactory.java:132)
                      at games.strategy.triplea.image.TileImageFactory.getBaseTile(TileImageFactory.java:116)
                      at games.strategy.triplea.ui.screen.drawable.BaseMapDrawable.getImage(BaseMapDrawable.java:17)
                      at games.strategy.triplea.ui.screen.drawable.MapTileDrawable.draw(MapTileDrawable.java:37)
                      at games.strategy.triplea.ui.screen.Tile.draw(Tile.java:72)
                      at games.strategy.triplea.ui.screen.Tile.drawImage(Tile.java:57)
                      at games.strategy.triplea.ui.panels.map.MapPanel.lambda$paint$9(MapPanel.java:779)
                      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
                      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
                      at java.base/java.lang.Thread.run(Thread.java:1583)
                      

                      The error seems to stem from a baseTile being null. All are good. Including reliefTIles. The map does have a width that aligns exactly to the 256x256 tile size, thus 20x20 tiles, name 0_0.png through 19_19.png. (5120x5120 map width/height in properties) The small map in upper right corner does not display right and bottom edge correctly.

                      neanderthalSmallMap.png

                      The border slicing may have created zero area islands, island chains, and two-pixel spurs. Only noticed two candidates for that, but they display correctly. Get observer error, even with single polygon boxes around territory centers, hasRelief set to false (reliefTiles folder must be removed to not display reliefTiles). I'm going to recreate the XML script from scratch. Maybe missed an initializer, version, or other element that is not optional.

                      Note: map/smallMap.jpeg is 300x300. Is it supposed to be a particular scaled size of main map (which is 5120x5120)?

                      G 1 Reply Last reply Reply Quote 0
                      • G Offline
                        GREGOREK @GREGOREK
                        last edited by

                        Just for a sanity check. Please load this and see if you get the same error.

                        http://john.gregorek.com/Games/neanderthal.zip
                        
                        TheDogT 1 Reply Last reply Reply Quote 0
                        • TheDogT Offline
                          TheDog @GREGOREK
                          last edited by

                          @GREGOREK

                          I declare you sane, I get this

                          918e0180-2a7f-432a-8e1d-6ce9668a18ae-image.jpeg

                          https://forums.triplea-game.org/tags/thedog
                          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

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