OutdatedHow to edit Assembly-CSharp.dll/Make a hack

Posts 1–15 of 89 · Page 1 of 6
How to edit Assembly-CSharp.dll/Make a hack
Requirements:
1. DotNetResolver (Google it)
2. Unturned


Theory:
So we'll be editing Assembly-CSharp that contains most of the Unturned Game info. We'll first use DotNetResolver to decompile Assembly-CSharp and then change all kinds of information inside of it. After that we'll recompile it again and launch the game!

We'll be making No Recoil!
All the other hacks are almost the same to make but just in other location inside the dll. I can always expand this tutorial.

Sounds easy right?
Well, it is easy ;D




Tutorial

1. Open up DotNetResolver and press File and then press Open. Navigate to the Unturned Game File Location.
DotNetResolver->File->Open
"C:\Program Files (x86)\Steam\SteamApps\common\Unturned\Unturned_Dat a\Managed"





2. Open Assembly-CSharp.dll and Open Assembly-CSharp "DropDown" Box. Then click on the {} Icon and then go to GunStats. Then open up Gunstats and Navigate to getRecoil_Y.





3.Change The top DropDown box to Visual Basic in order to make the decompiler source way easier to read. Then click on the MSIL Editor Tab on the right of the splitter.








4. If the operand show Hexidecimals and not just normal decimals go to Tools->Settings->Decompiler and uncheck Use Hex Numbers. Then Select everything in the MSIL Editor from the first line to the third of last line. and right click and click on NOP Instructions.







5. Go back to Decompiler and take a look at the source. It should look like this


if it does then go to File->Save and save it in the same location Assembly-CSharp.dll is being located in right now and overwrite it.


Now start up Unturned and voíla. You've got yourself a No Recoil Hack!




A Thanks is appriciated!


Last edited by xCyberxx; 07-17-2014 at 07:45 PM.
Cool, thanks for the infos.
Not to sound like an idiot, but how would you do this for experience? I've found get_experience, though I'm a little shaken as to what I need to do.
thanks a lot!
can you tell me how to make ESP in group?
Please expand on this tutorial, I would like to know how to make an experience hack like iCanDoStuff
Tutorial for: range, damage, health, thirst, infection, and energy. I figured out how to apply your current hack to updated Assemblies by simply copying the changes you've made on your Assembly. Thanks for all your work, looking forward for more tutorials.
Is there any possibility to compare two files? I'd like to see what other hackers have changed in their assembly files and copy it over.
Quote Originally Posted by Blacktoblue View Post
Is there any possibility to compare two files? I'd like to see what other hackers have changed in their assembly files and copy it over.
Just look for the category you want to change and compare. So far, I've only been able to find Gun Status, having trouble finding Character Stats.
Learned how to do this in 20 mins with xCyberxx's support. It's quite simple.
Quote Originally Posted by xCyberxx View Post
Requirements:
1. DotNetResolver (Google it)
2. Unturned


Theory:
So we'll be editing Assembly-CSharp that contains most of the Unturned Game info. We'll first use DotNetResolver to decompile Assembly-CSharp and then change all kinds of information inside of it. After that we'll recompile it again and launch the game!

We'll be making No Recoil!
All the other hacks are almost the same to make but just in other location inside the dll. I can always expand this tutorial.

Sounds easy right?
Well, it is easy ;D




Tutorial

1. Open up DotNetResolver and press File and then press Open. Navigate to the Unturned Game File Location.
DotNetResolver->File->Open
"C:\Program Files (x86)\Steam\SteamApps\common\Unturned\Unturned_Dat a\Managed"



2. Open Assembly-CSharp.dll and Open Assembly-CSharp "DropDown" Box. Then click on the {} Icon and then go to GunStats. Then open up Gunstats and Navigate to getRecoil_Y.





3.Change The top DropDown box to Visual Basic in order to make the decompiler source way easier to read. Then click on the MSIL Editor Tab on the right of the splitter.




4. If the operand show Hexidecimals and not just normal decimals go to Tools->Settings->Decompiler and uncheck Use Hex Numbers. Then Select everything in the MSIL Editor from the first line to the third of last line. and right click and click on NOP Instructions.





5. Go back to Decompiler and take a look at the source. It should look like this


if it does then go to File->Save and save it in the same location Assembly-CSharp.dll is being located in right now and overwrite it.


Now start up Unturned and voíla. You've got yourself a No Recoil Hack!




A Thanks is appriciated!
Thanks man, but this still doesn't fix my problem Looking at god mode/inf food etc in the hacked assembly's, the IL_0000 offsets are different from each other, and I have no clue how to change them to make the hack on the default IL_0000 offsets. E.G default offset I need to change (IL_0002) to the one thats from the hacked one (IL_0006)
Quote Originally Posted by AlexGeoZz1 View Post
Thanks man, but this still doesn't fix my problem Looking at god mode/inf food etc in the hacked assembly's, the IL_0000 offsets are different from each other, and I have no clue how to change them to make the hack on the default IL_0000 offsets. E.G default offset I need to change (IL_0002) to the one thats from the hacked one (IL_0006)
When you change the bytes in 'Binary Edit Instruction' the offsets change.
Thanks for this guide just working on the other options now like stamina and health if you could make some guides on them that would be cool but i can manage on my own probably.
EDIT: A health tutorial would be nice.
can u fix the image ? < sorry my connection is slow
Posts 1–15 of 89 · Page 1 of 6
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us