mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Merge pull request #2096 from corrigentia/patch-95
Improve word choice in encrypting_save_games
This commit is contained in:
@@ -11,22 +11,22 @@ oligarchy runs the world and forces us to consume in order to keep the
|
||||
gears of this rotten society on track. As such, the biggest market for
|
||||
video game consumption today is the mobile one. It is a market of poor
|
||||
souls forced to compulsively consume digital content in order to forget
|
||||
the misery of their every day life, commute, or just any other brief
|
||||
the misery of their everyday life, commute, or just any other brief
|
||||
free moment they have that they are not using to produce goods or
|
||||
services for the ruling class. These individuals need to keep focusing
|
||||
on their video games (because not doing so will produce them a
|
||||
on their video games (because not doing so will fill them with
|
||||
tremendous existential angst), so they go as far as spending money on
|
||||
them to extend their experience, and their preferred way of doing so is
|
||||
through in-app purchases and virtual currency.
|
||||
|
||||
But, imagine if someone was to find a way to edit the saved games and
|
||||
assign the items and currency without effort? This would be terrible,
|
||||
because it would help players consume the content much faster, and as
|
||||
such run out of it sooner than expected. If this happens they will have
|
||||
But what if someone were to find a way to edit the saved games and
|
||||
assign the items and currency without effort? That would be terrible,
|
||||
because it would help players consume the content much faster, and therefore
|
||||
run out of it sooner than expected. If that happens, they will have
|
||||
nothing that avoids them to think, and the tremendous agony of realizing
|
||||
their own irrelevance would again take over their life.
|
||||
|
||||
No, we definitely do not want this to happen, so let's see how to
|
||||
No, we definitely do not want that to happen, so let's see how to
|
||||
encrypt savegames and protect the world order.
|
||||
|
||||
How?
|
||||
@@ -53,7 +53,7 @@ To create an encrypted file, a passphrase must be provided, like this:
|
||||
f.Close();
|
||||
|
||||
This will make the file unreadable to users, but will still not prevent
|
||||
them sharing save files. To solve this, use the device unique id or
|
||||
them from sharing savefiles. To solve this, use the device unique id or
|
||||
some unique user identifier, for example:
|
||||
|
||||
.. tabs::
|
||||
@@ -73,11 +73,11 @@ some unique user identifier, for example:
|
||||
|
||||
Note that ``OS.get_unique_id()`` only works on iOS and Android.
|
||||
|
||||
This is all! Thanks for your cooperation, citizen.
|
||||
That is all! Thank you for your cooperation, citizen.
|
||||
|
||||
.. note:: This method cannot really prevent players from editing their savegames
|
||||
locally, because since the encryption key is stored inside the game, the player
|
||||
locally because, since the encryption key is stored inside the game, the player
|
||||
can still decrypt and edit the file themselves. The only way to prevent this
|
||||
from being possible is to store the save data on a remote server where players
|
||||
from being possible is to store the save data on a remote server, where players
|
||||
can only make authorized changes to their save data. If your game deals with
|
||||
real money, you need to be doing this anyway.
|
||||
|
||||
Reference in New Issue
Block a user