Bots Flooding the server
#1

Solved
Reply
#2

Woah, yeah I think it's a new hack basically a player will disconnect in mod ***** using a method "Connecting" then when they rejoin they will spam. Basically it's done using cad. Anyways whats the IP? I wanna have a go can you send via PM please Hope so of the info helped.
Reply
#3

Could be a client modification to do this, which is not allowed.
If you haven't already, check your logs and ban the IP address connecting or wildcard it if the IP is only changing slightly.
Reply
#4

Quote:
Originally Posted by Snowman12
Посмотреть сообщение
Woah, yeah I think it's a new hack basically a player will disconnect in mod ***** using a method "Connecting" then when they rejoin they will spam. Basically it's done using cad. Anyways whats the IP? I wanna have a go can you send via PM please Hope so of the info helped.
I'll PM you the server IP aswell i've locked the server for now just to figure out what's going on.


The other strange problem is i can't use rcon ban or either my ban commands to ban these players.


I've checked the server logs i can't find them in there.
Reply
#5

Okay this is what you do.
Open back up the server
Login on rcon
do /rcon players
Then the user that is spamming
If you see his ip and his playerid do
/rcon ban (playerid) CONSOLE
or /rcon banip (IP).
If that don't work
I'll send you a /banip command to ban them
Give me a rep+ if i helped you.
PM me the server ip.
Reply
#6

Quote:
Originally Posted by Polomikey
Посмотреть сообщение
Okay this is what you do.
Open back up the server
Login on rcon
do /rcon players
Then the user that is spamming
If you see his ip and his playerid do
/rcon ban (playerid) CONSOLE
or /rcon banip (IP).
If that don't work
I'll send you a /banip command to ban them
Give me a rep+ if i helped you.
PM me the server ip.
Thank's for trying but once this happens none of the rcon commands work at all , i've made my own banip command , it just says server unknown command like i said this might be some kind of a new hack.
Reply
#7

Alright,
I'll send you my /banip command
Only thing you need to do is /banip (Playerid)
And the player is perm banned from entering.
Reply
#8

Kitten, contact me. I'll provide you a solution for this.
Reply
#9

I've had problems with this same thing, here's how I got rid of it on my server

pawn Код:
public OnPlayerConnect(playerid)
{
    ResetVars(playerid);
    new time = gettime();
    new IP[16];
    GetPlayerIp(playerid,IP,sizeof(IP));
    //server flooders
    new joins;
    for(new i=0;i<10;i++)
    {
        if(LastTenJoinTimes[i] + 10 >= time)
        {
            if(!strcmp(LastTenJoinIps[i],IP,false) &&
            LastTenJoinIps[i][0] != '\0')
            {
                joins++;
            }
        }
    }
    joins += 1;//so it counts itself
    if(joins >= 3)
    {
        //3 connects from the same IP within 10 seconds
        BanEx(playerid,"Server Flooder");
    }
   
    new index;
    new ttime = time;
    for(new i=0;i<10;i++)
    {
        if(LastTenJoinTimes[i] <= ttime)
        {
            ttime = LastTenJoinTimes[i];
            index = i;
        }
    }
    LastTenJoinTimes[index] = time;
    LastTenJoinIps[index] = IP;
}


public OnPlayerText(playerid,text[])
{
    if(strfind(text,"<insert site here>",true) != -1) return 0;
}
Reply
#10

@cessil
error 017: undefined symbol "LastTenJoinTimes"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)