Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [anti-cheat]

Methods employed by the developer to discourage or prevent cheating in the game.

0
votes
1answer
86 views

Keeping score server side to prevent cheating

For my Unity WebGL game, I'm looking into storing the score of users in a database to make a highscore table (it's not a multiplayer game). Because client side code can always be "hacked", the advice ...
4
votes
4answers
321 views

Is it NOT feasible to create a web-based game which provides cash prizes due to bots?

Say you want to build an online web-based game of (say) Hangman where the person who continues to win eventually wins a cash prize. The more players that enter the game the more the eventual winner ...
1
vote
1answer
212 views

Unity Anti-Cheat solutions

I'm currently working for a websites client development team and need guidance on where to go for anti-cheat with unity. We have scripting, where a user can code in their own features via a editor we ...
1
vote
1answer
182 views

anticheat architecture [duplicate]

I have online game for which I wrote a simple external anticheat in c#, it checks my game's process modules and handles for suspicious activity. And so it works like this: player starts launcher (...
0
votes
2answers
105 views

shooting bullets without players being able to cheat

I'm working on a multiplayer game and for bullets that players shoot I was wondering what is the right way to do it: when a player press a key It send the key code to server and: a. server starts ...
0
votes
1answer
369 views

How to prevent (most) cheating (server-side) in my JavaScript, Node JS, socket.io MORPG?

I'm working on a fairly simple JavaScript + Node JS + socket.io (M)MORPG where multiple people play in the same world. This is actually working, but cheating is insanely easy at the moment. My goal ...
0
votes
1answer
83 views

Multiplayer netcode where all units, including server, are untrusted - possible, feasible, etc.?

Most professional video games use either a peer-to-peer architecture or a client-server architecture. In the former, clients often trust each other, and instead employ anti-cheat techniques to ensure ...
1
vote
4answers
179 views

How to prevent automation-type cheating?

Lets say I'm making an incremental game, (e.g. cookie-clicker-like). The premise of the game is simple: players send inputs that advance their game state. Players convert their own real-life time into ...
2
votes
2answers
146 views

Verifying client file integrity

I am working on a simple game. It will have multiplayer over LAN, and I want to give the host the option to verify that players are not using modified clients (note that this will be disabled by ...
2
votes
1answer
74 views

Feasible to do all game logic on PHP server?

For the turn-based browser Flash RPG I'm working on, I'm keeping all player stats in a MySQL database, with PHP as the go-between, for the sake of persistence and to prevent cheating by memory editing....
0
votes
1answer
52 views

Should all stats only exist on MySQL database for my Flash browser RPG?

I'm creating a browser RPG in Flash which will have some multiplayer elements and in-app purchases so security is a high concern. Would it be better to have all game stats like health and such exist ...
1
vote
1answer
153 views

Save game on server side

I'm working on a small management game. The player manage his hospital where he can collect items and new characters. Each player can visit others players hospital and gives collected entities. I ...
47
votes
4answers
14k views

How can I completely hide and protect strings from the player in Unity?

I have been using Unity to create a 2D game which will be completely offline (which is the problem), the game-play needs you to enter certain strings at certain levels and Unity compiles to DLLs, ...
0
votes
2answers
165 views

Will this method of hashing player positions be effective in defeating FPS wall-hacks?

For example using a class like below to Hold the player positions and only show the players to each other when their Distance is less than something, So the calculations are also used by the client's ...
2
votes
3answers
221 views

In a multiplayer game, should everything that is not user input be done server-side to prevent cheating?

I've heard this said before, but it seems somewhat unrealistic. These are the two scenarios I'm working with: User Presses move key, moves themselves, and tells the server -> server tells other ...
2
votes
1answer
450 views

How can I prevent cheating in a distributed multiplayer game?

A problem I've been thinking about recently is how it might be possible to create a multiplayer game without a centralised game server. Is it possible to distribute "server" responsibilities across ...
1
vote
0answers
163 views

Multiplayer client-side physics

I'm trying to handle all the physics on the client and correct data on the server. e.g. ...
1
vote
1answer
360 views

How do Aimbots get detected?

I was wondering on the programming methods which are used to detect when a player is using an Aimbot/AutoAim cheat.
0
votes
1answer
327 views

How do I avoid users hacking my network games from the client side? [duplicate]

I've decided to make an online game; the server sends packets of information to the client application, which is going to simulate what it gets from the server. The client makes a part of the design ...
2
votes
3answers
208 views

How to securely submit a score?

We have an app with several mini-games in it and in each a highscore can be achieved. The score gets submitted by requesting an endpoint and passing the score as a json in the body. How can we be sure ...
2
votes
0answers
82 views

Implementing an efficient method of server-side checking [closed]

I'm making a web-based action RPG game. I don't want players to cheat, but I also don't want the game to constantly pause to wait for the server to respond. I made it so the game is played on the ...
0
votes
2answers
307 views

Anti-cheat: How secure is the client?

Let's say, theoretically, that I'm developing a first person shooter with, of course, a map with things like walls. In the client code, the player is obviously halted upon collision with these wall ...
0
votes
2answers
99 views

Would adding delay to inbound traffic give you an advantage in online games?

Wouldn't adding a latency delay to inbound traffic and limiting your download speeds to a low but playable standard give you an advantage in online games, especially shooters? Because wouldn't your ...
-1
votes
2answers
1k views

How can I change or hide my process name to prevent Cheat Engine use?

I am writing a hack shield that can protect my game from Cheat Engine and similar programs. The ideas are to: build a hack shield that can hide the process name while the process is running. build a ...
19
votes
4answers
4k views

How can I implement multiplayer cloaking with visuals that resists client-side hacking?

I've been thinking about implementing stealth in a multiplayer game. It's a MOBA style game, so think League of Legends (LoL) and Heroes of the Storm (HotS). Multiple clients connect to a single ...
-6
votes
2answers
165 views

Is it definitely impossible for a user to alter data stored server-side in an online game?

Does storing game data server-side definitely prevent cheating related to that data (by altering it, et cetera)?
2
votes
3answers
154 views

Core code obfuscation and scripting

I am currently developing a 2D multiplayer game in Java and I would like to use Lua to define clientsided visual animations. Although this sounds like a reasonable idea to keep the core Java code to a ...
0
votes
1answer
492 views

Obscure primitive data types against cheating [closed]

im trying to create lightweight value obscurer, against possibility to blatantly change primitive values in memory editor. Such as cheat engine. Here's what i have to far. ...
2
votes
2answers
616 views

Game Loop design that is speed hack proof

I'm not sure if this is possible, but it's worth a shot asking. How does one design a game loop in such a way that hooking and enabling a speed hack app to the game(dx11) doesn't matter? I found this ...
2
votes
0answers
52 views

Strategies to make it difficult to cheat + easier to identify cheaters in Javascript/HTML5 game [duplicate]

I intend to have a Javascript/HTML5 game with a global leaderboard. I have devised a very simple system for submitting highscores as follow: When the game finishes, the game client makes a POST ...
2
votes
1answer
565 views

How to create memory manipulation and how does it works? [closed]

How does memory manipulation works for cheats?, how does one create it, i think it must be something to do with your RAM and changed it to give a different value, but how to create it?
30
votes
11answers
9k views

How can I stop players from cheating on puzzle levels by finding solutions on the web?

In a level based, puzzle-like, game, how can we prevent the gamers to be searching on the Internet for solutions to a specific level? I'd like to let players fairly compare their scores. I've thought ...
3
votes
2answers
177 views

I'm making a networked game for mobile. Should I worry about cheating?

I'm in the process of making a racing game for Android/iOS. I'm thinking of implementing a server/client model, should I worry about cheating and make all players communicate with a server of mine, or ...
19
votes
3answers
5k views

Why does editing the client's memory in some MMOs allow them to cheat?

Why editing the memory of the game client works? Why so many "Hack protection" tools coming with the clients? If I were to design a client-server game, everything would happen at the server (the ...
0
votes
1answer
162 views

Validating User Actions on the Server

I am currently working on a networked first person shooter. I have created a server implementation that can synchronize player data. But while implementing a damage system, I realized that I almost ...
3
votes
1answer
2k views

Server Side Speed Hack Detection Techniques

I have a client side speed hack detection that initiates a timer on both the client and server on connection. When the difference becomes too much the client gets detected as using speed hack. But I ...
5
votes
4answers
4k views

How to make hard to hack leaderboards [duplicate]

Okay, someone tasked me to make a leaderboard for their game. However, the one I have right now is really insecure. All it does is check if someone is in the top 100, and if they are, post the score ...
3
votes
3answers
1k views

Prevent movement cheating in MP games

I have read a lot about movement in multiplayer games, but not so much on preventing cheating. Let's say a client sends moves packets whenever the player press a movement button, then the server ...
1
vote
0answers
144 views

HTML5 game : Secure way of saving score [duplicate]

I wrote a pretty basic game for colleagues to play : the player shoots on an enemy which has 50 lives while other smaller enemies pop randomly on the screen. The goal is to kill the main enemy as fast ...
-1
votes
1answer
753 views

Why bother with server-side hit detection?

Valve's hit detection tracks player positions from when the bullet fired and then tells clients only whether the hit happened, but I can't see why that is necessary in the first place. Does server-...
3
votes
1answer
297 views

Preventing Collusion

Over on Code Golf Stack Exchange, competitions are run where multiple programmers compete against one another. One particular class of challenges is "King of the Hill". Here is an example of a King of ...
6
votes
3answers
484 views

Can game replays be used as cheat protection?

Say you're writing a complex turn based multiplayer strategy game in the browser (i.e. JavaScript). The game state is big and complicated (think line of sight calculations in a 3d world). There can be ...
-3
votes
1answer
293 views

How can an anticheat pass WACK test?

On of the rules for app validation for the Windows Store is: 3.9 All app logic must originate from, and reside in, your app package Your app must not attempt to change or extend the packaged ...
7
votes
4answers
400 views

Fair dice over network w/o trusted 3rd party

Though it should be a pretty basic problem, I did not find a solution for it: How to play dice over a network without a trusted third party? The M players shall roll N dice, one player after another. ...
8
votes
4answers
609 views

Clientside anticheating in multiplayer game 1vs1

I'm developing a simple card game, where there will be a matchmaking system that will put you against another human player. This will be the only game mode available, a 1vs1 against another human, no ...
7
votes
3answers
968 views

How can a web game store points online without giving the user the possibility to do the same call but with more points? [duplicate]

Imagine I have an HTML5 web game where the user can get points by doing certain activities. The game can be played offline, so there's not necessarily a live internet connection (note: this makes this ...
13
votes
5answers
1k views

Is there a way to prevent users from adjusting their gamma correction to 'cheat' their way out of a 'dark' area?

In almost every game I've come across that includes a dark situation designed to change the way a user interacts with the environment, there are always some players who turn up their monitor's gamma ...
3
votes
2answers
2k views

Stronger Hack-proof MMO Game Comparison: Game Client Based Vs. Via Web Browser [duplicate]

I was wondering. I observed most of any MMO that are hack-prone area. Hacks used one-hit kills, stealing accounts, instant level up, aimbots (mostly MMOFPS), and questionable wallers (also in MMOFPS). ...
5
votes
1answer
13k views

How can auto-click software be detected to stop botting/cheating?

I have to completely change my question, because it was far too general. I now want to focus on how I can detect one type of cheating method. How can auto-clicking be detected? In general, I am ...
5
votes
3answers
684 views

How do I allow a player to build a dedicated server, but prevent them from cheating?

Instead of maintaining a central server, many games allow players to build their own server, like Minecraft. But if you give them the server-side program, how could you prevent them from cheating? I ...