coinwalk

snowys snowball

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