Posts: 285
Threads: 154
Joined: Mar 2016
Reputation:
0
Hi,
It's possible to create perfect weapon anti-cheat?
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
Get slices weapon damage include it encompasses everything.
Posts: 285
Threads: 154
Joined: Mar 2016
Reputation:
0
And how it relates to anticheat ?
Posts: 791
Threads: 113
Joined: Aug 2008
Reputation:
0
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.