coinwalk

snowflake

Jul 23rd, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.52 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 winn=0;
  26. var bs;
  27. var chance = 5;
  28. var nextbet;
  29. var fraction=9999;
  30. var basebet=longer/fraction;
  31. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  32. var target = 350000;
  33. var nob=getR(1,2);
  34. var wyn=0;
  35. var bad=0;
  36. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  37. var secret=parseFloat($('#LastBetInfoSecret').html());
  38. var bethight=0;
  39. var tossy=0;
  40. var lossy=0;
  41. var fuck;
  42. var low;
  43. var ddd;
  44. var fissy=0;
  45. var god=0;
  46. var win;
  47. var lower;
  48. var bem=0;
  49. var botbuddy=0
  50.  
  51. function dobet(){
  52. var secret=parseFloat($('#LastBetInfoSecret').html());
  53. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  54. var previousbet=document.getElementById('BetSizeInput').value;
  55. document.getElementById('BetChanceInput').value = chance;
  56.  
  57. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  58.  
  59. if (bal>good){
  60. console.log('in profit');
  61. }else{
  62. console.log('not in profit');
  63. }
  64. if ((lower==true)&&(secret<050000)){
  65. win=true;
  66. low=false;
  67. }else if ((lower==false)&&(secret>949999)) {
  68. win=true;
  69. low=false;
  70. }else if ((lower==false)&&(secret<949999)){
  71. low=true;
  72. win=false;
  73. }else{
  74. low=false;
  75. win=false;
  76. }
  77.  
  78. if ((lower==true)&&(win==false)){
  79. low=true;
  80. }else
  81. if ((lower==true)&&(win==true)){
  82. low=false;
  83. }else
  84. if ((lower==false)&&(win==false)) {
  85. low=false
  86. }else
  87. if ((lower==false)&&(win==true)) {
  88. low=true;
  89. }
  90.  
  91.  
  92. if (win==0){
  93. console.log('red');
  94. botbuddy++;
  95. }
  96. if (botbuddy==8){
  97. nextbet= (previousbet*2);
  98. botbuddy=0;
  99. }
  100.  
  101. if (bal>more) {
  102. console.log('green');
  103. botbuddy=0;
  104. nextbet=basebet;
  105. more=(parseFloat(bal));
  106. }
  107. if (nextbet==null){
  108. nextbet= previousbet;}
  109.  
  110. if (bal > target) {
  111. //stop();
  112. $('#notification').html('Relax & Reload');
  113. alert('Relax & Reload');
  114. console.log('Relax & Reload');
  115. return;
  116. }
  117.  
  118. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  119. if (low==true){
  120. $('#BetLowButton').click();
  121. lower=true;
  122. }else if (low==false) {
  123. $('#BetHighButton').click();
  124. lower=false;}}
  125.  
  126. function no () {
  127. var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
  128. return parseInt(vim,16);
  129. }
  130. function go () {
  131. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  132. onBetComplete = function(e){
  133. var secret=parseFloat($('#LastBetInfoSecret').html());
  134. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  135. var now;
  136. var hitlerone=0;
  137. var hitlertwo=0;
  138. var hitlerthree=0;
  139. if ((win==true)&&(secret>499500)){
  140. now = Math.ceil(no()/999999999999999999999999999999999999999999999999999999999999999999999999999/(secret));
  141. }else if ((win==true)&&(secret<499500)){
  142. now = Math.ceil(no()/999999999999999999999999999999999999999999999999999999999999999999999999999/(secret));}
  143. else{
  144. hitlerone++;
  145. hitlertwo++;
  146. hitlerthree++;}
  147. if (hitlerone==1){
  148. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  149. hitlerone=0 } else
  150. if (hitlertwo==2){
  151. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  152. hitlertwo=0 } else
  153. if (hitlerthree==3){
  154. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  155. hitlerthree=0; }
  156. else {
  157. now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);}
  158.  
  159. setTimeout(() => {
  160. $(".ManualSeedControls:visible input").val(now)}, 50);
  161. }
  162. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  163. setInterval(() => go(), 51);
  164.  
  165. setInterval(() => dobet(), 700);
Add Comment
Please, Sign In to add comment