Skip to content

Connecting to a Server

Arves100 edited this page Mar 26, 2020 · 6 revisions

Connecting the Game to the Server

There are currently 3 methods to connect a game into the Server.

  1. Patching the game
  2. Patching the hosts file
  3. Using a DNS Server

DNS server is the optimal choice for games that you cannot patch, but it does not support advanced security and you might need to patch the game in any case if the games uses a secure http connection.

Hosts file is recommended only for development purpose (as it does not require hosting any server) and for a limited range of game that you want to test, it will only work on the system where hosts file is supported.

Patching the game is the optimal choice for any need, it allows to bypass secure connection or allow the system to use a secure connection by modifying the GameSpy's domain.

Connecting to a DNS server

Simply modify the DNS configuration in your system to point to the server you want to connect.

Using hosts file

Modify the hosts file to include all the domains that your game will use, an example with Crysis2: capricorn.chat.gamespy.com <IP of the server> capricorn.available.gamespy.com <IP of the server> capricorn.ms0.gamespy.com <IP of the server> capricorn.master.gamespy.com <IP of the server>

Patching the game (Manual)

Open your favorite hex editor and modify "gamespy.com" to any domain that your server wants to connect. Currently you also need to remove any "https" to "http" to disable security.

Clone this wiki locally