[FilterScript] Anti Bot - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Anti Bot (
/showthread.php?tid=395960)
Anti Bot -
HavingGood - 28.11.2012
Hello all, I present to you a script in anti-bot.
I made it in 4 minutes.
Link to the script:
http://www.sendspace.com/file/43vm96
Have a great use.
I'm sorry for bad spelling.
Re: Anti Bot -
Kontrol - 29.11.2012
you made in 4 minutes? surely isn't that big the fore can be uploaded onto pastebin? really expect people to download when you've wrote no information hardly?-.-
Re: Anti Bot -
HavingGood - 29.11.2012
Im sorry but i live in France and i don't spelling english, God ....
Re: Anti Bot -
Konstantinos - 29.11.2012
Can you explain me one line?
pawn Код:
if(!IsPlayerConnected(i) || i == playerid) continue;
Please, explain this line what it does, I can't understand.
Re: Anti Bot -
HavingGood - 30.11.2012
This line checks to see if the player is connected to the server.
and this line verifies the connection with bots.
Do you know ? ;p
Re: Anti Bot -
Konstantinos - 30.11.2012
Not a complete answer that I wanted to hear. I know the function IsPlayerConnected.
I'm talking about the rest; why do you check if i is equal to playerid and why do you skip that?
Re: Anti Bot -
Alcatraz Gaming - 30.11.2012
pawn Код:
"Player %s has been banned for btting server"
You mean,
pawn Код:
"Player %s has been banned for bot attacking the server"
Also, for every kick, a SendClientMessage will come. Imagine a 100 bots attacking the server. The bot will kick them all, and also spamming the chat
pawn Код:
SendClientMessage(playerid,RED, "This server using AntiBot by HavingGood");
Remove that, if you don't want spam.
Pastebin version -
http://pastebin.com/RBK5esZZ
Re: Anti Bot -
HavingGood - 30.11.2012
A revised version:
http://pastebin.com/CNjRedbk
Re: Anti Bot -
NoahF - 30.11.2012
It's really not that advanced compared to some others. It's poorly made.
Re: Anti Bot -
SuperViper - 30.11.2012
You didn't even test or compile this.