Advertisement
coinwalk

snowybot

Jul 24th, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 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.  
  19.  
  20. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  21. var good=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  22. var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  23. var long=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  24. var loss=0;
  25. var bs;
  26. var suck;
  27. var fuck;
  28. var chance = 5;
  29. var nextbet;
  30. var fraction=50000;
  31. var basebet=longer/fraction;
  32. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  33. var target = 350000;
  34. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  35. var secret=parseFloat($('#LastBetInfoSecret').html());
  36. var win;
  37. var botbuddy=0
  38. var bogus=false;
  39.  
  40. function dobet(){
  41. var secret=parseFloat($('#LastBetInfoSecret').html());
  42. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  43. var previousbet=document.getElementById('BetSizeInput').value;
  44. document.getElementById('BetChanceInput').value = chance
  45. if (bal<=more){
  46. win=false;
  47. console.log('red');}
  48.  
  49. if (bal>more){
  50. win=true;
  51. console.log('green');
  52. more=(parseFloat(bal));
  53. }
  54.  
  55. if (win==false){
  56. botbuddy++;
  57. }
  58. if (botbuddy==8){
  59. nextbet=(previousbet*2);
  60. botbuddy=0;
  61. }
  62. if (win==true){
  63. nextbet=basebet;
  64. botbuddy=0;
  65. }
  66. if (nextbet==null){
  67. nextbet= previousbet;}
  68.  
  69. if (bal>good){
  70. console.log('in profit');
  71. }else{
  72. console.log('not in profit');
  73. }
  74.  
  75. if (bal>target) {
  76. //stop();
  77. console.log('get int');
  78. return;
  79. }
  80.  
  81. if ((win==true)&&(secret>949999)){
  82. bogus=true;
  83. }else if ((win==true)&&(secret<050000)){
  84. bogus=false;
  85. }else if ((win==false)&&(secret>949999)){
  86. bigus=false;
  87. }else if ((win=false)&&(secret<050000)){
  88. bogus=true;
  89. }else if ((win==false)&&(secret>050000)&&(secret<949999)&&(bogus==true)){
  90. bogus=true;
  91. }else{
  92. bogus=false;
  93. }
  94.  
  95. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  96. if (bogus==true){
  97. $('#BetLowButton').click();}
  98. if (bogus==false){
  99. $('#BetHighButton').click();}}
  100.  
  101. var lol= document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML;
  102.  
  103. function zim(){
  104. lol= document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML;
  105. return (parseInt(lol,16));
  106. }
  107.  
  108. function go(){
  109. var sec=(parseFloat($('#LastBetInfoSecret').html()));
  110. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  111. function onBetComplete(e){
  112. fuck = Math.ceil(zim()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(sec)));
  113. setTimeout(() => { $(".ManualSeedControls:visible input").val(fuck)}, 50);
  114. }
  115. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  116. setInterval(() => go(), 51);
  117. setInterval(() => dobet(), 3000);
  118.  
  119.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement