coinwalk

snowflake snowball

Jul 23rd, 2020
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.58 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=50000;
  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. if (low==true) {
  91. lower=true;
  92. }else if (low==false){
  93. lower=false;}
  94.  
  95. if (win==0){
  96. console.log('red');
  97. botbuddy++;
  98. }
  99. if (botbuddy==8){
  100. nextbet= (previousbet*2);
  101. botbuddy=0;
  102. }
  103.  
  104. if (bal>more) {
  105. console.log('green');
  106. botbuddy=0;
  107. nextbet=basebet;
  108. more=(parseFloat(bal));
  109. }
  110. if (nextbet==null){
  111. nextbet= previousbet;}
  112.  
  113. if (bal > target) {
  114. //stop();
  115. $('#notification').html('Relax & Reload');
  116. alert('Relax & Reload');
  117. console.log('Relax & Reload');
  118. return;
  119. }
  120.  
  121. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  122. if (low==true){
  123. $('#BetLowButton').click();
  124. lower=true;
  125. }else if (low==false) {
  126. $('#BetHighButton').click();
  127. lower=false;}}
  128.  
  129. function no () {
  130. var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
  131. return parseInt(vim,16);
  132. }
  133. function go () {
  134. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  135. onBetComplete = function(e){
  136. var secret=parseFloat($('#LastBetInfoSecret').html());
  137. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  138. var now;
  139. var hitlerone=0;
  140. var hitlertwo=0;
  141. var hitlerthree=0;
  142. if ((win==true)&&(secret>499500)){
  143. now = Math.ceil(no()/999999999999999999999999999999999999999999999999999999999999999999999999999/(secret));
  144. }else if ((win==true)&&(secret<499500)){
  145. now = Math.ceil(no()/999999999999999999999999999999999999999999999999999999999999999999999999999/(secret));}
  146. else{
  147. hitlerone++;
  148. hitlertwo++;
  149. hitlerthree++;}
  150. if (hitlerone==1){
  151. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  152. hitlerone=0 } else
  153. if (hitlertwo==2){
  154. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  155. hitlertwo=0 } else
  156. if (hitlerthree==3){
  157. now = Math.ceil(no()/(999999999999999999999999999999999999999999999999999999999999999999999999999/(secret)));
  158. hitlerthree=0; }
  159. else {
  160. now = Math.ceil(no()/99999999999999999999999999999999999999999999999999999999999999999999999);}
  161.  
  162. setTimeout(() => {
  163. $(".ManualSeedControls:visible input").val(now)}, 50);
  164. }
  165. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  166. setInterval(() => go(), 51);
  167.  
  168. setInterval(() => dobet(), 700);
Add Comment
Please, Sign In to add comment