"Server Full" Msg
Most of you know Nillys Realm and that annoying message saying the server is full whenever you try playing, well if you own a server, here is how you can add a message to tell the user that the server is full when they try connecting to a full server. This only works on sources with maxClients implemented, unless you added another way yourself to an earlier source, but I am using FSoD atm, but it's simple.
HelloHandler.cs in wServer.networking.handlers


HelloHandler.cs in wServer.networking.handlers
Code:
if (Manager.Clients.Count >= Manager.MaxClients)
{
client.SendPacket(new FailurePacket
{
ErrorId = 0,
ErrorDescription = "Server full!"
});
client.Disconnect();
return;
}



