Yes you may not need it but eh i might aswell release it XD
In your release/debug folder make a txt doc where the ips will be stored
Now in General.cs find public static
Code:
System.IO.StreamWriter sw = new System.IO.StreamWriter(Application.StartupPath + @"ServerLog.txt", true);
Code:
public static string BannedIP = System.IO.File.ReadAllText(Application.StartupPath + @"IPTEXTFILLYOUMADE.txt"); System.IO.StreamWriter(Application.StartupPath + @"ServerLog.txt", true);
Now in General.cs again find the AuthPacket void
Search for
Code:
if (Auth != 0)
{
General.WriteLin(blahblah)
Code:
if (Auth != 0)
{
if (BannedIP.Contains(Ip))
{
Sock.Disconnect(true);
}
General.WriteLine("Successful login for Account " + ":" ThisAcc + "-IP-" + Ip);






