Navigation

    TripleA Logo

    TripleA Forum

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

    Help with hosting? Have tried everything I can think of

    Player Help
    2
    8
    1440
    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
      Grimalkinii last edited by Grimalkinii

      So, I keep trying to host a game with friends. I know everything I've done to set up is right, but I keep encountering the same problem every time I hit the "host networked game" button; apparently this is a problem with others as well. The game console pops up and gives me an error. It also freezes the program for anybody trying to join the game; I am certain I have configured port-forwarding correctly, and I can't figure this out. It's very frustrating.

      The console report looks like this:

      triplea.engine.version.bin:1.9
      INFO [AWT-EventQueue-0] ChatController -> Chatter:Grimalkinii port:3300 ip:2001:0:9d38:6ab8:2418:d77:3f57:fff4 is joining chat:games.strategy.engine.framework.ui.ServerStartup.CHAT_NAME
      SAXParseException: game: Test1, line: 190, column: 26, error: Element type "attatchmentList" must be declared.
      SAXParseException: game: Test1, line: 191, column: 155, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 205, column: 154, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 220, column: 157, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 228, column: 158, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 235, column: 155, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 242, column: 156, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 249, column: 155, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 257, column: 158, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 264, column: 158, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 271, column: 158, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 278, column: 156, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 286, column: 156, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 293, column: 159, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 301, column: 156, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 304, column: 154, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 310, column: 164, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 313, column: 166, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 318, column: 168, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 321, column: 164, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 324, column: 166, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 329, column: 166, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 333, column: 168, error: Element type "attatchment" must be declared.
      SAXParseException: game: Test1, line: 531, column: 8, error: The content of element type "game" must match "(info,loader,triplea?,diceSides?,map,resourceList?,playerList,unitList?,relationshipTypes?,territoryEffectList?,gamePlay,production?,technology?,attachmentList?,initialize?,propertyList?)".

      While I know this may just be on my end, some resolution would be wonderful. Furthermore, if I try to host a game in the "Play Online" lobby, I get an error like this, which is different:

      triplea.engine.version.bin:1.9
      java.lang.NullPointerException
      at games.strategy.engine.framework.startup.mc.ServerModel.gameDataChanged(ServerModel.java:172)
      at games.strategy.engine.framework.startup.mc.ServerModel.lambda$new$116(ServerModel.java:102)
      at java.util.Observable.notifyObservers(Unknown Source)
      at games.strategy.engine.framework.startup.mc.GameSelectorModel.notifyObs(GameSelectorModel.java:249)
      at games.strategy.engine.framework.startup.mc.GameSelectorModel.setGameData(GameSelectorModel.java:244)
      at games.strategy.engine.framework.startup.mc.GameSelectorModel.load(GameSelectorModel.java:76)
      at games.strategy.engine.framework.startup.mc.GameSelectorModel.loadDefaultGame(GameSelectorModel.java:321)
      at games.strategy.engine.framework.startup.mc.GameSelectorModel.lambda$loadDefaultGame$95(GameSelectorModel.java:267)
      at java.lang.Thread.run(Unknown Source)
      INFO [AWT-EventQueue-0] ChatController -> Chatter:Grimalkinii port:3300 ip:2001:0:9d38:6ab8:2418:d77:3f57:fff4 is joining chat:games.strategy.engine.framework.ui.ServerStartup.CHAT_NAME
      host:45.79.144.53 port:3304

      Note that I can join games in the "Play Online" lobby, but not host.

      1 Reply Last reply Reply Quote 0
      • prastle
        prastle Moderators Admin last edited by

        Have a look at this first

        https://forums.triplea-game.org/topic/100/how-to-host

        1 Reply Last reply Reply Quote 0
        • G
          Grimalkinii last edited by

          Have done all of this to no avail. I am still having these problems, which is why I'm at a loss.

          prastle 1 Reply Last reply Reply Quote 0
          • prastle
            prastle Moderators Admin @Grimalkinii last edited by

            @Grimalkinii

            A couple ?

            first what engine are you using be specific ... Example current stable is 1.9.0.0.3635
            second what map?
            third a minor point but some ISP's require an additional fee to be accessible from the internet to host. Mine does.

            G 1 Reply Last reply Reply Quote 0
            • G
              Grimalkinii @prastle last edited by Grimalkinii

              @prastle I am using 1.9.0.0.3635, and so are those trying to connect to me.
              The map I am trying to host is Domination 1914 No Man's Land. I notice ANOTHER error also occurs on trying to enter the "select map" screen, which i will post below.
              I also know my ISP does not have a fee like this.

              triplea.engine.version.bin:1.9
              java.lang.IllegalStateException: No unit type attachment for:factory
              at games.strategy.triplea.attachments.UnitAttachment.get(UnitAttachment.java:54)
              at games.strategy.engine.data.GameParser.checkThatAllUnitsHaveAttachments(GameParser.java:1452)
              at games.strategy.engine.data.GameParser.parse(GameParser.java:168)
              at games.strategy.engine.framework.ui.NewGameChooserEntry.<init>(NewGameChooserEntry.java:58)
              at games.strategy.engine.framework.ui.NewGameChooserModel.createEntry(NewGameChooserModel.java:204)
              at games.strategy.engine.framework.ui.NewGameChooserModel.addNewGameChooserEntry(NewGameChooserModel.java:176)
              at games.strategy.engine.framework.ui.NewGameChooserModel.processZipEntry(NewGameChooserModel.java:128)
              at games.strategy.engine.framework.ui.NewGameChooserModel.populateFromZip(NewGameChooserModel.java:103)
              at games.strategy.engine.framework.ui.NewGameChooserModel.parseMapFiles(NewGameChooserModel.java:86)
              at games.strategy.engine.framework.ui.NewGameChooserModel.<init>(NewGameChooserModel.java:44)
              at games.strategy.engine.framework.ui.NewGameChooser.getNewGameChooserModel(NewGameChooser.java:198)
              at games.strategy.engine.framework.ui.NewGameChooser.createComponents(NewGameChooser.java:53)
              at games.strategy.engine.framework.ui.NewGameChooser.<init>(NewGameChooser.java:43)
              at games.strategy.engine.framework.ui.NewGameChooser.chooseGame(NewGameChooser.java:101)
              at games.strategy.engine.framework.startup.ui.GameSelectorPanel.selectGameFile(GameSelectorPanel.java:394)
              at games.strategy.engine.framework.startup.ui.GameSelectorPanel.lambda$setupListeners$181(GameSelectorPanel.java:216)
              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.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
              at org.pushingpixels.substance.internal.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:124)
              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)SAXParseException: game: Test1, line: 190, column: 26, error: Element type "attatchmentList" must be declared.
              SAXParseException: game: Test1, line: 191, column: 155, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 205, column: 154, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 220, column: 157, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 228, column: 158, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 235, column: 155, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 242, column: 156, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 249, column: 155, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 257, column: 158, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 264, column: 158, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 271, column: 158, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 278, column: 156, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 286, column: 156, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 293, column: 159, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 301, column: 156, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 304, column: 154, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 310, column: 164, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 313, column: 166, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 318, column: 168, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 321, column: 164, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 324, column: 166, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 329, column: 166, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 333, column: 168, error: Element type "attatchment" must be declared.
              SAXParseException: game: Test1, line: 531, column: 8, error: The content of element type "game" must match "(info,loader,triplea?,diceSides?,map,resourceList?,playerList,unitList?,relationshipTypes?,territoryEffectList?,gamePlay,production?,technology?,attachmentList?,initialize?,propertyList?)".
              Could not parse:jar:file:/C:/Users/cody/triplea/downloadedMaps/map_making_tutorial_map.zip!/games/Test1.xml

              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 games.strategy.engine.framework.GameRunner$1.dispatchEvent(GameRunner.java:359)
              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)
              prastle 1 Reply Last reply Reply Quote 0
              • prastle
                prastle Moderators Admin @Grimalkinii last edited by prastle

                @Grimalkinii can you try a different map? like revised and see if you can host
                ?

                Also see if you need a java update

                G 1 Reply Last reply Reply Quote 0
                • G
                  Grimalkinii @prastle last edited by

                  @prastle I have fixed the errors; apparently I need to go into triplea's map folders and delete everything, then redownload the maps.
                  I did update java as well, and it seems the errors no longer occur.

                  As a general question, does the person joining my networked game need to have the same map selected on the Select Map screen to join my game?

                  prastle 1 Reply Last reply Reply Quote 0
                  • prastle
                    prastle Moderators Admin @Grimalkinii last edited by prastle

                    @Grimalkinii that was my next question
                    Have you checked to see if your maps need updating 🙂

                    Hmm networked maybe live no.

                    But you do both need to have the same stable engine and map version to launch live! Thus I would guess the same is needed in a networked game. I haven't played a networked game in hmm, omg, 9 years at least with triplea. Back then the maps came in the download.

                    Also to note! With the new engine you do not have to delete. Just use the in game downloader and check for updates. If you need an update it overwites the old map file. Sadly it only checks itself on the first of the month. If you click ignore it doesnt check for another month. JFYI

                    GLHF glad ya got it fixed

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