Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
B4RF
on 01/12/2017, 18:11:14 UTC
Sorry I was not asking f it is possible to win or not
I was asking how to write the script that will
bet normal martingale but in the same time will count i there are rolls above 99% or below 1% in the row and if they are 2 will place the bet below or above of 10% o the balance not interrupting the main strategy?
It would be nice i fit was counting also how many strikes like that was there already and if there was 5
change minimal row to 3?
Please
Anyone know how to do that?
 

I did no testing so there might be errors.
Use it at your own risk and you might want to adjust the percentages based on your dice site.
I think 99% bets are not even allowed on most sites right?

Code:
basebet=0.00000001
nextbet=basebet
chance=49.5

highCount=0
lowCount=0
previousbetBackup=basebet

function dobet()

if highCount >= 2 then
bethigh = false
nextbet = balance * 0.1
chance=99.0
else
if lowCount >= 2 then
bethigh = true
nextbet = balance * 0.1
chance=99.0
else
chance=49.5

if win then     
   nextbet = basebet
else   
   nextbet = previousbetBackup*2
end

previousbetBackup = nextbet
end
end

if lastBet.Roll > 99 then
highCount = highCount+1
else
highCount = 0
end

if lastBet.Roll < 1 then
lowCount = lowCount+1
else
lowCount = 0
end
end