SparkedDev
|
|
February 03, 2016, 06:20:43 AM |
|
Fast betting methods have been updatedUpdated for bitcoins:var bet = {base: 0.0000001, current: 0.0000001, currency: "bitcoins", bits:1}; //Modify these values to change your base bet, currency may be "tokens" or "bitcoins", bits is the number of drops made var placeBet=function(){ $.post( "action.php", { prizes: "1000,16.9,0,0,17,0,0,0,0,0,0,0,17,0,0,16.9,1000", token: token, secret:0, bet:bet.current, bits:bet.bits, currency:bet.currency, user_seed:makeid(), act:"play", v:ver, }) .done(function( data ) { if (!data.success){ alert(data.msg); return 0; } var win=data.game_result.win; console.log( win, data.data.balance ); if (win>bet.current){ bet.current=bet.base; if (bet.current<bet.base) bet.current=bet.base; }else if (win<bet.current){ bet.current=(bet.current-win)*1.1; //Modify this value in order change the on loss multiplier } //console.log(balance); placeBet(); }).fail(function() { setTimeout(function(){placeBet();},3000); //This is the value the script uses to re-send the rolls if the server doesn't respond }); }
//re-randomize our client seed to ensure provably faireness
function makeid() { var text = ""; var possible = "abcdef0123456789";
for( var i=0; i < 16; i++ ) text += possible.charAt(Math.floor(Math.random() * possible.length));
return text; }
placeBet();
Updated for tokens:To bet tokens put amount before the decimal point of the bass bet then change currency to tokens var bet = {base: 10.0, current: 10.0, currency: "tokens", bits:1}; //Modify these values to change your base bet, currency may be "tokens" or "bitcoins", bits is the number of drops made var placeBet=function(){ $.post( "action.php", { prizes: "1000,16.9,0,0,17,0,0,0,0,0,0,0,17,0,0,16.9,1000", token: token, secret:0, bet:bet.current, bits:bet.bits, currency:bet.currency, user_seed:makeid(), act:"play", v:ver, }) .done(function( data ) { if (!data.success){ alert(data.msg); return 0; } var win=data.game_result.win; console.log( win, data.data.balance ); if (win>bet.current){ bet.current=bet.base; if (bet.current<bet.base) bet.current=bet.base; }else if (win<bet.current){ bet.current=(bet.current-win)*1.1; //Modify this value in order change the on loss multiplier } //console.log(balance); placeBet(); }).fail(function() { setTimeout(function(){placeBet();},3000); //This is the value the script uses to re-send the rolls if the server doesn't respond }); }
//re-randomize our client seed to ensure provably faireness
function makeid() { var text = ""; var possible = "abcdef0123456789";
for( var i=0; i < 16; i++ ) text += possible.charAt(Math.floor(Math.random() * possible.length));
return text; }
placeBet();
|