Anti-Hacks General problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Anti-Hacks General problem (
/showthread.php?tid=621282)
Anti-Hacks General problem -
qUneT - 08.11.2016
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?
Re: Anti-Hacks General problem -
iamjems - 08.11.2016
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.
Re: Anti-Hacks General problem -
Dokins - 08.11.2016
You could use OnPlayerWeaponShot to track the bullets.
Re: Anti-Hacks General problem -
qUneT - 08.11.2016
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
Re: Anti-Hacks General problem -
SickAttack - 08.11.2016
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.