coinwalk

robo snowy

Jul 20th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. function getR(min, max) {
  2. min = Math.ceil(min);
  3. max = Math.floor(max);
  4. return Math.floor(Math.random() * (max - min + 1)) + min;
  5. }
  6. function no () {
  7. var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
  8. return parseInt(vim,16);
  9. }
  10. function go () {
  11. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  12. onBetComplete = function(e){
  13. var xol= getR(1,3)
  14. var now;
  15. if (xol==1){
  16. now = Math.ceil(no()/30000000000000000000000000000000000000000000000000000000000000000000000);
  17. }else if (xol==2) {
  18. now = Math.ceil(no()/70000000000000000000000000000000000000000000000000000000000000000000000);
  19. }else{
  20. now = Math.ceil(no()/90000000000000000000000000000000000000000000000000000000000000000000000);
  21. }
  22. setTimeout(() => {
  23. $(".ManualSeedControls:visible input").val(now)}, 50);
  24. }
  25. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  26. setInterval(() => go(), 51);
  27.  
  28. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  29.  
  30. var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  31. var long=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  32. var loss=0;
  33. var winn=0;
  34. var chance = 49.95;
  35. var nextbet;
  36. var fraction=200;
  37. var basebet=longer/fraction;
  38. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  39. var target = 50000;
  40. var nob=getR(1,2);
  41. var wyn=0;
  42. var bad=0;
  43. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  44. function bethigh() {
  45. var secret=parseFloat($('#LastBetInfoSecret').html());
  46. var bethight=0;
  47. var tossy=0;
  48. var lossy=0;
  49. var fuck=0;
  50. if (secret<499500){
  51. bethight++;
  52. fuck=0
  53. }else{
  54. bethight=0;
  55. fuck++;
  56. }
  57. if ((secret < 499500)&&(bethight>=1)) {
  58. lossy++;
  59. tossy=0;
  60. fuck++;
  61. } else if ((secret < 499500)&&(bethight==0)) {
  62. fuck=0;
  63. }else if ((secret > 499500)&&(bethight>=1)) {
  64. tossy++;
  65. lossy=0;
  66. fuck++;
  67. }else if ((secret > 499500)&&(bethight==0)){
  68. fuck=0;
  69. }else if (lossy==3){
  70. fuck++;
  71. }else if (tossy==3){
  72. fuck=0;
  73. }
  74. if (fuck==0){
  75. return false;
  76. }else
  77. if (fuck>0){
  78. return true;
  79. }else{ return false;}}
  80.  
  81. function dobet(){
  82. var secret=parseFloat($('#LastBetInfoSecret').html());
  83. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  84. var previousbet=document.getElementById('BetSizeInput').value;
  85. document.getElementById('BetChanceInput').value = chance;
  86. basebet=bal/fraction;
  87. if (bal>=(more+(basebet*4))) {
  88. nextbet=previousbet*2;
  89. more=(parseFloat(bal));
  90. longer=(parseFloat(bal));
  91. }
  92. if (bal<=(longer-(basebet*16))){
  93. nextbet=previousbet*2;
  94. longer=(parseFloat(bal));
  95. }
  96. if (bal>=(long+(basebet*8))) {
  97. nextbet=basebet;
  98. long=(parseFloat(bal));
  99. longer=(parseFloat(bal));
  100. more=(parseFloat(bal));
  101. }
  102. if (nextbet==null) {
  103. nextbet=previousbet;
  104. }
  105. if (bal > target) {
  106. //stop();
  107. $('#notification').html('Relax & Reload');
  108. alert('Relax & Reload');
  109. console.log('Relax & Reload');
  110. return;
  111. }
  112. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  113. if (bethigh()==true) {
  114. $('#BetHighButton').click();}
  115. else if (bethigh()==false) {
  116. $('#BetLowButton').click();}}
  117.  
  118. setInterval(() => dobet(), 3000);
Add Comment
Please, Sign In to add comment