Advertisement
coinwalk

c5 fixed !!!!!!!!!!!!!!!

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