Anti Health Hack not working.
#4

Quote:
Originally Posted by doreto
Посмотреть сообщение
What you are doing is getting and store player health then few lines below you are getting same health and storing it and compare it to unreasonable value.Solution for this to store player health from last check and compare to new health check. You can follow Raza2013 code and fix it. I will suggest you using 1 second global timer (1000 milliseconds) then OnPlayerUpdate where's been called 20-30 times in 1 second.
The maximum health in my server is 50, that's a crucial part of information I forgot to mention. That's where the 52 value comes from. This caused quite a few issues as players had a slight delay in their HP getting set.

However I fixed this by adding the check to OnPlayerDeath instead, only when a hacker kills another player and is using health/armour hacks, he/she will get banned.

Thanks to everyone for their help.
Reply


Messages In This Thread
Anti Health Hack not working. - by Bartels - 15.01.2014, 15:09
Re: Anti Health Hack not working. - by Raza2013 - 15.01.2014, 15:19
Re: Anti Health Hack not working. - by doreto - 15.01.2014, 17:50
Re: Anti Health Hack not working. - by Bartels - 15.01.2014, 17:59
Re: Anti Health Hack not working. - by Izaki - 31.05.2016, 02:52

Forum Jump:


Users browsing this thread: 2 Guest(s)