Advertisement
coinwalk

snowybot

Jul 12th, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. bdiv = 420000
  2. basebet = balance/bdiv
  3. nextbet = basebet
  4. multiplier = 1.5
  5. lodiv = 70000
  6. more = balance
  7. losebet = balance/lodiv
  8. target = balance*100
  9. chance = 50
  10. bethigh = false
  11. good = 0
  12. bad = 0
  13. bogus = 0
  14.  
  15. resetstats()
  16.  
  17. -- Start the actual betting
  18. function dobet()
  19. snow = balance/lodiv
  20. if balance>target then
  21. stop()
  22. ching()
  23. end
  24. if win then
  25. good += 1
  26. bogus += 1
  27. else
  28. bad+=1
  29. end
  30.  
  31. if (bad == 1) then
  32. nextbet = balance/lodiv
  33. end
  34.  
  35. if (bogus > 2) then
  36. nextbet = previousbet*multiplier
  37. bogus = 0
  38. end
  39. if (math.fmod(bad,4)==0) and (bad>3) then
  40. nextbet = previousbet*multiplier
  41. end
  42. if (good > 3) then
  43. nextbet = previousbet*multiplier
  44. good = 0
  45. end
  46. if (nextbet==nil) then
  47. nextbet = previousbet
  48. end
  49. if (balance > more+(snow)) then
  50. nextbet = balance/bdiv
  51. bad = 0
  52. good = 0
  53. bogus = 0
  54. more = balance
  55. end
  56. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement