Advertisement
coinwalk

time for tweaking snowybot

Jan 26th, 2024
626
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var oldestbal = parseFloat(document.getElementById('pct_balance').value);
  2. var base = Number((oldestbal/240).toFixed(8));
  3. var bellance = oldestbal;
  4. var dodgey = oldestbal;
  5. var kitty = oldestbal;
  6. var botplus = base;
  7. var trget = oldestbal;
  8. var tens = (base*10);
  9. var sevens = (base*6.9);
  10. var eights = (base*7.9);
  11. var upper = 5.9;
  12. var downer = 1.9;
  13. var fart = ((Math.floor(oldestbal/tens))*tens);
  14. var bob = oldestbal;
  15. var boobed = oldestbal;
  16. var troll = true;
  17.  
  18.  
  19. function get(){
  20. dodgey = document.getElementById('pct_balance').value;
  21. if (dodgey>kitty){
  22. bellance = bellance+botplus
  23. kitty = parseFloat(dodgey);
  24. }
  25. if (dodgey<kitty){
  26. bellance = bellance-botplus
  27. kitty = parseFloat(dodgey);
  28. }
  29. var good = ((bellance-oldestbal).toFixed(8));
  30. console.log("profit");
  31. console.log(good);
  32. if (bellance>(fart+(botplus*upper))){
  33.     botplus = botplus*2;
  34.     upper = 2.9;
  35.     downer = 2.9;
  36.     fart = parseFloat(bellance);
  37.     bob = parseFloat(bellance);
  38. }
  39. if (bellance<(fart-(botplus*downer))){
  40.     botplus = botplus*2;
  41.     upper = 2.9;
  42.     downer = 2.9;
  43.     fart = parseFloat(bellance);
  44. }
  45. if ((bellance<=(bob-(botplus*1.9)))&&(botplus>=(base*3.9))&&(bellance>=boobed)&&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
  46.     botplus = base;
  47.     upper = 5.9;
  48.     downer = 1.9;
  49.     fart = ((Math.floor(bellance/tens))*tens);
  50.     bob = parseFloat(bellance);
  51.     boobed = parseFloat(bellance);
  52. }
  53. if (((botplus*40)>=oldestbal)&&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
  54.     botplus = base;
  55.     upper = 5.9;
  56.     downer = 1.9;
  57.     fart = ((Math.floor(bellance/tens))*tens);
  58.     bob = parseFloat(bellance);
  59.     boobed = parseFloat(bellance);
  60. }
  61. if (bellance>=100) {
  62. console.log("winner winner chicken dinner");
  63. return;
  64. }
  65. $('#pct_chance').val(49.5);
  66. $('#pct_bet').val(((botplus*1).toFixed(8)));
  67. $('#a_lo').click();
  68. setTimeout(() => get(), 10);
  69. }
  70. get();
  71.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement