6

enter image description here

As Stack Overflow has introduced Unicoins as their preferred currency I felt it was important as a self-respecting coder to automate a way to mine them!

And here is the result:

Super Unicoin Miner!

To use the Super Unicoin Miner...

  1. Clone/Fork etc repo!
  2. Build in Visual Studio!
  3. Run and focus the Super Unicoin Miner. While miner is focused move your mouse cursor over the browser window and press enter. Behold infinite clicking capabilities!

I had a blast building this but I want to know... Does anyone else have a better way?

PS: My April Fools joke is that it won't stop clicking. Have fun :)

5
  • How long will it take before I can buy a Tesla?
    – user102937
    Apr 1 '14 at 2:35
  • 1
  • Ha, that kicks the hell out of mine. Damn web developers. :) Apr 1 '14 at 2:45
  • 2
    @nhahtdh - Yep, though technically mine was first. Helps being in Australia.
    – aroth
    Apr 1 '14 at 5:47
  • Curse you aroth! I'm in Australia too! You and your web-dev witchcraft. Apr 1 '14 at 10:32
15

You do not need C# here.

Here is my code

var exploit = {
    lastTime : 0,
    totalNum: 0
};

$( document ).ajaxComplete(function( event, xhr, settings ) {
    var a = $.parseJSON(xhr.responseText);
    var id = a.rock;
    var sender = settings.url;

    if (sender.indexOf("icoin/rock?") !== -1){
        var currentTime = parseInt( new Date().getTime() / 1000 );
        if (currentTime - exploit.lastTime > 11){
            $.ajax({
                type: "POST",
                url: "/unicoin/mine?rock=" + id,
                data: {'fkey': StackExchange.options.user.fkey}
            });
            exploit.lastTime = currentTime;
        }
    } else {
        var res = $.parseJSON(xhr.responseText)
        exploit.totalNum += res.value;
    }
});

Just open unicoin miner, paste this in the console and wait. You can see your progress by typing exploit.totalNum

6
  • I just mined 100+ unicoins by this and bought the power of voting animation and first upvoted you! Apr 1 '14 at 10:13
  • But I haven't earned that power on SO. :P Apr 1 '14 at 10:14
  • This is faster than meta.stackexchange.com/a/227404/188498 because it mines immediately once a rock becomes available. The downside is that you have to keep the Unicoin miner open. Apr 1 '14 at 10:20
  • 2
    I posted this in my console with unicorn miner opened and it did not work :( Nothing happened. Apr 1 '14 at 14:13
  • @Dgrin91: It can take a minute for the exploit.totalNum to change. Wait a bit then check it again.
    – golmschenk
    Apr 1 '14 at 19:21
  • Where do you get the miner from?
    – Fandango68
    Apr 2 '14 at 2:36

Not the answer you're looking for? Browse other questions tagged .