View difference between Paste ID: cDNh0njY and aPjTjh2s
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
--https://www.bitdice.me/?r=29766
8
9
enablezz=false
10
enablesrc=false
11
12
perte=0
13
14
div     = 100000000
15
--balance = 10000
16
17
18
--SETTING--------------
19
casino    = 1
20
minchance = 11
21
maxchance = 98 -- maxchance autorisé par le site
22
percBL = 1000 -- basebet = balance divisé par cette valeur
23
percREC   = 11 -- chance callculé pour recover ce % avec la bb
24
target    = balance*2 --stop si balance >
25
limite    = 0 --stop si balance <
26
-----------------------
27
28
bb        = (balance-limite) / percBL
29
agressivite = 1
30
bbDB = bb
31
32
function target_et_limite()
33
    if (balance-nextbet) < limite then
34
        alarm()
35
        print("MISSION FAILLED! C'EST LE JEU SVP FAITES PAS DE BÊTISE") stop()
36
    end
37
    if balance >= target then
38
        ching()
39
        print("TARGET REACHED GG !!!") stop()
40
    end
41
end
42
43
function calcul_increase()
44
45
    payout=(100 - casino)/chance
46
    q=((1+(1/(payout-1)))-1)*(1+(agressivite/100))+1
47
    inc=(q-1)*100
48
49
end
50
51
MRTGLLOPT=false
52
function martingale_DB() --optimizing the base bet to use 100% of the balance
53
54
    n=math.log((balance/bb)*(-1+q)+1)/math.log(q)
55
    n=math.floor(n) 
56
57
    if (lastBet.profit >= 0) then
58
        nextbet=bbDB
59
    else
60
        nextbet=previousbet*q
61
    end
62
    
63
    print("========================================================")
64
    print(" ")
65
    print("INCREASE= " ..inc .."%")
66
    print("SERIE MAX DE LOSE POSSIBLE= " ..n-1 )
67
    print(" ")
68
    print("========================================================")
69
70
end
71
72
function simu_printInfo()
73
74
    print("wagered= " ..wagered)
75
    print("profit= " ..profit)
76
    print("PERF= " ..(wagered/profit)*100 .."%")
77
    print ("chance= " ..chance)
78
    print("nextbet= " ..nextbet .." N° " ..bets)
79
end
80
81
bestID,badID,pirePERTE,bestPROFIT,negatifMAX,perte_bestBETid=0,0,0,0,0,0,0
82
perteMEMORY = 0
83
function bestBETid()
84
85
    perte_bestBETid += currentprofit
86
    if perte_bestBETid > 0 then
87
        perte_bestBETid = 0
88
    else
89
        perteMEMORY = perte_bestBETid
90
    end
91
92
--[[note la perte max + le pari gagnant suivant, si le win a permis de rattraper toute les pertes.
93
--  Sinon note seulement la perte max ]]--
94
    if  (perteMEMORY-previousbet) < (negatifMAX)  and (win) then
95
        negatifMAX = perteMEMORY-previousbet
96
    end
97
    
98
    if perte_bestBETid < negatifMAX then
99
        negatifMAX = perte_bestBETid
100
    end
101
    -----------------------------------------------
102
103
    if currentprofit >= bestPROFIT then
104
        bestID=lastBet.id
105
        bestPROFIT=currentprofit
106
    end
107
    
108
    if currentprofit <= pirePERTE then
109
        badID=lastBet.id
110
        pirePERTE=currentprofit
111
    end
112
    
113
    Pmisen_jeu = ("MONTANT MAXIMUM DE LA BALANCE MISE EN JEU = " ..string.format("%.8f",negatifMAX) .." " ..string.upper(currency))
114
    Pprofit_max = ("PROFIT BET MAX ID= " ..bestID .."  MONTANT= " ..string.format("%.8f",bestPROFIT) .." " ..string.upper(currency) )
115
    Pperte_max = ("PERTE BET MAX ID= " ..badID .."  MONTANT= " ..string.format("%.8f",pirePERTE) .." " ..string.upper(currency) )
116
    
117
end
118
119
function printInfo()
120
121
    print(" ")
122
    print("========================================================")
123
    print(PlimiteTS)
124
    print(Pmisen_jeu)
125
    print(Pprofit_max)
126
    print(Pperte_max)
127
    print("========================================================")
128
    print(" ")
129
end
130
131
--function tip_perc settings---
132
profit_tip = 0
133
134
HZ_tip = 10 --fréquence de tip = montant du profit avant de tips
135
min_tip = 0.00000001 --minimum autoris&é par le site
136
perc_tip = 50 --%
137
user_tip = "funbank"
138
profit = 0
139
------------------------------
140
function tip_perc()
141
142
    profit_tip += currentprofit
143
144
    if (   profit_tip >= min_tip*(perc_tip/100)   ) and (   profit_tip >= HZ_tip   ) and (   profit > 0   ) then 
145
        tip(user_tip, profit_tip*(perc_tip/100))
146
        print("TIP DE " ..string.format("%.8f",profit_tip*(perc_tip/100)) .." " ..currency .." A " ..user_tip)
147
        profit_tip = 0
148
    end
149
150
end
151
152
chance = maxchance
153
nextbet = bb
154
155
function dobet()
156
    
157
	
158
	bethigh = math.random(0,100)%2==0
159
    perte += currentprofit
160
    
161
    if perte >= 0 then
162
        --perte /=2.5
163
		perte = 0
164
		bbDB        = (balance-limite) / percBL
165
		bb = bbDB
166
    end
167
    
168
    if win then
169
        nextbet = bb
170
    else
171
		nextbet = previousbet*1.1
172
	end
173
    
174
    chance=(100-casino)/(((-perte*(percREC/100))/bb)+1)
175
    
176
    if chance > maxchance then
177
        chance = maxchance
178
    end
179
    
180
    if chance <= minchance then
181
        chance = maxchance
182
		bb *=2.7
183
		nextbet = bb
184
        --calcul_increase()
185
        --martingale_DB()
186
    end
187
    
188
    --tip_perc()
189
    bestBETid()
190
    target_et_limite()
191
    --simu_printInfo()
192
    printInfo()
193
194
end