Dreddine

yoyo

Jan 14th, 2021 (edited)
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. enablezz  = false
  2. enablesrc = false
  3. perte     = 0
  4. payout    = 1
  5. sensM     = true
  6. WageredB  = 0
  7. ProfitB   = 0
  8.  
  9.  
  10. div=100000000
  11.  
  12. --balance=10000 --simu
  13. --SETTING--------------
  14. mdBourrin = false  --false=safe true = risky
  15. casino    = 1 --% edge house
  16. chance    = 20 --base chance
  17. chanceMin = 9.9 --chance minimum
  18. bb        = balance/100000 -- base bet (1/div = 1 satoshi)
  19. target    = balance*2 --STOP_IF_BALANCE_OVER target
  20. limite    = 0 --STOP_IF_BALANCE_UNDER limite
  21. -----------------------
  22.  
  23. resetseed()
  24. counter = 0
  25. chanceDB = chance
  26. bbDB = bb
  27.  
  28. function target_et_limite()
  29.     if (balance-nextbet) < limite or betv==nil then
  30.         nextbet=balance-limite
  31.         print("MISSION FAILLED! C'EST LE JEU SVP FAITES PAS DE BÊTISE") stop()
  32.     end
  33.     if balance >= target then
  34.         print("TARGET REACHED GG !!!") stop()
  35.     end
  36. end
  37.  
  38.  
  39. function simu_printInfo()
  40.  
  41.     print("wagered= " ..wagered)
  42.     print("profit= " ..profit)
  43.     print("PERF= " ..(wagered/profit)*100 .."%")
  44.     print ("chance= " ..chance)
  45.     print("nextbet= " ..nextbet .." N° " ..bets)
  46. end
  47.  
  48. function rstseed()
  49.     if counter == 500 then
  50.         resetseed()
  51.         counter = 0
  52.     else
  53.         counter+=1
  54.     end
  55. end
  56.  
  57. nextbet=bb
  58.  
  59. function dobet()
  60.     rstseed()
  61.     WageredB +=lastBet.amount
  62.     ProfitB +=currentprofit
  63.     perte +=currentprofit
  64.    
  65.     if win then
  66.         bethigh=math.random(0,100)%2==0
  67.         chance = chanceDB
  68.         payout = 1
  69.     else
  70.         if sensM==true then
  71.             payout +=1
  72.         else
  73.             payout -= 1
  74.         end
  75.    
  76.     end
  77.    
  78.    
  79.     --[[if bets%50==0 then
  80.         if perte < 0 then
  81.             nextbet = previousbet*2
  82.         end
  83.     end--]]
  84.    
  85.     chance = (100-casino)/payout
  86.    
  87.     if chance >= chanceDB then
  88.         chance = chanceDB
  89.         sensM=true
  90.     end
  91.     if chance <= chanceMin then
  92.         chance = chanceMin
  93.         sensM=false
  94.     end
  95.    
  96.    
  97.     payout = (100-casino)/chance
  98.    
  99.     if mdBourrin == false then
  100.         nextbet = (-perte+bb)/(payout-1)
  101.     else
  102.         nextbet = (WageredB-ProfitB+bb)/(payout-1)
  103.     end
  104.    
  105.     if nextbet <= bb then
  106.         nextbet = bb
  107.     end
  108.    
  109.     if perte >= 0 then
  110.         perte   = 0
  111.         bb      = balance/100000
  112.         nextbet = bb
  113.     end
  114.  
  115.     --target_et_limite()
  116.     simu_printInfo() --simu
  117.  
  118.  
  119. end
Add Comment
Please, Sign In to add comment