Advertisement
Ypleitez

Untitled

Jan 10th, 2024
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. Dcors Wager
  2.  
  3. target = balance * 100
  4. basebet = balance / 10000 -- Basebet for Double Wager
  5. wagerbal = balance / 1000 -- Basebet for Wager Routine
  6. maxchance = 98 -- Chance for Wager
  7. percentlose = .1 -- .1% loss of the current balance
  8.  
  9. chance = maxchance
  10. chance1 = 83.5
  11. chance2 = 16.50
  12. multiplier = 1.20
  13.  
  14.  
  15. nextbet = wagerbal
  16. bethigh = true
  17. counter = 0
  18. wincount = 0
  19. totalloss = 0
  20. initbalance = balance
  21. stoplose = balance * (1-(percentlose/100))
  22. gowager = 1
  23. function dobet()
  24.  
  25.  
  26. print(" ")
  27. print("Profit :"..string.format("%.8f",profit))
  28. print(" ")
  29. print("Bet Amount :"..string.format("%.8f",nextbet))
  30. print("Current Balance : "..string.format("%.8f",balance))
  31. print(" ")
  32.  
  33. if balance >= stoplose and gowager == 1 then
  34. chance = maxchance
  35. nextbet = wagerbal
  36. else
  37. counter += 1
  38. gowager=0
  39. if counter == 25 then
  40. print(" ")
  41. print("Profit :"..string.format("%.8f",profit))
  42. print(" ")
  43. print("Current Balance : "..string.format("%.8f",balance))
  44. print(" ")
  45. counter = 0
  46. end
  47.  
  48. if ((chance == chance2) and win) then
  49. initbalance = balance
  50. totalloss = 0
  51. end
  52. if win then
  53. nextbet = basebet
  54. wincount += 1
  55. bethigh = true
  56. chance = chance1
  57. if initbalance > balance then
  58. totalloss = initbalance - balance
  59. end
  60. if wincount > 10 then
  61. chance = chance2
  62. nextbet = basebet+(totalloss/2)
  63. bethigh = false
  64. wincount = 0
  65. end
  66. end
  67. if !win then
  68. wincount = 0
  69. if (chance == chance2) then
  70. nextbet = previousbet*multiplier
  71. end
  72. end
  73. end
  74. if initbalance <= balance then
  75. initbalance = balance
  76. stoplose = balance * (1-(percentlose/100))
  77. gowager = 1
  78. end
  79. if balance > target then
  80. stop()
  81. print("=======================")
  82. print("==== TARGET REACHED ====")
  83. print("=======================")
  84. print("Total Profit: "..string.format("%.8f",profit))
  85. end
  86. end -- <<END OF DOBET>> ==
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement