Update error messages.
This commit is contained in:
@@ -28,8 +28,8 @@ namespace OpenRA.Mods.Common.Server
|
|||||||
static readonly Beacon LanGameBeacon = new Beacon("OpenRALANGame", (ushort)new Random(DateTime.Now.Millisecond).Next(2048, 60000));
|
static readonly Beacon LanGameBeacon = new Beacon("OpenRALANGame", (ushort)new Random(DateTime.Now.Millisecond).Next(2048, 60000));
|
||||||
static readonly Dictionary<int, string> MasterServerErrors = new Dictionary<int, string>()
|
static readonly Dictionary<int, string> MasterServerErrors = new Dictionary<int, string>()
|
||||||
{
|
{
|
||||||
{ 1, "Server ports are not forwarded." },
|
{ 1, "Server port is not accessible from the internet." },
|
||||||
{ 2, "Server contains blacklisted word in server name." }
|
{ 2, "Server name contains a blacklisted word." }
|
||||||
};
|
};
|
||||||
|
|
||||||
public int TickTimeout { get { return MasterPingInterval * 10000; } }
|
public int TickTimeout { get { return MasterPingInterval * 10000; } }
|
||||||
|
|||||||
Reference in New Issue
Block a user