Author Topic: Allowing Multiple Players to Connect to the Same Server from the Same Location  (Read 3943 times)

0 Members and 1 Guest are viewing this topic.

♌♑♫AriaSymphony♫♑♌

  • Guest
Players occasionally have problems when trying to allow more than one player to connect to the same server from the same house. This is because they can't share the  single external IP address and port. To resolve this issue, each PC must to use a different port.  Without changing the port number, only the first client will successfully connect. The subsequent ones will simply time-out during the connection process.

The default game client TCP port for Source games port is 27005. The client console or startup command to use for the second client is "+clientport 27006" If you have more people, they would use +clientport 27007, +clientport 27008 and so on for each additional client PC.


The necessary change can either be made in properties of the CSS icon to start CS: Source (or whatever Valve game you are running eg: TF2, CS:GO, etc) or in the game's launch options iin the game library of the Steam Client. You can also simply do it in the game's "Developer Console" each time you start the game.

#1 - To change the icon, right-click on the CSS (or whatever game) icon and select "Properties". Under the Web Document tab, add +clientport 27006 to the end of the existing "URL" (command) line and save the icon. The new URL line should look something like this: steam://rungameid/240 +clientport 27006

NOTE: The "240" in the line above is the number assigned to the game by Valve. Each game will has its own number. 240 is CSS, 440 is TF2, etc.)

In the above example line, this will force CSS to use a different TCP port to communicate with the server when you start it with that icon. You must use that icon to start the game, otherwise it won't work.

#2 - Setting it in the game's launch options:







On a side note, there is also setting on Servers running Mani's Admin Plugin that can be set to allow only one person at a location to join a server. This is often set to prevent ghosting by players. "Ghosting" is when one player is telling the other player sitting next to them what's going on in the server while he spectates after he dies and the other person is still alive and trying to find other players.With this setting enabled, the server screens the IP addresses and if it finds two clients are using the same translated IP, it will only allow the first on to connect. The setting can be disabled. The BOOM! Gaming servers do not use Mani's Admin plugin.

Take care,
Mav

♌♑♫AriaSymphony♫♑♌

  • Guest
This is interesting and good information to know. Though if you're behind a router this shouldn't happen (if I remember how NAT works). Any thanks Mav! Excellent information :D

♌♑♫AriaSymphony♫♑♌

  • Guest
Actually, when you're behind a router is the only time it happens. If you don't have a router there is no way to split the external connection to multiple PCs unless you buy more than one IP from your provider and have a hub. And let'f face it, NAT is often botched, glitched in some cases, disabled on certain routers and often the only fix is a firmware update. Most people would never know how to logon to their router let alone enable NAT or update its firmware. This solution is for people like them.


Mav




♌♑♫AriaSymphony♫♑♌

  • Guest
This is indeed helpful information...I run 4 pcs from my location and sometimes on three of them we have tried to connect to certain servers running that anti ghosting.This has enabled me to run them on the same server.
Pretty funny though listening to people yell from different rooms in the house before it even hits the mic.