Friday, January 26, 2018
Thursday, January 25, 2018
Sunday, January 21, 2018
f
console.clear();
var startbalance = 0;
var stopAt= ‘?’;
var round = 0;
var gameLost=0;
var gameWin=0;
var higherbet=0;
startbalance = $(‘#balance’).text();
var startValue = ‘0.00000001’, // Don’t lower the decimal point more than 4x of current balance
stopPercentage = 0.001, // In %. I wouldn’t recommend going past 0.08
maxWait = 500, // In milliseconds
stopped = false,
stopBefore = 3; // In minutes
var oldbet= 0.00000001;
document.getElementById(“advertise_link_li”).innerHTML = ‘<a href=”#” onclick=”startGame()” class=”advertise_link”>START BOT</a>’;
var $loButton = $(‘#double_your_btc_bet_lo_button’),
$hiButton = $(‘#double_your_btc_bet_hi_button’);function higherBet(){
console.log(‘Highest bet: ‘+higherbet);
}function changeBet(bet){
startValue=bet;
}function realtime(time) {
var sec_num =parseInt(time, 10) ; // don’t forget the second param
var hours = Math.floor(sec_num / 3600);
var minutes = Math.floor((sec_num – (hours * 3600)) / 60);
var seconds = sec_num – (hours * 3600) – (minutes * 60);if (hours!=0) {hours = hours+’ Hours ‘;} else{hours = ”;}if (minutes!=0) {minutes = minutes+’ Minutes ‘;}
else{minutes = ”;}
if (seconds < 10) {seconds = seconds;}
var time = ‘Playing time = ‘+hours+minutes+seconds+’ Secondes’;
return time;
}function roundnumb(){
console.clear();
if( round == stopAt)
{
stopGame()
}
else
{
round = round + 1;
console.log(‘Round #’ + round + ‘ / ‘ + stopAt);
}var newbalance= $(‘#balance’).text()
var profit = (Number(newbalance) – Number(startbalance)).toFixed(8) ;
console.log(‘Profit:’ + profit + ‘ Bitcoin’)
}
//Number of round. Type stopatRound(NUMBER_OF_ROUND) to change
//function stopatRound(limitRound){
//stopAt=limitRound;
//}
function multiply(){
var current = $(‘#double_your_btc_stake’).val();
var multiply = (current * 2).toFixed(8);
$(‘#double_your_btc_stake’).val(multiply);
console.log(‘Bet = ‘ + multiply);
if( higherbet < multiply ){ higherbet=multiply; }
}
function getRandomWait(){
var wait = Math.floor(Math.random() * maxWait ) + 100; //(Math.floor(Math.random() * 800) + 300) ; // avant 100
console.log(‘Waiting for ‘ + wait + ‘ms before next bet.’);
return wait ;
}
function startGame(limit){
document.getElementById(“advertise_link_li”).innerHTML = ‘<a href=”#” onclick=”stopGame()” class=”advertise_link”>STOP BOT</a>’;
starttime=(new Date()).getTime();
startValue = prompt(“Number of satoshi you want to bet?”, ‘0.00000001’);
oldbet=startValue;round = 0;
gameLost=0;
gameWin=0;
console.log(‘Game started!’);
reset();
$loButton.trigger(‘click’);
if(limit !== null) {
stopAt=limit;
}
else
{
stopAt=-1;
}}
function stopGame(){
document.getElementById(“advertise_link_li”).innerHTML = ‘<a href=”#” onclick=”startGame()” class=”advertise_link”>START BOT</a>’;
console.log(‘Game will stop soon! Let me finish.’);
stopped = true;
startValue=oldbet;}function reset(){
if( round % 100 === 0 && round !=0)
{
startValue=(startValue * 1.000).toFixed(8); //New bet after 100 round
console.log(‘Round ‘ + round + ‘: bet change for ‘ + startValue);
}
$(‘#double_your_btc_stake’).val(startValue);
}
// quick and dirty hack if you have very little bitcoins like 0.0000001
function deexponentize(number){
return number * 1000000;
}
function iHaveEnoughMoni(){
var balance = deexponentize(parseFloat($(‘#balance’).text()));
var current = deexponentize($(‘#double_your_btc_stake’).val());
return ((balance*2)/100) * (current*2) > stopPercentage/100;
}
function stopBeforeRedirect(){
var minutes = parseInt($(‘title’).text());
if( minutes < stopBefore )
{
console.log(‘Approaching redirect! Stop the game so we don\’t get redirected while loosing.’);
stopGame();
return true;
}
return false;
}
// Unbind old shit
$(‘#double_your_btc_bet_lose’).unbind();
$(‘#double_your_btc_bet_win’).unbind();
// Loser
$(‘#double_your_btc_bet_lose’).bind(“DOMSubtreeModified”,function(event){if( $(event.currentTarget).is(‘:contains(“lose”)’) )
{
gameLost = gameLost + 1;
roundnumb();
console.log(‘%cWin: ‘ + gameWin + ‘ Lost: ‘ + gameLost, ‘color: #00CC00’);
endtime=(new Date()).getTime();
var time=Math.floor((endtime-starttime )/1000);
higherBet();
console.log(realtime(time));
console.log(‘You LOST!’);
multiply();
setTimeout(function(){
$loButton.trigger(‘click’);
}, getRandomWait());
//$loButton.trigger(‘click’);
}});
// Winner
$(‘#double_your_btc_bet_win’).bind(“DOMSubtreeModified”,function(event){
if( $(event.currentTarget).is(‘:contains(“win”)’) )
{gameWin = gameWin + 1;
roundnumb();
console.log(‘%cWin: ‘ + gameWin + ‘ Lost: ‘ + gameLost, ‘color: #FF0000’);
endtime=(new Date()).getTime();
var time=Math.floor((endtime-starttime )/1000);
console.log(realtime(time));
higherBet();
if( stopBeforeRedirect() )
{
return;
}
if( iHaveEnoughMoni() )
{console.log(‘You WON!’);
reset();
if( stopped )
{
stopped = false;
return false;
}
}
else
{
console.log(‘You WON! ‘);
}
setTimeout(function(){
$loButton.trigger(‘click’);
}, getRandomWait());
}}
);
Iklan
free
var startValue = '0.000001', // Don't lower the decimal point more than 4x of current balance
stopPercentage = 0.1,
maxWait = 777,
stopped = false, // debugging
stopBefore = 1; // In minutes for timer before stopping redirect on webpage
var $loButton = $('#double_your_btc_bet_lo_button'),
$hiButton = $('#double_your_btc_bet_hi_button');
function multiply(){
var current = $('#double_your_btc_stake').val();
var multiply = (current * 2).toFixed(8);
$('#double_your_btc_stake').val(multiply);
}
function getRandomWait(){
var wait = Math.floor(Math.random() * maxWait ) + 100;
console.log('Waiting for ' + wait + 'ms before next bet.');
return wait ;
}
function startGame(){
console.log('Game started!');
reset();
$loButton.trigger('click');
}
function stopGame(){
console.log('Game will stop soon! Let me finish.');
stopped = true;
}
function reset(){
$('#double_your_btc_stake').val(startValue);
}
function deexponentize(number){
return number * 10000000;
}
function iHaveEnoughMoni(){
var balance = deexponentize(parseFloat($('#balance').text()));
var current = deexponentize($('#double_your_btc_stake').val());
return ((balance)*2/100) * (current*2) > stopPercentage/100;
}
function stopBeforeRedirect(){
var minutes = parseInt($('title').text());
if( minutes < stopBefore )
{
console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
stopGame();
return true;
}
return false;
}
$('#double_your_btc_bet_lose').unbind();
$('#double_your_btc_bet_win').unbind();
$('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
if( $(event.currentTarget).is(':contains("lose")') )
{
console.log('You LOST! Multiplying your bet and betting again.');
multiply();
setTimeout(function(){
$loButton.trigger('click');
}, getRandomWait());
}
});
$('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
if( $(event.currentTarget).is(':contains("win")') )
{
if( stopBeforeRedirect() )
{
return;
}
if( iHaveEnoughMoni() )
{
console.log('You WON! But don\'t be greedy. Restarting!');
reset();
if( stopped )
{
stopped = false;
return false;
}
}
else
{
console.log('You WON! Betting again');
}
setTimeout(function(){
$loButton.trigger('click');
}, getRandomWait());
}
});startGame()
Wednesday, January 17, 2018
Sunday, January 14, 2018
Saturday, January 13, 2018
Friday, January 12, 2018
spinner
function mouseEvent(type, sx, sy, cx, cy) {
var evt;
var e = {
bubbles: true,
cancelable: (type != "mousemove"),
view: window,
detail: 0,
screenX: sx,
screenY: sy,
clientX: cx,
clientY: cy,
ctrlKey: false,
altKey: false,
shiftKey: false,
metaKey: false,
button: 0,
relatedTarget: undefined
};
if (typeof( document.createEvent ) == "function") {
evt = document.createEvent("MouseEvents");
evt.initMouseEvent(type,
e.bubbles, e.cancelable, e.view, e.detail,
e.screenX, e.screenY, e.clientX, e.clientY,
e.ctrlKey, e.altKey, e.shiftKey, e.metaKey,
e.button, document.body.parentNode);
} else if (document.createEventObject) {
evt = document.createEventObject();
for (prop in e) {
evt[prop] = e[prop];
}
evt.button = { 0:1, 1:4, 2:2 }[evt.button] || evt.button;
}
return evt;
}
var a = document.getElementsByClassName("spinner")[0],
b = document.getElementById("speed");
a.addEventListener("mousemove", function(e){console.log("clientX:" + e.clientX +", clientY:" + e.clientY +", screenX:" + e.screenX +", screenY:" + e.screenY +", movementX:" + e.movementX);});
function bootRot(x, y){
a.dispatchEvent(mouseEvent("mousemove", x, y, x, y));
}
function bootStart(){
if ((b.innerHTML != "Dragging") && parseInt(b.innerHTML) < 1600){
var xInicial = 0, yInicial = 0;
// "parseInt(b.innerHTML) < 1600": 1600 is the minimum value in RPMs from which the spinner rotates again.
// This value can be edited!
for(var ofParent = a; ofParent; ofParent = ofParent.offsetParent){
xInicial += ofParent.offsetLeft;
yInicial += ofParent.offsetTop;
}
var bootWidth = xInicial + a.offsetWidth,
bootHeight = xInicial + a.offsetHeight;
var Xs = [xInicial, (bootWidth)/2, bootHeight, (bootWidth)/2], /*[462, 591, 729, 869],*/
Ys = [(bootHeight)/2, yInicial, (bootHeight)/2, bootHeight], /*[77, 77, 77, 77],*/
count = 0, speedBoot = 20;
// speedBoot = 20: Time in milliseconds that the mouse pointer would by points (Xs,Ys) forming a perfect circle.
// This value can also be edited.
a.dispatchEvent(mouseEvent("mousedown", Xs[0], Ys[0], Xs[0], Ys[0]));
bootRot(Xs[0], Ys[0]);
setTimeout(function(){
bootRot(Xs[1], Ys[1]);
}, (count++)*speedBoot);
setTimeout(function(){
bootRot(Xs[2], Ys[2]);
}, (count++)*speedBoot);
setTimeout(function(){
bootRot(Xs[3], Ys[3]);
a.dispatchEvent(mouseEvent("mouseup", Xs[3], Ys[3], Xs[3], Ys[3]));
}, (count++)*speedBoot);
}
}
var bootIntervalId = setInterval(bootStart, 1800);
// bootStart, 20: Time in milliseconds to swing reset after reaching the minimum RPM value.
// This value can also be edited.
// It is recommended that greater values for computers that do not have advanced hardware configuration!
function bootStop(){ // bootStop(): Command stops the execution of the script.
clearInterval(bootIntervalId);
}
Thursday, January 11, 2018
Wednesday, January 10, 2018
0.00001000
var startValue = '0.00001000', // Don't lower the decimal point more than 4x of current balance
maxWait = 777,
stopped = false, // debugging
stopBefore = 1; // In minutes for timer before stopping redirect on webpage
var $loButton = $('#double_your_btc_bet_lo_button'),
$hiButton = $('#double_your_btc_bet_hi_button');
function multiply(){
var current = $('#double_your_btc_stake').val();
var multiply = (current * 2).toFixed(8);
$('#double_your_btc_stake').val(multiply);
}
function getRandomWait(){
var wait = Math.floor(Math.random() * maxWait ) + 100;
console.log('Waiting for ' + wait + 'ms before next bet.');
return wait ;
}
function startGame(){
console.log('Game started!');
reset();
$loButton.trigger('click');
}
function stopGame(){
console.log('Game will stop soon! Let me finish.');
stopped = true;
}
function reset(){
$('#double_your_btc_stake').val(startValue);
}
function deexponentize(number){
return number * 10000000;
}
function iHaveEnoughMoni(){
var balance = deexponentize(parseFloat($('#balance').text()));
var current = deexponentize($('#double_your_btc_stake').val());
return ((balance)*2/100) * (current*2) > stopPercentage/100;
}
function stopBeforeRedirect(){
var minutes = parseInt($('title').text());
if( minutes < stopBefore )
{
console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
stopGame();
return true;
}
return false;
}
$('#double_your_btc_bet_lose').unbind();
$('#double_your_btc_bet_win').unbind();
$('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
if( $(event.currentTarget).is(':contains("lose")') )
{
console.log('You LOST! Multiplying your bet and betting again.');
multiply();
setTimeout(function(){
$loButton.trigger('click');
}, getRandomWait());
}
});
$('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
if( $(event.currentTarget).is(':contains("win")') )
{
if( stopBeforeRedirect() )
{
return;
}
if( iHaveEnoughMoni() )
{
console.log('You WON! But don\'t be greedy. Restarting!');
reset();
if( stopped )
{
stopped = false;
return false;
}
}
else
{
console.log('You WON! Betting again');
}
setTimeout(function(){
$loButton.trigger('click');
}, getRandomWait());
}
});startGame()
maxWait = 777,
stopped = false, // debugging
stopBefore = 1; // In minutes for timer before stopping redirect on webpage
var $loButton = $('#double_your_btc_bet_lo_button'),
$hiButton = $('#double_your_btc_bet_hi_button');
function multiply(){
var current = $('#double_your_btc_stake').val();
var multiply = (current * 2).toFixed(8);
$('#double_your_btc_stake').val(multiply);
}
function getRandomWait(){
var wait = Math.floor(Math.random() * maxWait ) + 100;
console.log('Waiting for ' + wait + 'ms before next bet.');
return wait ;
}
function startGame(){
console.log('Game started!');
reset();
$loButton.trigger('click');
}
function stopGame(){
console.log('Game will stop soon! Let me finish.');
stopped = true;
}
function reset(){
$('#double_your_btc_stake').val(startValue);
}
function deexponentize(number){
return number * 10000000;
}
function iHaveEnoughMoni(){
var balance = deexponentize(parseFloat($('#balance').text()));
var current = deexponentize($('#double_your_btc_stake').val());
return ((balance)*2/100) * (current*2) > stopPercentage/100;
}
function stopBeforeRedirect(){
var minutes = parseInt($('title').text());
if( minutes < stopBefore )
{
console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
stopGame();
return true;
}
return false;
}
$('#double_your_btc_bet_lose').unbind();
$('#double_your_btc_bet_win').unbind();
$('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
if( $(event.currentTarget).is(':contains("lose")') )
{
console.log('You LOST! Multiplying your bet and betting again.');
multiply();
setTimeout(function(){
$loButton.trigger('click');
}, getRandomWait());
}
});
$('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
if( $(event.currentTarget).is(':contains("win")') )
{
if( stopBeforeRedirect() )
{
return;
}
if( iHaveEnoughMoni() )
{
console.log('You WON! But don\'t be greedy. Restarting!');
reset();
if( stopped )
{
stopped = false;
return false;
}
}
else
{
console.log('You WON! Betting again');
}
setTimeout(function(){
$loButton.trigger('click');
}, getRandomWait());
}
});startGame()
Tuesday, January 9, 2018
Saturday, January 6, 2018
Thursday, January 4, 2018
Wednesday, January 3, 2018
Monday, January 1, 2018
Subscribe to:
Posts (Atom)