Questions tagged [anti-cheat]

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

Filter by
Sorted by
Tagged with
5
votes
4answers
5k 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 ...
1
vote
1answer
40 views

Is reobfuscating javascript every time the page is loaded a valid option for a multiplayer game?

I am looking for ways to prevent cheating on a multiplayer browser game. I saw this answer where it was mentioned that obfuscation is not an effective technique. My plan is not only to obfuscate the ...
6
votes
3answers
2k views

Save-security with MD5 hash

I'm working on a flash game that saves your progress locally. These saves can easily be hacked. My solution is to add an md5 hash of all the variables saved into the save file itself. When loading the ...
12
votes
13answers
22k views

How do I prevent memory-modification cheats?

There are many memory-altering programs out there nowadays (Cheat Engine & co). Is there an efficient way to keep a constant variable actually constant? I had two ideas: Make a separate thread ...
26
votes
17answers
13k views

How could I prevent a player from cheating by taking a picture with their phone?

I'm making a game with a primary mechanic of a very limited amount of time that you can see a maze, and must navigate it blindly as much as possible to conserve your torch fuel. It's possible you ...
4
votes
4answers
472 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 ...
0
votes
0answers
54 views

Using a JS Query to work as an HTML Anticheat?

So, I have a project, its a "cookie clicker" by definition, and I wish to work out how I can protect the game from users being able to edit ...
0
votes
1answer
452 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 ...
1
vote
1answer
406 views

Is this a reasonable method of detecting JS memory hacks?

I'm working on a single-player browser-based RPG in my free time. I do allow for saving the user's game on the server, but the game is largely going to run locally and I therefore acknowledge that it ...
35
votes
11answers
9k views

Strategies to Defeat Memory Editors for Cheating - Desktop Games [closed]

I'm assuming we're talking about desktop games -- something the player downloads and runs on their local computer. Many are the memory editors that allow you to detect and freeze values, like your ...
0
votes
1answer
281 views

Player experience using a server in single player adventure to prevent cheating

I'm making a game where the user can sell items he finds during the the "single player" adventure on an online, I was looking at ways to prevent any malicious user to create rare and expensive items ...
0
votes
1answer
670 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 ...
2
votes
2answers
231 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 ...
1
vote
1answer
1k 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
406 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
145 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 ...
10
votes
4answers
6k views

Prevent Multiplayer Cheating

I am almost complete developing a small indie-style multiplayer game. While I intend to allow people to cheat in single-player, this is obviously not acceptable in multi-player. Does anyone know of ...
0
votes
1answer
137 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 ...
0
votes
1answer
877 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 ...
1
vote
4answers
261 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 ...
5
votes
1answer
17k 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 ...
2
votes
1answer
127 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
70 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
238 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 ...
49
votes
4answers
15k 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
188 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
271 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
3answers
420 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 ...
1
vote
0answers
197 views

Multiplayer client-side physics

I'm trying to handle all the physics on the client and correct data on the server. e.g. ...
45
votes
10answers
15k views

How can I prevent false score reports to global highscore tables?

Browser and mobile games commonly have global highscore tables. It's also common for those tables to contain scores of 2,147,483,647 — where people have figured out the webservice call that ...
0
votes
2answers
382 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 ...
-1
votes
2answers
2k 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 ...
4
votes
2answers
539 views

How to verify if the client files are the same as the server files?

In a client-server game architecture, what are the possible ways to verify that the client has not modified things like gfx assets or client side scripts? Obviously no solution is perfect, but I ...
14
votes
4answers
4k views

Prevent players from wallhacking in an online FPS?

Why do we still complain about wallhackers in multiplayer first-person shooters? Isn't it possible to perform occlusion culling for all players server-side? For example, send player xyz information ...
2
votes
1answer
737 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
1answer
444 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.
2
votes
0answers
86 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
130 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 ...
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 ...
-5
votes
2answers
224 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
187 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
704 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. ...
30
votes
11answers
10k 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 ...
2
votes
2answers
2k 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
55 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
735 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?
20
votes
14answers
10k views

How to handle Multiple-accounts creation and cheating?

I am developing a game that is running as a web application. The fact is that the game lose sense if one player creates several accounts. Imagine that is a turn-based strategy game, and if you play ...
3
votes
2answers
186 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 ...
16
votes
5answers
3k 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 ...
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 ...