New Crash !!!
#1

Hello guys.. today i was having 60 players... but suddenly it goes 20 because of fking player crasher (mod blue eclipse...)... and i want an anti crasher script like UIF has. If you have a crasher and attempted to crash a player, the server will closed the connection "Server Closed The Connection" if anyone can script one or have one. That would be great thanks.
Reply
#2

Quote:

It could be one of the new player crashers that's being used on servers lately, http://pastebin.com/BPmF9CZ3 seems to block them.

Enjoy!
Reply
#3

Quote:
Originally Posted by Lucky™
Посмотреть сообщение
Enjoy!
How do I get to ban automatically ?
Reply
#4

Quote:
Originally Posted by neymar1477
Посмотреть сообщение
How do I get to ban automatically ?
detect it first and then ban is easy
Reply
#5

You can also use this include https://sampforum.blast.hk/showthread.php?tid=581017
Reply
#6

Quote:
Originally Posted by neymar1477
Посмотреть сообщение
How do I get to ban automatically ?
By scripting it. Seriously, don't be lazy, you're in the SCRIPTING section.
Reply
#7

Quote:
Originally Posted by neymar1477
Посмотреть сообщение
How do I get to ban automatically ?
pawn Код:
public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ )
{
        new Float:x, Float:y, Float:z;
        GetPlayerPos(playerid, x, y, z);

        //Desync weapon IDs that don't fire bullets
        if (weaponid < 22 || weaponid > 38)
        {
            Ban(playerid);
                return 0;
        }

        //Desync shots with Z pos out of bounds
        if(!(-20000.0 <= z <= 20000.0))
                return 0;

        return 1;
}
Reply
#8

Quote:
Originally Posted by Lucky™
Посмотреть сообщение
pawn Код:
public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ )
{
        new Float:x, Float:y, Float:z;
        GetPlayerPos(playerid, x, y, z);

        //Desync weapon IDs that don't fire bullets
        if (weaponid < 22 || weaponid > 38)
        {
            Ban(playerid);
                return 0;
        }

        //Desync shots with Z pos out of bounds
        if(!(-20000.0 <= z <= 20000.0))
                return 0;

        return 1;
}
thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)