kac_client_antispamconnect request

Make suggestions about futures features here.
Post Reply
dirton
Posts: 6
Joined: Sun Aug 01, 2010 1:52 pm

kac_client_antispamconnect request

Post by dirton » Sat Nov 13, 2010 4:04 pm

Kigen, please modify default sourcecode of client.sp to something like this to let some peaple from the same lan to connect to the server.

Code: Select all

new iClientConnectionsCount = 0;
for(new i=0;i<MAX_CONNECTIONS;i++)
{
	if (StrEqual(g_sClientConnections[i], f_sClientIP))
	iClientConnectionsCount++;
	if (iClientConnectionsCount > 3)
	{
		Format(rejectmsg, size, "Please wait one minute before retrying to connect");
		BanIdentity(f_sClientIP, 1, BANFLAG_IP, "Spam Connecting"); // We do not want this hooked, so no source.
		return false;
	}
}
In this case there could be tree clients from one lan ant neither of them will be kicked on map change.
This is a serious exploit to crash server and with this mod and kac_client_antispamconnect high enought, I think, it'll still get it's job done.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests