Advertisement
coinwalk

SNOWYBOT GOOD PYTHON

Aug 12th, 2024
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3.  
  4. import sys
  5. import selenium
  6.  
  7. from selenium import webdriver
  8. from selenium.webdriver.common.by import By
  9. from selenium.webdriver.support.ui import Select
  10. from selenium.common.exceptions import NoSuchElementException
  11. import time, re, math
  12. from decimal import Decimal
  13. from selenium.webdriver.firefox.options import Options
  14.  
  15.  
  16. sys.setrecursionlimit(1000000000)
  17. options = Options()
  18. options.add_argument("--headless")
  19. driver = webdriver.Firefox(options=options)
  20. print("please wait loading page and login")
  21. driver.get("https://just-dice.com")
  22. time.sleep(20)
  23. driver.find_element(By.CSS_SELECTOR, "a.fancybox-item.fancybox-close").click()
  24. time.sleep(5)
  25. driver.find_element(By.LINK_TEXT, "Account").click()
  26. time.sleep(2)
  27. driver.find_element(By.ID, "myuser").clear()
  28. driver.find_element(By.ID, "myuser").send_keys("USERNAME")
  29. time.sleep(0.01)
  30. driver.find_element(By.ID, "mypass").clear()
  31. driver.find_element(By.ID, "mypass").send_keys("PASSWORD")
  32. time.sleep(0.01)
  33. driver.find_element(By.ID, "myok").click()
  34. time.sleep(20)
  35. print("logged in")
  36. belance = driver.find_element(By.ID, "pct_balance").get_attribute("value")
  37. freather = 0.0
  38. fumble = 0.00000001
  39. fart = 1
  40. base = 0.00000001
  41. tens = (base*10)
  42. sevens = (base*6.9)
  43. eights = (base*7.9)
  44. gold = driver.find_element(By.ID, "pct_balance").get_attribute("value")
  45. good = ((math.floor(float(gold)/tens))*tens)
  46. print("should see bets")
  47.  
  48. def go():
  49.     global base
  50.     global tens
  51.     global sevens
  52.     global eights
  53.     balance = driver.find_element(By.ID, "pct_balance").get_attribute("value")
  54.     global fumble
  55.     global freather
  56.     global good
  57.     global fart
  58.     global gold
  59.     global belance
  60.     if ((float(balance)>(((math.floor(float(balance)/tens))*tens)+sevens)) and (float(balance)<(((math.floor(float(balance)/tens))*tens)+eights)) and ((float(balance))<freather)):
  61.         fumble = float(fumble)*2
  62.         freather = float(balance)
  63.     if ((float(balance)>(((math.floor(float(balance)/tens))*tens)+sevens)) and (float(balance)<(((math.floor(float(balance)/tens))*tens)+eights)) and ((float(balance))>freather)):
  64.         fumble = float(fumble)*2
  65.         freather = float(balance)
  66.     if (((float(balance)>=((float(good))+tens))) and (float(balance)<(((math.floor(float(balance)/tens))*tens)+sevens))):
  67.         fumble = base
  68.         freather = 0.0
  69.         good = ((math.floor(float(balance)/tens))*tens)
  70.     if (((float(balance))>=144000.0) or ((float(balance))<(float(fumble)))):
  71.         sys.exit()
  72.     time.sleep(0.1)
  73.     number = float(fumble)
  74.     rounded_number = f"{number:.8f}"
  75.     driver.find_element(By.ID, "pct_chance").clear()
  76.     driver.find_element(By.ID, "pct_chance").send_keys("49.5000")
  77.     driver.find_element(By.ID, "pct_bet").clear()
  78.     driver.find_element(By.ID, "pct_bet").send_keys(rounded_number)
  79.     driver.find_element(By.ID, "a_lo").click()
  80.     time.sleep(0.8)
  81.     go()
  82.  
  83. if (1==1):
  84.     go()  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement