Advertisement
coinwalk

SNOWYBOT GOOD PYTHON WITH DIVIDE

Aug 12th, 2024
80
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. nomber = ((float(belance))/1440000)
  39. rounded_nomber = f"{nomber:.8f}"
  40. fumble = float(rounded_nomber)
  41. fart = 1
  42. base = float(rounded_nomber)
  43. tens = (base*10)
  44. sevens = (base*6.9)
  45. eights = (base*7.9)
  46. gold = driver.find_element(By.ID, "pct_balance").get_attribute("value")
  47. good = ((math.floor(float(gold)/tens))*tens)
  48. print("should see bets")
  49.  
  50. def go():
  51.     global base
  52.     global tens
  53.     global sevens
  54.     global eights
  55.     balance = driver.find_element(By.ID, "pct_balance").get_attribute("value")
  56.     global fumble
  57.     global freather
  58.     global good
  59.     global fart
  60.     global gold
  61.     global belance
  62.     if ((float(balance)>(((math.floor(float(balance)/tens))*tens)+sevens)) and (float(balance)<(((math.floor(float(balance)/tens))*tens)+eights)) and ((float(balance))<freather)):
  63.         fumble = float(fumble)*2
  64.         freather = float(balance)
  65.     if ((float(balance)>(((math.floor(float(balance)/tens))*tens)+sevens)) and (float(balance)<(((math.floor(float(balance)/tens))*tens)+eights)) and ((float(balance))>freather)):
  66.         fumble = float(fumble)*2
  67.         freather = float(balance)
  68.     if (((float(balance)>=((float(good))+tens))) and (float(balance)<(((math.floor(float(balance)/tens))*tens)+sevens))):
  69.         fumble = base
  70.         freather = 0.0
  71.         good = ((math.floor(float(balance)/tens))*tens)
  72.     if (((float(balance))>=(float(belance))*1.24) or ((float(balance))<(float(fumble)))):
  73.         sys.exit()
  74.     time.sleep(0.1)
  75.     number = float(fumble)
  76.     rounded_number = f"{number:.8f}"
  77.     driver.find_element(By.ID, "pct_chance").clear()
  78.     driver.find_element(By.ID, "pct_chance").send_keys("49.5000")
  79.     driver.find_element(By.ID, "pct_bet").clear()
  80.     driver.find_element(By.ID, "pct_bet").send_keys(rounded_number)
  81.     driver.find_element(By.ID, "a_lo").click()
  82.     time.sleep(0.8)
  83.     go()
  84.  
  85. if (1==1):
  86.     go()  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement