Advertisement
coinwalk

ok update

Jun 14th, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.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. function go () {
  19. var xol =getR(1,3);
  20. $('#LastBetInfoSecret').unbind('DOMSubtreeModified')
  21. onBetComplete = function(e){
  22. var myseed;
  23. if (xol==1) {
  24. myseed = getR(777777,999999);
  25. } else if (xol==2) {
  26. myseed = getR(500000000,777777777);
  27. } else {
  28. myseed = getR(5000,9999);
  29. }
  30. setTimeout(() => {
  31. $(".ManualSeedControls:visible input").val(myseed)}, 50);
  32. }
  33. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  34. setInterval(() => go(), 51);
  35.  
  36. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  37.  
  38. var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  39. var betss=0;
  40. var loss=0;
  41. var fraction=50000;
  42. var basebet=longer/fraction;
  43. var more=(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  44. var target=longer*10;
  45. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  46. function dobet(){
  47. var chance=49.95;
  48. var secret=parseFloat($('#LastBetInfoSecret').html());
  49. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  50. var nextbet;
  51. var basebet=bal/fraction;
  52. var previousbet=(document.getElementById('BetSizeInput').value);
  53. document.getElementById('BetChanceInput').value = chance;
  54. if (bal<more) {
  55. betss++;
  56. betss++;
  57. betss++;
  58. betss++;
  59. betss++;
  60. }
  61. if (secret>499499){
  62. loss++;
  63. loss++;
  64. }
  65. if (betss==10){
  66. betss=0;
  67. }
  68. if (bal>(more)){
  69. nextbet=basebet;
  70. betss=1;
  71. more=(parseFloat(bal));
  72. }else if (Math.fmod(loss,(Math.ceil(betss/4)))==0) {
  73. nextbet=previousbet*((getR(20,28))/10);
  74. }else{
  75. nextbet=previousbet;
  76. }
  77. if (bal>target) {
  78. //stop();
  79. $('#notification').html('Relax & Reload');
  80. alert('Relax & Reload');
  81. log('Relax & Reload');
  82. return;
  83. }
  84. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  85. $('#BetLowButton').click();}
  86.  
  87. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement