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

    How To Host (using Port-Forwarding)

    Scheduled Pinned Locked Moved Player Help
    39 Posts 14 Posters 39.7k Views 16 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.
    • L Offline
      lehabitant
      last edited by

      all is well now. due to some internet malfunctions i ended up removing my linksys router considering my ISP provides me with a wireless router. logged in and made the port changes and looks like everything is fine now. was able to host. thanks for your help and patience. happy gaming.

      1 Reply Last reply Reply Quote 3
      • jalingoJ Offline
        jalingo
        last edited by

        For Mac OS, when you host a game the system will ask you if TripleA can receive incoming requests (authorize it).

        Once you've hosted a game, it will show the IPv6 address. For other computers on the LAN, they'll have to connect with the host's IPv4 address.

        IP websites will report your router's WAN address, not the one you need. To get the host's local IPv4 address, open terminal and enter "ifconfig getifaddr enX" where X = 0 (eth), 1 (wifi), usually.

        1 Reply Last reply Reply Quote 3
        • S Offline
          simon33 @prastle
          last edited by

          @prastle said in How To Host:

          @prastle How to Host a Bot.
          Anyone that can host can host bots.

          Now you will need to place a bot folder or multiple ones, in the same TripleA program folder. The below is an example of one of my bots. Using windows. Other operating systems are slightly different.

          @echo off
          SET PORT=3363
          SET BOT_NUMBER=25

          SET LOBBY_HOST=45.79.144.53
          SET LOBBY_PORT=3304

          java -server -Xmx320m -Djava.awt.headless=true -classpath bin/triplea.jar games.strategy.engine.framework.headlessGameServer.HeadlessGameServer -Ptriplea.game.host.console=false -Ptriplea.game= -Ptriplea.server=true -Ptriplea.port=%PORT% -Ptriplea.lobby.host=%LOBBY_HOST% -Ptriplea.lobby.port=%LOBBY_PORT% -Ptriplea.name=Bot%BOT_NUMBER%_Pras1 -Ptriplea.lobby.game.hostedBy=Bot%BOT_NUMBER%_Pras1 -Ptriplea.lobby.game.supportEmail=prastle7@hotmail.com -Ptriplea.lobby.game.comments="automated_host" -Ptriplea.lobby.game.reconnection=172800

          pause

          Save the above to a notepad file and rename it with the name and number that you wish for your bot. Make sure it is using one of the correct port numbers you have opened on your router. Now resave the notepad file as a .bat file and place it in your Triple program folder. Test to see if your bot launches in the lobby. @RoiEX please have a look at this and see if you agree thanks Pras

          Are this instructions out of date? I get:
          Error: Could not find or load main class games.strategy.engine.framework.headlessGameServer.HeadlessGameServer

          What it should be isn't obvious to me. Works fine on build 3635.

          Also, why is the port 3363? I thought it should default to 3300?

          prastleP 1 Reply Last reply Reply Quote 0
          • prastleP Offline
            prastle Moderators Admin @simon33
            last edited by prastle

            @simon33 Port is whatever you are using
            new file is located here

            https://github.com/triplea-game/triplea/releases/download/1.9.0.0.12469/triplea-game-headless-1.9.0.0.12469.zip

            Last time I worked with it was .10182

            you need to place the headless file in the same folder as the new headed file

            If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

            1 Reply Last reply Reply Quote 1
            • RoiEXR Offline
              RoiEX Admin
              last edited by

              @simon33 What @prastle said.
              You're using an outdated script.

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

                @RoiEX
                I assume we have to make changes to the router. Our router is controlled completely by our isp. Are there commands we can run to do the port forwarding without having to get into the router?

                3300 is open

                prastleP 2 Replies Last reply Reply Quote 0
                • prastleP Offline
                  prastle Moderators Admin @beelee
                  last edited by

                  @beelee you need to port forward the router and allow triplea through your windows firewall. A good site to look at is portforward.com

                  If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

                  B 1 Reply Last reply Reply Quote 1
                  • prastleP Offline
                    prastle Moderators Admin @beelee
                    last edited by

                    @beelee Also if you figure out how to portforward a cell modem let me know 🙂

                    If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

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

                      @prastle

                      yea i can't log in to my router. My ip has to do it ( MCI ) I also have Century Link, but it's pretty slow. I should be able to change it though

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

                        @prastle said in How To Host:

                        @beelee Also if you figure out how to portforward a cell modem let me know 🙂

                        heh heh will do

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

                          hmm... i still can't get it to work

                          1 Reply Last reply Reply Quote 0
                          • RoiEXR Offline
                            RoiEX Admin
                            last edited by

                            Not really able to help you at this point, but once we have a new stable, I can show you something that'll 100% work (if there are no bugs that is) regardless of your ISP.

                            1 Reply Last reply Reply Quote 1
                            • bluelionmanB Offline
                              bluelionman
                              last edited by

                              I'm really not very skilled tried to set up being a host and got these error messages (game engine 2.1):

                              e1eb1535-913b-4e6b-85e9-a1211db8444e-image.png

                              Where would you rather be than right here, right now!

                              1 Reply Last reply Reply Quote 0
                              • RoiEXR Offline
                                RoiEX Admin
                                last edited by

                                @bluelionman Both "error messages" actually reffer to the same problem it seems.

                                Some technical details @LaFayette : The detailed Dialog is shown asynchronously which doesn't prevent the NullPointerException from happening, that's why 2 dialogs are shown. We might want to create an issue for this.

                                But back to the topic: @bluelionman Can you explain what you did in order to follow the steps above?
                                It seems like port-forwarding is not setup correctly which is why the lobby can't reach your host.

                                bluelionmanB 1 Reply Last reply Reply Quote 0
                                • bluelionmanB Offline
                                  bluelionman @RoiEX
                                  last edited by

                                  @RoiEX I just followed the instructions watching the YouTube video but it didn't work - clicked on host game and went from there - I really am unsure what to do in my PC settings I'd like to give your website permission get through but don't wanna down my firewalls otherwise. I also think the videos on YouTube could do with updating as not sure the screen and options shown are totally like whats in the videos now. Or maybe I'm just a dim wit. Perhaps I can chat to someone talk me though live how to set up hosting capability.

                                  Is there still a way to play through a forum (is it this forum)?

                                  Where would you rather be than right here, right now!

                                  1 Reply Last reply Reply Quote 0
                                  • RoiEXR Offline
                                    RoiEX Admin
                                    last edited by

                                    watching the YouTube video

                                    Which YouTube video? 😳

                                    Is there still a way to play through a forum (is it this forum)?

                                    Yes, PbF still exists. You can choose between this forum and the one over at axisandallies.org

                                    bluelionmanB 1 Reply Last reply Reply Quote 0
                                    • bluelionmanB Offline
                                      bluelionman @RoiEX
                                      last edited by

                                      @RoiEX said in How To Host (using Port-Forwarding):

                                      watching the YouTube video

                                      Which YouTube video? 😳

                                      This one:

                                      https://youtu.be/c9cfHsoWQoI

                                      Where would you rather be than right here, right now!

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        SilverBullet @bluelionman
                                        last edited by

                                        @bluelionman yeah i am not sure if that video is still correct, if it isnt we could use one that helps people host.

                                        1 Reply Last reply Reply Quote 1
                                        • S Offline
                                          Sir DSM @RoiEX
                                          last edited by Sir DSM

                                          @RoiEX what about v6 to v4 - some isps serve v6 addresses to linux clients and end to end is now broken..dsm

                                          1 Reply Last reply Reply Quote 1
                                          • RoiEXR Offline
                                            RoiEX Admin
                                            last edited by

                                            @Sir-DSM In theory the client should support IPv6.
                                            Could you go into more detail on what you consider broken?

                                            1 Reply Last reply Reply Quote 1

                                            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