Insane amounts of armor from GetPlayerArmor
#1

Hi,

The server I script for has an armor anti-cheat, works pretty well.
Every so often though, it will kick almost everyone from the server (Admins included) for having insane amounts of armor..

Example:
[05:12:2012 - 17:17:20] ANTICHEAT -- ADMIN ** found with 1120403456 armour
[30:12:2012 - 15:57:21] ANTICHEAT -- ADMIN ** found with 1120403456 armour
[13:01:2013 - 18:03:53] ANTICHEAT -- ADMIN ** found with 1120403456 armour

There is always a "suspicious" person online the server when this happens.
Could it be a hack, or a script bug?

I see it is an easy script fix, but would be nice to know whether or not it's caused by a hack.
Reply
#2

If nearly everyone is being kicked from the server I'm going to say it's a script bug as a player cannot have the ability to kick everyone by armour. So it's most likely a script issue.
Reply
#3

Would you mind showing your code for detecting armour?
Reply
#4

What it makes me believe that it's a scripting bug is the amount. Armour is a float, but the amount of the messages are 1120403456.
Reply
#5

Quote:
Originally Posted by Dwane
Посмотреть сообщение
What it makes me believe that it's a scripting bug is the amount. Armour is a float, but the amount of the messages are 1120403456.
Thanks for pointing that out, I just noticed the script isn't printing them as floats
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)