View difference between Paste ID: 4EUdEJuG and 7vG1w7py
SHOW: | | - or go back to the newest paste.
1
TITRE: How to hack win roll 10000 bitcoin in freebitco in 100% work lll update february 2017
2
var startValue = '0.00000001', // Don't lower the decimal point more than 4x of current balance
3
	stopPercentage = 0.001, // In %. I wouldn't recommend going past 0.08
4
	maxWait = 100, // In milliseconds
5
	stopped = false,
6
	stopBefore = 3; // In minutes
7
8
var $hiButton = $('#double_your_btc_bet_hi_button'),
9
		$loButton = $('#double_your_btc_bet_lo_button');
10
11
function multiply(){ 
12
	var current = $('#double_your_btc_stake').val();
13
	var multiply = (current * 2).toFixed(8);
14
	$('#double_your_btc_stake').val(multiply);
15
}
16
17
function getRandomWait(){
18
	var wait = Math.floor(Math.random() * maxWait ) + 100;
19
20
	console.log('Waiting for ' + wait + 'ms before next bet.');
21
22
	return wait ;
23
}
24
25
function startGame(){
26
	console.log('Game started!');
27
	reset();
28
	$loButton.trigger('click');
29
}
30
31
function stopGame(){
32
	console.log('Game will stop soon! Let me finish.');
33
	stopped = true;
34
}
35
36
function reset(){
37
	$('#double_your_btc_stake').val(startValue);
38
}
39
40
// quick and dirty hack if you have very little bitcoins like 0.0000001
41
function deexponentize(number){
42
	return number * 1000000;
43
}
44
45
function iHaveEnoughMoni(){
46
	var balance = deexponentize(parseFloat($('#balance').text()));
47
	var current = deexponentize($('#double_your_btc_stake').val());
48
49
	return ((balance*2)/100) * (current*2) > stopPercentage/100;
50
}
51
52
function stopBeforeRedirect(){
53
	var minutes = parseInt($('title').text());
54
55
	if( minutes < stopBefore )
56
	{
57
		console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
58
		stopGame();
59
60
		return true;
61
	}
62
63
	return false;
64
}
65
66
// Unbind old shit
67
$('#double_your_btc_bet_lose').unbind();
68
$('#double_your_btc_bet_win').unbind();
69
70
// Loser
71
$('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
72
	if( $(event.currentTarget).is(':contains("lose")') )
73
	{
74
		console.log('You LOST! Multiplying your bet and betting again.');
75
		
76
		multiply();
77
78
		setTimeout(function(){
79
			$loButton.trigger('click');
80
		}, getRandomWait());
81
82
		//$loButton.trigger('click');
83
	}
84
});
85
86
// Winner
87
$('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
88
	if( $(event.currentTarget).is(':contains("win")') )
89
	{
90
		if( stopBeforeRedirect() )
91
                {
92
                        return;
93
                }
94
95
		if( iHaveEnoughMoni() )
96
		{
97
			console.log('You WON! But don\'t be greedy. Restarting!');
98
99
			reset();
100
101
			if( stopped )
102
			{
103
				stopped = false;
104
				return false;
105
			}
106
		}
107
		else
108
		{
109
			console.log('You WON! Betting again');
110
		}
111
112
		setTimeout(function(){
113
			$loButton.trigger('click');
114
		}, getRandomWait());
115
	}
116
});startGame()