Mr.Mine automated chest grabbing

Mr.Mine automated chest grabbing 5 - steamsplay.com
Mr.Mine automated chest grabbing 5 - steamsplay.com

Hey Guys.

I was reading the game files and found a way to grab chests without clicking on them!
Game version (v.018)

 

Finding the file

 

  1. Open this folder:
     your_drive:\Program Files (x86)\Steam\steamapps\common\MrMine\win-unpacked\resources\app\Shared\src\chest
  2. Look for the javascript file called:
     ChestService.js

 

Edit the file

 

  1. Backup the file and open the original one with your text editor.
  2. Scroll down to line 148, you should see the next lines:
    rollForRandomChest(tenthOfDepth, source)
        {
            let validBlockDepths = this.getValidBlockDepths(tenthOfDepth);
    
            if(validBlockDepths.length && this.rollForBasicChest())
            {
                this.spawnChest(tenthOfDepth, source, this.rollForGoldenChest(), validBlockDepths);
            }
        }
  3. Add the next line after line 148:
    this.presentChest(tenthOfDepth);

    It shoud look like this:

    rollForRandomChest(tenthOfDepth, source)
        {
            let validBlockDepths = this.getValidBlockDepths(tenthOfDepth);
    
            if(validBlockDepths.length && this.rollForBasicChest())
            {
                this.spawnChest(tenthOfDepth, source, this.rollForGoldenChest(), validBlockDepths);
                this.presentChest(tenthOfDepth);
            }
        }
    

     

  4. Now go to line 199 and find the next function:
    presentChest(tenthOfDepth)
        {
            let chest = this.getChest(tenthOfDepth);
            if(!keysPressed["Shift"])
            {
                openUi(ChestWindow, undefined, chest);
            }
            else
            {
                this.giveChestReward(chest.tenthOfDepth);
                newNews(_("You got {0} from a Chest!", chestService.getChestRewardText()), true);
            }
    
            if(chest.isGolden)
            {
                trackEvent_FoundChest(1);
            }
            else
            {
                trackEvent_FoundChest(0);
            }
        }

     

  5. Change the presentChest function to look like this:
    presentChest(tenthOfDepth)
        {
            let chest = this.getChest(tenthOfDepth);
            
            this.giveChestReward(chest.tenthOfDepth);
            newNews(_("You got {0} from a Chest!", chestService.getChestRewardText()), true);
            
            if(chest.isGolden)
            {
                trackEvent_FoundChest(1);
            }
            else
            {
                trackEvent_FoundChest(0);
            }
        }

     

  6. Save and close the file
  7. Restart the game

 

Conclusion

Now you won’t see chest spawning, but you’ll get the rewards! You can checkout the Event Log for proof.
Mr.Mine automated chest grabbing

Written by la durola

Hope you enjoy the post for Mr.Mine automated chest grabbing, If you think we should update the post or something is wrong please let us know via comment and we will fix it how fast as possible! Thank you and have a great day!


Be the first to comment

Leave a Reply

Your email address will not be published.


*