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

    ad a new sea zone to an existing map

    Scheduled Pinned Locked Moved Map Making
    46 Posts 7 Posters 6.8k Views 7 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.
    • N Offline
      Numetalfan
      last edited by

      hi,

      that was true, after that manipulation I could start the placement picker.
      However something is wrong.

      In neither place.txt not name_place.txt nor polygons.txt a sea zone 66 appears !

      Just in the centers.txt I find:

      Sicily (1098,780)
      67 Sea Zone (1048,700)
      14 Sea Zone (1197,775)
      69 Sea Zone (1277,234)
      68 Sea Zone (1449,620)
      66 Sea Zone (1094,803)
      Malta (1126,808)

      yet - nothing else in the centers.txt
      The other sea zone are also new one created by me. so far ok with that.

      what went wrong??
      Should I copy those coordinates from centers.txt to the other files via notepad or run some map creating tools to do so?

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

        Hi @Numetalfan

        You created more Sea Zone's then I described. After completing the map modifications, the 'Center Picker' will need to be run. Load the old centers.txt file and remove all the centers (it looks like there are to many centers in the new sea zone, remove old and remark) that were modified, and select centers for the both new and old territories/sea zones.

        Then run the 'Polygon Grabber'. Load the old polygons.txt file. You have to select all the old and new territories/sea zones one at a time and insure that the area selected is what you want. Remember Sicily and Malta were part of Italy.

        Last would be the 'Placement Picker', although I think Malta would be to small for a placement, one square will cover the whole island.

        One step at a time. Slow and easy. You catch on soon!

        Cheers...

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

          @Numetalfan

          How are the new territories? This is what I came up with:
          NewFinish.PNG
          The labels don't look right. Its art...:anguished_face:

          And with a couple of units:
          NewFinish1.PNG

          Keep askin'. Keep tryin'. Keep Moding!

          Cheers...

          1 Reply Last reply Reply Quote 0
          • N Offline
            Numetalfan
            last edited by

            I feel I am close to the solution, but last step, placement picker, doesn't work:

            range -1.PNG

            this happens when I want to load the place.txt.

            for a check I added all relevant files as attachments polygons.txt place.txt centers.txt

            what might the error be?

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

              @Numetalfan

              In the place.txt file both '14 Sea Zone' and 'Gibraltar' have bad entries, and need to be deleted from the file before it will load. You can use any text editor to do this.

              In polygons.txt there is no entry for '68 Sea Zone' or '69 Sea zone'. When you run the Polygon Grabber Sea Zones 5 and 16 will need to be redone to make room for these territories.

              Always trying to help!

              Cheers...

              1 Reply Last reply Reply Quote 0
              • N Offline
                Numetalfan
                last edited by

                Hi,

                I am back and started that mod making again.
                This time my new sea zone 68 makes some trouble.
                in the centers.txt it's fine: 68 Sea Zone (1436,613)
                as well in the polygons.txt:
                68 Sea Zone < (1445,580) (1445,580) (1446,581) (1452,581) (1455,584) (1456,584) (1457,585) (1466,585) (1467,586) (1469,586) (1470,587) (1472,587) (1473,588) (1474,588) (1476,590) (1477,590) (1478,591) (1479,591) (1480,592) (1482,592) (1484,594) (1485,594) (1486,595) (1487,595) (1488,596) (1489,596) (1490,597) (1493,597) (1498,602) (1499,602) (1500,603) (1502,603) (1503,604) (1514,604) (1515,605) (1517,605) (1518,606) (1520,606) (1521,607) (1522,607) (1533,618) (1533,619) (1534,620) (1534,625) (1533,626) (1533,630) (1534,631) (1534,633) (1531,636) (1530,636) (1529,637) (1529,638) (1527,640) (1525,640) (1523,642) (1523,643) (1522,644) (1521,644) (1519,646) (1518,646) (1516,648) (1516,649) (1515,650) (1512,650) (1511,651) (1505,651) (1500,656) (1495,656) (1494,657) (1493,657) (1491,659) (1485,659) (1484,658) (1471,658) (1470,657) (1465,657) (1464,658) (1462,658) (1461,659) (1458,659) (1457,658) (1456,658) (1455,657) (1455,656) (1454,655) (1453,655) (1452,654) (1443,654) (1442,653) (1441,653) (1440,652) (1440,651) (1439,650) (1438,650) (1437,649) (1430,649) (1427,652) (1421,652) (1420,653) (1419,653) (1418,654) (1417,654) (1415,656) (1408,656) (1407,657) (1405,657) (1404,656) (1404,605) (1405,604) (1406,604) (1407,603) (1407,602) (1408,601) (1408,600) (1413,595) (1414,595) (1416,593) (1416,592) (1417,591) (1417,589) (1418,588) (1420,588) (1424,584) (1429,584) (1430,583) (1432,583) (1434,581) (1434,580) (1435,579) (1435,578) (1436,577) (1439,577) (1440,576) (1440,573) (1439,572) (1433,572) (1432,573) (1431,573) (1429,575) (1429,576) (1428,577) (1426,577) (1424,579) (1418,579) (1416,577) (1415,577) (1414,576) (1414,575) (1413,574) (1413,573) (1410,570) (1409,570) (1408,569) (1407,569) (1406,568) (1399,568) (1398,567) (1398,565) (1399,564) (1409,564) (1410,563) (1411,563) (1412,562) (1412,560) (1413,559) (1414,559) (1415,558) (1416,558) (1421,553) (1422,553) (1423,552) (1427,552) (1428,551) (1429,551) (1432,548) (1437,548) (1439,546) (1439,543) (1442,540) (1443,540) (1445,538) (1449,538) (1454,533) (1454,532) (1457,529) (1462,529) (1463,530) (1463,532) (1459,536) (1459,538) (1458,539) (1458,540) (1457,541) (1454,541) (1450,545) (1450,548) (1451,549) (1453,549) (1455,551) (1459,551) (1460,552) (1460,553) (1458,555) (1456,555) (1455,556) (1455,561) (1454,562) (1453,562) (1452,563) (1452,564) (1451,565) (1451,571) (1449,573) (1444,573) (1443,574) (1443,578) >
                when I finally start the placement picker , however, it looks like that:
                seaz68.PNG
                which means the place.txt is wrong.

                Why? In the polygons grabber everything is fine:
                seaz68p.PNG

                what do I miss? What has to be done?

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

                  @Numetalfan

                  The 'Placement Picker' was able to run, so you are making headway. Don't worry its all a learn process!! As to your current problem, when you ran the 'Polygon Grabber' for '68 Sea Zone' did you also reselect '16 Sea Zone' to resize it to its new size. It looks like it '16 Sea Zone' is still all of the "Black Sea" while '68 Sea Zone' is the western half.

                  Helping hands.

                  Cheers...

                  1 Reply Last reply Reply Quote 1
                  • N Offline
                    Numetalfan
                    last edited by

                    Hi,

                    I found that, you were right, bu now everything worked well with the placement picker.
                    all my files seem well, I checked all my territories in the place, centers and polygons files. however, there is a final error message:

                    ul 23, 2020 6:44:01 PM games.strategy.engine.framework.GameRunner lambda$start$0
                    SCHWERWIEGEND: String index out of range: -1
                    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
                    at java.lang.String.substring(Unknown Source)
                    at games.strategy.util.PointFileReaderWriter.readMultiple(PointFileReaderWriter.java:244)
                    at games.strategy.util.PointFileReaderWriter.lambda$readOneToManyPlacements$6(PointFileReaderWriter.java:199)
                    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
                    at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
                    at java.util.Iterator.forEachRemaining(Unknown Source)
                    at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
                    at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
                    at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
                    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
                    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
                    at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
                    at java.util.stream.ReferencePipeline.forEachOrdered(Unknown Source)
                    at games.strategy.util.PointFileReaderWriter.readStream(PointFileReaderWriter.java:263)
                    at games.strategy.util.PointFileReaderWriter.readOneToManyPlacements(PointFileReaderWriter.java:197)
                    at tools.map.making.PlacementPicker$PlacementPickerFrame.loadPlacements(PlacementPicker.java:534)
                    at tools.map.making.PlacementPicker$PlacementPickerFrame.lambda$new$0(PlacementPicker.java:356)
                    at games.strategy.ui.SwingAction$1.actionPerformed(SwingAction.java:65)
                    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
                    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
                    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
                    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
                    at javax.swing.AbstractButton.doClick(Unknown Source)
                    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
                    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
                    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
                    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
                    at java.awt.Component.processMouseEvent(Unknown Source)
                    at javax.swing.JComponent.processMouseEvent(Unknown Source)
                    at java.awt.Component.processEvent(Unknown Source)
                    at java.awt.Container.processEvent(Unknown Source)
                    at java.awt.Component.dispatchEventImpl(Unknown Source)
                    at java.awt.Container.dispatchEventImpl(Unknown Source)
                    at java.awt.Component.dispatchEvent(Unknown Source)
                    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
                    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
                    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
                    at java.awt.Container.dispatchEventImpl(Unknown Source)
                    at java.awt.Window.dispatchEventImpl(Unknown Source)
                    at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
                    at java.awt.EventQueue$4.run(Unknown Source)
                    at java.awt.EventQueue$4.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 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)

                    Jul 23, 2020 8:18:11 PM games.strategy.triplea.ui.mapdata.MapData <init>
                    SCHWERWIEGEND: Error reading map.properties
                    java.io.FileNotFoundException: map.properties
                    at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$2(MapData.java:194)
                    at java.util.Optional.orElseThrow(Unknown Source)
                    at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$3(MapData.java:194)
                    at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:175)
                    at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
                    at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
                    at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
                    at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
                    at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
                    at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
                    at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
                    at java.lang.Thread.run(Unknown Source)

                    Jul 23, 2020 8:18:11 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
                    SCHWERWIEGEND: Failed to start game
                    java.lang.IllegalStateException: No data of type place for territory: Sicily
                    No data of type place for territory: Malta
                    No data of type place for territory: 16 Sea Zone
                    No data of type place for territory: 66 Sea Zone
                    No data of type place for territory: 67 Sea Zone
                    No data of type place for territory: 68 Sea Zone
                    No data of type place for territory: 69 Sea Zone

                    at games.strategy.triplea.ui.mapdata.MapData.verifyKeys(MapData.java:584)
                    at games.strategy.triplea.ui.mapdata.MapData.verify(MapData.java:561)
                    at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:233)
                    at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
                    at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
                    at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
                    at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
                    at java.lang.Thread.run(Unknown Source)
                    

                    Jul 23, 2020 8:50:50 PM games.strategy.triplea.ui.mapdata.MapData <init>
                    SCHWERWIEGEND: Error reading map.properties
                    java.io.FileNotFoundException: map.properties
                    at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$2(MapData.java:194)
                    at java.util.Optional.orElseThrow(Unknown Source)
                    at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$3(MapData.java:194)
                    at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:175)
                    at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
                    at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
                    at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
                    at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
                    at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
                    at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
                    at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
                    at java.lang.Thread.run(Unknown Source)

                    Jul 23, 2020 8:50:50 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
                    SCHWERWIEGEND: Failed to start game
                    java.lang.IllegalStateException: Missing map.width or map.height in map.properties
                    at games.strategy.triplea.ui.mapdata.MapData.getMapDimensions(MapData.java:688)
                    at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:280)
                    at games.strategy.triplea.ui.TripleAFrame.lambda$create$0(TripleAFrame.java:237)
                    at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
                    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 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)

                    Jul 23, 2020 8:56:18 PM games.strategy.triplea.ui.mapdata.MapData <init>
                    SCHWERWIEGEND: Error reading map.properties
                    java.io.FileNotFoundException: map.properties
                    at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$2(MapData.java:194)
                    at java.util.Optional.orElseThrow(Unknown Source)
                    at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$3(MapData.java:194)
                    at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:175)
                    at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
                    at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
                    at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
                    at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
                    at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
                    at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
                    at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
                    at java.lang.Thread.run(Unknown Source)

                    Jul 23, 2020 8:56:18 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
                    SCHWERWIEGEND: Failed to start game
                    java.lang.IllegalStateException: Missing map.width or map.height in map.properties
                    at games.strategy.triplea.ui.mapdata.MapData.getMapDimensions(MapData.java:688)
                    at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:280)
                    at games.strategy.triplea.ui.TripleAFrame.lambda$create$0(TripleAFrame.java:237)
                    at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
                    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 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)

                    Jul 23, 2020 9:08:02 PM games.strategy.triplea.ui.mapdata.MapData <init>
                    SCHWERWIEGEND: Error reading map.properties
                    java.io.FileNotFoundException: map.properties
                    at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$2(MapData.java:194)
                    at java.util.Optional.orElseThrow(Unknown Source)
                    at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$3(MapData.java:194)
                    at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:175)
                    at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
                    at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
                    at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
                    at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
                    at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
                    at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
                    at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
                    at java.lang.Thread.run(Unknown Source)

                    Jul 23, 2020 9:08:02 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
                    SCHWERWIEGEND: Failed to start game
                    java.lang.IllegalStateException: Missing map.width or map.height in map.properties
                    at games.strategy.triplea.ui.mapdata.MapData.getMapDimensions(MapData.java:688)
                    at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:280)
                    at games.strategy.triplea.ui.TripleAFrame.lambda$create$0(TripleAFrame.java:237)
                    at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
                    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 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)

                    what is that error tell me?
                    map.properties?
                    SCHWERWIEGEND: Error reading map.properties
                    java.io.FileNotFoundException: map.properties

                    type place for territory:
                    Jul 23, 2020 8:18:11 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
                    SCHWERWIEGEND: Failed to start game
                    java.lang.IllegalStateException: No data of type place for territory: Sicily
                    No data of type place for territory: Malta
                    No data of type place for territory: 16 Sea Zone
                    No data of type place for territory: 66 Sea Zone
                    No data of type place for territory: 67 Sea Zone
                    No data of type place for territory: 68 Sea Zone
                    No data of type place for territory: 69 Sea Zone

                    Regards

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

                      @Numetalfan

                      Sound like the new territories are not listed in the xml. Make sure that there is a listing for each territory and that the 'Sea Zone's are marked water="true".

                      Also Sicily and Malta will need their separate territoryAttachment.

                      You should be able to test the map without have the connections fixed, but don't forget to do them.

                      Cheers...

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        Numetalfan
                        last edited by

                        @wc_sumpton

                        true, I found several connection mistakes in the xml, all of them are now fine

                        another error occured:

                        Jul 24, 2020 8:19:14 PM games.strategy.triplea.ui.mapdata.MapData <init>
                        SCHWERWIEGEND: Error reading map.properties
                        java.io.FileNotFoundException: map.properties
                        at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$2(MapData.java:194)
                        at java.util.Optional.orElseThrow(Unknown Source)
                        at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$3(MapData.java:194)
                        at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:175)
                        at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
                        at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
                        at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
                        at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
                        at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
                        at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
                        at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
                        at java.lang.Thread.run(Unknown Source)

                        Jul 24, 2020 8:19:14 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
                        SCHWERWIEGEND: Failed to start game
                        java.lang.IllegalStateException: Missing map.width or map.height in map.properties
                        at games.strategy.triplea.ui.mapdata.MapData.getMapDimensions(MapData.java:688)
                        at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:280)
                        at games.strategy.triplea.ui.TripleAFrame.lambda$create$0(TripleAFrame.java:237)
                        at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
                        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 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)

                        what ist the problem with the width and height - where do I check the current state and how to change it to the needed values?

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

                          @Numetalfan

                          This is talking about the map.properties file. This is another file that can be created by the 'Map Creator' utility, and is located in the 'map' directory.

                          There should have been no reason to change this file, so I am unsure what may have happened to it. Even though the 'Map Creator' can create this file, you can not 'Load' it for editing, so any text editor can be used.

                          But I'm worried that if 'map.width=3773' and 'map.height=1830' have been messed up, that there might be other problems. So the easiest solution would be to take a copy of the file from 'world_war_ii_v3', and replace the one in your directory.

                          Cheers...

                          1 Reply Last reply Reply Quote 0
                          • N Offline
                            Numetalfan
                            last edited by

                            YES, everything works now, no more errors.

                            yet, I missed some details:

                            italy.PNG

                            as you can see the new sea zones 66,67 und 68 do exist, but they have no numbers graphically.
                            sea zone 16 now belongs to the western part of Black Sea, but it has no number too. even worse the "16" is located where now the SZ 68 should be

                            there is another problem - the whole map ist white, the territories do not have the colors of the countries, e.g. blue for Italy.

                            How to fix those problems?

                            B HeppsH 2 Replies Last reply Reply Quote 0
                            • B Offline
                              beelee @Numetalfan
                              last edited by

                              @Numetalfan check the map properties. That's where the colors are. Idk about the SZ numbers

                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                Numetalfan
                                last edited by

                                color settings for the map

                                values must be a 6 digit hex number

                                color.Italians=394d86
                                color.British=916400
                                color.Americans=5a5a00
                                color.Russians=af2828
                                color.Germans=5a5a5a
                                color.Japanese=e6b937
                                color.Chinese=4a7300
                                color.Neutral=e87112
                                color.Impassable=d8ba7c

                                map.hasRelief=true
                                map.width=3773
                                map.height=1830

                                should we draw territory names

                                map.showTerritoryNames=false

                                screenshot overlay stuff

                                screenshot.title.x=100
                                screenshot.title.y=50
                                screenshot.title.color=000000
                                screenshot.title.font.size=20
                                screenshot.stats.enabled=true
                                screenshot.stats.x=560
                                screenshot.stats.y=1465
                                screenshot.stats.text.color=000000
                                screenshot.stats.border.color=FFFFFF

                                that's whats the map properties are about

                                B 1 Reply Last reply Reply Quote 0
                                • B Offline
                                  beelee @Numetalfan
                                  last edited by

                                  @Numetalfan that looks fine. Obviously something else causing it. Have to wait for map Wizard wc I guess 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • N Offline
                                    Numetalfan
                                    last edited by

                                    Hi,

                                    what about the naming of the sea zones, where has this to be done?

                                    B 1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      beelee @Numetalfan
                                      last edited by

                                      @Numetalfan yea idk you could check centers and make sure they're in there. I don't know much about the graphics part

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

                                        @Numetalfan

                                        Sea Zone numbers are done as decoration in the decorations.txt file. I personally do not like running the "Decorations Placer" under "Map Creator". Usually I just poke and guess with a text editor until it looks right.

                                        Have you updated the smallMap.jpeg. I'm looking into what might be causing your color problems.

                                        Back soon...

                                        Cheers...

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

                                          @Numetalfan

                                          For the Sea Zone numbers, I have the following in the directions.txt:
                                          b16.png (1386,641)
                                          b66.png (1161,830)
                                          b67.png (1107,735)
                                          b68.png (1480,641)
                                          b69.png (1333,227)

                                          Make sure that the images for these new Sea Zones are in the 'misc' folder.

                                          Also Sicily and Malta:
                                          Sicily.png (1080,769)
                                          Malta.png (1098,801)

                                          As to the missing colors, like @beelee stated it probably has something to do with map.properties.

                                          Cheers...

                                          1 Reply Last reply Reply Quote 0
                                          • N Offline
                                            Numetalfan
                                            last edited by

                                            Hi,

                                            I did all this already and it worked.

                                            Colors: but I doubt it's the map.properties, I copied that file from the WWII_v3.

                                            Or this copy&paste is the reason for the effect

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