r/mrmine • • Dec 28 '13

The Ultimate Way To Cheat in Mr. Mine

30 Upvotes

I spent around 2 days trying to do this and I finally did it with a help of a friend. Open up Chrome Dev Console (F12), go to Source, and look into the index page (it holds the game code). Find the function sellit(x) (just Ctrl+F and find sellit) and set a breakpoint on it (click the line number). Then, without closing the console, go to sell guy and try to sell some ore. If you did it right, the game will stop because of the break, then look right in the Console and click Closure in Scope Variables. Voila! Key values are "money" (your cash), "depth" (you can set whatever depth you want, keep in mind that the game pretty much crashes around 200km though), "minerals" (they are stored in an array, but it's still manageable. You can even change the prices) and "tickets" (tickets that are given out for donating). Hope it helps.

The way I used many years ago is obsolete now as they've obfuscated the game's code. But there is a way to edit save exports anyway. If you're a techy guy - they're double base64 encoded. If you are not, here are the steps:

Export your save, save a backup.

Remove your username and the "|" sign after the username (I.e. Yournickname|).

Paste the rest of the stuff into a base64 decoder.

Paste the decoded result into a base64 decoder again (yeah they double-base64d the savefile).

Now you have a huge line of various numbers separated by |. That's your savefile really. Numbers represent various things - your current floor, how much ores you have etc. If you know exactlyhow much of specific stuff you've got on your savefile (like, I know I have 64 copper so I look for 64 in those numbers etc) then you should know what to edit. Or just try editing them randomly for fun idk. Do not delete the | separators because this will likely corrupt the save, only the numbers.

After you fixed the numbers to your liking paste your huge line into a base64 ENcoder, than paste the result into a base64 encoder again, than add Yournickname2| (don't forget the |) to the very beginning (before the rest of the stuff you encoded) and import your savefile into the game. I recommend you use a different nickname for your import so you'll be able to compare stuff and not lose your original progress.

I tried to keep it easy to understand and replicate for non-techy people but it still reads like a mess imo, so I'll be happy to answer your questions if you have any.

All thanks to u/Leopodesuper for reviving my interest in this niche thread from 9 years ago lol.


r/mrmine • • Nov 30 '13

Trolling workers

18 Upvotes

I am willing to pay up to one million game dollars to be able to put on fire a worker who is all glad and hands up and shouting "I found a chest!!!" which contains 100x of coal.


r/mrmine • • Dec 28 '13

Autoclicker v2 available. New GUI and settings saving!

17 Upvotes

Hey all, I'm not the original author of the Autoclicker script for MrMine. But I took what was there and decided to amp it up a bit. You can find my original post about the script here.

Well, I've just finished work on 2.0 of my script. This does a lot of new things. Now, like most things like this, USE AT YOUR OWN RISK! This has only been tested on Chrome with Tampermonkey.

  • A GUI for easier user experience.

  • Drag and drop functionality. Move the GUI wherever you like! Just remember to Save the settings to remember that spot next time you load!

  • Start button. Simply click the button to start the script. Use the same button to Pause and Resume running the script!

  • Option field for max depth. As the app currently busts when going below 199km I've made this an option people can change. More helpful in the future when the bug is fixed. This option defaults to 199 currently.

  • Option field for selling your materials. If the default is too fast for you to reach the bottom for collecting chests, then simply increase it. Chests stick around for 10 minutes, so you can play with this.

  • Ability to toggle each Ore individually if you would like to sell it or not. If checked, then it will be sold. This is useful when building Drill parts that require certain materials. Remember to click SAVE to enable the options!

  • Save feature will reload all your saved settings and the position of the GUI window next time you load the page!

What do I need for this awesomesauce? Well, first you need an extension/addon for your browser to run the script.

Firefox: https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/

Chrome: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en

Next, get the Autoclicker script from here http://userscripts.org/scripts/show/186678

New link for Userscripts for now. Only way it seems you can access it right now: http://userscripts.org:8080/scripts/show/186678

Happy Mining!


r/mrmine • • Sep 16 '20

Mr.Mine is coming to Steam

Thumbnail
store.steampowered.com
16 Upvotes

r/mrmine • • Nov 29 '13

Mr. Mine Wiki (Still in start-up phase, feel free to help out with content)

Thumbnail
mrmine.wikia.com
11 Upvotes

r/mrmine • • Mar 13 '14

[Spoiler] This is how it ends. For two weeks playing the game, it pretty much sucks.

Post image
9 Upvotes

r/mrmine • • Nov 28 '13

The game - Mr. Mine

Thumbnail
mrmine.com
9 Upvotes

r/mrmine • • Dec 01 '13

Changelog

Thumbnail mrmine.com
7 Upvotes

r/mrmine • • Dec 28 '14

finally

Thumbnail
imgur.com
6 Upvotes

r/mrmine • • Apr 06 '14

Any ideas when the next upgrade is coming out?

6 Upvotes

r/mrmine • • Mar 12 '14

Reward - $500,000,000, Awesome Treasure Chest

6 Upvotes

You got nothing... yeah thats awesome.


r/mrmine • • Dec 28 '13

To all the Miners who are bored of digging and want a boost to End.

6 Upvotes

I would like to share my Saved Game. I bought a 1000 tickets and sold everything and as it is christmas would like to giveaway my Saved Game to All the Miners. Merry Christmas and a Happy New Year. sahilddd|MCw3LDE0LDE3LDIyLDI4LDM0LDQwLDQ1|xNTAxOTmU0MzgzVNDcA4ODwY3NjUKwfDIwuM3wzMGTUwNdDA2MjEwOXwxMDMxOTEzNzU5MTM4NTY2MTAwMDB8MzN8MzR8MzV8MzZ8MTB8MzB8MzQwfDIyNXwyMjN8MjA0fDI2NXwyOTV8MTM3fDE4N3wyNzd8MTY3NnwxNHwzMnwwfDB8MHwwfDB8MHwwfDB8ODE1MHwzM3w3fDB8NjM0NXwxNXwxfDB8MTU3Nnw4fDF8MHwiMSE1ITkhMTMhMTchMjEhMjUhMjkhLTEifCIyITYhMTAhMTQhMTghMjIhMzAhMjYhLTEifCIzITchMTEhMTUhMTkhMjMhMjchMzEhLTEifCI0ITghMTIhMTYhMjAhMjQhMjghMzIhLTEifCItMSEtMSEtMSEtMSEtMSEtMSEtMSEtMSEtMSJ8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxOTAxNDB8IjIhMiEyITIhMiEyITIhMiEyITIhMiEyITEhMiEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAhMCEwITAifDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDF8MXwxfDEwfCIzITQhMCEwITAhMCEwITAhMCEwInwwfA==


r/mrmine • • Dec 09 '13

Thought this might help :)

6 Upvotes

So i have found out that you can actually buy more recipes that you would get from chests from a strange guy that lives in the mines, in my case the guy is in a crack on the 50th kilometer :P


r/mrmine • • Dec 02 '13

Suddenly a new engine popped up

Post image
6 Upvotes

r/mrmine • • Dec 31 '20

Join us on our active Discord!

Thumbnail
discord.gg
5 Upvotes

r/mrmine • • Aug 19 '14

Mr Mine autoclicker code

5 Upvotes
// ==UserScript==
// @name        Mr. Mine/Autoclicker
// @author      Nighteyez07 (Anonimal is the original author)
// @namespace   *
// @description Clica automaticamente nos baús
// @include     http://*.mrmine.com/*
// @include     http://mrmine.com/*
// @version     2.1
// @require     http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @require     http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js
// ==/UserScript==

var mrMine = {
	init: function() {
		mrMine.loadSettings();
		mrMine.menu();
		mrMine.applyStyles();
		mrMine.expandCollapse();
		mrMine.startPauseResume();
		mrMine.dragit();
		mrMine.saveSettings();
	},
	options: {
		left: 0
		,top: 0
		,depthCounter: 0
		,depthMax: 199
		,clickWorkerInterval: 100
		,clickWorkerIntervalId: null
		,sellAllInterval: 120000
		,sellAllIntervalId: null
		,chestHandlingInterval: 0
		,chestHandlingIntervalId: null
		,state: 0
		,stateOptions: ["Start","Pause","Resume"]
		,version: 2.1
		,ore: [
			{
				"label":"Coal"
				,"id": "#SB2"
				,"state": 1
			},{
				"label":"Copper"
				,"id": "#SB3"
				,"state": 1
			},{
				"label":"Silver"
				,"id": "#SB4"
				,"state": 1
			},{
				"label":"Gold"
				,"id": "#SB5"
				,"state": 1
			},{
				"label":"Platinum"
				,"id": "#SB6"
				,"state": 1
			},{
				"label":"Diamond"
				,"id": "#SB7"
				,"state": 1
			},{
				"label":"Coltan"
				,"id": "#SB8"
				,"state": 1
			},{
				"label":"Painite"
				,"id": "#SB9"
				,"state": 1
			},{
				"label":"Black_Opal"
				,"id": "#SB10"
				,"state": 1
			},{
				"label":"Red_Diamond"
				,"id": "#SB11"
				,"state": 1
			},{
				"label":"Obsidian"
				,"id": "#SB12"
				,"state": 1
			},{
				"label":"Californium"
				,"id": "#SB13"
				,"state": 1
			}
		]
	},
	menu: function() {
		var menu = '<div id="autoclickerMenu">';
		menu += '<div id="autoclickerMenuTitle">';
		menu += '<a href="#" id="autoclickerButton" class="autoclickerButton">Start</a>';
		menu += 'Mr. Mine Auto Clicker v'+mrMine.options.version;
		menu += '<span id="autoclickerMenuTitleExpandCollapse" class="autoclickerShow">&#43;</span>';
		menu += '</div>';
		menu += '<div id="autoclickerMenuContent">';
		menu += '<label for="autoclickerDepthLimit">Depth Limit:</label>';
		menu += '<input type="text" id="autoclickerDepthLimit" name="autoclickerDepthLimit" style="width: 50px;" value="'+mrMine.options.depthMax+'" /> km<br />';
		menu += '<label for="autoclickerSellInterval">Sell All Interval:</label>';
		menu += '<input type="text" id="autoclickerSellInterval" name="autoclickerSellInterval" style="width: 50px;" value="'+(mrMine.options.sellAllInterval/1000)+'" /> seconds<br />';
		menu += '<label>Ores to Sell</label>';
		menu += '<ul style="list-style-type: none; padding-left: 5px;">';
		for(var i = 0; i < mrMine.options.ore.length; i++) {
			var checked = '';
			if(mrMine.options.ore[i].state === 1) {
				checked = ' checked="checked"';
			}
			menu += '<li><input type="checkbox" id="autoclickerOre_'+mrMine.options.ore[i].label+'" value="'+mrMine.options.ore[i].label+'"'+checked+' /> '+mrMine.options.ore[i].label+'</li>';
		}
		menu += '</ul>';
		menu += '<a href="#" id="autoclickerSave" class="autoclickerButton">Save</a>';
		menu += '</div>';
		menu += '</div>';
		
		$("body").append(menu);
		
	},
	applyStyles: function() {
		$("#autoclickerMenu").css({
			"z-index": 999
			,"width": "300px"
			,"position" : "fixed"
			,"border" : "4px solid #C3C3C3"
			,"border-radius" : "8px"
			,"left" : mrMine.options.left+"px"
			,"top" : mrMine.options.top+"px"
		});
		$("#autoclickerMenuTitle").css({
			"background-color": "#C9D6DC"
			,"font-size": "16px"
			,"font-weight": "bold"
			,"line-height": "30px"
			,"padding-left": "5px"
		});
		$("#autoclickerMenuTitleExpandCollapse").css({
			"cursor": "pointer"
			,"display": "inline-block"
			,"font-size": "20px"
			,"line-height": "30px"
			,"position": "absolute"
			,"right": "0"
			,"text-align": "center"
			,"width": "30px"
		});
		$("#autoclickerMenuContent").css({
            "background-color": "#FFFFFF"
			,"padding": "5px"
			,"display": "none"
		});
		$(".autoclickerButton").css({
			"-moz-box-shadow":"inset 0px 1px 0px 0px #bee2f9"
			,"-webkit-box-shadow":"inset 0px 1px 0px 0px #bee2f9"
			,"box-shadow":"inset 0px 1px 0px 0px #bee2f9"
			,"background":"-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #63b8ee), color-stop(1, #468ccf) )"
			,"background":"-moz-linear-gradient( center top, #63b8ee 5%, #468ccf 100% )"
			,"filter":"progid:DXImageTransform.Microsoft.gradient(startColorstr='#63b8ee', endColorstr='#468ccf')"
			,"background-color":"#63b8ee"
			,"-webkit-border-top-left-radius":"6px"
			,"-moz-border-radius-topleft":"6px"
			,"border-top-left-radius":"6px"
			,"-webkit-border-top-right-radius":"6px"
			,"-moz-border-radius-topright":"6px"
			,"border-top-right-radius":"6px"
			,"-webkit-border-bottom-right-radius":"6px"
			,"-moz-border-radius-bottomright":"6px"
			,"border-bottom-right-radius":"6px"
			,"-webkit-border-bottom-left-radius":"6px"
			,"-moz-border-radius-bottomleft":"6px"
			,"border-bottom-left-radius":"6px"
			,"text-indent":"0"
			,"border":"1px solid #3866a3"
			,"display":"inline-block"
			,"color":"#14396a"
			,"font-family":"Arial"
			,"font-size":"15px"
			,"font-weight":"bold"
			,"font-style":"normal"
			,"height":"25px"
			,"line-height":"25px"
			,"margin-right":"10px"
			,"width":"70px"
			,"text-decoration":"none"
			,"text-align":"center"
			,"text-shadow":"1px 1px 0px #7cacde"
		});
		
		$("#autoclickerMenuContent label").css({
			"display":"inline-block"
			,"font-weight":"bold"
			,"width":"150px"
		});
	},
	expandCollapse: function() {
		$("#autoclickerMenuTitleExpandCollapse").click(function() {
			if($(this).hasClass("autoclickerShow")) {
				$("#autoclickerMenuContent").show();
				$(this).removeClass("autoclickerShow").addClass("autoclickerHide").html("&#45;");
			} else {
				$("#autoclickerMenuContent").hide();
				$(this).removeClass("autoclickerHide").addClass("autoclickerShow").html("&#43;");
			}
		});
	},
	startPauseResume: function() {
		$("#autoclickerButton").click(function(event) {
			event.preventDefault();//keep the click from trying to update the page
			switch(mrMine.options.state) {
				case 0:
					mrMine.options.state = 1;
					$(this).text("Pause");
					mrMine.run();
				break;
				
				case 1:
					mrMine.options.state = 2;
					$(this).text("Resume");
					mrMine.pause();
				break;
				
				case 2:
					mrMine.options.state = 1;
					$(this).text("Pause");
					mrMine.run();
				break;
			}
		});
	},
	dragit: function() {
		$("#autoclickerMenu").draggable({ distance: 20 });
	},
	getCookie: function(cname) {
		var name = cname + "=";
		var ca = document.cookie.split(';');
		for(var i = 0; i < ca.length; i++) {
			var c = ca[i].trim();
			if(c.indexOf(name)==0) {
				return c.substring(name.length, c.length);
			}
		}
		
		return "";
	},
	setCookie: function(name, value) {
		var date = new Date();
		date.setTime(date.getTime() + (30 * 24 * 60 * 60 * 1000));//30 days out
		var expires = "; expires=" + date.toGMTString();
		document.cookie = name + "=" + value + expires + "; path=/";
	},
	loadSettings: function() {
		//load settings from cookie if exists. If exists, then set as default. It not exist, then use default setting.
		var left = mrMine.getCookie("autoclicker_left");
		if(left.length && !isNaN(left)) {
			mrMine.options.left = left;
		}
		var top = mrMine.getCookie("autoclicker_top");
		if(top.length && !isNaN(top)) {
			mrMine.options.top = top;
		}
		var depthOption = mrMine.getCookie("autoclicker_depthMax");
		if(depthOption.length && !isNaN(depthOption)) {
			mrMine.options.depthMax = depthOption;
		}
		var sellOption = mrMine.getCookie("autoclicker_sellAllInterval");
		if(sellOption.length && !isNaN(sellOption)) {
			mrMine.options.sellAllInterval = sellOption;
		}
		for(var i = 0; i < mrMine.options.ore.length; i++) {
			var ore = mrMine.getCookie("autoclicker_"+mrMine.options.ore[i].label);
			if(ore.length) {
				ore = parseInt(ore);
				if(ore === 1 || ore === 0) {
					mrMine.options.ore[i].state = ore;
				}
			}
		}
	},
	saveSettings: function() {
		//save the settings to a cookie
		$("#autoclickerSave").click(function(event) {
			event.preventDefault();//keep the click from trying to update the page
			var position = $("#autoclickerMenu").position();
			//add a check to not allow negative values, so the window isn't lost on an OOPS
			var left = position.left;
			if(left < 0) {
				left = 0;
			}
			var top = position.top;
			if(top < 0) {
				top = 0;
			}
			
			mrMine.setCookie("autoclicker_left", left);
			mrMine.setCookie("autoclicker_top", top);
			
			var depthMax = parseInt($("#autoclickerDepthLimit").val());
			mrMine.setCookie("autoclicker_depthMax", depthMax);//set Depth preference
			mrMine.options.depthMax = depthMax;
			
			var sellInterval = parseInt($("#autoclickerSellInterval").val());
			if(!isNaN(sellInterval)) {
				mrMine.setCookie("autoclicker_sellAllInterval", (sellInterval*1000));//set Sell All Interval preference
				mrMine.options.sellAllInterval = sellInterval*1000;
			}
			
			for(var i = 0; i < mrMine.options.ore.length; i++) {
				var selected = 0;
				if($("#autoclickerOre_"+mrMine.options.ore[i].label).is(":checked")) {
					selected = 1;
				}
				mrMine.options.ore[i].state = selected; // set the current session
				mrMine.setCookie("autoclicker_"+mrMine.options.ore[i].label, selected);//set Ore selling preference
			}
		});
	},
	run: function() {
        $("#UPALLB").click();//start at the top, always
		mrMine.options.clickWorkerIntervalId = window.setInterval(mrMine.clickWorker, mrMine.options.clickWorkerInterval);
		mrMine.options.sellAllIntervalId = window.setInterval(mrMine.sellAll, mrMine.options.sellAllInterval);
		mrMine.options.chestHandlingIntervalId = window.setInterval(mrMine.chestHandling, mrMine.options.chestHandlingInterval);
	},
	pause: function() {
		mrMine.options.depthCounter = 0;
		window.clearInterval(mrMine.options.clickWorkerIntervalId);
		window.clearInterval(mrMine.options.sellAllIntervalId);
		window.clearInterval(mrMine.options.chestHandlingIntervalId);
	},
	clickWorker: function() {
		if(mrMine.options.depthCounter < mrMine.options.depthMax) {
			for(var i=1; i < 6; ++i){
				$("#L"+i+"a, #L"+i+"b, #L"+i+"c, #L"+i+"d, #L"+i+"e, #L"+i+"f, #L"+i+"g, #L"+i+"h, #L"+i+"i, #L"+i+"j").click(); 
			} 
			$("#DOWNB").click();
			mrMine.options.depthCounter++;
		}
	},
	sellAll: function() {
		$("#UPALLB").click();
		$("#PLACE1").click();
		for(var i = 0; i < mrMine.options.ore.length; i++) {
			if(mrMine.options.ore[i].state === 1) {
				//only sell enabled Ores
				$(mrMine.options.ore[i].id).click();
			}
		}
		$("#CLOSEs").click();
		mrMine.options.depthCounter = 0;
	},
	chestHandling: function() {
		$("#chestclosed").click();
		$("#chestopen").click();
		$("#CHEST").click();
		$("#CHESTD").click();
		$("#OPENIT").click();
		$("#BUY").click();
		$("#foundt").click();
	}
	
}
$(document).ready(mrMine.init);

r/mrmine • • Feb 27 '14

How often do you find golden chests and how deep were you when you found your first one?

5 Upvotes

This grinding to get to the level 7 stuff is going very slowly.


r/mrmine • • Feb 24 '14

noticed someone made a pixel version of him.

Thumbnail
imgur.com
5 Upvotes

r/mrmine • • Jan 16 '14

Is there any upcoming patch soon?

5 Upvotes

When version 0.35 was released it was fun for a day or two until most of the players got to 470km and the game gets stuck from there, same way it was with 200km in version 0.3.

There are other urgent things that need to be fixed as well:

  • Lvl 10/11 recipes never stay in the craft window when the game restarts. Although for some reason I just restarted my game with 2 lvl 10 recipes, so this might been fixed, not 100% sure yet.

  • Lvl 11 cargo is completely unattainable no matter what for some reason.

  • Only 10 equips are allowed, but we are not allowed to discard equips. Say for example you have all the engines equipped from lvl 1 all the way to lvl 10, you will not be able to craft lvl 11 engine because there is no more room for it, therefore the game should allow you to discard old recipes.


r/mrmine • • Dec 29 '13

Mr Mine 0.35 aka the commercial update

5 Upvotes

0.35 was released today and new recipes only unlock through golden chests. just bought 12 golden chests and had 20 tickets in there 2 times. => 16 golden chests and no single recipe.

just imagine how difficult it would be to find 16 chests in quite some time and to get no single recipe...

the only way to get recipes now is having extreme luck or extreme high funds on the game.


r/mrmine • • Dec 17 '13

Golden chest

5 Upvotes

Hi, what is the probability of finding Golden Chest? I am at 88km and still haven't found one. I don't spend all my time on the game, but I do check it from time to time with no luck yet. Is it normal?


r/mrmine • • Dec 12 '13

Gif of how the Metal Detector looks when one of your miners have found a chest

5 Upvotes

r/mrmine • • Dec 11 '13

Cheating

5 Upvotes

Seriously guys, haven't any of you thought about doing so? Or maybe you have already done it? If so, help a dude out finding how to do so! :-D

I know that you in Dr.Meth could open the Chrome webmaster tools, and use codes like "cnt", "purity" and such in the commandline. Maybe you can do the same in MrMine, since it's same guys who made it? :)


r/mrmine • • Dec 02 '13

Many chests at once?

5 Upvotes

So currently im 71 km down and i occasionaly go and see if there are any chests and now it has occured many times that i see multiple chests at once and i can open all of them, anyone else had this? :)


r/mrmine • • Nov 30 '13

I found Fan 6 (start saving gold)

5 Upvotes

It's 500,000 gold to craft and found in treasure chests.