So, if I edit this Segment (network.cpp, line 186):
if(Size < 6)
{
dbg_msg("", "connection less packet too small, %d", Size);
return -1;
}
to:
if(Size < 6)
{
return -1;
}
This will just change that you won't see messages in the console (absolutely useless, keep it, it's better.)
Is it possible to ban/log the ip ?
Add this line in your autoexec.cfg
Create a new cfg file called bans which is in the same directory as your autoexec.cfg, get the IP of that person, and add this line in bans.cfg
x which is the IP of that person.
If he has a dynamic IP, you must fix the bug, range ban is buggy (it banned wrong ips in my server)
while(!Success())
TryAgain();
Try until you succeed.