dicebot strategy script >> "divisor"


SUBMITTED BY: phroyd

DATE: July 23, 2016, 8:22 p.m.

UPDATED: July 23, 2016, 8:26 p.m.

FORMAT: Text only

SIZE: 2.2 kB

HITS: 2552

  1. -- 6-divisor --
  2. unit = 1
  3. unitfactor = 0.00000001
  4. basebet = 0.00000001
  5. chanceA = 49
  6. ls = 0 -- loosestreak
  7. ws = 0 -- winstreak
  8. lc = 0 -- loosecount
  9. wc = 0 -- wincount
  10. divisorbase = 6
  11. divisor = divisorbase
  12. targetbase = basebet * 20
  13. target = targetbase
  14. targetbalance = balance + target
  15. exploitrange = 7
  16. bethigh = true
  17. chance = chanceA
  18. nextbet = target / divisor
  19. resetstats()
  20. function dobet()
  21. divIt()
  22. betselection()
  23. exploit()
  24. checkups()
  25. end
  26. function divIt()
  27. chance = chanceA
  28. if win then
  29. ws = ws + 1
  30. target = target - currentprofit
  31. divisor = divisor - 1
  32. if divisor <= 3 then
  33. divisor = divisor + divisorbase
  34. target = target + targetbase
  35. end
  36. ls = 0
  37. else
  38. ls = ls + 1
  39. target = target + previousbet
  40. if ls == 3 then divisor = divisor + 1 end
  41. ws = 0
  42. end
  43. if balance >= targetbalance then
  44. print("\n >>> profit! \n")
  45. divisor = divisorbase
  46. target = targetbase
  47. targetbalance = balance + target
  48. end
  49. nextbet = target / divisor
  50. print("b: " .. balance .. " div: " .. divisor .. " trgt: " .. target )
  51. end
  52. function exploit()
  53. if lastBet.roll > 100 - exploitrange then
  54. exploitH = exploitH + 1
  55. else
  56. exploitH = 0
  57. end
  58. if lastBet.roll < exploitrange then
  59. exploitL = exploitL + 1
  60. else
  61. exploitL = 0
  62. end
  63. if exploitH > 2 then
  64. nextbet = balance / 3
  65. bethigh = true
  66. chance = 100 - exploitrange
  67. print("\n exploiting with 1/3\n")
  68. end
  69. if exploitL > 2 then
  70. nextbet = balance / 3
  71. bethigh = false
  72. chance = 100 - exploitrange
  73. print("\n exploiting with 1/3\n")
  74. end
  75. if exploitH > 3 then
  76. nextbet = balance
  77. bethigh = true
  78. chance = 100 - exploitrange
  79. print("\n exploiting with br\n")
  80. end
  81. if exploitL > 3 then
  82. nextbet = balance
  83. bethigh = false
  84. chance = 100 - exploitrange
  85. print("\n exploiting with br\n")
  86. end
  87. end
  88. function betselection()
  89. if !win and ls > 1 then bethigh = !bethigh end
  90. end
  91. function checkups()
  92. if nextbet < basebet then nextbet = basebet end
  93. end

comments powered by Disqus