Advertisement
coinwalk

ffs with seedchanger

Jun 15th, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1.  
  2. function resetseed(){
  3. var a=document.getElementsByClassName('ManualSeedControls')[0];
  4. if(!a)return;
  5. if(a.style.display!='block'){
  6. console.log('Enabling manual seed');
  7. if(document.getElementById('AccountTabManualSeed')){
  8. document.getElementById('AccountTabManualSeed').click();
  9. }
  10. resetseed();
  11. }
  12. }
  13. resetseed();
  14. function getR(min, max) {
  15. min = Math.ceil(min);
  16. max = Math.floor(max);
  17. return Math.floor(Math.random() * (max - min + 1)) + min;
  18. }
  19. function go () {
  20. var xol =getR(1,3);
  21. $('#LastBetInfoSecret').unbind('DOMSubtreeModified')
  22. onBetComplete = function(e){
  23. var myseed;
  24. if (xol==1) {
  25. myseed = getR(7777,9999);
  26. } else if (xol==2) {
  27. myseed = getR(50000,77777);
  28. } else {
  29. myseed = getR(50,99);
  30. }
  31. setTimeout(() => {
  32. $(".ManualSeedControls:visible input").val(myseed)}, 50);
  33. }
  34. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  35. setInterval(() => go(), 51);
  36.  
  37.  
  38. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  39.  
  40. var longer = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  41. var long = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  42. var loss=2;
  43. var lol=0;
  44. var fraction=20000;
  45. var basebet=longer/fraction;
  46. var more = (document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  47. var target = 12000;
  48. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  49. function dobet(){
  50. var chance = 49.95;
  51. var secret = parseFloat($('#LastBetInfoSecret').html());
  52. var balance = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  53. var nextbet;
  54. var previousbet=document.getElementById('BetSizeInput').value;
  55. document.getElementById('BetChanceInput').value = chance;
  56. if (secret > 499499) {
  57. loss++;
  58. }
  59. if (balance >= (more*1.0005)) {
  60. nextbet=basebet;
  61. more=(parseFloat(balance));
  62. }else if (Math.fmod(loss,11)==0) {
  63. nextbet=previousbet*2;
  64. }else{
  65. nextbet=previousbet;
  66. }
  67.  
  68. if (balance > target) {
  69. //stop();
  70. $('#notification').html('Relax & Reload');
  71. alert('Relax & Reload');
  72. console.log('Relax & Reload');
  73. return;
  74. }
  75. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  76. $('#BetLowButton').click();}
  77.  
  78. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement