Advertisement
fxvnpro

Untitled

May 13th, 2022
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.74 KB | None | 0 0
  1. --[[
  2. -- Introducing "The Eagle" Script for DiceBot from LiveBetPro.com
  3. 1) Pre roll strategy that analyzes as much luck as you want and in both directions.
  4.  
  5. 2) Locate the rare series (example: 4 rolls above 90 in a row) you can set
  6. what type of series (the probability of series) you are looking for with the variable NBM (example
  7. NBM = 1000 is looking for series with at least 1 chance out of 1000 to arrive)
  8.  
  9. 3) Following the series in the same direction and with the corresponding luck (e.g.: - 2).
  10. ple after 4 rolls higher than 90 it follows in chance 90 and under)
  11.  
  12. ]]
  13.  
  14.  
  15. The script works with DiceBot on the following sites:
  16. -- https://stake.com/?c=4310c7e6
  17. -- https://primedice.com/?c=aaba0c0c
  18. -- https://bitvest.io?r=180973
  19. -- https://windice.io/?r=livebetpro
  20. -- https://wolf.bet?c=fxvnpro
  21.  
  22.  
  23. enablezz = false
  24. enablesrc = false
  25. bestTOUMX = 0 --Memorizes the probability of the best chance
  26. n = 0
  27. N = 0
  28. n = 1
  29. bestchain = 0 --memorizes the value of the most rare series
  30. indice = 1 --index of the rarest series at the last control
  31. pr = 0 --memorizes profit/progression
  32. prinitiale = pr
  33.  
  34. --balance=10000 --simulation
  35.  
  36. div = 100000000 ---------------base unit
  37. --balance = 10000 --simulation, delete if playing for real
  38. frequence_affichage = 10 --displays simulation info every 100 bets for example
  39. --____________________SETTINGS______
  40. agressivite = 17 --[[increases/decreases martingales' best minimum increase
  41. for instance with multiplier=2 and aggressivite = 50 after every loses, wager are increase by 150%) ]]--
  42. casino = 1 --% edge house
  43. chancePRLL = 88 --chance to pre roll
  44. maxchance = 44 -- max chance authorized
  45. minchance = 2 --minimum chance authorized
  46. NBRchance = 100 --number of chance analyzed
  47. target = balance*2 --STOP_IF_BALANCE_OVER
  48. limite = 0 --STOP_IF_BALANCE_UNDER
  49. bb = balance / 10000 -------------------base bet
  50. bbPRLL = bb/2 --pre roll base bet
  51. NBM = 44 --[[probability of the series
  52. (for instance with NBM=100 we are looking for series that have 1 chance in 100 ) ]]--
  53. --_________________________________
  54.  
  55. B=balance-limite---it's the part of the scale at stake
  56.  
  57. --REMPLISSAGE DES TABLES_____________________________________________
  58. Tch={} --chance
  59. Tover={} --chaine lose over
  60. Tunder={} --chaine lose under
  61. TOUMX={} --plus grande chaine entre over/under
  62. Tsens={} --mémorise sens de chaque chaine
  63. Tn={} --chaine lose min
  64.  
  65. A = minchance-((maxchance-minchance)/(NBRchance-1))
  66. for x=1,NBRchance,1 do --Remplis les table selectione les chances
  67. A +=(maxchance-minchance)/(NBRchance-1)
  68. Tch[x] = A --chance
  69. Tover[x]=0 --chaine lose over
  70. Tunder[x]=0 --chaine lose under
  71. TOUMX[x]=0 --plus grande chaine entre over/under
  72. Tn[x]=0 --chaine lose min
  73. Tsens[x]=0 --mémorise sens de chaque chaine
  74. end
  75.  
  76. --[[ for x=1,NBRchance,1 do --table serie win min
  77. if Tch[x]==nil then break end
  78. Tn[x]=math.ceil(math.log(1/NBM)/math.log((Tch[x])/100))
  79. end --]]
  80.  
  81. for x=1,NBRchance,1 do --table serie lose min
  82. if Tch[x]==nil then break end
  83. Tn[x]=math.ceil(math.log(1/NBM)/math.log((100-Tch[x])/100))
  84. end
  85.  
  86. x=0
  87. --___________________________________________________________________
  88.  
  89. --FONCTION_______________________________________________________________
  90.  
  91. function calcul_increase()
  92.  
  93. payout=(100 - casino)/chance
  94. q=((1+(1/(payout-1)))-1)*(1+(agressivite/100))+1
  95. inc=(q-1)*100
  96.  
  97. end
  98.  
  99. MRTGLLOPT=false
  100. function martingale_optimise() --optimizing the base bet to use 100% of the balance
  101.  
  102. if (lastBet.profit >= 0) then -- if win
  103. B=balance-limite-0.00000001
  104. n = math.log((B/bb)*(-1+q)+1)/math.log(q)
  105. n=math.floor(n)
  106. nextbet=B/((1-q^n)/(1-q)) -- bet maximum amount to cash these "n" loses
  107. else
  108. nextbet = previousbet*q
  109. end
  110.  
  111. print("INCREASE= " ..inc .."%")
  112. print("MAX SERIES OF POSSIBLE LOSSES= " ..n-1 )
  113.  
  114. end
  115.  
  116. function reset_to_preroll()
  117.  
  118. if (lastBet.profit >= 0) then -- if win then
  119. if bestTOUMX < Tn[indice] then
  120. chance=chancePRLL
  121. nextbet=bbPRLL
  122. MRTGLLOPT=false
  123. end
  124. end --return to preroll after win
  125.  
  126. end
  127.  
  128. function cherche_serie_de_win()
  129. for x=1,NBRchance,1 do
  130.  
  131. if Tch[x]==nil then break end
  132.  
  133. if lastBet.roll < Tch[x] then
  134. Tunder[x] +=1
  135. else
  136. Tunder[x] =0
  137. end
  138.  
  139. if lastBet.roll > (100-Tch[x]-0.01) then
  140. Tover[x] +=1
  141. else
  142. Tover[x] =0
  143. end
  144.  
  145. if Tunder[x] >= Tover[x] then
  146. TOUMX[x]=Tunder[x]
  147. Tsens[x]=false
  148. else
  149. TOUMX[x]=Tover[x]
  150. Tsens[x]=true
  151. end
  152. end
  153. end
  154.  
  155. function cherche_serie_de_lose()
  156. for x=1,NBRchance,1 do
  157.  
  158. if Tch[x]==nil then break end
  159.  
  160. if lastBet.roll < Tch[x] then
  161. Tunder[x] =0
  162. else
  163. Tunder[x] +=1
  164. end
  165.  
  166. if lastBet.roll > (100-Tch[x]-0.01) then
  167. Tover[x] =0
  168. else
  169. Tover[x] +=1
  170. end
  171.  
  172. if Tunder[x] >= Tover[x] then
  173. TOUMX[x]=Tunder[x]
  174. Tsens[x]=false
  175. else
  176. TOUMX[x]=Tover[x]
  177. Tsens[x]=true
  178. end
  179. end
  180. end
  181.  
  182. function selection_indice_de_la_best_serie_win()
  183. for x=1,NBRchance,1 do
  184.  
  185. if Tch[x]==nil then break end
  186. if (1/(((Tch[x])/100)^TOUMX[x])) > bestchain then
  187. bestchain=(1/(((Tch[x])/100)^TOUMX[x]))
  188. indice=x
  189. bestTOUMX=TOUMX[indice]
  190. end
  191. end
  192. if bestTOUMX >= Tn[indice] and (lastBet.profit >= 0) then
  193. MRTGLLOPT=true
  194. bestchain=0 --pour garder en mémoire même si la serie est cassé
  195. chance=Tch[indice]
  196. bethigh=Tsens[indice]
  197. end
  198. end
  199.  
  200. function selection_indice_de_la_best_serie_lose()
  201. for x=1,NBRchance,1 do
  202.  
  203. if Tch[x]==nil then break end
  204. if (1/(((100-Tch[x])/100)^TOUMX[x])) > bestchain then
  205. bestchain=(1/(((100-Tch[x])/100)^TOUMX[x]))
  206. indice=x
  207. bestTOUMX=TOUMX[indice]
  208. end
  209. end
  210. if bestTOUMX >= Tn[indice] and ((lastBet.profit >= 0) or chance==chancePRLL) then
  211. MRTGLLOPT=true
  212. chance=Tch[indice]
  213. bethigh=Tsens[indice]
  214. end
  215. end
  216.  
  217. function limiteSTOP(target,limite)
  218. if balance > target then
  219. simuInfo()
  220. print("TARGET REACHED !!!!!!!!!!!!!!")
  221. stop()
  222. elseif balance-nextbet < limite then
  223. simuInfo()
  224. print(".............................")
  225. stop()
  226. end
  227. end
  228.  
  229. bbDB = bb
  230. startbank = balance
  231.  
  232. function simuInfo()
  233. print("#=========================================#")
  234. print(" #---===--- The Eagle Flies! ---===---# ")
  235. print("#=========================================#")
  236. print("# [Bank de départ = " ..string.format("%9.8f", startbank) .. " ]-")
  237. print("# [Bet de base = " ..string.format("%9.8f", bbDB) .. " ]-")
  238. print("#=========================================#")
  239. print("# [Chance: " ..string.format("%9.8f", chance) .. " ]-")
  240. print("# [nextbet: " ..string.format("%9.8f", nextbet) .." ROLL n° " ..bets .." ]-")
  241. print("#----------------------------------------------------------------------------------#")
  242. print("# [profit: " ..string.format("%9.8f", profit) .." (balance x" ..string.format("%2.2f",((balance)/(startbank))) ..") ]-")
  243. print("# [Max mis en jeu: " ..string.format("%9.8f", maxUse) .. " ]-")
  244. print("# [wagered: " ..string.format("%9.8f", wagered) .." (" ..string.format("%2.2f",wagered/(startbank)) .." x start balance) ]-")
  245. print("# [Avg profit/bet: " ..string.format("%9.8f", profit/bets/bbDB) .." x base bet ]-")
  246. print("# [Avg wag/bet: " ..string.format("%9.8f", wagered/bets) .." ]-")
  247. print("# [PROFIT MAX= " ..bestID .." ]-")
  248. print("# [PERTE MAX= " ..badID .." ]-")
  249. print("#=========================================#\n\n\n")
  250. end
  251.  
  252. perteP = 0
  253. p = false
  254. maxUse = 0
  255. bestID,badID,pirePERTE,bestPROFIT=0,0,0,0
  256. function calculPrint()
  257. if p == true then
  258. --print(balance)
  259. print(chance)
  260. print(nextbet)
  261. print(coef)
  262. end
  263.  
  264. perteP +=currentprofit
  265. if perteP >= 0 then perteP = 0 end
  266.  
  267. if -perteP + nextbet > maxUse then maxUse = -perteP + nextbet end
  268.  
  269. if bets%frequence_affichage==0 then
  270. simuInfo()
  271. end
  272.  
  273. if currentprofit >= bestPROFIT then
  274. bestID = lastBet.id
  275. bestPROFIT = currentprofit
  276. end
  277.  
  278. if currentprofit <= pirePERTE then
  279. badID = lastBet.id
  280. pirePERTE = currentprofit
  281. end
  282. end
  283. --_______________________________________________________________________
  284.  
  285. chance=chancePRLL
  286. nextbet=bbPRLL
  287.  
  288. debugg = false
  289. function dobet()
  290.  
  291. if debugg == true then
  292. if bethigh==true then sens24 = "over" else sens24 = "under" end
  293. if win then gain24 = " win" else gain24 = "lose" end
  294.  
  295. print("================================")
  296. print("=[Amount" .." ][ " .."sens" .." ][ " .."Chance" .." ][ " .."gain]=")
  297. print("=[" ..string.format("%9.2f",previousbet) .." ][ " ..sens24 .." ][ "..string.format("%1.2f",chance).." ][ "..gain24 .." ]=")
  298. print("================================")
  299. end
  300.  
  301. pr +=currentprofit
  302.  
  303. cherche_serie_de_lose()
  304. --cherche_serie_de_win()
  305.  
  306. bestchain=0
  307. selection_indice_de_la_best_serie_lose()
  308. --selection_indice_de_la_best_serie_win()
  309.  
  310. reset_to_preroll()
  311.  
  312. if MRTGLLOPT==true then
  313. calcul_increase()
  314. martingale_optimise()
  315. end
  316.  
  317. calculPrint()
  318. limiteSTOP(target,limite)
  319. --simu_printInfo()
  320. --chance = math.floor((chance*100)+0.5)/100
  321. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement