Anti Fake Kill Discussion (0.3d) -
Kar - 16.11.2011
no OnPlayerTakeDamage called, and someone fake killed = detect?
/Discuss, dugi said that it would work, anyone willing to attempt it?
Re: Anti Fake Kill Discussion (0.3d) -
CyNiC - 16.11.2011
Maybe someone did and will post here but the best way to know is: Many tests in all possible situations.
Re: Anti Fake Kill Discussion (0.3d) -
Dark734 - 16.11.2011
I don't think there's any way to simulate a "fake kill" beacause it's an animation with like 1HP remaining.
Re: Anti Fake Kill Discussion (0.3d) -
Kar - 19.11.2011
bump
@Dark734 since when the player has 1hp remaining?
Re: Anti Fake Kill Discussion (0.3d) -
MP2 - 11.12.2011
I'm not 100% sure which way fake-kill works. Is it the cheater fakes his own death? I assume it's that.
Perhaps OnPlayerUpdate could be used?
Re: Anti Fake Kill Discussion (0.3d) -
Dark_Kostas - 11.12.2011
pawn Code:
OnPlayerDeath(playerid, killerid, reason)
{
if(GetPlayerWeapon(killerid) != reason) { /*Fake kill?*/ }
}
Re: Anti Fake Kill Discussion (0.3d) -
sim_sima - 11.12.2011
Quote:
Originally Posted by Dark_Kostas
pawn Code:
OnPlayerDeath(playerid, killerid, reason) { if(GetPlayerWeapon(killerid) != reason) { /*Fake kill?*/ } }
|
^That would make no sense in the script
Re: Anti Fake Kill Discussion (0.3d) -
Whitetiger - 13.12.2011
why can't you use GetPlayerWeapon or IsPlayerInRangeOfPoint or even GetPlayerAmmo
OnPlayerTakeDamage will be called when they do the fake kill...?
Re: Anti Fake Kill Discussion (0.3d) -
es2 - 14.12.2011
Hehe, yup. Acutally where is a method to simulate kill by any ped (if streamed) by any weapon

IsPlayerInRange is unuseful, killer ped must be streamed, so this will be ever true. OnPlayerTakeDamage just making a new vulns, because the same method allow you to send information that any streamed ped taked any damage.
Re: Anti Fake Kill Discussion (0.3d) -
Dark_Kostas - 14.12.2011
Quote:
Originally Posted by sim_sima
^That would make no sense in the script
|
Fake Kill is when a player dies but with a fake reason right? Right. So if the reason he sent to the server is not the same with the weapon his killer is holding, then obviously is a fake kill. What's wrong with it?