Gold
Gold
Gold
00000001)
setChip("Red",0.00000001)
div = 1000000
baseBet = balance/div
nextBet = baseBet
sbal = balance
ath = balance
bets = 0
target = 3.00000000
pocketLine1 = { 3,6,9,12,15,18,21,24,27,30,33,36 }
pocketLine2 = { 2,5,8,11,14,17,20,23,26,29,32,35 }
pocketLine3 = { 1,4,7,10,13,16,19,22,25,28,31,34 }
docketLine1 = { 25,26,27,28,29,30,31,32,33,34,35,36 }
docketLine2 = { 13,14,15,16,17,18,19,20,21,22,23,24 }
docketLine3 = { 1,2,3,4,5,6,7,8,9,10,11,12 }
arrayLine = {}
table.insert(arrayLine, 1, 0)
table.insert(arrayLine, 1, 0)
table.insert(arrayLine, 1, 0)
table.insert(arrayLine, 1, 0)
table.insert(arrayLine, 1, 0)
arraysLine = {}
table.insert(arraysLine, 1, 0)
table.insert(arraysLine, 1, 0)
table.insert(arraysLine, 1, 0)
table.insert(arraysLine, 1, 0)
table.insert(arraysLine, 1, 0)
linenow = 0
dozennow = 0
visualchips = true
tenPercent = 0
-- result.Chips - в этом массиве индекс начинается с 0
-- arrayLine - в этом массиве первый элемент с индексом 1
function dobet()
betrate = 50
bets = bets + 1
nextBet = baseBet
if (result.Chips[0].win) then
--print("Bet Line1 and Line3 Won Line1
baseBet="..convert(result.Chips[0].payin).." NextBet="..convert(nextBet))
end
if (result.Chips[1].win) then
--print("Bet Line1 and Line3 Won Line3
baseBet="..convert(result.Chips[1].payin).." NextBet="..convert(nextBet))
end
else
nextBet *= 5
if (not result.Chips[0].win) then
--print("Bet Line1 and Line3 Loss Line1
baseBet="..convert(result.Chips[0].payin).." NextBet="..convert(nextBet))
end
if (not result.Chips[1].win) then
--print("Bet Line1 and Line3 Loss Line3
baseBet="..convert(result.Chips[1].payin).." NextBet="..convert(nextBet))
end
end
--pause() -- Pause to check when line 1 and line 3 have happened
end
for i = 1, #arrayLine do
if (i == 1) then
--print("Bet Line "..arrayLine[i].." Now the line has dropped")
else
--print("Bet Line "..arrayLine[i])
end
end
if (arrayLine[1] == 2
and arrayLine[2] == 1)
then
for i = 1, #arrayLine do
arrayLine[i] = 0
end
--print("The combination happened Nex Bet Line1 and Line3")
setChip("Line1", nextBet)
setChip("Line2", nextBet)
end
end
if (#arrayLine >= 2) then
--print("Work start")
if (arrayLine[1] == 2
and arrayLine[2] == 3)
then
for j = 1, #arrayLine do
arrayLine[j] = 0
end
setChip("Line2", nextBet)
setChip("Line3", nextBet)
else
--print("Bet Red and Black")
setChip("Red",0.00000001)
setChip("Black",0.00000001)
end
else
--print("Bet Red and Black")
setChip("Red",0.00000001)
setChip("Black",0.00000001)
end
end
if (#arraysLine >= 1) then
--print("Work start")
if (arraysLine[1] == 2
and arraysLine[2] == 1)
then
for i = 1, #arraysLine do
arraysLine[i] = 0
end
--print("The combination happened Nex Bet Line1 and Line3")
setChip("Dozen1", nextBet)
setChip("Dozen2", nextBet)
end
end
if (#arraysLine >= 2) then
--print("Work start")
if (arraysLine[1] == 2
and arraysLine[2] == 3)
then
for q = 1, #arraysLine do
arrayLine[q] = 0
end
setChip("Dozen2", nextBet)
setChip("Dozen3", nextBet)
else
--print("Bet Red and Black")
setChip("Red",0.00000001)
setChip("Black",0.00000001)
end
else
--print("Bet Red and Black")
setChip("Red",0.00000001)
setChip("Black",0.00000001)
end
end
--if (bets%99==0) then
-- --print("Result number "..roll)
-- print("BaseBet "..baseBet)
-- --print("BET #: "..string.format("%.0f", bets))
-- --print("BALANCE: "..string.format("%.8f", balance))
-- --print("PROFIT: " ..string.format("%.8f", balance-sbal))
-- print("GAIN IS : " ..string.format("%.2f", (balance - sbal)/(sbal/100)) .."
%")
-- print("TO TARGET : " ..string.format("%.2f", (balance -
target)/(sbal/100)) .." %")
--
-- --print("========================= ")
--end
--
--if balance >= target then
-- stop()
-- print("PROFIT TARGET IS REACHED!! CONGRATS!!!");
-- print("GAIN IS : " ..string.format("%.2f", (balance - sbal)/(sbal/100)) .."
%")
-- print("REMOVE 8/10th OF PROFIT " ..string.format("%.8f", (balance-sbal)*.8))
--end
----pause() -- Pause to check at every bet
--end
--end
--end