Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enablezz=false
- enablesrc=false
- ctRoll=0
- div=100000000 --satoshi
- --balance=10000 --simulation
- --SETTING--------------
- startChance= 0.1 --Start hunt
- finaleChance= 0.01 --Back to startChance and multiply basebet by "q"
- incremente = 0.03 --decrease
- numberRoll= 60 --every bets
- q=2 --mutiplier
- bb=0.00000001 --base bet (1/div = 1 satoshi)
- target=balance*2 --STOP_IF_BALANCE_OVER target
- limite=0 --STOP_IF_BALANCE_UNDER limite
- -----------------------
- function target_et_limite()
- if (balance-nextbet) < limite then
- 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
- bestID,badID,pirePERTE,bestPROFIT=0,0,0,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
- chance=startChance
- nextbet=bb
- function dobet()
- ctRoll +=1
- print("NUMBER ROLLS= " ..ctRoll)
- if win then
- ctRoll =0
- nextbet = bb
- chance=startChance
- end
- if ctRoll == numberRoll then
- if chance <= 0.01 then
- chance=startChance+incremente
- nextbet = previousbet*2
- end
- ctRoll=0
- chance -=incremente
- end
- bestBETid()
- target_et_limite()
- --simu_printInfo() --simulation
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement