[REQ] REP ++ , good IP limiter for anti - bots
#1

The title says everything. I need a good and strong ip limiter because i am being flooded with b0ts.
I give rep++.
P.S: The ip limiters who exists now on sa-mp.com are bugged and crashing my server.
Thanks.
Reply
#2

Use This:
https://sampforum.blast.hk/showthread.php?tid=320649
Reply
#3

It's pastebin link how to save it to .inc ?
Reply
#4

Copy everything from pastebin and create new text file in your include folder. Paste the code into the file and go to save as. Type FloodControl.inc as new file's name and that's it.
Or, you can download it here:
http://pastebin.com/download.php?i=FxS1CyX5
Reply
#5

I tested it , i made it .inc it worked compiled all good, btw nothing happens, i put rate of connection 1000 which is 1 second i connected 30 bots in less than 2 secs but nothing happened.
Any new scripts??
Reply
#6

yes. you have to put a callback in your sccript after including it!

for example :
pawn Код:
public OnPlayerFloodControl(playerid, iCount, iTimeSpan)
{
    if(iCount > 2 && iTimeSpan < 5000)
    {
      Ban(playerid);
    }
 return 1;
}
Reply
#7

I did this but is not having effect i can connect 20 bots in less 2 seconds.
UP!!!
Reply
#8

Then

if(iCount > 5 && iTimeSpan < 2000)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)