help with anti cheat
#10

It really isn't that easy, although, take a look at this: https://github.com/RogueDrifter/Anti...aster/rAgc.inc

This anti cheat takes care of the means that give you ammo in every possible way,

Basically you need to hook giveplayerweapon and setplayerammo and resetplayerammo to avoid having false positives, that's when you get a weapon with ammo on all cases you just reset that variable.

Furthermore, due to lag and delays you can get caught in a false detection so i suggest preventing detection with a variable whenever the 3^ functions above i listed are used, those methods are used in the link i gave above.

About ur function, you need to tell me where is this code used, your method for debugging is SO not decent, make it debug when its original ammo is < ammo and print both old ammo and new ammo!
Reply


Messages In This Thread
help with anti cheat - by GeorgeMcReary - 29.05.2018, 12:07
Re: help with anti cheat - by GeorgeMcReary - 30.05.2018, 09:08
Re: help with anti cheat - by Sew_Sumi - 30.05.2018, 11:19
Re: help with anti cheat - by GeorgeMcReary - 30.05.2018, 12:02
Re: help with anti cheat - by GeorgeMcReary - 31.05.2018, 11:25
Re: help with anti cheat - by Sew_Sumi - 31.05.2018, 12:01
Re: help with anti cheat - by CodeStyle175 - 31.05.2018, 12:54
Re: help with anti cheat - by Sew_Sumi - 31.05.2018, 13:09
Re: help with anti cheat - by DeathCore - 31.05.2018, 15:34
Re: help with anti cheat - by RogueDrifter - 31.05.2018, 16:12

Forum Jump:


Users browsing this thread: 1 Guest(s)