Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minbet = 2e-5
- div = 1e4
- startch = 50
- chance = startch
- base = balance/div
- nextbet = base
- bethigh = true
- ctwin = 0
- ctlose = 0
- ctrate = 0
- resetseed()
- resetpartialprofit()
- function dobet()
- log("--- win \t"..ctwin.."\t - lose "..ctlose.."\t"..ctrate.."% ")
- if win then ctwin = ctwin + 1 else ctlose = ctlose + 1 end
- if partialprofit > 0 then
- resetpartialprofit()
- nextbet = base
- ctrate = (ctwin/ctlose)*100
- if ctrate < 50 then
- bethigh = !bethigh
- chance = math.random(startch*100, (startch+1)*100)/100
- end
- if ctlose >= 10 then resetseed() end
- ctwin = 0 ctlose = 0 ctrate = 0
- else
- if ctwin < ctlose then
- if ctlose > 6 then
- nextbet = (previousbet*(1+(chance/50)))*0.9
- else
- nextbet = previousbet*(1+(chance/50))
- end
- else
- nextbet = previousbet
- end
- end
- if nextbet < minbet then nextbet = minbet end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement