W
W
WannaCreative2017-01-22 21:25:18
JavaScript
WannaCreative, 2017-01-22 21:25:18

How to make the game code completely unchangeable by the client?

I'm developing a game and I was thinking about how in the future to create a multiplayer game without the possibility of breaking into the data with the possibility of changing it.
An7BCvJfKhs.jpg
As you can see, here when entering the developer console, we can see that the gravity data is indicated. Any user can change them.
Even if you use JavaScript Compresser, you can still bring it to a readable form.
How to limit this data and protect from cheating if I want to create a multiplayer.?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ivan Bogachev, 2017-01-22
@WannaCreative

How to limit this data and protect from cheating if I want to create a multiplayer.?

On the client side, no way. With a certain desire and free time, everything that has flown to the client can be studied and changed, so that all important checks must be made on the server.

V
Vincent1, 2017-01-22
@Vincent1

No way.

R
Roman Romanov, 2017-01-27
@perfect_genius

If the game is for a closed platform, such as game consoles, then it is enough to encrypt outgoing data.

X
xmoonlight, 2017-01-27
@xmoonlight

Asm.js via Emscripten as an obfuscation option. (part of code - write in C)
C++ ⇒ LLVM ⇒ Emscripten ⇒ JavaScript

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question