Well this code is to add a player cap if ur source isnt stable or so on but eh its ok
Search for
Under
Add this
Change number 0 to anything u want no more then those players can connect it will just Dc them u can also send amessage to there client to say SERVER FULL. If You use this hit Thanks or If you like hit Thanks:)
Search for
HTML Code:
public void GamePacketHandler(object Sender, HybridSocket Socket)
HTML Code:
{
try
{
HTML Code:
if (World.AllChars.Count > 0)
{
foreach (DictionaryEntry DE in World.AllChars)
{
Character Char = (Character)DE.Value;
Char.MyClient.Drop();
return;
}
}