SA-MP Forums Archive
Attack - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Attack (/showthread.php?tid=388750)



Attack - arman'as - 30.10.2012

Hey, my server try hack, how I can protect?
Logs:
Quote:

[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID
[12:00:23] Warning: PlayerDialogResponse PlayerId: 1 dialog ID doesn't match last sent dialog ID

10k+ lines and:
Quote:

[11:58:43] [kill] Edvardas_Demon killed Puze_Brah Parachute
[11:58:43] [kill] Eris_Ganas killed Puze_Brah Heat Seaker
[11:58:43] [kill] Nerijus_Tomkus killed Puze_Brah
[11:58:43] [kill] Lebron_James killed Puze_Brah Flowers
[11:58:43] [kill] Terpsichor_Ninhurzag killed Puze_Brah M4
[11:58:43] [kill] Danielius_Pro killed Puze_Brah Bomb
[11:58:43] [kill] Danielius_Pro killed Puze_Brah Satchel Explosives
[11:58:43] [kill] Ken_Brown killed Puze_Brah Satchel Explosives
[11:58:43] [kill] Lebron_James killed Puze_Brah Baseball Bat
[11:58:43] [kill] Eris_Ganas killed Puze_Brah Katana
[11:58:43] [kill] Nerijus_Tomkus killed Puze_Brah
[11:58:43] [kill] Ken_Brown killed Puze_Brah Dildo
[11:58:43] [kill] Danielius_Pro killed Puze_Brah Pool Cue
[11:58:43] [kill] Donce_Petrazole killed Puze_Brah Rifle
[11:58:43] [kill] Aleta_Kazilionyte killed Puze_Brah Desert Eagle
[11:58:43] [kill] Nerijus_Tomkus killed Puze_Brah
[11:58:43] [kill] Lebron_James killed Puze_Brah
[11:58:43] [kill] Nerijus_Tomkus killed Puze_Brah Vibrator
[11:58:43] [kill] Pavel_Orlov killed Puze_Brah Flowers
[11:58:43] [kill] Edvardas_Demon killed Puze_Brah Sniper Rifle
[11:58:43] [kill] Danielius_Pro killed Puze_Brah Silenced Pistol
[11:58:43] [kill] Ken_Brown killed Puze_Brah Desert Eagle
[11:58:43] [kill] Donce_Petrazole killed Puze_Brah Bomb
[11:58:43] [kill] Pavel_Orlov killed Puze_Brah Katana
[11:58:43] [kill] Terpsichor_Ninhurzag killed Puze_Brah Chainsaw
[11:58:43] [kill] Pavel_Orlov killed Puze_Brah Vehicle
[11:58:43] [kill] Danielius_Pro killed Puze_Brah Golf Club




Re : Attack - lelemaster - 30.10.2012

I think you should ban Puze_Brah because there is something is the hack called Fake kill, maybe that's what he's doing. I'm not sure, I just took a guess.

Was Puze_Brah the ID 1? If yes, that would explain the dialogs.


Re: Attack - arman'as - 30.10.2012

Yes, but how I can protect?


Re : Attack - lelemaster - 30.10.2012

By Banning the Player's ip.


Re: Attack - arman'as - 30.10.2012

I ban, but how I can protect server for another attack..


Re: Attack - Jikesh - 30.10.2012

Quote:
Originally Posted by arman'as
Посмотреть сообщение
I ban, but how I can protect server for another attack..
pawn Код:
new FakeDeath[MAX_PLAYERS];

public OnFilterScriptInit()
{
    SetTimer("OneMinFake",60000,1);
    return 1;
}

public OnPlayerConnect(playerid)
{
    FakeDeath[playerid]=0;
    return 1;
}


public OnPlayerDeath(playerid, killerid, reason)
{
    FakeDeath[playerid]++;
    if(FakeDeath[playerid] > 5)
    {
    SendClientMessage(playerid, 0xE60000FF, "Go away, Fake killer!");
    Kick(playerid);
    }
    return 1;
}

forward OneMinFake();
public OneMinFake()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
        FakeDeath[i]=0;
        }
    }
}