Tired of clicking the screen just to grab the chests in Mr. Mío? En esta guía, we will be teaching you how to automate chest grabbing in Mr. Mío.
Search for the File
Go to the installation folder of Mr. Mine on your PC. Por defecto, it’s located in:
C:\Archivos de programa (x86)\Steam\steamapps\common\MrMine\win-unpacked\resources\app\Shared\src\chest
Look for the javascript file called ChestService.js
Edit the File
Lo primero es lo primero. Make a backup copy of the file. Una vez hecho, open it using any text editor.
Scroll down to line 148, you should see the next lines:
rollForRandomChest(tenthOfDepth, fuente) { let validBlockDepths = this.getValidBlockDepths(tenthOfDepth); si(validBlockDepths.length && this.rollForBasicChest()) { this.spawnChest(tenthOfDepth, fuente, this.rollForGoldenChest(), validBlockDepths); } }
Add the next line after line 148:
this.presentChest(tenthOfDepth);
Debería verse así:
rollForRandomChest(tenthOfDepth, fuente) { let validBlockDepths = this.getValidBlockDepths(tenthOfDepth); si(validBlockDepths.length && this.rollForBasicChest()) { this.spawnChest(tenthOfDepth, fuente, this.rollForGoldenChest(), validBlockDepths); this.presentChest(tenthOfDepth); } }
Now go to line 199 and find the next function:
presentChest(tenthOfDepth) { let chest = this.getChest(tenthOfDepth); si(!keysPressed["Cambio"]) { openUi(ChestWindow, undefined, pecho); } demás { this.giveChestReward(chest.tenthOfDepth); newNews(_("tienes {0} from a Chest!", chestService.getChestRewardText()), verdadero); } si(chest.isGolden) { trackEvent_FoundChest(1); } demás { trackEvent_FoundChest(0); } }
Change the presentChest function to look like this:
presentChest(tenthOfDepth) { let chest = this.getChest(tenthOfDepth); this.giveChestReward(chest.tenthOfDepth); newNews(_("tienes {0} from a Chest!", chestService.getChestRewardText()), verdadero); si(chest.isGolden) { trackEvent_FoundChest(1); } demás { 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.
Eso es todo lo que estamos compartiendo hoy para este Señor. Mío guía. Esta guía fue originalmente creada y escrita por moNst_. En caso de que no actualicemos esta guía, puede encontrar la última actualización siguiendo este enlace.