[Include] :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools!
#1

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?
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);
}
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
Reply


Messages In This Thread
:: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by iPLEOMAX - 11.08.2011, 10:14
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by Jay. - 11.08.2011, 10:31
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by ylleron - 11.08.2011, 10:39
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by Lorenc_ - 11.08.2011, 10:42
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by iPLEOMAX - 11.08.2011, 10:47
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by Basicz - 11.08.2011, 12:17
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by iPLEOMAX - 11.08.2011, 12:21
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by iPLEOMAX - 11.08.2011, 14:19
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by Scenario - 11.08.2011, 14:43
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by iPLEOMAX - 11.08.2011, 14:49
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by Scenario - 11.08.2011, 14:51
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by Sasino97 - 02.09.2011, 09:03
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by FireCat - 02.09.2011, 09:09
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by JoxyBullet - 02.09.2011, 17:27
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by MahdiGames - 21.12.2013, 21:16
Re: :: Anti-Reconnect Script. Avoid Auto Reconnects made by * tools! - by Deduction - 27.12.2013, 13:53

Forum Jump:


Users browsing this thread: 5 Guest(s)