Hey I recently used dnSpy to look at Minion Masters ( a copy of Clash Royale ) but for PC.
The game is made in unity so it's easy to use a app like dnSpy to see the code and rewrite it etc (to look at the Assembly-CSharp.dll).
But since I'm not that experienced with the Unity Compiler, if anyone can help me "hack it" , I saw that a lot of shit is handled server side.
The only "integrated hacks" I saw I can use are the "cheats" that they implemented like a GM mode.
Here's a little screenshot where you can find it: http://prntscr.com/l6h87u
Also I'm looking to find the "GM" boolean for the account so I can use all of the commands cuz you can't use them
You need to set the bool "giefallperma" in the PlayerProfile class to "False".
Code:
//You can set this easily in the constructor function
public PlayerProfile()
{
PlayerProfile.SetBool("giefallperma", false, true);
//.SetBool("bool_to_set", value, isCloud)
//Then initialise cheats
Cheats.Init();
}
Originally Posted by Vox
You need to set the bool "giefallperma" in the PlayerProfile class to "False".
Code:
//You can set this easily in the constructor function
public PlayerProfile()
{
PlayerProfile.SetBool("giefallperma", false, true);
//.SetBool("bool_to_set", value, isCloud)
//Then initialise cheats
Cheats.Init();
}
When I try compiling anything there are errors.
Originally Posted by InnovationTT
When I try compiling anything there are errors.
Use a replace feature to replace all "<", ">", and "$" with white space.
What I did was copy the code into np++, then "Ctrl + F", then replaced "<>" with "", and then replaced "$" with "".
Then simply copy the code, go back to DNSpy, hit "Ctrl + A", then "Ctrl + V" back into the console to replace the code and it should work.
Hey
could u make a tutorial pls ?
Originally Posted by Vox
Use a replace feature to replace all "<", ">", and "$" with white space.
What I did was copy the code into np++, then "Ctrl + F", then replaced "<>" with "", and then replaced "$" with "".
Then simply copy the code, go back to DNSpy, hit "Ctrl + A", then "Ctrl + V" back into the console to replace the code and it should work.
Thanks I'll try it, but I forgot to mention, I can't find the PlayerProfile constructor. When I search for "public PlayerProfile" nothing shows up. Would it work if I did it in the OnProfileLoaded() method? Did you manage to get a working modified AssemblyCSharp file? Like when you run the game do you have all the cards or some other working cheat?
EDIT: I tried replacing all the "<", ">", and "$" with white spaces but it still won't let me compile. I was modifying the whole PlayerProfile class was that too much?
It should be the entire PlayerProfile class. I had a working modified Assembly file, however, it appears that the specified mod was patched out. (I believe cheats are no longer activatable through the client.)
I have attached what I was managed to compile. Note: It doesn't give any advantage. While I am able to read through C#, and I know how OOL work, every game is different, and I certainly am not skilled enough (nor do i have enough time) to really create a working hack for this game, while i don't believe it would be possible to give you "every card in the game", i beleive it may be possible to do some other cheats that give you a game breaking advantage.
See the attached file for the code I was able to compile.