The window will close, so just click on File – Save all (or press Ctrl + Shift +S). After you have tweaked the method, click on the “Compile” button in the lower right corner.for example, we can add this line to increase our gold for 1000 every time this method is called. So, let’s change the logic of this function. It looks more complicated than it really is. If you are not programmer, don’t be afraid. You should see something like this: –Īs you can see, this method takes gold amount as a parameter, and returns the changed value. Right click on it, and select the “Edit Method C#” option.After that, find the SaveManager, and after that, you will find “AdjustGold” method. You can search for it manually if you are curious – if now, please follow the pictures. Right now, we only wants to cheat gold, you let’s find a method which adds the gold. With dnSpy, you will be able to change some methods, and compile it back into the original file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |