Anti-Hacks General problem
#1

I have several anti-hack systems that uses timers, like money, teleport, weapon and ammo.
But I have a problem that i can't figure out.
The desync between the serverside var and clientside value, for exemple the ammo:

If i use a gun that fire's verry quickly, like minigun, i get kicked, but i diden't use any cheat. I just can't figure it out, i tried FixTimer.inc, 5 seconds timer(is working 65-75% but is ineficient)
What should i do?
Reply
#2

Quote:
Originally Posted by qUneT
Посмотреть сообщение
I have several anti-hack systems that uses timers, like money, teleport, weapon and ammo.
But I have a problem that i can't figure out.
The desync between the serverside var and clientside value, for exemple the ammo:

If i use a gun that fire's verry quickly, like minigun, i get kicked, but i diden't use any cheat. I just can't figure it out, i tried FixTimer.inc, 5 seconds timer(is working 65-75% but is ineficient)
What should i do?
Use y_timers.
Reply
#3

You could use OnPlayerWeaponShot to track the bullets.
Reply
#4

Quote:
Originally Posted by iamjems
Посмотреть сообщение
I will try, thanks for the reply.

Quote:
Originally Posted by Dokins
Посмотреть сообщение
You could use OnPlayerWeaponShot to track the bullets.
I curently use it for the serverside var of the bullets
Reply
#5

Quote:
Originally Posted by qUneT
Посмотреть сообщение
I will try, thanks for the reply.


I curently use it for the serverside var of the bullets
Take in note https://sampforum.blast.hk/showthread.php?tid=619035.

As for false positives, that's most likely normal when a player gets desync, and/or is tied to flaws in the code.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)