Tired of clicking the screen just to grab the chests in Mr. 내 거? 이 가이드에서는, we will be teaching you how to automate chest grabbing in Mr. 내 거.
Search for the File
Go to the installation folder of Mr. Mine on your PC. 기본적으로, it’s located in:
씨:\프로그램 파일 (x86)\Steam\steamapps\common\MrMine\win-unpacked\resources\app\Shared\src\chest
Look for the javascript file called ChestService.js
Edit the File
중요한 것 먼저. Make a backup copy of the file. 완료되면, open it using any text editor.
Scroll down to line 148, you should see the next lines:
rollForRandomChest(tenthOfDepth, source) { let validBlockDepths = this.getValidBlockDepths(tenthOfDepth); 만약에(validBlockDepths.length && this.rollForBasicChest()) { this.spawnChest(tenthOfDepth, source, this.rollForGoldenChest(), validBlockDepths); } }
Add the next line after line 148:
this.presentChest(tenthOfDepth);
다음과 같아야합니다:
rollForRandomChest(tenthOfDepth, source) { let validBlockDepths = this.getValidBlockDepths(tenthOfDepth); 만약에(validBlockDepths.length && this.rollForBasicChest()) { this.spawnChest(tenthOfDepth, source, this.rollForGoldenChest(), validBlockDepths); this.presentChest(tenthOfDepth); } }
Now go to line 199 and find the next function:
presentChest(tenthOfDepth) { let chest = this.getChest(tenthOfDepth); 만약에(!keysPressed["옮기다"]) { openUi(ChestWindow, undefined, 가슴); } 또 다른 { this.giveChestReward(chest.tenthOfDepth); newNews(_("당신은 {0} from a Chest!", chestService.getChestRewardText()), 진실); } 만약에(chest.isGolden) { trackEvent_FoundChest(1); } 또 다른 { trackEvent_FoundChest(0); } }
Change the presentChest function to look like this:
presentChest(tenthOfDepth) { let chest = this.getChest(tenthOfDepth); this.giveChestReward(chest.tenthOfDepth); newNews(_("당신은 {0} from a Chest!", chestService.getChestRewardText()), 진실); 만약에(chest.isGolden) { trackEvent_FoundChest(1); } 또 다른 { trackEvent_FoundChest(0); } }
Save and close the file and restart the game. Now you won’t see chest spawning, but you’ll get the rewards! You can check out the Event Log for proof.