View difference between Paste ID: Wcp0ehAH and CnjR71bT
SHOW: | | - or go back to the newest paste.
1
--https://bit-exo.com/?ref=pierresert1
2
3
--https://www.bitsler.com/?ref=pierresert1
4
5
--https://bitvest.io?r=100548
6
7
enablezz=false
8
enablesrc=false
9
bestTOUMX=0 --mémorise la proba de la best chaine
10
n=0
11
N=0
12
n=1
13
bestchain=0 --mémorise la valeur de la serie la + rare
14
indice=1 --indice de la serie la + rare aux dernier contrôle
15
pr=0 --mémorise profit/progression
16
prinitiale=pr
17
18
--balance=10000 --simu
19
20
div=100000000 ---------------unité de base
21
22
--____________________SETTINGS______
23
agressivite=20 --[[increases/decreases martingales' best minimum increase 
24
for instance with multiplier=2 and aggressivite = 50 after every loses, wager are increase by 150%) ]]--
25
casino=1 --% edge house
26
chancePRLL=91 --chance to pre roll
27
maxchance=90 -- max chance authorized
28
minchance=10 --minimum chance authorized
29
NBRchance=100 --number of chance analyzed
30
target=balance*2 --STOP_IF_BALANCE_OVER
31
limite=0 --STOP_IF_BALANCE_UNDER
32
bb=20/div-------------------base bet
33
bbPRLL=bb --pre roll base bet
34
NBM=10 --[[probability of the series
35
(for instance with NBM=100 we are looking for series that have 1 chance in 100 ) ]]--
36
--_________________________________
37
38
B=balance-limite---c'est la partie de balance mis en jeu
39
40
--REMPLISSAGE DES TABLES_____________________________________________
41
Tch={} --chance
42
Tover={} --chaine lose over
43
Tunder={} --chaine lose under
44
TOUMX={}  --plus grande chaine entre over/under
45
Tsens={} --mémorise sens de chaque chaine
46
Tn={} --chaine lose min
47
48
A=minchance-((maxchance-minchance)/(NBRchance-1))
49
for x=1,NBRchance,1 do --Remplis les table selectione les chances
50
A +=(maxchance-minchance)/(NBRchance-1)
51
Tch[x] = A --chance
52
Tover[x]=0 --chaine lose over
53
Tunder[x]=0 --chaine lose under
54
TOUMX[x]=0 --plus grande chaine entre over/under
55
Tn[x]=0 --chaine lose min
56
Tsens[x]=0 --mémorise sens de chaque chaine
57
end
58
59
for x=1,NBRchance,1 do --table serie win min
60
	if Tch[x]==nil then break end
61
	Tn[x]=math.ceil(math.log(1/NBM)/math.log((Tch[x])/100))
62
end
63
64
for x=1,NBRchance,1 do --table serie lose min
65
	if Tch[x]==nil then break end
66
	Tn[x]=math.ceil(math.log(1/NBM)/math.log((100-Tch[x])/100))
67
end
68
69
x=0
70
--___________________________________________________________________
71
72
--FONCTION_______________________________________________________________
73
74
function stringA()
75
	M1="dev contact (telegram = @pmNofirg / mail=pmgriffon1@gmail.com )"
76
	M2="this script is FREE if you bought it you got scammed"
77
	betv=M2
78
	print(M1)
79
	print(M2)
80
end
81
82
function simu_printInfo()
83
	print("wagered= " ..wagered)
84
	print("profit= " ..profit)
85
	print("PERF= " ..(wagered/profit)*100 .."%")
86
	print ("chance= " ..chance)
87
	print("nextbet= " ..nextbet .." N° " ..bets)
88
end
89
90
function calcul_increase()
91
92
	payout=(100 - casino)/chance
93
	q=((1+(1/(payout-1)))-1)*(1+(agressivite/100))+1
94
	inc=(q-1)*100
95
96
end
97
98
MRTGLLOPT=false
99
function martingale_optimise() --optimizing the base bet to use 100% of the balance
100
101
	if win then
102
		B=balance-limite-0.00000001
103
		n=math.log((B/bb)*(-1+q)+1)/math.log(q)
104
		n=math.floor(n)
105
		nextbet=B/((1-q^n)/(1-q))
106
	else
107
		nextbet=previousbet*q
108
	end
109
	
110
	print("INCREASE= " ..inc .."%")
111
	print("SERIE MAX DE LOSE POSSIBLE= " ..n-1 )
112
113
end
114
115
function reset_to_preroll()
116
117
	if win then
118
		if bestTOUMX < Tn[indice] then
119
			chance=chancePRLL
120
			nextbet=bbPRLL
121
			MRTGLLOPT=false
122
		end
123
	end --retourner au preroll après win
124
125
end
126
127
function cherche_serie_de_win()
128
	for x=1,NBRchance,1 do
129
130
		if Tch[x]==nil then break end
131
132
		if lastBet.roll < Tch[x] then
133
			Tunder[x] +=1
134
		else
135
			Tunder[x] =0
136
		end
137
138
		if lastBet.roll > (100-Tch[x]-0.01) then
139
			Tover[x] +=1
140
		else
141
			Tover[x] =0
142
		end
143
144
		if Tunder[x] >= Tover[x] then
145
			TOUMX[x]=Tunder[x]
146
			Tsens[x]=false
147
		else
148
			TOUMX[x]=Tover[x]
149
			Tsens[x]=true
150
		end
151
	end
152
end
153
154
function cherche_serie_de_lose()
155
	for x=1,NBRchance,1 do
156
157
		if Tch[x]==nil then break end
158
159
		if lastBet.roll < Tch[x] then
160
			Tunder[x] =0
161
		else
162
			Tunder[x] +=1
163
		end
164
165
		if lastBet.roll > (100-Tch[x]-0.01) then
166
			Tover[x] =0
167
		else
168
			Tover[x] +=1
169
		end
170
171
		if Tunder[x] >= Tover[x] then
172
			TOUMX[x]=Tunder[x]
173
			Tsens[x]=false
174
		else
175
			TOUMX[x]=Tover[x]
176
			Tsens[x]=true
177
		end
178
	end
179
end
180
181
function selection_indice_de_la_best_serie_win()
182
	for x=1,NBRchance,1 do
183
184
		if Tch[x]==nil then break end
185
		if (1/(((Tch[x])/100)^TOUMX[x])) > bestchain then
186
			bestchain=(1/(((Tch[x])/100)^TOUMX[x]))
187
			indice=x
188
			bestTOUMX=TOUMX[indice]
189
		end
190
	end
191
	if bestTOUMX >= Tn[indice] and win then
192
		MRTGLLOPT=true
193
		bestchain=0 --pour garder en mémore même si la serie est cassé
194
		chance=Tch[indice]
195
		bethigh=Tsens[indice]
196
	end
197
end
198
199
function selection_indice_de_la_best_serie_lose()
200
	for x=1,NBRchance,1 do
201
202
		if Tch[x]==nil then break end
203
		if (1/(((100-Tch[x])/100)^TOUMX[x])) > bestchain then
204
			bestchain=(1/(((100-Tch[x])/100)^TOUMX[x]))
205
			indice=x
206
			bestTOUMX=TOUMX[indice]
207
		end
208
	end
209
	if bestTOUMX >= Tn[indice] and (win or chance==chancePRLL) then
210
		MRTGLLOPT=true
211
		chance=Tch[indice]
212
		bethigh=Tsens[indice]
213
	end
214
end
215
216
	function target_et_limite()
217
		if (balance-nextbet) < limite or betv==nil then
218
			print("MISSION FAILLED! C'EST LE JEU SVP FAITES PAS DE BÊTISE") stop()
219
		end
220
		if balance >= target then
221
			print("TARGET REACHED GG !!!") stop()
222
		end
223
	end
224
225
	bestID,badID,pirePERTE,bestPROFIT=0,0,0,0
226
function bestBETid()
227
228
	if currentprofit >= bestPROFIT then
229
		bestID=lastBet.id
230
		bestPROFIT=currentprofit
231
	end
232
		
233
	if currentprofit <= pirePERTE then
234
		badID=lastBet.id
235
		pirePERTE=currentprofit
236
	end
237
		
238
	print("PROFIT MAX= " ..bestID)
239
	print("PERTE MAX= " ..badID)
240
		
241
end
242
--_______________________________________________________________________
243
244
chance=chancePRLL
245
nextbet=bbPRLL
246
247
function dobet()
248
249
	stringA()
250
	pr +=currentprofit
251
	
252
	cherche_serie_de_lose()
253
	--cherche_serie_de_win()
254
	
255
	bestchain=0
256
	selection_indice_de_la_best_serie_lose()
257
	--selection_indice_de_la_best_serie_win()
258
	
259
	reset_to_preroll()
260
	
261
	if MRTGLLOPT==true then
262
		calcul_increase()
263
		martingale_optimise()
264
	end
265
	
266
	target_et_limite()
267
	bestBETid()
268
	--simu_printInfo()
269
270
end