DO NOT USE ANTI CHEATS!

View previous topic View next topic Go down

DO NOT USE ANTI CHEATS!

Post by GuNsLiNgEr on Wed Jun 11, 2014 6:37 pm

as i read this somewhere btw if u need link here it is CLICK HERE


Servers do not need "anti-hackers". They need good admins and code that can't be exploited. Try using a vote kick system. It will be a thousand times more useful than an anti-cheat in the long run. A permanent report system (no use reporting to admins on the server if they are all absent)? More detailed logging which actually helps you CATCH misbehaving players and not challenge their ability to misbehave.

DO NOT USE ANTI-CHEATS!

You are trying to create a game, not a nanny. And many games, such as chess, for example, have pre-set rules. These rules can be totally ignored by a player. He may move some pieces while the other player isn't looking or he may move a piece incorrectly right in front of them. Do not try to program a chess board to automatically know when the play between its players may be foul.

You're playing a game absently. You're trying to teach your server to play tick tack toe, when it was built for war games. Once your code is compiled, it's the hackers turn. You place your X right in the middle. Hell, you might even take up 66% of the board in your first go. Either way, the hacker is going to win. Even if you fill the board, a new column or row can be added for the hacker to place his O's on. And your server is suddenly wondering what the hell the rules to this new game are.

The hacker can fail, go back and get better. Your server is already compiled. You could stop the server, make adjustments and bring it back into action too (assuming you know about it, can do something about it and have enough time to act), but eventually you'll end up with a massively bloated script with anti-hack/cheat code that isn't even in use, because the hacker tried it once already and failed. Once. He tried that thing once... And your code is muddying all the features for every other player.

Now, as with everything, there must be exceptions. It would be too late to fix an exploited money bug, but syncing that should be less a "lets do it to stop people from cheating" thing and more a "well money needs to be sync'd anyway" thing. In fact, with ANY data which you can get from other sources than the client, you should. Even storing stuff server-side which is just trivially unique to the player should be stored server-side (it technically is already, because samp_server.exe is no doubt programmed to keep its player data local to save on transfers between the client, but storing it within the script is even better). Getting data locally from within the script is much more efficient and a more well-managed way of working with it. You don't store everything, just stuff you will use. Then wrap the access of that data in a function. PAWN scripters need to take a lesson from a common C++ habit of not accessing data directly, and using an inline function, which allows them to change the way they access data globally in an application by just changing that one line later (I will rant at PAWN scripters who use built-in SA-MP functions and never create their own wrapper functions for anything another time).

If you want to catch a criminal, do not plant a safe, stand in front of it and try to block his access. Plant a safe and then hit that bastard over the head with a bat as he's fiddling with the lock. Stop giving bad players second chances and ban them from the start. Otherwise it's like starting an RP server, disabling weapons and then having a load of deathmatch players on it... you managed to stop what you didn't want to happen, but your server is now just filled with loads of miserable players trying to figure out how to get a gun in order to do what they came to do.


Let these few paragraphs and metaphors make server owners think twice about their crazy anti-cheat obsessions and let me know if you can think of a valid situation for an anti-cheat which doesn't seem completely stupid when faced with the blunt logic above. I may take in, analyse and choose to either come up with another rant about why you must've popped another microdot or somehow twist your answer to make it sound like my idea (my powers of literacy are literally that good - jedi mind tricks n shit).

junkbuster is KICKING everyone for some fake reasons because of their lag ... it is also kicking me again and again some fking asshole of same team was jaking my car again and again so junk buster kicked me nt him -_-

here is the proof :

avatar
GuNsLiNgEr

Posts : 66
Reputation : 0
Join date : 2014-05-29
Age : 17
Location : Just turn Your head

View user profile

Back to top Go down

Re: DO NOT USE ANTI CHEATS!

Post by PrefectedDinacti on Wed Jun 11, 2014 10:33 pm

That Junk Buster should be removed , like forever, when I shoot with Desert Eagle ,it told me stop using C-bug or you will get kickied/banned.
avatar
PrefectedDinacti

Posts : 58
Reputation : 7
Join date : 2014-04-02
Age : 20
Location : Casablanca, Morocco

View user profile http://www.facebook.com/prefected.dinacti

Back to top Go down

Re: DO NOT USE ANTI CHEATS!

Post by GuNsLiNgEr on Thu Jun 12, 2014 3:30 am

PrefectedDinacti wrote:That Junk Buster should be removed , like forever, when I shoot with Desert Eagle ,it told me stop using C-bug or you will get kickied/banned.

Thanks for Supporting me Instead of JB server must have good admins
avatar
GuNsLiNgEr

Posts : 66
Reputation : 0
Join date : 2014-05-29
Age : 17
Location : Just turn Your head

View user profile

Back to top Go down

Re: DO NOT USE ANTI CHEATS!

Post by vishal on Fri Jun 13, 2014 3:47 am

wowman heart touching para btw junk buster is kickinga me also dont know wahat to do pls help ame

vishal

Posts : 6
Reputation : 0
Join date : 2014-06-13

View user profile

Back to top Go down

Re: DO NOT USE ANTI CHEATS!

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum