SA-MP Forums Archive
Perfect weapon anti-cheat - 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: Perfect weapon anti-cheat (/showthread.php?tid=605312)



Perfect weapon anti-cheat - ScIrUsna - 17.04.2016

Hi,

It's possible to create perfect weapon anti-cheat?


Re: Perfect weapon anti-cheat - Pottus - 17.04.2016

Get slices weapon damage include it encompasses everything.


Re: Perfect weapon anti-cheat - ScIrUsna - 17.04.2016

And how it relates to anticheat ?


Re: Perfect weapon anti-cheat - Saliim - 18.04.2016

hi
for you anti cheat perfect


Re: Perfect weapon anti-cheat - Gammix - 18.04.2016

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Get slices weapon damage include it encompasses everything.
Well he's right, Slice's include isn't an anticheat for weapons. It doesn't have serversided weapons.


Re: Perfect weapon anti-cheat - 1nspire - 18.04.2016

There's nothing "perfect", if you're looking for one here, you won't find anything more than a decent anticheat, also it may not be fully compatible with your gamemode, so the "perfect" anticheat is the anticheat you code yourself.

Decent anticheat: https://sampforum.blast.hk/showthread.php?tid=579963


Re: Perfect weapon anti-cheat - introzen - 18.04.2016

In my own gamemode, every weapon on the server is unique. All weapons are stored in a MySQL table with unique IDs, ammo, owners and weaponid.

OnPlayerWeaponShot then checks if the user is using a registered gun in the table or not. Should a player not use a registered gun = permaban.

OnPlayerTakeDamange also resets all incoming damange and gives it out scriptwise accordingly to what Caliber the weapon has in the table and according to what hitbox is hit.