Hello people,
Recently i posted a simple javascript for use of freebitco.in.
Today i will post the modified script for its sister site freedoge.co.in, where you can gain DOGE. Its still kinda work in progress but as more modifications are done i will update its source.
Its general aim is after you used collect free DOGE via main roll, to double them even triple them in the next 1hour untill new roll is up. Due to switching
FREE DOGE menu link with START BOT after 1h in order to roll again you need to refresh its page.
The steps are simple:
1. Register on freedoge.co.in - You are not allowed to view links.
Register or
Login to view.
2. Download Google Chrome - You are not allowed to view links.
Register or
Login to view.
3. Log in on freedoge.co.in.in via Google Chrome and press CTRL + SHIFT + J
4. Copy and paste on the Console tab the below code and press enter.
You are not allowed to view links.
Register or
Login to view.
edited version changed some old vars to new vars so it will work better.
PHP Code:
//COMMAND//
//changeBet() ex: changeBet('0.03800000');
console.clear();
var begingbal = $('#balance').text();
var startbalance = 0;
var stopAt= '?';
var round = 0;
var gameLost=0;
var gameWin=0;
var higherbet=0;
startbalance = $('#balance').text();
var startValue = '0.03800000', // Don't lower the decimal point more than 4x of current balance
stopPercentage = 0.04, // In %. I wouldn't recommend going past 0.08
maxWait = 500, // In milliseconds
stopped = false,
stopBefore = 3; // In minutes
var oldbet= 0.03800000;
document.getElementById("free_play_link_li").innerHTML = '<a href="#" onclick="startGame()" class="free_play_link" style="color:#00CCFF;">START BOT</a>';
var $loButton = $('#double_your_doge_bet_lo_button'),
$hiButton = $('#double_your_doge_bet_hi_button');
function higherBet(){
console.log('Highest bet: '+higherbet);
}
function beginingBal(){
console.log('Doge Starting Balance: '+begingbal);
}
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;
beginingBal();
console.log('Round #' + round + ' / ' + stopAt);
}
var newbalance= $('#balance').text()
var profit = (Number(newbalance) - Number(startbalance)).toFixed(8) ;
console.log('Profit:' + profit + ' Doge')
}
//Number of round. Type stopatRound(NUMBER_OF_ROUND) to change
//function stopatRound(limitRound){
//stopAt=limitRound;
//}
function multiply(){
var current = $('#double_your_doge_stake').val();
var multiply = (current * 2).toFixed(8);
$('#double_your_doge_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("free_play_link_li").innerHTML = '<a href="#" onclick="stopGame()" class="free_play_link" style="color:#00CCFF;">STOP BOT</a>';
starttime=(new Date()).getTime();
startValue = prompt("Number of doge you want to bet?", '0.03800000');
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("free_play_link_li").innerHTML = '<a href="#" onclick="startGame()" class="free_play_link" style="color:#00CCFF;">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_doge_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_doge_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_doge_bet_lose').unbind();
$('#double_your_doge_bet_win').unbind();
// Loser
$('#double_your_doge_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_doge_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());
}
}
);
Version 2 is skipped because in version 3 i fixed many things so no point of posting it
Version 3
Updated with same technique i used in freebitco.in bot. It has fail-safe high steak doge in 2nd popup before start.
PHP Code:
//Register at http://freedoge.co.in/?r=776623 and test the bot //
// version 3.0
// If you want to futher support it, feel free to test it on new created accounts via my ref http://freedoge.co.in/?r=776623 so i can get couple of doges and futher test/edit/update it :)
console.clear();
var begingbal = $('#balance').text();
var startbalance = 0;
var autorounds = 200; // play 500 rounds only
var handbrake = 0.15200000; // pause when stake reaches 1024 Satoshis
//var stopAt= '?';
var round = 0;
var gameLost=0;
var gameWin=0;
var higherbet=0;
startbalance = $('#balance').text();
var startValue = '0.03800000', // Don't lower the decimal point more than 4x of current balance
stopPercentage = 0.004, // In %. I wouldn't recommend going past 0.08
maxWait = 1000, // In milliseconds
stopped = false,
stopBefore = 1; // In minutes default 3
var oldbet= 0.03800000;
//var rewardpoints = document.getElementsByClassName("reward_table_box br_0_0_5_5 user_reward_points font_bold")[0].innerHTML;
//var lotterytickets = document.getElementById("user_lottery_tickets").innerHTML;
document.getElementById("free_play_link_li").innerHTML = '<a href="#" onclick="startGame()" class="free_play_link" style="color:#00CCFF;">START BOT</a>';
var $loButton = $('#double_your_doge_bet_lo_button'),
$hiButton = $('#double_your_doge_bet_hi_button');
function higherBet(){
console.log('Highest bet: '+higherbet);
}
function beginingBal(){
console.log('DOGE Starting Balance: '+begingbal);
}
//function rewardsBal(){
//console.log('Reward Points Balance: '+rewardpoints);
//}
//function lotteryBal(){
//console.log('Lottery Tickets Balance: ' + lotterytickets);
//}
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 = 'Time played = '+hours+minutes+seconds+' Seconds';
return time;
}
function roundnumb(){
console.clear();
if( round == autorounds)
{
stopGame()
}
else
{
round = round + 1;
beginingBal();
//rewardsBal();
//lotteryBal();
console.log('Round #' + round + ' / ' + autorounds);
}
var newbalance= $('#balance').text()
var profit = (Number(newbalance) - Number(startbalance)).toFixed(8) ;
console.log('Profit:' + profit + ' DOGE')
}
function multiply(){
var current = $('#double_your_doge_stake').val();
var multiply = (current * 2).toFixed(8);
$('#double_your_doge_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("free_play_link_li").innerHTML = '<a href="#" onclick="stopGame()" class="free_play_link" style="color:#00CCFF;">STOP BOT</a>';
starttime=(new Date()).getTime();
startValue = prompt("Number of DOGE you want to bet?", '0.03800000');
MaximumValue = prompt("Auto Restart BOT when bet reaches? ", '0.15200000');
oldbet=startValue;
handbrake=MaximumValue;
round = 0;
gameLost=0;
gameWin=0;
console.log('Game started!');
reset();
$loButton.trigger('click');
if(limit !== null) {
autorounds=limit;
}
else
{
autorounds=-1;
}
}
function startGame2(limit){
document.getElementById("free_play_link_li").innerHTML = '<a href="#" onclick="stopGame()" class="free_play_link" style="color:#00CCFF;">STOP BOT</a>';
starttime=(new Date()).getTime();
stopped = false;
oldbet=startValue;
handbrake=MaximumValue;
round = 0;
gameLost=0;
gameWin=0;
console.log('Game started!');
reset();
$loButton.trigger('click');
if(limit !== null) {
autorounds=limit;
}
else
{
autorounds=-1;
}
}
function stopGame(){
document.getElementById("free_play_link_li").innerHTML = '<a href="#" onclick="startGame()" class="free_play_link" style="color:#00CCFF;">START BOT</a>';
console.log('Game will stop soon! Let me finish.');
stopped = true;
startValue=oldbet;
handbrake=MaximumValue;
}
var sound = document.createElement('audio');
sound.id = 'handbrakealert';
sound.src = 'https://www.mediacollege.com/downloads/sound-effects/star-trek/tos/tos-computer-05.wav';
sound.preload = 'auto';
document.getElementsByTagName('body')[0].appendChild(sound);
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_doge_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_doge_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;
}
function stopMaxStake(){
var maxstake1 = $('#double_your_doge_stake').val();
if( maxstake1 == handbrake )
{
stopped = true;
document.getElementById('handbrakealert').play();
console.log('Handbrake triggered! Please Wait');
var counter = 5;
var resBOTCountdown = setInterval(function(){
console.log('Highest Stake at '+ handbrake +' reached');
console.log(counter);
counter--
if (counter === -1) {
clearInterval(resBOTCountdown);
console.clear();
console.log("Restarting BOT");
console.log("Wait 5 more seconds so it wont double start");
}
}, 1000);
setTimeout(startGame2, 6000);
return true;
}
return false;
}
// Unbind old shit
$('#double_your_doge_bet_lose').unbind();
$('#double_your_doge_bet_win').unbind();
// Loser
$('#double_your_doge_bet_lose').bind("DOMSubtreeModified",function(event){
if( $(event.currentTarget).is(':contains("lose")') )
{
gameLost = gameLost + 1;
roundnumb();
console.log('%cWin: ' + gameWin + ' Lost: ' + gameLost, 'color: #FF0000');
endtime=(new Date()).getTime();
var time=Math.floor((endtime-starttime )/1000);
if( stopBeforeRedirect() )
{
return;
}
if( stopMaxStake() )
{
return;
}
else
higherBet();
console.log(realtime(time));
console.log('You LOST!');
multiply();
setTimeout(function(){
$loButton.trigger('click');
}, getRandomWait());
//$loButton.trigger('click');
}
}
);
// Winner
$('#double_your_doge_bet_win').bind("DOMSubtreeModified",function(event){
if( $(event.currentTarget).is(':contains("win")') )
{
gameWin = gameWin + 1;
roundnumb();
console.log('%cWin: ' + gameWin + ' Lost: ' + gameLost, 'color: #00CC00');
endtime=(new Date()).getTime();
var time=Math.floor((endtime-starttime )/1000);
console.log(realtime(time));
higherBet();
if( iHaveEnoughMoni() )
{
console.log('You WON!');
reset();
if( stopped )
{
stopped = false;
return false;
}
}
else
{
console.log('You WON! ');
}
setTimeout(function(){
$loButton.trigger('click');
}, getRandomWait());
}
}
);// JavaScript Document
Test on new accounts and tell me how it works. Remember to test it on new created accounts with my ref - You are not allowed to view links.
Register or
Login to view. so i can further test it with higher ammount of doge and upgrade it
5. Click on
Multiply DOGE tab from their menu on top of the screen.
6. The first menu link FREE DOGE has been replaced with link START BOT in order for you to use the bot as shown on the image.
You are not allowed to view links.
Register or
Login to view.
After you start the bot with clicking on START BOT tab from top menu ,a popup box will be shown saying your bet 0.03800000 just press OK.
You are not allowed to view links.
Register or
Login to view.
And watch how you double/triple your earnings.
Proof Image
You are not allowed to view links.
Register or
Login to view.
(starting balance is blacked down for my own reasons)
After the free roll timer is near to 3mins the script will auto pause.
After you roll again for free just refresh the page and start again from step 4.
Hope you will get many DOGE's
If something is needed just reply here.