SHARE
TWEET

TryAgain_1.9.7

a guest Nov 14th, 2019 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --TRY_AGAIN_1.9.7
  2.  
  3.  
  4.  
  5. --SETTINGS--
  6.  
  7.  
  8.  
  9. ------DEFAULT-SETTINGS------
  10.  
  11. minBet = 0.012 -- Minimum allowed betamount for selected coin
  12.  
  13. targetBalance = 4000.5
  14. -- Target balance (will stop when reached)
  15.  
  16. chanceBase = 1.44
  17. -- Default starting chance
  18.  
  19. ----------------------------
  20.  
  21.  
  22. --------SIDE-SETTINGS-------
  23.  
  24. bethigh = true
  25. -- Default side
  26.  
  27. sideOnWin = true
  28. -- True - to change side on wins
  29.  
  30. sideAfterWins = 2
  31. -- Change side after how many wins?
  32.  
  33. ----------------------------
  34.  
  35.  
  36. --------SEED-SETTINGS-------
  37.  
  38. seedReset = true
  39. -- True - to change seed on wins
  40.  
  41. seedAfterWins = 3
  42. -- Change seed after how many wins?
  43.  
  44. ----------------------------
  45.  
  46.  
  47. -----BETAMOUNT-SETTINGS-----
  48.  
  49. maxBetX = 10
  50. -- Identify maximum starting betamount based on minBet (i.e. minBet = 0.00000010 and maxBetX = 4 means that starting bet will be not higher than minBet * maxBetX = 0.00000040)
  51.  
  52. maxBetXXX = 151
  53. ----------------------------
  54. --Dont-Change-If-Not-Sure---
  55.  
  56. nextRoundStartingBetFactor = 1
  57. -- Change to increase/decrease starting betamount for each consecutive try (i.e. 0.9 to reduce, 1.1 to increase)
  58.  
  59.  
  60. -- Identify how many rolls will be done on high payout trying to get a profit-hit, before starting to increase the chance
  61. profitHitRanage = 15
  62. bigHitWindow    = 25-- Identify how many rolls will be done with higher betamount but still on low chance (going for huge profit)
  63.  
  64. calcMulty = 151
  65.  
  66. maxChance = 7.77
  67. ----------------------------
  68. filename2 = "SEEDLOG.csv"
  69. tempfile2 = "SEEDLOG_temp.csv"
  70. ------------MISC.-----------
  71.  
  72. sound = true
  73. -- True for "Ching" on wins
  74.  
  75. ----------------------------
  76.  
  77.  
  78.  
  79. -------------------------------------------
  80. -------------------------------------------
  81. -------DON'T-TOUCH-ANYTHING-BELOW----------
  82. -------DON'T-TOUCH-ANYTHING-BELOW----------
  83. -------DON'T-TOUCH-ANYTHING-BELOW----------
  84. -------------------------------------------
  85. -------------------------------------------
  86.  
  87.  
  88.  
  89. ---VARS---
  90. curBal = balance
  91. chanceCalc = chanceBase
  92. chance = chanceCalc
  93. maxBet1 = minBet * maxBetXXX
  94. maxBet2 = curBal / calcMulty
  95. maxBet = (maxBet1 + maxBet2) / 2
  96. ---multyipliers---
  97. multiplier1 = 1.02
  98. multiplier2 = 1.066
  99. multiplier3 = 1.032
  100. multiplier4 = 0.096 * nextRoundStartingBetFactor
  101.  
  102. chanceMulti1 = 0.94
  103. chanceMulti2 = 1.19
  104. chanceMulti3 = 1.0164
  105. ------------------
  106.  
  107.  
  108. loseCount = 0
  109. seedCount = 0
  110. sideCount = 0
  111. sessionProfit = 0
  112. nextbet = minBet
  113.  
  114. betCalc1 = (sessionProfit * (-1)) / calcMulty
  115. betCalc2 =  minBet * multiplier4
  116.  
  117. ------------------
  118.  
  119.  
  120. -------------
  121. -------------
  122. ----DOBET----
  123. -------------
  124. -------------
  125.  
  126.  
  127. function dobet()
  128.   --resetseed()
  129.  
  130.   curBal = balance
  131.  
  132.  
  133.     ------------Last-Roll--------------
  134.   LBA = lastBet.Amount
  135.   LBR = math.floor(lastBet.Roll * 100)
  136.   LBID = lastBet.Id
  137.   LBP = lastBet.Profit
  138.   LBC = lastBet.Chance
  139.   LBN = lastBet.Nonce
  140.   -----------------------------------
  141.  
  142.   sessionProfit = sessionProfit + LBP
  143.  
  144.   --print("\n_____\n")
  145.   --print("\n_____\n")
  146.   --print("SP = " .. string.format("%3.8f",sessionProfit))
  147.   --print("\n_____\n")
  148.   --print("\n_____\n")
  149.  
  150.   if sessionProfit > (0 - minBet * 30) then
  151.     sessionProfit = 0
  152.   end
  153.  
  154.    
  155.     if LBR < 99 or LBR > 9900 then
  156.       -- Timestamp, Roll Number, Bet ID, Bet Amount, Chance, Win Amount, Streak Spent, Roll, High/Low, GAP, Losestreak, Win/Lose\n
  157.       tempstr = "rolln, betid, roll, highlo, x990\n"
  158.       tempcalc = string.format("%4.0f", LBN)
  159.       tempstr = string.gsub(tempstr, "rolln", tempcalc)
  160.       tempstr = string.gsub(tempstr, "betid", LBID)
  161.       tempstr = string.gsub(tempstr, "roll", LBR)
  162.       if LBR > 9900 then
  163.         tempstr = string.gsub(tempstr, "highlo", "High")
  164.       else
  165.       if LBR < 99 then
  166.         tempstr = string.gsub(tempstr, "highlo", "Low")
  167.       end
  168.       end
  169.       if LBR < 10 or LBR > 9989 then
  170.         tempstr = string.gsub(tempstr, "x990", "x990")
  171.       else
  172.         tempstr = string.gsub(tempstr, "x990", "--")
  173.       end
  174.       fin = assert(io.open(filename2, "r"))
  175.       content = fin:read("*a")
  176.       fin:close()
  177.  
  178.       fout = assert(io.open(tempfile2, "w"))
  179.       fout:write(content)
  180.       fout:write(tempstr)
  181.       -- fout:write(oppositeOut)
  182.  
  183.       fout:close()
  184.       os.remove(filename2)
  185.       os.rename(tempfile2, filename2)
  186.  
  187.     end
  188.    
  189.    
  190.    
  191.   if win then
  192.  
  193.  
  194.     if sound then
  195.       ching()
  196.     end
  197.    
  198.    
  199.     maxBet2 = curBal / calcMulty
  200.     maxBet = (maxBet1 + maxBet2) / 2
  201.    
  202.  
  203.     if seedReset then
  204.  
  205.       seedCount += 1
  206.  
  207.       if seedCount >= seedAfterWins then
  208.         resetseed()
  209.         seedCount = 0
  210.       end
  211.  
  212.     end
  213.  
  214.     if sideOnWin then
  215.  
  216.       sideCount += 1
  217.  
  218.       if sideCount >= sideAfterWins then
  219.         bethigh = !bethigh
  220.         sideCount = 0
  221.       end
  222.  
  223.     end
  224.  
  225.  
  226.     loseCount = 0
  227.  
  228.     chanceCalc = chanceBase
  229.  
  230.  
  231.     if sessionProfit < 0 then
  232.       betCalc1 = (sessionProfit * (-1)) / calcMulty
  233.       betCalc2 =  previousbet * multiplier4
  234.       nextbet = (betCalc1 + betCalc2) / 2
  235.      
  236.       if nextbet >= minBet * maxBetX then
  237.         nextbet = minBet * maxBetX
  238.       end
  239.  
  240.     else
  241.  
  242.       nextbet = minBet
  243.  
  244.     end
  245.  
  246.  
  247.     if curBal >= targetBalance then
  248.       print("Target Reached")
  249.       stop()
  250.     end
  251.  
  252.  
  253.   else
  254.  
  255.     loseCount += 1
  256.  
  257.     if loseCount < profitHitRanage + bigHitWindow + 11 then
  258.       if loseCount < profitHitRanage then
  259.  
  260.         nextbet = previousbet * multiplier1
  261.       else
  262.  
  263.         nextbet = previousbet * multiplier2
  264.       end
  265.     else
  266.  
  267.       nextbet = previousbet * multiplier3
  268.     end
  269.  
  270.     if loseCount < profitHitRanage + bigHitWindow + 11 then
  271.       if loseCount < profitHitRanage + bigHitWindow then
  272.         chanceCalc = chanceCalc * chanceMulti1
  273.  
  274.       else
  275.         chanceCalc = chanceCalc * chanceMulti2
  276.  
  277.       end
  278.     else
  279.       chanceCalc = chanceCalc * chanceMulti3
  280.  
  281.     end
  282.  
  283.  
  284.  
  285.   end
  286.  
  287.  
  288.  
  289.  
  290.   if chanceCalc > maxChance  then
  291.   chanceCalc = maxChance
  292.   end
  293.  
  294.  
  295.   chance = chanceCalc
  296.  
  297.  
  298.   if nextbet >= maxBet then
  299.   nextbet = maxBet
  300.   end
  301.  
  302.   if nextbet < minBet then
  303.     nextbet = minBet
  304.   end
  305.  
  306.   if nextbet > curBal then
  307.     nextbet = curBal
  308.   end
  309.  
  310.   if curBal < minBet then
  311.     stop()
  312.   end
  313.  
  314.  
  315. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top