11.08.2011, 10:14
(
Last edited by iPLEOMAX; 11/08/2011 at 02:26 PM.
)
Simple Anti-Reconnect Script.
Hi Guys, I made a new FS actually but later converted into
an include and wanted to share with you guys.
What it does?
As you know there are few methods of auto-reconnect when someone gets kicked/banned...
To avoid that, the script will crash the gta of the client.
Most of you use SQL/ini/non rcon ban systems which is
quite sophisticated compared to default rcon ban method.
So, it creates a problem for the server to check the
reconnecters for existence of bans/info or w/e.
Normal ban: (without AR)
-Player pressed the button to reconnect: Rejoins
-Kicked
-Rejoin, server loads the ban info.
-Kicked
-Rejoin, server loads the ban info.
-Kicked
-Rejoin, server loads the ban info. and so on...(Heavy load for Server)
Ban (with AR) -Player pressed the button.
-Rejoins And gets crashed. (No more problems)
Also Good if he cheats to connect to server instantly after getting PingKicked/VoteKicked/Spam,FloodKicked etc..
Make it simple, crash him! xD
Picture (of me getting pwnt. >.>)
How to use?
Download:
Pastebin
Please report bugs if you find any, do something with the script! :P
Post a reply about what you think..
Could be useful, could be useless.. IDK, depends on you. :>
If you like my work, Help me to help a community: AlertPay E-Mail: morshidul@hotmail.com
AlertPay Link
Hi Guys, I made a new FS actually but later converted into
an include and wanted to share with you guys.
What it does?
As you know there are few methods of auto-reconnect when someone gets kicked/banned...
To avoid that, the script will crash the gta of the client.
Most of you use SQL/ini/non rcon ban systems which is
quite sophisticated compared to default rcon ban method.
So, it creates a problem for the server to check the
reconnecters for existence of bans/info or w/e.
Normal ban: (without AR)
-Player pressed the button to reconnect: Rejoins
-Kicked
-Rejoin, server loads the ban info.
-Kicked
-Rejoin, server loads the ban info.
-Kicked
-Rejoin, server loads the ban info. and so on...(Heavy load for Server)
Ban (with AR) -Player pressed the button.
-Rejoins And gets crashed. (No more problems)
Also Good if he cheats to connect to server instantly after getting PingKicked/VoteKicked/Spam,FloodKicked etc..
Make it simple, crash him! xD
Picture (of me getting pwnt. >.>)
How to use?
pawn Code:
//Copy whole text from pastebin and paste it in notepad.
//Save it as "arec.inc" in your Server/pawno/includes folder.
//Then use this in the gamemode script (Use only once out of all server scripts)
#include <arec>
//natives:
ARKick(playerid); //Replace all your Kick(s); with this one.
ARIgnore(playerid); //If you want someone to spam your connection, use this.
ARConnect(playerid); //Add this on TOP of OnPlayerConnect
ARDisconnect(playerid); //Add This on TOP of OnPlayerDisconnect.
//To make it work:
public OnPlayerConnect(playerid)
{
ARConnect(playerid);
}
public OnPlayerDisconnect(playerid, reason)
{
ARDisconnect(playerid);
}
Pastebin
Please report bugs if you find any, do something with the script! :P
Post a reply about what you think..
Could be useful, could be useless.. IDK, depends on you. :>
If you like my work, Help me to help a community: AlertPay E-Mail: morshidul@hotmail.com
AlertPay Link