AC Ammo
#1

What is the best way to prevent Ammo Lock (Ammo doesen't go down when shooting) ?
Reply
#2

We just had a thread last week that was talking about ammo, mainly because someone was using the wrong function to get the ammo out...

What function are you using to get the ammo value?

Otherwise what anti-cheat are you using?
Reply
#3

I really wonder why do people ask these questions without checking the existing anti cheats


https://pastebin.com/mdS4rBuF

You can see how I checked for the change in ammo after and before the bullet was fired while making a few exceptions for rapid weapons by setting a timer check to avoid false positives, surely lag can cause into some problems but very rarely it would. Just gotta make sure you got a decent desync checker (i provided one) and a decent ping checker (i also provided the same one).
Reply
#4

Thanks
Reply
#5

If u want the ready download link https://github.com/RogueDrifter/Anti...aster/rAgc.inc
Cuz the pastebin version is kinda outdated
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)