Advertisement
Guest User

PasteToBin (Sun Jun 24 2018)

a guest
Jun 24th, 2018
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
4CS 1.94 KB | None | 0 0
  1.               -- Script for PrimeDice V5 by CanihoJR
  2.  
  3. resetseed()
  4. resetstats()
  5.  
  6. -- Settings
  7. prebet  = 0.00000000
  8. basebet = 0.00000001
  9. nextbet = prebet
  10. chance  = 49.5
  11. strategy= 'canihojr'
  12.  
  13. -- Tips
  14. dotips      = true
  15. autosettip  = true
  16. bank        = 'cc958db0-db63-4bae-b9b3-fadc399b8ca5'   -- canihojrbank on PD
  17. basetip     = 1.00000000
  18.  
  19. -- Session
  20. sessioninitbalance  = balance
  21.  
  22. -- Inicializacion
  23. initbalance = balance
  24. tempbalance = 0
  25. ctips       = 0
  26.  
  27. -- Variables canihojr
  28. bbet = 0
  29. bwin = 0
  30. bloss= 0
  31.  
  32.  
  33. -- Variables colbit
  34. rmivariable=0
  35. rmivariable2=0
  36.  
  37. function dobet()
  38.     -- Solo la primera vez:
  39.     settip()
  40.    
  41.     -- Obtengo datos y muestro
  42.    
  43.     preLCD()
  44.  
  45.     -- Selecciono proxima estategia:
  46.     if (strategy == 'canihojr') then
  47.         stracanihojr()
  48.     elseif (strategy == 'colbit') then
  49.         stracolbit()
  50.     --elseif () then
  51.     --    
  52.     end
  53.  
  54. end
  55.  
  56. function settip()
  57.    if (autosettip) then
  58.         if (currency == 'Btc') then
  59.             basetip = 0.00001001
  60.         elseif (currency == 'Eth') then
  61.             basetip = 0.00010001
  62.         elseif (currency == 'Ltc') then
  63.             basetip = 0.00100001
  64.         end
  65.     end
  66.     autosettip = false
  67. end
  68.  
  69.  
  70.  
  71.  
  72. function preLCD()
  73.     tempbalance = balance - initbalance
  74.    
  75.     clear()
  76.     --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')
  77.     print('GENERAL')
  78.     print("═══════")
  79.     print("Currency:\t "..string.upper(currency)..'\t\t Strategy:\t '..strategy)
  80.     print(string.format("Balance:\t %.8f", sessioninitbalance))
  81.     print("")
  82.     print(string.format("Base Tip:\t %.8f", basetip))
  83.     print(string.format("Profit:\t %.8f", tempbalance))
  84. end
  85.  
  86. function stracanihojr()
  87.     chance = 16.5
  88.     bbet += 1
  89.    
  90.     if (win) then
  91.         bwin += 1
  92.         bloss = 0
  93.     else
  94.         bloss += 1
  95.         bwin = 0
  96.     end
  97.    
  98.     print('Apuestas: '..bbet)
  99.     print('Victorias: '..bwin)
  100.     print('Perdidas: '..bloss)
  101. end
  102.  
  103. function stracolbit()
  104.    
  105. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement