Tutorial: Master Server Settings

Post Reply
User avatar
Darkelarious
Posts: 27
Joined: Sun Jan 01, 2012 9:56 am
What is the middle number? (one, TWO, three): 2
ExtraAntiSpam: Blue
extraextraantispam: Yes
NoMoreSpam: Silver
Location: Phobos Moon Station, somewhere between Deimos and Mars.
Contact:

Tutorial: Master Server Settings

Post by Darkelarious » Tue Feb 28, 2012 6:38 pm

This is a summarised version of http://333networks.com/masterserver. This sticky replaces all previous instructions/settings you may have read.

As admin, to add your server in the MasterServer list, open UnrealTournament.ini in your UT's System folder and find the following lines in the [Engine.GameEngine] section.

Code: Select all

[Engine.GameEngine]
CacheSizeMegs=4
UseSound=True
ServerActors=IpDrv.UdpBeacon
ServerActors=IpServer.UdpServerQuery
ServerActors=IpServer.UdpServerUplink MasterServerAddress=unreal.epicgames.com MasterServerPort=27900
ServerActors=IpServer.UdpServerUplink MasterServerAddress=master0.gamespy.com MasterServerPort=27900
ServerActors=IpServer.UdpServerUplink MasterServerAddress=master.telefragged.com MasterServerPort=27500
ServerActors=UWeb.WebServer
ServerPackages=SoldierSkins
ServerPackages=Botpack
The line for the 333networks MasterServer can be added to the already existing MasterServer addresses.

Code: Select all

ServerActors=IpServer.UdpServerUplink MasterServerAddress=master.333networks.com MasterServerPort=27900
The result should look like this.

Code: Select all

[Engine.GameEngine]
CacheSizeMegs=4
UseSound=True
ServerActors=IpDrv.UdpBeacon
ServerActors=IpServer.UdpServerQuery
ServerActors=IpServer.UdpServerUplink MasterServerAddress=unreal.epicgames.com MasterServerPort=27900
ServerActors=IpServer.UdpServerUplink MasterServerAddress=master0.gamespy.com MasterServerPort=27900
ServerActors=IpServer.UdpServerUplink MasterServerAddress=master.telefragged.com MasterServerPort=27500
ServerActors=IpServer.UdpServerUplink MasterServerAddress=master.333networks.com MasterServerPort=27900
ServerActors=UWeb.WebServer
ServerPackages=SoldierSkins
ServerPackages=Botpack
Restart your server. In the server output you may now recognize the following lines:

Code: Select all

Resolving master.333networks.com...
Resolved master.333networks.com (127.0.0.1)
UdpServerUplink: Master Server is master.333networks.com:27900
UdpServerUplink: Port 7739 successfully bound.
And with that, your server is now added to the 333networks MasterServer.
Congratulations!



The next tutorial will describe how to use the MasterServer in your UT Online Games browser. Can't wait? Go to http://333networks.com/masterserver and read the long version!

User avatar
Hermskii
Site Admin
Posts: 8500
Joined: Sun Jul 10, 2005 9:56 pm
What is the middle number? (one, TWO, three): 2
ExtraAntiSpam: Blue
extraextraantispam: Yes
NoMoreSpam: Silver
Location: Houston, Texas
Contact:

Re: Tutorial: Master Server Settings

Post by Hermskii » Tue Feb 28, 2012 7:14 pm

Awesome to know. Awesomer to have. Thanks D! Very nice work!
~Peace~

Hermskii

User avatar
Darkelarious
Posts: 27
Joined: Sun Jan 01, 2012 9:56 am
What is the middle number? (one, TWO, three): 2
ExtraAntiSpam: Blue
extraextraantispam: Yes
NoMoreSpam: Silver
Location: Phobos Moon Station, somewhere between Deimos and Mars.
Contact:

Re: Tutorial: Master Server Settings

Post by Darkelarious » Sat Apr 21, 2012 4:23 pm

A while ago, I promised to add something more about adding the 333networks MasterServer to your in-game Server Browser (or known as Ubrowser). It was about time that I kept my end of the bargain!

Default situation
Unreal Tournament (and Demo) have settings for a default MasterServer built-in. In UnrealTournament.ini, in your game folder (C:\Tournamentdemo\System or C:\UnrealTournament\System for the regular user) you will find the following lines:

Code: Select all

[UBrowserAll]
ListFactories[0]=UBrowser.UBrowserGSpyFact,MasterServerAddress=unreal.epicgames.com,MasterServerTCPPort=28900,Region=0,GameName=ut
ListFactories[1]=UBrowser.UBrowserGSpyFact,MasterServerAddress=master0.gamespy.com,MasterServerTCPPort=28900,Region=0,GameName=ut
These lines 'tell' Unreal Tournament where the MasterServer can be found, what port and what game (e.g. unreal, ut). However, so far we only described how Unreal Tournament uses this list.

333networks has it's own MasterServers online. These servers are located on master.333networks.com:27900 and on darkelarious.blicky.net:27900 (which is just a different label/domain for the same MasterServer). These MasterServers are used by our server lists and serve like stand-alone MasterServers in case the other MasterServers fail, like in the autumn of 2008.

Adding it to your list
If are a (regular) player and you want to use the masterlist used for this site, open UnrealTournament.ini in your UT's System folder and add or edit the following lines (highlighted) in the [UBrowserAll] section. The code should look like the following lines. Make sure there are NO SPACES in those lines.

Code: Select all

[UBrowserAll]
ListFactories[0]=UBrowser.UBrowserGSpyFact,MasterServerAddress=master0.gamespy.com,MasterServerTCPPort=28900,Region=0,GameName=ut
ListFactories[1]=UBrowser.UBrowserGSpyFact,MasterServerAddress=master.333networks.com,MasterServerTCPPort=28900,Region=0,GameName=ut
bFallbackFactories=True
bHidden=True
Hence the second line. This is the line to be added.

There is one side-note: there have been reports of ONLY servers from the 333networks MasterServer showing up, where other people had no servers showing up at all. The theory is as follows: the UBrowser shows only the first-working MasterServer in the list. Feel free to discuss these observations hereinafter!

The next tutorial will describe how the MasterServer actually functions. Can't wait? Go to http://333networks.com/masterserver and read the long version! You may also have noticed the new "like" buttons on 333networks. Please feel generous, and "like" the $^&@ out of us!

User avatar
Hermskii
Site Admin
Posts: 8500
Joined: Sun Jul 10, 2005 9:56 pm
What is the middle number? (one, TWO, three): 2
ExtraAntiSpam: Blue
extraextraantispam: Yes
NoMoreSpam: Silver
Location: Houston, Texas
Contact:

Re: Tutorial: Master Server Settings

Post by Hermskii » Sat Apr 21, 2012 8:39 pm

Good deal. Thanks.
~Peace~

Hermskii

User avatar
Darkelarious
Posts: 27
Joined: Sun Jan 01, 2012 9:56 am
What is the middle number? (one, TWO, three): 2
ExtraAntiSpam: Blue
extraextraantispam: Yes
NoMoreSpam: Silver
Location: Phobos Moon Station, somewhere between Deimos and Mars.
Contact:

Re: Tutorial: Master Server Settings

Post by Darkelarious » Mon Sep 17, 2012 1:39 pm

A while ago, I promised to add something more about adding the 333networks MasterServer to your in-game Server Browser (or known as Ubrowser). It was about time that I kept my end of the bargain!

Basic Operation
A MasterServer is a server that maintains a list of all servers (of a certain game) that are currently online. When you open your Multiplayer Games menu and select Internet Games, in a few seconds a list of UTdemo servers will appear. From there you can see the map name, players, game rules and you can click to enter the server. This works the same way for both the full version and the demo. It looks easy, but this is in fact what happens:
  1. Every UTdemo server sends a signal to the MasterServer every minute or so.
  2. The MasterServer keeps a list of all these servers, storing the IP and query port during this minute.
  3. When you open your Multiplayer Games menu and select Internet Games, you request and receive this server list.
  4. The MasterServer sends you this list. Your UTdemo then performs a check on all servers in this list. This query is a request to each and every server in the list that you received from the MasterServer. Every server responds to this request with the server name, mapname, number of players, etc.
  5. And now you can see every server name of servers that is online and choose to join it.
[center]Image[/center]

Ubrowser
Unreal Tournament (and Demo) have the correct settings for this MasterServer by default. In UnrealTournament.ini, in your game folder (C:\Tournamentdemo\System or C:\UnrealTournament\System for the regular user) you will find the following lines:

Code: Select all

[UBrowserAll]
ListFactories[0]=UBrowser.UBrowserGSpyFact,MasterServerAddress=unreal.epicgames.com,MasterServerTCPPort=28900,Region=0,GameName=ut
ListFactories[1]=UBrowser.UBrowserGSpyFact,MasterServerAddress=master0.gamespy.com,MasterServerTCPPort=28900,Region=0,GameName=ut
These lines 'tell' Unreal Tournament where the MasterServer can be found, what port and what game (e.g. unreal, ut). However, so far we only described how Unreal Tournament uses this list.

Signal
To make your server visible, you need to send a signal, called a Beacon (or UDPBeacon) every minute to the MasterServer. Of course, Unreal Tournament can do this automatically. You can also add an uplink to a custom MasterServer manually. Only; this time you need to specify the servers you want to send your beacon to. For example, to our MasterServer. This can be done by adding a line similar to the lines from the following example. Unreal Tournament already has three standard MasterServers listed (the long lines).

Code: Select all

[Engine.GameEngine]
CacheSizeMegs=4
UseSound=True
ServerActors=IpDrv.UdpBeacon
ServerActors=IpServer.UdpServerQuery
ServerActors=IpServer.UdpServerUplink MasterServerAddress=unreal.epicgames.com MasterServerPort=27900
ServerActors=IpServer.UdpServerUplink MasterServerAddress=master0.gamespy.com MasterServerPort=27900
ServerActors=IpServer.UdpServerUplink MasterServerAddress=master.telefragged.com MasterServerPort=27500
ServerActors=UWeb.WebServer
ServerPackages=SoldierSkins
ServerPackages=Botpack
MasterServer
(At the moment this tutorial was written, unreal.epicgames.com already stopped the service for the MasterServer)

[center]Image[/center]

So, concluding the description about how it works, we can say that the MasterServer is nothing more than a (small) program that keeps a list of all servers.

Instructions
333networks has it's own MasterServers online. These servers are located on master.333networks.com:27900 and on darkelarious.blicky.net:27900 (which is just a different label/domain for the same MasterServer). These MasterServers are used by our server lists and serve like stand-alone MasterServers in case the other MasterServers fail, like in the autumn of 2008. With the instructions in previous posts, you can add our MasterServers to your Internet Games (for players) or add your server to our MasterServers (for admins).

Post Reply