[C#] Hacking Risk of Rain 2 - Removing Cooldowns

DataMine
by DataMine · 2 posts
4 years ago in .Net (C#, VB, etc)
Posted 4 years ago · Author
EDIT
While I figured this out on my own, I just discovered this h4c|< and many more have already been posted over at unknowncheats.me HERE


Warning
I am not responsible for what you do with this h4c|<. I do not encourage you to use it in multiplayer. Don't be lame, use this only in singleplayer or with a group of willing friends. This h4c|< is purely for fun.

About The Game
Image

Risk of Rain 2 is a sequel to the popular Rogue-like game on steam.

View Steam Store Page


Description
This h4c|< removes the cooldowns from player attacks and makes drones fire much faster.

Backup
Before hacking the game, make a backup of the Assembly-CSharp.dll file located in:
Code
steamapps\common\Risk of Rain 2\Risk of Rain 2_Data\Managed\Assembly-CSharp.dll


Tools Needed
dnSpy (Download)

Instructions
1. Start dnSpy
2. Open Assembly-Csharp.dll from the game folder.
Code
steamapps\common\Risk of Rain 2\Risk of Rain 2_Data\Managed\Assembly-CSharp.dll

3. In Assembly-Csharp.dll expand the RoR2 namespace.
4. Then click on the GenericSkill class.
5. Starting on line 100 find the following CanExecute function:
Code
public virtual bool CanExecute()
{
   if (!this.isBullets)
   {
      return this.stock >= this.requiredStock;
   }
   return (this.stock >= this.requiredStock && this.rechargeStopwatch >= this.shootDelay) || this.stock == this.maxStock;
}

6. Right click on the function name and "click Edit Medthod (C#)..."
7. In the dialog that opens replace the entire function with the following code:
Code
public virtual bool CanExecute()
{
   return true;
}

8. In dnSpy click File > Save Module then click ok.

You're done. If you did everything right cooldowns should be removed from character and drone attacks.
Posted 4 years ago
I don't play that game but thanks <3.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT
Select a forum Protection     Help & Support     Introductions     Mafia News     IMVU News General Discussion     IMVU Lounge        IMVU Series / Roleplaying        Social Games     Mafia Market     Mafia Tools        Premium IMVU Tools        Off Topic Tools     Off Topic     Contests Creator Corner     Graphics Design        Photoshop        GIMP     Basic Creator Help     Catalog And Product Showcase     3D Meshing        3Ds Max        Sketchup        Blender Gangsters with Connections     White Hat Activities        Google Hacking        Trackers Programming Corner     Coding        Python        .Net (C#, VB, etc)        Flash        JAVA        Autoit        Batch        HTML & CSS        Javascript        PHP        Other        IMVU Homepage Codes           General           About me Panel           Messages Panel           Special Someone Panel           Visitors Panel           New Products Panel           Rankings Panel           Wishlist Panel           My Badges Panel           Outfits Panel           Url Panel           Groups Panel           Slideshow Panel           My Room Panel           Sandbox panel           Layouts     Help & Requests Free Credits     Approved Methods     Submit Methods Free Money     Approved Methods     Submit Methods Adult Corner     Get Mafia AP Here     AP Lounge        AP Social Games        Casual Dating Tips     IMVU Slave Market & Escorts