coinwalk

snowybot

Mar 20th, 2021
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. function resetseed(){
  2. var a=document.getElementsByClassName('ManualSeedControls')[0];
  3. if(!a)return;
  4. if(a.style.display!='block'){
  5. console.log('Enabling manual seed');
  6. if(document.getElementById('AccountTabManualSeed')){
  7. document.getElementById('AccountTabManualSeed').click();
  8. }
  9. resetseed();
  10. }
  11. }
  12. resetseed();
  13. function getR(min, max) {
  14. min = Math.ceil(min);
  15. max = Math.floor(max);
  16. return Math.floor(Math.random() * (max - min + 1)) + min;
  17. }
  18. function go () {
  19. var xol =getR(1,3);
  20. $('#LastBetInfoSecret').unbind('DOMSubtreeModified')
  21. onBetComplete = function(e){
  22. var myseed;
  23. if (xol==1) {
  24. myseed = getR(7777,9999);
  25. } else if (xol==2) {
  26. myseed = getR(50000,77777);
  27. } else {
  28. myseed = getR(50,99);
  29. }
  30. setTimeout(() => {
  31. $(".ManualSeedControls:visible input").val(myseed)}, 50);
  32. }
  33. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  34. setInterval(() => go(), 51);
  35.  
  36. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  37. var good=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  38. var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  39. var long=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  40. var chance = 49.95;
  41. var fraction=5000;
  42. var basebet=(longer/fraction).toFixed(8);
  43. var base=(longer/fraction).toFixed(8);
  44. var nextbet=basebet;
  45. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  46. var target = 64000;
  47. var balan=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  48. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  49. var balance=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  50. document.getElementById('LastBetInfoProfit').innerhtml
  51. var oldbal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  52. var sic=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  53. var older=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  54. var loss=0
  55. var ccc=0
  56. var toss=0
  57. var dick=document.getElementById('LastBetInfoProfit').innerText
  58. var com=document.getElementById('LastBetInfoProfit').innerText
  59. var coy=document.getElementById('LastBetInfoProfit').innerText
  60. var beet=0
  61. var bib=false
  62. var sux= 0
  63.  
  64. function dobet(){
  65. var secret=parseFloat($('#LastBetInfoSecret').html());
  66. var bal=(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  67. var balance=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  68. var previousbet=document.getElementById('BetSizeInput').value;
  69. document.getElementById('BetChanceInput').value = chance;
  70. if (bal<(older-(basebet*5))) {
  71. nextbet = previousbet*2;
  72. oldbal = (parseFloat(bal)).toFixed(8);
  73. older = (parseFloat(bal)).toFixed(8);
  74. basebet = (parseFloat(nextbet)).toFixed(8);
  75. }
  76. if (bal>=older) {
  77. older = (parseFloat(bal)).toFixed(8);
  78. }
  79. if (nextbet>=bal/8) {
  80. nextbet = previousbet/2;
  81. basebet = (parseFloat(nextbet)).toFixed(8);
  82. }
  83. if (bal>=(oldbal+(basebet*2))) {
  84. nextbet = previousbet*2;
  85. oldbal = (parseFloat(bal)).toFixed(8);
  86. basebet = (parseFloat(nextbet)).toFixed(8);
  87. }
  88. if (nextbet<base) {
  89. nextbet = base;
  90. }
  91. if (bal>=(sic+(base*3))) {
  92. nextbet = base;
  93. basebet = base;
  94. sic = (parseFloat(bal)).toFixed(8);
  95. old = (parseFloat(bal)).toFixed(8);
  96. older = (parseFloat(bal)).toFixed(8);
  97. }
  98. if (bal > target) {
  99. //stop();
  100. $('#notification').html('Relax & Reload');
  101. alert('Relax & Reload');
  102. console.log('Relax & Reload');
  103. return;
  104. }
  105. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  106. $('#BetLowButton').click();
  107. }
  108. setInterval(() => dobet(), 3000);
Add Comment
Please, Sign In to add comment