SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | -1) Joue plusieurs chance différentes en martingale | |
3 | -2) Vous pouvez choisir l'agressivité de l'increase pour chaque chance | |
4 | -3) Si vous jouez par exemple avec qu'une seule chance par exemple 49.5% la martingale sera joué en moyenne 50.5% du temps(100 - chance de win = chance de perte) de façon aléatoire et à chaque fois le dernier paris est mémorisé. Si avec cette chance vous jouez avec une agressivité de 20% alors votre increase on lose sera de 120%. | |
5 | Vous aurez alors : | |
6 | TchanceN = {49.5} | |
7 | Taggressivite = {20} | |
8 | ]] | |
9 | ||
10 | ||
11 | --https://bit-exo.com/?ref=pierresert1 | |
12 | ||
13 | --https://www.bitsler.com/?ref=pierresert1 | |
14 | ||
15 | --https://bitvest.io?r=100548 | |
16 | ||
17 | --https://www.bitdice.me/?r=29766 | |
18 | ||
19 | --https://www.nitrodice.com?ref=LO0BK05xVyI7pJ12yO1y | |
20 | ||
21 | enablezz=false | |
22 | enablesrc=false | |
23 | preroll = true | |
24 | perte=0 | |
25 | ||
26 | div=100000000 | |
27 | ||
28 | --balance=10000 --simulation | |
29 | --SETTING-------------- | |
30 | - | TchanceN = {49.5,40,10,77,90} --rentrer les chances jouées |
30 | + | TchanceN = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97} --rentrer les chances jouées |
31 | - | Taggressivite = {10,20,0,15,20,25} --rentrer agressivité pour chaque chance et dans l'ordre |
31 | + | Taggressivite = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} --rentrer agressivité pour chaque chance et dans l'ordre |
32 | --[[increases/decreases martingales' best minimum increase for instance with multiplier=2 | |
33 | and aggressivite = 50 after every loses, wager are increase by 150%) --]] | |
34 | ||
35 | bb = 0.00000001 --basebet | |
36 | casino = 1 --% edge house | |
37 | target=balance*2 --STOP_IF_BALANCE_OVER | |
38 | limite = 0 --STOP_IF_BALANCE_UNDER | |
39 | --currency="DOGE" | |
40 | ----------------------- | |
41 | ||
42 | ||
43 | function target_et_limite() | |
44 | - | if (balance-nextbet) < limite then |
44 | + | if (balance-nextbet) < limite then |
45 | - | print("MISSION FAILLED! C'EST LE JEU SVP FAITES PAS DE BÊTISE") stop() |
45 | + | print("MISSION FAILLED! C'EST LE JEU SVP FAITES PAS DE BÊTISE") stop() |
46 | - | end |
46 | + | end |
47 | - | if balance >= target then |
47 | + | if balance >= target then |
48 | - | print("TARGET REACHED GG !!!") stop() |
48 | + | print("TARGET REACHED GG !!!") stop() |
49 | - | end |
49 | + | end |
50 | end | |
51 | ||
52 | function simu_printInfo() | |
53 | ||
54 | - | print("wagered= " ..wagered) |
54 | + | print("wagered= " ..wagered) |
55 | - | print("profit= " ..profit) |
55 | + | print("profit= " ..profit) |
56 | - | print("PERF= " ..(wagered/profit)*100 .."%") |
56 | + | print("PERF= " ..(wagered/profit)*100 .."%") |
57 | - | print ("chance= " ..chance) |
57 | + | print ("chance= " ..chance) |
58 | - | print("nextbet= " ..nextbet .." N° " ..bets) |
58 | + | print("nextbet= " ..nextbet .." N° " ..bets) |
59 | end | |
60 | ||
61 | bestID,badID,pirePERTE,bestPROFIT=0,0,0,0 | |
62 | function bestBETid() | |
63 | ||
64 | - | if currentprofit >= bestPROFIT then |
64 | + | if currentprofit >= bestPROFIT then |
65 | - | bestID=lastBet.id |
65 | + | bestID=lastBet.id |
66 | - | bestPROFIT=currentprofit |
66 | + | bestPROFIT=currentprofit |
67 | - | end |
67 | + | end |
68 | - | |
68 | + | |
69 | - | if currentprofit <= pirePERTE then |
69 | + | if currentprofit <= pirePERTE then |
70 | - | badID=lastBet.id |
70 | + | badID=lastBet.id |
71 | - | pirePERTE=currentprofit |
71 | + | pirePERTE=currentprofit |
72 | - | end |
72 | + | end |
73 | - | |
73 | + | |
74 | - | print("PROFIT MAX= " ..bestID) |
74 | + | print("PROFIT MAX= " ..bestID) |
75 | - | print("PERTE MAX= " ..badID) |
75 | + | print("PERTE MAX= " ..badID) |
76 | - | |
76 | + | |
77 | end | |
78 | ||
79 | nbrCHANCE = table.getn(TchanceN) --nombre de chance jouées | |
80 | TchanceNBRC = {} -- nombre de coups prévu pour chaque chance | |
81 | Tbb = {} | |
82 | for x=1, nbrCHANCE, 1 do | |
83 | - | TchanceNBRC[x] = 0 |
83 | + | TchanceNBRC[x] = 0 |
84 | - | Tbb[x] = bb |
84 | + | Tbb[x] = bb |
85 | end | |
86 | chanceSELECT = math.random(1,nbrCHANCE) --chance sélectionner exemple SELECT = 3 alors chance numéro 3 sélectionnées | |
87 | chance = TchanceN[chanceSELECT] | |
88 | agressivite = Taggressivite[chanceSELECT] | |
89 | ||
90 | function calcul_increase() | |
91 | ||
92 | - | payout=(100 - casino)/chance |
92 | + | payout=(100 - casino)/chance |
93 | - | q=((1+(1/(payout-1)))-1)*(1+(agressivite/100))+1 |
93 | + | q=((1+(1/(payout-1)))-1)*(1+(agressivite/100))+1 |
94 | - | inc=(q-1)*100 |
94 | + | inc=(q-1)*100 |
95 | ||
96 | end | |
97 | calcul_increase() | |
98 | ||
99 | nextbet=bb | |
100 | ||
101 | function dobet() | |
102 | ||
103 | - | --[[ Martingalle: modifie les bb(des chances select) par rapport au bet qui vient d'être joué |
103 | + | --[[ Martingalle: modifie les bb(des chances select) par rapport au bet qui vient d'être joué |
104 | - | et mémorise avant que select soit modifié pour le prochain bet --]] |
104 | + | et mémorise avant que select soit modifié pour le prochain bet --]] |
105 | - | if preroll == false then |
105 | + | if preroll == false then |
106 | - | if win then |
106 | + | if win then |
107 | - | Tbb[chanceSELECT] = bb*q |
107 | + | Tbb[chanceSELECT] = bb*q |
108 | - | else |
108 | + | else |
109 | - | Tbb[chanceSELECT]*=q |
109 | + | Tbb[chanceSELECT]*=q |
110 | - | end |
110 | + | end |
111 | - | end |
111 | + | end |
112 | ||
113 | - | for x=1, nbrCHANCE, 1 do |
113 | + | for x=1, nbrCHANCE, 1 do |
114 | - | |
114 | + | |
115 | - | cpdeDE = math.random(1,math.ceil((1/((100-TchanceN[x])/100))*1000)) |
115 | + | cpdeDE = math.random(1,math.ceil((1/((100-TchanceN[x])/100))*1000)) |
116 | - | if ( cpdeDE <= 1000 ) then |
116 | + | if ( cpdeDE <= 1000 ) then |
117 | - | if TchanceNBRC[x] < 10000 then |
117 | + | if TchanceNBRC[x] < 10000 then |
118 | - | TchanceNBRC[x] += 1 |
118 | + | TchanceNBRC[x] += 1 |
119 | - | end |
119 | + | end |
120 | - | end |
120 | + | end |
121 | - | end |
121 | + | end |
122 | - | |
122 | + | |
123 | - | for x=1, nbrCHANCE, 1 do |
123 | + | for x=1, nbrCHANCE, 1 do |
124 | - | if TchanceNBRC[x] >= 1 then |
124 | + | if TchanceNBRC[x] >= 1 then |
125 | - | preroll = false |
125 | + | preroll = false |
126 | - | PREROLL = "false" |
126 | + | PREROLL = "false" |
127 | - | break |
127 | + | break |
128 | - | else |
128 | + | else |
129 | - | preroll = true |
129 | + | preroll = true |
130 | - | PREROLL = "true" |
130 | + | PREROLL = "true" |
131 | - | end |
131 | + | end |
132 | - | end |
132 | + | end |
133 | ||
134 | - | if preroll == false then |
134 | + | if preroll == false then |
135 | - | chanceSELECT = math.random(1,nbrCHANCE) |
135 | + | chanceSELECT = math.random(1,nbrCHANCE) |
136 | - | while TchanceNBRC[chanceSELECT] < 1 do |
136 | + | while TchanceNBRC[chanceSELECT] < 1 do |
137 | - | chanceSELECT = math.random(1,nbrCHANCE) |
137 | + | chanceSELECT = math.random(1,nbrCHANCE) |
138 | - | end |
138 | + | end |
139 | - | |
139 | + | |
140 | - | chance = TchanceN[chanceSELECT] |
140 | + | chance = TchanceN[chanceSELECT] |
141 | - | aggressivite = Taggressivite[chanceSELECT] |
141 | + | aggressivite = Taggressivite[chanceSELECT] |
142 | - | calcul_increase() |
142 | + | calcul_increase() |
143 | - | nextbet = Tbb[chanceSELECT] |
143 | + | nextbet = Tbb[chanceSELECT] |
144 | - | TchanceNBRC[chanceSELECT] -=1 |
144 | + | TchanceNBRC[chanceSELECT] -=1 |
145 | - | |
145 | + | |
146 | - | else |
146 | + | else |
147 | - | nextbet = bb |
147 | + | nextbet = bb |
148 | - | end |
148 | + | end |
149 | - | |
149 | + | |
150 | - | |
150 | + | |
151 | - | bestBETid() |
151 | + | --bestBETid() |
152 | - | target_et_limite() |
152 | + | --target_et_limite() |
153 | - | --simu_printInfo() |
153 | + | --simu_printInfo() |
154 | ||
155 | end |