- Home /
Too subjective and argumentative
Game hacking questions.
It is a mobile game. I know that someone can see the code of the game through unpacking(?). If so what values can be modified if a hacker hacks the game? Runtime or before.
PlayerPrefs data
Class field variables, local variables, const variables
The code itself. such as
if (i > 10) { }
->if (i > 15) { }
Something else
I'm not a hacker and know nothing about it. But I truly believe the real word answer is anything and everything so don't bother.
I believe this question to be a non-issue. first of all it's exremely difficult (if even possible at all) to get to the acuall C# Course code after being compiled into a build. the best think ive heard of is maybe getting some basic textures and stuff back. even if someone "unpacked your game they would never be able to re coordinate it back together with all the other assetts to do anything with it. if someone stole your assets you still have legal rights to them and could sue. if someone truly loved your game SO $$anonymous$$UCH that they spent whatever amount of hours figuring out how to change a player prefab, then why not let them have there moment of glory? so that they are even more dedicated to your game? hopefully they will boast about your game to their friends and bring you more sales? Even the big developers have intentionally created loop holes in there games for this reason! I dont see any downfall to your game getting hacked like you are mentioning even if it was possible.
Actually, it's trivial to decompile the C# source of a Unity game, just as it is from any $$anonymous$$ono/.NET aoplication. But you're second point is correct - we're talking about games rather than a life support or missile control system, so it doesn't really matter. Developers must accept that any client-side code is inherently vulnerable to hacking, and move on...
One more little piece of info. Though I know you have a mobile game, on Windows reading the information is VERY simple. Downloading ILSpy and opening Assembly-xxx.dll
files in xxx_Data\$$anonymous$$anaged
will allow you to read all game source code.
Answer by $$anonymous$$ · Jul 11, 2017 at 03:45 AM
The "hacker" can decompile your project. On Android is very simple because you have a lot of apps on the AppStore who can decompile your game, and yeah, he can change everything he want