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 :)

closed as off-topic by Shog9 Apr 4 '14 at 19:08

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question was asked in regards to the 2014 April Fools feature, "Unicoins". Since it is no longer April 1st, Unicoins are now considered off-topic." – Shog9
If this question can be reworded to fit the rules in the help center, please edit the question.

  • How long will it take before I can buy a Tesla? – Robert Harvey Apr 1 '14 at 2:35
  • 1
  • Ha, that kicks the hell out of mine. Damn web developers. :) – matthewrdev 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. – matthewrdev 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

  • I just mined 100+ unicoins by this and bought the power of voting animation and first upvoted you! – hims056 Apr 1 '14 at 10:13
  • But I haven't earned that power on SO. :P – hims056 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. – user2428118 Apr 1 '14 at 10:20
  • 2
    I posted this in my console with unicorn miner opened and it did not work :( Nothing happened. – David Grinberg 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 .