Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --TRY_AGAIN_1.9.7
- --SETTINGS--
- ------DEFAULT-SETTINGS------
- minBet = 0.012 -- Minimum allowed betamount for selected coin
- targetBalance = 4000.5
- -- Target balance (will stop when reached)
- chanceBase = 1.44
- -- Default starting chance
- ----------------------------
- --------SIDE-SETTINGS-------
- bethigh = true
- -- Default side
- sideOnWin = true
- -- True - to change side on wins
- sideAfterWins = 2
- -- Change side after how many wins?
- ----------------------------
- --------SEED-SETTINGS-------
- seedReset = true
- -- True - to change seed on wins
- seedAfterWins = 3
- -- Change seed after how many wins?
- ----------------------------
- -----BETAMOUNT-SETTINGS-----
- maxBetX = 10
- -- 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)
- maxBetXXX = 151
- ----------------------------
- --Dont-Change-If-Not-Sure---
- nextRoundStartingBetFactor = 1
- -- Change to increase/decrease starting betamount for each consecutive try (i.e. 0.9 to reduce, 1.1 to increase)
- -- Identify how many rolls will be done on high payout trying to get a profit-hit, before starting to increase the chance
- profitHitRanage = 15
- bigHitWindow = 25-- Identify how many rolls will be done with higher betamount but still on low chance (going for huge profit)
- calcMulty = 151
- maxChance = 7.77
- ----------------------------
- filename2 = "SEEDLOG.csv"
- tempfile2 = "SEEDLOG_temp.csv"
- ------------MISC.-----------
- sound = true
- -- True for "Ching" on wins
- ----------------------------
- -------------------------------------------
- -------------------------------------------
- -------DON'T-TOUCH-ANYTHING-BELOW----------
- -------DON'T-TOUCH-ANYTHING-BELOW----------
- -------DON'T-TOUCH-ANYTHING-BELOW----------
- -------------------------------------------
- -------------------------------------------
- ---VARS---
- curBal = balance
- chanceCalc = chanceBase
- chance = chanceCalc
- maxBet1 = minBet * maxBetXXX
- maxBet2 = curBal / calcMulty
- maxBet = (maxBet1 + maxBet2) / 2
- ---multyipliers---
- multiplier1 = 1.02
- multiplier2 = 1.066
- multiplier3 = 1.032
- multiplier4 = 0.096 * nextRoundStartingBetFactor
- chanceMulti1 = 0.94
- chanceMulti2 = 1.19
- chanceMulti3 = 1.0164
- ------------------
- loseCount = 0
- seedCount = 0
- sideCount = 0
- sessionProfit = 0
- nextbet = minBet
- betCalc1 = (sessionProfit * (-1)) / calcMulty
- betCalc2 = minBet * multiplier4
- ------------------
- -------------
- -------------
- ----DOBET----
- -------------
- -------------
- function dobet()
- --resetseed()
- curBal = balance
- ------------Last-Roll--------------
- LBA = lastBet.Amount
- LBR = math.floor(lastBet.Roll * 100)
- LBID = lastBet.Id
- LBP = lastBet.Profit
- LBC = lastBet.Chance
- LBN = lastBet.Nonce
- -----------------------------------
- sessionProfit = sessionProfit + LBP
- --print("\n_____\n")
- --print("\n_____\n")
- --print("SP = " .. string.format("%3.8f",sessionProfit))
- --print("\n_____\n")
- --print("\n_____\n")
- if sessionProfit > (0 - minBet * 30) then
- sessionProfit = 0
- end
- if LBR < 99 or LBR > 9900 then
- -- Timestamp, Roll Number, Bet ID, Bet Amount, Chance, Win Amount, Streak Spent, Roll, High/Low, GAP, Losestreak, Win/Lose\n
- tempstr = "rolln, betid, roll, highlo, x990\n"
- tempcalc = string.format("%4.0f", LBN)
- tempstr = string.gsub(tempstr, "rolln", tempcalc)
- tempstr = string.gsub(tempstr, "betid", LBID)
- tempstr = string.gsub(tempstr, "roll", LBR)
- if LBR > 9900 then
- tempstr = string.gsub(tempstr, "highlo", "High")
- else
- if LBR < 99 then
- tempstr = string.gsub(tempstr, "highlo", "Low")
- end
- end
- if LBR < 10 or LBR > 9989 then
- tempstr = string.gsub(tempstr, "x990", "x990")
- else
- tempstr = string.gsub(tempstr, "x990", "--")
- end
- fin = assert(io.open(filename2, "r"))
- content = fin:read("*a")
- fin:close()
- fout = assert(io.open(tempfile2, "w"))
- fout:write(content)
- fout:write(tempstr)
- -- fout:write(oppositeOut)
- fout:close()
- os.remove(filename2)
- os.rename(tempfile2, filename2)
- end
- if win then
- if sound then
- ching()
- end
- maxBet2 = curBal / calcMulty
- maxBet = (maxBet1 + maxBet2) / 2
- if seedReset then
- seedCount += 1
- if seedCount >= seedAfterWins then
- resetseed()
- seedCount = 0
- end
- end
- if sideOnWin then
- sideCount += 1
- if sideCount >= sideAfterWins then
- bethigh = !bethigh
- sideCount = 0
- end
- end
- loseCount = 0
- chanceCalc = chanceBase
- if sessionProfit < 0 then
- betCalc1 = (sessionProfit * (-1)) / calcMulty
- betCalc2 = previousbet * multiplier4
- nextbet = (betCalc1 + betCalc2) / 2
- if nextbet >= minBet * maxBetX then
- nextbet = minBet * maxBetX
- end
- else
- nextbet = minBet
- end
- if curBal >= targetBalance then
- print("Target Reached")
- stop()
- end
- else
- loseCount += 1
- if loseCount < profitHitRanage + bigHitWindow + 11 then
- if loseCount < profitHitRanage then
- nextbet = previousbet * multiplier1
- else
- nextbet = previousbet * multiplier2
- end
- else
- nextbet = previousbet * multiplier3
- end
- if loseCount < profitHitRanage + bigHitWindow + 11 then
- if loseCount < profitHitRanage + bigHitWindow then
- chanceCalc = chanceCalc * chanceMulti1
- else
- chanceCalc = chanceCalc * chanceMulti2
- end
- else
- chanceCalc = chanceCalc * chanceMulti3
- end
- end
- if chanceCalc > maxChance then
- chanceCalc = maxChance
- end
- chance = chanceCalc
- if nextbet >= maxBet then
- nextbet = maxBet
- end
- if nextbet < minBet then
- nextbet = minBet
- end
- if nextbet > curBal then
- nextbet = curBal
- end
- if curBal < minBet then
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement