SA-MP Forums Archive
Fake killers help. - 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: Fake killers help. (/showthread.php?tid=436816)



Fake killers help. - Face9000 - 12.05.2013

Im just bored, i went back to home after 12 hours of job and this is what i read on the echo of my server:

Quote:

<CrazyBet> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBit> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyByt> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBot> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBut> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBet> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBit> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyByt> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBut> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBet> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBit> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBot> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyByt> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBut> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBet> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBit> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 42.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyByt> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBut> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBet> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBit> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyByt> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBot> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBut> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBet> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBit> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyByt> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBut> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 20.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 20.0 | 90.0
<CrazyBit> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 20.0 | 90.0
<CrazyBet> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 20.0 | 90.0
<CrazyBot> Dual. (1) is on killstreak of 50 kills!
<CrazyByt> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBot> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBut> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 89.0 | 90.0
<CrazyBit> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBet> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyByt> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 89.0 | 90.0
<CrazyBot> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBut> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBit> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBet> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyByt> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBot> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 68.0 | 90.0
<CrazyBut> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 53.0 | 90.0
<CrazyBit> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 53.0 | 90.0
<CrazyBet> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyByt> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 53.0 | 90.0
<CrazyBot> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBut> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 53.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBit> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBet> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBot> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyByt> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 90.0 | 90.0
<CrazyBut> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 31.0 | 90.0
<CrazyBat> *** Dual. (1) killed xXxIgor331xXx (6) with Hunter Turret - Killer hp/armour (Dual.): 31.0 | 90.0

A fuckin fake killer. Now you guys should tell me. I own a server with a stable player base (40-50 players everyday) and i get this attacks 2-3 times a week, i need a way to stop it. I script for players, not for this fuckin kids who can't play fair.

Any solution?

I tried searching before opening this topic, i tried every method (even banning heavy weapons on OnPlayerDeath as killerid), nothing.

Any help is appreciated.


Re: Fake killers help. - Private200 - 12.05.2013

Try to use TimerEx and OnPlayerDeath to detect if the player kills more then X times in this time.


Re: Fake killers help. - Face9000 - 12.05.2013

Quote:
Originally Posted by Private200
Посмотреть сообщение
Try to use TimerEx and OnPlayerDeath to detect if the player kills more then X times in this time.
Take a timer of like...500 ms? Multiply it for 50 players and for every kill/death, this will cause huge lag.


Re: Fake killers help. - Private200 - 12.05.2013

Try taking it of 1 second reading 30 kills per second, as no one can make 30 kills in one second.. it goes like, IMPOSSIBLE.

Or, indeed, if someone has 29 kills, he can do it, so nah. Try to use 50kills in 1 seconds.


Re: Fake killers help. - Pottus - 12.05.2013

Best way is not to use OnPlayerDeath() at all, use OnPlayerTakeDamage() and OnPlayerStateChange() to determine when a player is killed then directly call your own OnPlayerDeath() callback then they can fake kill all they want it won't do anything.


Re: Fake killers help. - jakejohnsonusa - 12.05.2013

Also, if you don't have any type of anticheat at all and are new to scripting, maybe try using an AC System filterscript.

Here is a good one.
Here is another good one.


Re: Fake killers help. - Face9000 - 12.05.2013

Quote:
Originally Posted by jakejohnsonusa
Посмотреть сообщение
Also, if you don't have any type of anticheat at all and are new to scripting, maybe try using an AC System filterscript.

Here is a good one.
Here is another good one.
Thanks for trying to help but i scripted my server gamemode from scratch and it has everything. I just need to fix this fake kills issue.


Re: Fake killers help. - Unte99 - 12.05.2013

So is the player using ****** to make fake kills or is he using a friend to help him make more points or something... ?


Re: Fake killers help. - Face9000 - 12.05.2013

Quote:
Originally Posted by Unte99
Посмотреть сообщение
So is the player using ****** to make fake kills or is he using a friend to help him make more points or something... ?
The first thing you said. It has an option to enable/disable "all weapons / random weapons - all players / random player".


Re : Fake killers help. - DaTa[X] - 13.05.2013

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(!IsPlayerStreamedIn(playerid,killerid) return BanEx(playerid,"hiiiii :) ");
    return 1;
}
+ fuckcleo has a good anti fake kill find it