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

DataMine
by DataMine · 2 posts
5 years ago in .Net (C#, VB, etc)
Posted 5 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 5 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