New Improved Freedoge script (w/stop on win)


SUBMITTED BY: luthfi234

DATE: April 17, 2017, 6:34 p.m.

UPDATED: April 17, 2017, 8:11 p.m.

FORMAT: Text only

SIZE: 3.0 kB

HITS: 482

  1. After Tweeking and testing this script that i got from various sources online, finally i modified it a bit, so that it is more safer to use and more profits will be generated from using this script....
  2. i've added a stop on every winning so it is safer to use since it will stop on every winning.
  3. all you need to do is just click on hi again after each win....
  4. so enjoy the script....
  5. watc how it works here https://youtu.be/XkSKLQWaYF0
  6. for those doesn't have a freedoge account yet please do register here >>>> http://freedoge.co.in/?r=820022
  7. var startValue = '0.033', // Don't lower the decimal point more than 4x of current balance
  8. stopPercentage = 50.00,
  9. maxWait = 077,
  10. stopped = true, // debugging
  11. stopAfterProfit = 0.033; // In Profit Value
  12. stopBefore = 1; // In minutes for timer before stopping redirect on webpage
  13. var $loButton = $('#double_your_doge_bet_lo_button'),
  14. $hiButton = $('#double_your_doge_bet_hi_button');
  15. function multiply(){
  16. var current = $('#double_your_doge_stake').val();
  17. var multiply = (current * 2).toFixed(8);
  18. $('#double_your_doge_stake').val(multiply);
  19. }
  20. function getRandomWait(){
  21. var wait = Math.floor(Math.random() * maxWait ) + 100;
  22. console.log('Waiting for ' + wait + 'ms before next bet.');
  23. return wait ;
  24. }
  25. function startGame(){
  26. console.log('Game started!');
  27. reset();
  28. $hiButton.trigger('click');
  29. }
  30. function stopGameAfterProfit(){
  31. ('stop_after_profit_value').val(value='0.03300000')
  32. console.log('Game will stop soon! Let me finish.');
  33. stopped = true;
  34. }
  35. function reset(){
  36. $('#double_your_doge_stake').val(startValue);
  37. }
  38. function deexponentize(number){
  39. return number * 10000000;
  40. }
  41. function iHaveEnoughMoni(){
  42. var balance = deexponentize(parseFloat($('#balance').text()));
  43. var current = deexponentize($('#double_your_doge_stake').val());
  44. return ((balance)*2/100) * (current*2) > stopPercentage/100;
  45. }
  46. function stopBeforeRedirect(){
  47. var minutes = parseInt($('title').text());
  48. if( minutes < stopBefore )
  49. {
  50. console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
  51. stopGame();
  52. return true;
  53. }
  54. return false;
  55. }
  56. $('#double_your_doge_bet_lose').unbind();
  57. $('#double_your_doge_bet_win').unbind();
  58. $('#double_your_doge_bet_lose').bind("DOMSubtreeModified",function(event){
  59. if( $(event.currentTarget).is(':contains("lose")') )
  60. {
  61. console.log('You LOST! Multiplying your bet and betting again.');
  62. multiply();
  63. setTimeout(function(){
  64. $hiButton.trigger('click');
  65. }, getRandomWait());
  66. }
  67. });
  68. $('#double_your_doge_bet_win').bind("DOMSubtreeModified",function(event){
  69. if( $(event.currentTarget).is(':contains("win")') )
  70. {
  71. if( stopBeforeRedirect() )
  72. {
  73. return;
  74. }
  75. if( iHaveEnoughMoni() )
  76. {
  77. console.log('You WON! But don\'t be greedy. Restarting!');
  78. reset();
  79. if( stopped )
  80. {
  81. stopped = true;
  82. return true;
  83. }
  84. }
  85. else
  86. {
  87. console.log('You WON! Betting again');
  88. }
  89. setTimeout(function(){
  90. $hiButton.trigger('click');
  91. }, getRandomWait());
  92. }
  93. });startGame();

comments powered by Disqus