--------------
--SETTING--------------
div=10000000 -- divider balance
bb = 0.00000001 -- base bet
mdBourrin = false --false=safe
casino = 1 --% edge house
chance = 10 --base chance
chanceMin = 1 --chance minimum
target=balance*2 --STOP_IF_BALANCE_OVER target
limite=0 --STOP_IF_BALANCE_UNDER limite
-----------------------
nextbet = bb
chanceDB = chance
bbDB = bb
enablezz=false
enablesrc=false
perte=0
payout=1
sensM=true
WageredB = 0
ProfitB = 0
function target_et_limite()
if (balance-nextbet) < limite or betv==nil then
nextbet=balance-limite
print("MISSION FAILLED!") stop()
end
if balance >= target then
print("TARGET REACHED!") stop()
end
end
function stringA()
M1="======================="
betv=M1
print(M1)
end
function simu_printInfo()
print("wagered= " ..wagered)
print("profit= " ..profit)
print("PERF= " ..(wagered/profit)*100 .."%")
print ("chance= " ..chance)
print("nextbet= " ..nextbet .." N° " ..bets)
end
bestID = 0
badID = 0
pirePERTE = 0
bestPROFIT = 0
function bestBETid()
if currentprofit >= bestPROFIT then
--bestID=lastBet.id
bestPROFIT=currentprofit
end
if currentprofit <= pirePERTE then
--badID=lastBet.id
pirePERTE=currentprofit
end
--print("PROFIT MAX= " ..bestID)
--print("PERTE MAX= " ..badID)
end
function dobet()
stringA()
WageredB += nextbet --lastBet.amount
ProfitB +=currentprofit
perte +=currentprofit
if win then
bethigh=math.random(0,100)%2==0
chance = chanceDB
payout = 1
else
if sensM==true then
payout += 1
chance -= (math.random(0*100.00,0.5*100.00)/100.00)
else
payout -= 1
chance += (math.random(0*100.00,0.5*100.00)/100.00)
end
end
--[[if bets%50==0 then
if perte < 0 then
nextbet = previousbet*2
end
end--]]
--chance = (100-casino)/payout
if chance >= chanceDB then
chance = chanceDB
sensM=true
end
if chance <= chanceMin then
chance = chanceMin
sensM=false
end
payout = (100-casino)/chance
if mdBourrin == false then
nextbet = (-perte+bb)/(payout-1)
else
nextbet = (WageredB-ProfitB+bb)/(payout-1)
end
if nextbet <= bb then
nextbet = bb
end
if perte >= 0 then
perte = 0
bb = balance/div
nextbet = bb
end
bestBETid()
target_et_limite()
--simu_printInfo() --simu
end
0 Comments