Advertisement
Dreddine

huntBigPayoutChanceDecrease

Jan 14th, 2021
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. enablezz=false
  2. enablesrc=false
  3. ctRoll=0
  4.  
  5. div=100000000 --satoshi
  6.  
  7. --balance=10000 --simulation
  8.  
  9. --SETTING--------------
  10. startChance= 0.1 --Start hunt
  11. finaleChance= 0.01 --Back to startChance and multiply basebet by "q"
  12. incremente = 0.03 --decrease
  13. numberRoll= 60 --every bets
  14. q=2 --mutiplier
  15. bb=0.00000001 --base bet (1/div = 1 satoshi)
  16. target=balance*2 --STOP_IF_BALANCE_OVER target
  17. limite=0 --STOP_IF_BALANCE_UNDER limite
  18. -----------------------
  19.  
  20.  
  21. function target_et_limite()
  22.     if (balance-nextbet) < limite then
  23.         print("MISSION FAILLED! C'EST LE JEU SVP FAITES PAS DE BÊTISE") stop()
  24.     end
  25.     if balance >= target then
  26.         print("TARGET REACHED GG !!!") stop()
  27.     end
  28. end
  29.  
  30. function simu_printInfo()
  31.  
  32.     print("wagered= " ..wagered)
  33.     print("profit= " ..profit)
  34.     print("PERF= " ..(wagered/profit)*100 .."%")
  35.     print ("chance= " ..chance)
  36.     print("nextbet= " ..nextbet .." N° " ..bets)
  37. end
  38.  
  39. bestID,badID,pirePERTE,bestPROFIT=0,0,0,0
  40. function bestBETid()
  41.  
  42.     if currentprofit >= bestPROFIT then
  43.         bestID=lastBet.id
  44.         bestPROFIT=currentprofit
  45.     end
  46.    
  47.     if currentprofit <= pirePERTE then
  48.         badID=lastBet.id
  49.         pirePERTE=currentprofit
  50.     end
  51.    
  52.     print("PROFIT MAX= " ..bestID)
  53.     print("PERTE MAX= " ..badID)
  54.    
  55. end
  56.  
  57. chance=startChance
  58. nextbet=bb
  59.  
  60. function dobet()
  61.  
  62.     ctRoll +=1
  63.     print("NUMBER ROLLS= " ..ctRoll)
  64.  
  65.     if win then
  66.         ctRoll =0
  67.         nextbet = bb
  68.         chance=startChance
  69.     end
  70.  
  71.     if ctRoll == numberRoll then
  72.         if chance <= 0.01 then
  73.             chance=startChance+incremente
  74.             nextbet =  previousbet*2
  75.         end
  76.         ctRoll=0
  77.         chance -=incremente
  78.     end
  79.    
  80.    
  81.     bestBETid()
  82.     target_et_limite()
  83.     --simu_printInfo() --simulation
  84.  
  85. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement