Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enablezz = false
- enablesrc = false
- perte = 0
- payout = 1
- sensM = true
- WageredB = 0
- ProfitB = 0
- div=100000000
- --balance=10000 --simu
- --SETTING--------------
- mdBourrin = false --false=safe true = risky
- casino = 1 --% edge house
- chance = 20 --base chance
- chanceMin = 9.9 --chance minimum
- bb = balance/100000 -- base bet (1/div = 1 satoshi)
- target = balance*2 --STOP_IF_BALANCE_OVER target
- limite = 0 --STOP_IF_BALANCE_UNDER limite
- -----------------------
- resetseed()
- counter = 0
- chanceDB = chance
- bbDB = bb
- function target_et_limite()
- if (balance-nextbet) < limite or betv==nil then
- nextbet=balance-limite
- print("MISSION FAILLED! C'EST LE JEU SVP FAITES PAS DE BÊTISE") stop()
- end
- if balance >= target then
- print("TARGET REACHED GG !!!") stop()
- end
- end
- function simu_printInfo()
- print("wagered= " ..wagered)
- print("profit= " ..profit)
- print("PERF= " ..(wagered/profit)*100 .."%")
- print ("chance= " ..chance)
- print("nextbet= " ..nextbet .." N° " ..bets)
- end
- function rstseed()
- if counter == 500 then
- resetseed()
- counter = 0
- else
- counter+=1
- end
- end
- nextbet=bb
- function dobet()
- rstseed()
- WageredB +=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
- else
- payout -= 1
- 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/100000
- nextbet = bb
- end
- --target_et_limite()
- simu_printInfo() --simu
- end
Add Comment
Please, Sign In to add comment