Advertisement
Ypleitez

Untitled

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