Guest User

"The Eagle" DiceBot Script

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