Advertisement
Guest User

PasteToBin (Sun Jun 24 2018)

a guest
Jun 24th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
4CS 9.15 KB | None | 0 0
  1.               -- Script for PrimeDice V5 by CanihoJR
  2. --V0.1
  3.  
  4. resetseed()
  5. resetstats()
  6.  
  7. -- Settings
  8. prebet  = 0.00000000
  9. basebet = 0.00000001
  10. nextbet = prebet
  11. chance  = 49.5
  12. strategy= 'recuperar'
  13.  
  14. -- Tips
  15. dotips      = true
  16. autosettip  = true
  17. bank        = 'cc958db0-db63-4bae-b9b3-fadc399b8ca5'   -- canihojrbank on PD
  18. basetip     = 1.00000000
  19.  
  20. -- Session
  21. sessioninitbalance  = balance
  22.  
  23. -- Inicializacion
  24. initbalance = balance
  25. tempbalance = 0
  26. ctips       = 0
  27.  
  28. -- Variables canihojr
  29. bbet = 0
  30. bwin = 0
  31. bloss= 0
  32.  
  33.  
  34. -- Variables colbit
  35. rmivariable=0
  36. rmivariable2=0
  37.  
  38. -- Variables Recuperar
  39. chance=49.5
  40. revchance=50.5
  41. jackpot=99.89
  42. revjackpot=0.1
  43. multup=2.05
  44. multjackpot=1.0014
  45. rbase=0.01*1.1/(multup^20-1)
  46. basejackpot=rbase
  47. initial=3
  48. threshold=3000
  49. bethigh=true
  50. currentstreak=0
  51. counter=1
  52. reversecounter=0
  53. countjackpot=1
  54. revcountjackpot=0
  55. --nextbet=rbase
  56. main=1
  57.  
  58. -- Variables kamikaze
  59. k_basebet = 0.00000005
  60. k_ganancia = 0.00001000
  61. k_ganancia_base = 0.00001000
  62. k_total = 0
  63. k_high = 0
  64. k_low = 0
  65. k_preroll = 9
  66. k_ganancias = 0.00000000
  67. k_diferencia = 0
  68. k_perdidas_consecutivas = 0
  69. k_recuperar = false
  70. k_contador_ganancia = 0
  71. k_random = 0
  72. k_apuestas_fuertes = 0
  73. k_primera = false
  74. k_apostar = false
  75. k_perdidas = 0
  76.  
  77. function dobet()
  78.     -- Solo la primera vez:
  79.     settip()
  80.    
  81.     -- Obtengo datos y muestro
  82.    
  83.     preLCD()
  84.  
  85.     -- Selecciono proxima estategia:
  86.     if (strategy == 'canihojr') then
  87.         stracanihojr()
  88.     elseif (strategy == 'colbit') then
  89.         stracolbit()
  90.     elseif (strategy == 'kamikaze') then
  91.         strakamikaze()
  92.     elseif (strategy == 'recuperar') then
  93.         strarecuperar()
  94.     end
  95.  
  96. end
  97.  
  98. function settip()
  99.    if (autosettip) then
  100.         if (currency == 'Btc') then
  101.             basetip = 0.00001001
  102.         elseif (currency == 'Eth') then
  103.             basetip = 0.00010001
  104.         elseif (currency == 'Ltc') then
  105.             basetip = 0.00100001
  106.         end
  107.     end
  108.     autosettip = false
  109. end
  110.  
  111.  
  112.  
  113.  
  114. function preLCD()
  115.     tempbalance = balance - initbalance
  116.    
  117.     --clear()
  118.     --print('\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v')
  119.     print('GENERAL')
  120.     print("═══════")
  121.     print("Currency:\t "..string.upper(currency)..'\t\t Strategy:\t '..strategy)
  122.     print(string.format("Start Bal:\t %.8f", sessioninitbalance))
  123.     print("")
  124.     print(string.format("Base Tip:\t %.8f", basetip))
  125.     print(string.format("Profit:\t %.8f", tempbalance))
  126. end
  127.  
  128. -- STRA KAMIKAZE
  129. function strakamikaze()
  130.     if (win) then
  131.         if (bethigh) then
  132.             k_high = k_high + 1
  133.         else
  134.             k_low = k_low + 1
  135.         end
  136.        
  137.         k_perdidas = k_perdidas + nextbet
  138.     else
  139.         if (bethigh) then
  140.             k_low = k_low + 1
  141.         else
  142.             k_high = k_high + 1
  143.         end
  144.  
  145.         k_perdidas = k_perdidas - nextbet
  146.     end
  147.    
  148.     k_diferencia = math.abs(k_high - k_low)
  149.    
  150.     -- Cáclulo nextapuesta
  151.     if (k_preroll > 0 ) then
  152.             nextbet = 0.00000000
  153.             k_preroll = k_preroll - 1
  154.         else
  155.             if(win) then
  156.                 if(k_recuperar and nextbet >= k_ganancia) then
  157.                     k_recuperar = false
  158.                     k_random = 0
  159.                     k_primera = false
  160.                     k_apostar = false
  161.                     k_ganancia = k_ganancia_base
  162.                 end
  163.  
  164.                 nextbet = k_basebet
  165.                 k_perdidas_consecutivas = 0
  166.                 k_apuestas_fuertes = 0
  167.                 if (k_recuperar) then
  168.                     if  (k_diferencia > 5 and k_contador_ganancia > k_random and k_apostar == true) then
  169.                         nextbet = k_ganancia
  170.                         k_contador_ganancia = 0
  171.                         k_apuestas_fuertes = 0
  172.                     end
  173.                 end
  174.             else
  175.                 k_perdidas_consecutivas = k_perdidas_consecutivas + 1
  176.                 if(k_perdidas_consecutivas < 5) then
  177.                     nextbet = nextbet * 2
  178.                     if(nextbet > k_ganancia_base) then
  179.                         if(nextbet > k_ganancia_base * 4) then
  180.                             k_ganancia = nextbet
  181.                             k_recuperar = true
  182.                             nextbet = 0.00000001
  183.                             k_contador_ganancia = 0
  184.                             k_random = math.random(15, 50)
  185.                         else
  186.                             k_apuestas_fuertes = k_apuestas_fuertes + 1
  187.                             if(k_apuestas_fuertes == 2) then
  188.                                 nextbet = nextbet
  189.                             else
  190.                                 if (k_apuestas_fuertes >= 3) then
  191.                                     k_ganancia = nextbet
  192.                                     nextbet = 0.00000001
  193.                                     k_recuperar = true
  194.                                     if(k_random == 0) then
  195.                                         k_contador_ganancia = 0
  196.                                         k_random = math.random(15, 50)
  197.                                     end
  198.                                 end
  199.                             end
  200.                         end
  201.                     end
  202.                 else
  203.                     nextbet = 0.00000001
  204.                     k_recuperar = true
  205.                     if(k_random == 0) then
  206.                         k_contador_ganancia = 0
  207.                         k_random = math.random(0, 50)
  208.                         k_primera = false
  209.                     else
  210.                         if k_random > 0 then
  211.                             k_contador_ganancia = 0
  212.                         end
  213.                     end
  214.                     if(k_primera == false) then
  215.                         k_primera = true
  216.                         k_apostar = false
  217.                     else
  218.                         k_apostar = true
  219.                     end
  220.                 end
  221.             end
  222.         end
  223.        
  224.        
  225.         -- Cambio lado apuesta, si procede
  226.         if(k_high - 2 <= k_low) then
  227.             bethigh = true
  228.         else
  229.             if(k_low - 2 <= k_high) then
  230.                 bethigh = false
  231.             end
  232.         end
  233.  
  234.         k_total = k_total + 1
  235.         k_contador_ganancia = k_contador_ganancia + 1
  236.  
  237.         if(bethigh) then
  238.             print('Bet high')
  239.         else
  240.             print('Bet Low')
  241.         end
  242.        
  243.  
  244.         if k_perdidas < 0 then
  245.             if math.abs(k_perdidas) >= limite then
  246.                 -- Toca recuperar
  247.             --    kamikaze = false
  248.             --    chance = 90
  249.             --    s_recuperar = 4
  250.                 print("CAMBIO RECUPERAR")
  251.             --    nextbet = 0.00000000
  252.                 k_perdidas = math.abs(k_perdidas)
  253.             --    s_roll = 0
  254.             --    s_countloss = 0
  255.             --    s_rolls = 0
  256.             --    s_num = 0
  257.             --    s_last = 0
  258.                 strategy = 'recuperar'
  259.             --    s_seguidas = 0
  260.             --    s_limpiar = false
  261.                 resetstats()
  262.                 resetseed()
  263.             end
  264.         else
  265.             k_perdidas = 0
  266.         end
  267. end
  268.  
  269. -- STRA RECUPERAR
  270. function strarecuperar()
  271. if bethigh==true then
  272.     if lastBet.roll>revchance then
  273.         counter=0
  274.     else
  275.         counter=counter+1
  276.     end
  277.    
  278.     if lastBet.roll<chance then
  279.         reversecounter=0
  280.     else
  281.         reversecounter=reversecounter+1
  282.     end
  283.  
  284. else
  285.  
  286.     if lastBet.roll<chance then
  287.         counter=0
  288.     else
  289.         counter=counter+1
  290.     end
  291.    
  292.     if lastBet.roll>revchance then
  293.         reversecounter=0
  294.     else
  295.         reversecounter=reversecounter+1
  296.     end
  297. end
  298.  
  299. if lastBet.roll>=revjackpot then
  300.     revcountjackpot=revcountjackpot+1
  301. else
  302.     revcountjackpot=0
  303. end
  304.  
  305. if lastBet.roll<=jackpot then
  306.     countjackpot=countjackpot+1
  307. else
  308.     countjackpot=0
  309. end
  310.  
  311. -- --------------------------------------
  312. -- Main Martingale ----------------------
  313. -- --------------------------------------
  314.  
  315. if main==1 then
  316.  
  317.  
  318.     if win then
  319.         if reversecounter<initial then
  320.             counter=0
  321.             nextbet=rbase
  322.         else
  323.             bethigh=not bethigh
  324.             counter=reversecounter
  325.             reversecounter=0
  326.             if counter>=initial then
  327.                 nextbet=rbase*math.pow(multup,counter)
  328.             else
  329.                 nextbet=rbase
  330.             end
  331.         end
  332.  
  333.         if countjackpot>threshold then
  334.             --bethigh=true
  335.             --chance=revjackpot
  336.             --nextbet=basejackpot
  337.             --main=2
  338.             nextbet = 0
  339.             strategy = 'kamikaze'
  340.         end
  341.  
  342.         if revcountjackpot>threshold then
  343.             --bethigh=false
  344.             --chance=revjackpot
  345.             --nextbet=basejackpot
  346.             --main=2
  347.             nextbet = 0
  348.             strategy = 'kamikaze'
  349.         end
  350.        
  351.     else
  352.         if counter>=initial then
  353.             nextbet=rbase*math.pow(multup,counter)
  354.         else
  355.             nextbet=rbase
  356.         end
  357.     end
  358.  
  359. else
  360.  
  361. -- -------------------
  362. -- Bonus martingale --
  363. -- -------------------
  364.  
  365.     if win then
  366.         --ching()
  367.         main=1
  368.         nextbet=rbase
  369.         chance=49.5
  370.         bethigh=true
  371.     else
  372.         nextbet=previousbet*multjackpot
  373.     end
  374.  
  375. -- ----------------------------------
  376. -- Stop Loss for the bonus martingale
  377. -- ----------------------------------
  378.  
  379.     if profit<0 then
  380.         --ching()
  381.         main=1
  382.         nextbet=rbase
  383.         chance=49.5
  384.         bethigh=true
  385.         countjackpot=0
  386.         revcountjackpot=0
  387.     end
  388.    
  389. end
  390.  
  391.    
  392. end
  393.  
  394. -- STRA CANIHOJR 16.5x
  395. function stracanihojr()
  396.     chance = 16.5
  397.     bbet += 1
  398.    
  399.     if (win) then
  400.         bwin += 1
  401.         bloss = 0
  402.     else
  403.         bloss += 1
  404.         bwin = 0
  405.     end
  406.    
  407.     print('Apuestas: '..bbet)
  408.     print('Victorias: '..bwin)
  409.     print('Perdidas: '..bloss)
  410. end
  411.  
  412. -- STRA COLBIT
  413. function stracolbit()
  414.    
  415. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement