Posts: 857
Threads: 23
Joined: Mar 2009
Reputation:
0
What does it mean when GetPlayerWeaponData returns weapon with 0 ammunition in it? Is it some bug or desync? I've never seen it before and lately lots of banned players are telling that they weren't hacking (all banned with 0 ammunition on...)
Posts: 253
Threads: 15
Joined: Jul 2006
Reputation:
0
I see it sometimes, then when they are holding their weapon, the ammo value is correct. Maybe worth just not banning for '0' ammo? I do think it is a slight bug.
Posts: 580
Threads: 26
Joined: Jan 2006
Reputation:
0
it seems to be a kind of glitch, i suggest you ignore any data with weaponid but no ammo in that slot, the cause of this isn't known but your players are likely innocent.
Posts: 2,593
Threads: 38
Joined: Aug 2007
Reputation:
0
an Antihack tool shouldn't be using GetPlayerWeaponData anyway. It should only use GetPlayerWeapon and GetPlayerAmmo, there's no sense in banning a person for having a weapon unless he actually USES it.
Posts: 857
Threads: 23
Joined: Mar 2009
Reputation:
0
On my server ALL weapons are disallowed so I have less problems, now I made anticheat ban for weapons only with ammo > 0, I think problems should be gone now, thanks for answers!