3 Replies Latest reply on Jun 17, 2006 4:44 PM by Newsgroup_User

    Make a game between two LAN's

    Level 7
      Hello:

      I need to make a game board with 4 players but the players will be in two
      differents LAN in different countries.
      The game will be very simple by now, only scores and cards.
      Can you tell me what do I need to do this?


        • 1. Re: Make a game between two LAN's
          James Newton, ACP Level 3
          This sounds like a Multiuser question. You can use the Multiuser Xtra to connect up to 16 users on different machines, anywhere in the world, in peer-to-peer mode. This is probably enough for your game.

          You can find a couple of chapters on the Multiuser Xtra and Server at http://nonlinear.openspark.com/book/. The download includes a movie called MUSyntax.dir, which demonstrates all the commands that you can use with the Multiuser Xtra. If you run this movie in two separate browser windows, you can set one movie up to WaitForNetConnection, and the other movie can connect to it using ConnectToNetServer().

          You should find enough information there to get you started.
          • 2. Re: Make a game between two LAN's
            Level 7
            Thank you very much.

            Another question, this Multiuser Xtra and server can run over only one LAN?

            "openspark" <webforumsuser@macromedia.com> escribi� en el mensaje
            news:e6tc4r$7q2$1@forums.macromedia.com...
            > This sounds like a Multiuser question. You can use the Multiuser Xtra to
            > connect up to 16 users on different machines, anywhere in the world, in
            > peer-to-peer mode. This is probably enough for your game.
            >
            > You can find a couple of chapters on the Multiuser Xtra and Server at
            > http://nonlinear.openspark.com/book/. The download includes a movie
            > called
            > MUSyntax.dir, which demonstrates all the commands that you can use with
            > the
            > Multiuser Xtra. If you run this movie in two separate browser windows,
            > you can
            > set one movie up to WaitForNetConnection, and the other movie can connect
            > to it
            > using ConnectToNetServer().
            >
            > You should find enough information there to get you started.
            >


            • 3. Re: Make a game between two LAN's
              Level 7
              Just a few notes before you start:

              There has to be one machine that acts as the host, so that other machines
              can connect to it.
              This machine can be the machine of any of the players.

              The host machine must be accessible by machines outside the lan. This means
              that:
              - it can be reached by ip, and it's ip must be known to the remote machine.
              - the port the Xtra is listening at (waittingForNetConnections) is not
              blocked by firewalls, and is also known to the remote machines.
              Port number can be an issue, cause the remotes must also have access (not
              firewalled) to the hosts' port.
              To simplify things, and avoid firewall issues, you can use a port that is
              most probably not blocked:
              if the host machine is not running a mail server, - or any other service
              that is reseving port 25- you can use port 25.
              A commonly suggested port is 80, but both 80 and 25 are usually open, and
              port 25 is less often used by services running on workstation machines.

              > Another question, this Multiuser Xtra and server can run over only one
              > LAN?
              No. The only 'issue' you may have is that if more than one machine of a
              certain LAN are connected to a remote host, the machines can't be identified
              by ip - the host sees only the external ip, which is the same for both
              machines. But, if no udp messaging is involved, this shouldn't really
              concearn you.
              Just one thing you have to check:
              Some routers may have issues when a machine from their LAN tries to contact
              another machine from the same LAN, by using the router's
              external_IP:targetMachine_Port address, especially if external_IP is a name.
              If you face such a case, check for a router firmware update that includes a
              'dns loopback fix' or something similar.
              Alternativelly -and more complicated- you could use the internal (LAN, e.g.
              192.168.0.10) ip when connecting from inside the LAN, and the external IP
              (ISP provided) when connecting from the outside world (remote LAN / dial-up
              / whatever).

              A third method would include using VPNs, but I don't suppose you 'd want to
              go there...

              regards, and good luck.

              "Anne" <anmalo42@lycos.es> wrote in message
              news:e6tsa5$r2a$1@forums.macromedia.com...
              > Thank you very much.
              >
              > Another question, this Multiuser Xtra and server can run over only one
              > LAN?
              >
              > "openspark" <webforumsuser@macromedia.com> escribi� en el mensaje
              > news:e6tc4r$7q2$1@forums.macromedia.com...
              >> This sounds like a Multiuser question. You can use the Multiuser Xtra to
              >> connect up to 16 users on different machines, anywhere in the world, in
              >> peer-to-peer mode. This is probably enough for your game.
              >>
              >> You can find a couple of chapters on the Multiuser Xtra and Server at
              >> http://nonlinear.openspark.com/book/. The download includes a movie
              >> called
              >> MUSyntax.dir, which demonstrates all the commands that you can use with
              >> the
              >> Multiuser Xtra. If you run this movie in two separate browser windows,
              >> you can
              >> set one movie up to WaitForNetConnection, and the other movie can connect
              >> to it
              >> using ConnectToNetServer().
              >>
              >> You should find enough information there to get you started.
              >>
              >
              >