coinwalk

free

Apr 2nd, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. var minstake = 0.00000001; // valor base
  2. //-----------------------------------------
  3. var autorounds = 111; // n° de rolls
  4. //======================================================
  5. // if (PROFIT > profit_max) {
  6. // error_title = "Maximum profit exceeded";
  7. // error_info = "Maximum profit: " + number_format(profit_max, devise_decimal);
  8. // error_value = "Maximum profit exceeded - Maximum profit: " + number_format(profit_max, devise_decimal);
  9. // error = true;
  10. // } SCRIPT BY OJIDINEJAD - UNTIL 2019
  11. // else if (amount > balance) {
  12. // error_title = "Bet amount";
  13. // error_info = "Maximum bet: " + number_format(balance, devise_decimal);
  14. // error_value = "Bet amount - Maximum bet: " + number_format(balance, devise_decimal);
  15. // error = true;
  16. // }
  17. var handbrake = 1.00000000; // valor lose pause game
  18. var autoruns = 1;
  19. // else if (amount > bet_max) {
  20. // error_title = "Bet amount";
  21. // error_info = "Maximum bet: " + number_format(bet_max, devise_decimal);
  22. // error_value = "Bet amount - Maximum bet: " + number_format(bet_max, devise_decimal);
  23. // error = true;
  24. // }
  25. // else if (amount < bet_min) {
  26. // error_title = "Bet amount";
  27. // error_info = "Minimum bet: " + number_format(bet_min, devise_decimal);
  28. // error_value = "Bet amount - Minimum bet: " + number_format(bet_min, devise_decimal);
  29. // error = true;
  30. // }
  31. function playnow() {
  32. if (autoruns > autorounds ) { console.log('Limit reached'); return; }
  33. document.getElementById('double_your_btc_bet_hi_button').click();
  34. setTimeout(checkresults, 222);
  35. return;}
  36. function checkresults() {
  37. if (document.getElementById('double_your_btc_bet_hi_button').disabled === true) {
  38. setTimeout(checkresults, 444);
  39. return;
  40. }
  41. var stake = document.getElementById('double_your_btc_stake').value * 1;
  42. var won = document.getElementById('double_your_btc_bet_win').innerHTML;
  43. if (won.match(/(\d+\.\d+)/) !== null) { won = won.match(/(\d+\.\d+)/)[0]; } else { won = false; }
  44. var lost = document.getElementById('double_your_btc_bet_lose').innerHTML;
  45. if (lost.match(/(\d+\.\d+)/) !== null) { lost = lost.match(/(\d+\.\d+)/)[0]; } else { lost = false; }
  46. if (won && !lost) { stake = minstake; console.log('Bet #' + autoruns + '/' + autorounds + ': Won ' + won + ' Stake: ' + stake.toFixed(8)); }
  47. if (lost && !won) { stake = lost * 2.1; console.log('Bet #' + autoruns + '/' + autorounds + ': Lost ' + lost + ' Stake: ' + stake.toFixed(8)); }
  48. if (!won && !lost) { console.log('Something went wrong'); return; }
  49. document.getElementById('double_your_btc_stake').value = stake.toFixed(8);
  50. autoruns++;
  51. if (stake >= handbrake) {
  52. document.getElementById('handbrakealert').play();
  53. console.log('Handbrake triggered! Execute playnow() to override');
  54. return;
  55. }
  56. setTimeout(playnow, 333);
  57. return;
  58.  
  59. }playnow()
Add Comment
Please, Sign In to add comment