Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
var interval = setInterval(function(){
var t=CoffeeCup.calcBytesPerClick();
localStats.byteCount+=t;
popManager.newPop("btn-addMem","+"+NumUtils.byteConvert(t,2));
},50);
document.hasFocus = function(){return true} // for click without focus
setInterval(function() {
var t=CoffeeCup.calcBytesPerClick();
localStats.byteCount+=t;
popManager.newPop("btn-addMem","+"+NumUtils.byteConvert(t,2));
},50);
setInterval(function() {
// auto drip
if(parseFloat($('#localProgressBar').css('width'))/parseFloat($('#localProgressBar').parent().css('width')) === 1)
$('#btn-addGlobalMem').click();
// auto buy
if(!$('#pu10').hasClass('disabled'))
$('#pu10').click();
// auto buy 1st powerup
if(!$('#upg1').hasClass('disabled'))
$('#upg1').click();
}, 1000);

if (localStats.byteCount>localStats.memoryCapacity*0.97)
dripper.dripGlobal(!1);
document.hasFocus=function(){return true;}?unsafeWindow.document.hasFocus = function () {return true;};и в комменте akurganow — habrahabr.ru/post/217507/#comment_7446305
$.ajax({type:"POST",async:a,url:GAME_URL+(loggedIn?"events":"eventsanon"),data:"<base64 из request payload запроса>",contentType:"text/plain"});
var storeUppers = [2,5,12,16,32,142,389,2075,8858,70862];
var productivity = [];
var ind = 0;
localStats.powerUps.forEach(function(powerUp) {
var realPrice = powerUp.currentPrice;
productivity.push(realPrice / storeUppers[ind]);
ind++;
});
var store = document.querySelector('#powerupstore');
var children = store.childNodes;
var nodeIndex = productivity.indexOf(Math.min.apply(Math, productivity));
var child = children[nodeIndex];
if(child.className == 'storeItem') {
child.dispatchEvent(evt);
}

We have had crazy traffic towards Level 3 end! Here is a bandwidth graph. Notice the insane spike…

(function (window, undefined) {
if (window.top != window.self) { return; }
window.addEventListener("load", LocalMain, false);
function LocalMain() {
setInterval(function() { FuckTheSystem(); }, 50);
setInterval(function() { Drip(); }, 50);
setInterval(function() { CheckError(); }, 1000);
}
function FuckTheSystem() {
for(var i = 0; i < 10; i++) { // 10
var t=CoffeeCup.calcBytesPerClick();
localStats.byteCount+=t;
}
}
function Drip() {
$('#btn-addGlobalMem').click();
}
function CheckError() {
if($('#networkError').css('display') == 'block') {
location.reload();
}
}
})(window);
Из-за отсутствия возможности отписать лично, передаю слова Remember'a (да-да, это именно тот человек который возглавляет top):

var bestPowerUp = localStats.powerUps[0];
for(var i = 1;i < localStats.powerUps.length; i++) {
var powerUp = localStats.powerUps[i];
if(powerUp.currentPrice/powerUp.currentBps < bestPowerUp.currentPrice/bestPowerUp.currentBps) {
bestPowerUp = powerUp;
}
}
bestPowerUp.buy(localStats);
if (window.localStats.byteCount > window.localStats.memoryCapacity*0.97) {
window.dripper.dripGlobal(!1);
}
window.dataSaver.saveInterval = 0.00001;
setInterval(function() {
window.localStats.byteCount += window.CoffeeCup.calcBytesPerClick();
},0);
window.dataSaver.saveInterval = 0.00001;
setInterval(function() {
window.localStats.byteCount += window.CoffeeCup.calcBytesPerClick()*2.3;
},0);
Вот такая вот история успеха. Только вот интерес уже угас. Да и с 4-м уровнем никак не сложится, не смотря на то, что он должен был начаться еще 2 дня назад — twitter.com/dripstat/status/453577707268231168
Deployed fix in cheat detector to ban all the auto clickers
saveInterval привела к моментальной блокировке :/
Dripstat — сервис мониторинга производительности JVM или MMO игра?