View difference between Paste ID: C5uws7a0 and hHxnJWb2
SHOW: | | - or go back to the newest paste.
1
--[[
2
1) Joue une chance aléatoire compris entre une valeur maximal et minimal
3
2) Détermine le payout moyen en fonction de la chance maximal et minimal
4
3) Le montant du pari est calculé en fonction de la perte et du payout moyen
5
]]
6
7
8
--https://bit-exo.com/?ref=pierresert1
9
10
--https://www.bitsler.com/?ref=pierresert1
11
12
--https://bitvest.io?r=100548
13
14
enablezz=false
15
enablesrc=false
16
perte=0
17
18
div=100000000 --satoshi
19
20
--balance=10000 --simulation
21
22
--SETTING--------------
23
casino=1 --% edge house
24
bb=15/div --base bet
25
target=balance*2 --STOP_IF_BALANCE_OVER target
26
limite=0 --STOP_IF_BALANCE_UNDER limite
27
minChance=0.1 --chance minimum
28
maxChance=98 --chance maximum
29
-----------------------
30
31
payout = ((100-casino)*math.log(maxChance)-(100-casino)*math.log(minChance))/(maxChance-minChance)
32
33
function target_et_limite()
34
	if (balance-nextbet) < limite or betv==nil then
35
		print("MISSION FAILLED! C'EST LE JEU SVP FAITES PAS DE BÊTISE") stop()
36
	end
37
	if balance >= target then
38
		print("TARGET REACHED GG !!!") stop()
39
	end
40
end
41
42
function simu_printInfo()
43
44
	print("wagered= " ..wagered)
45
	print("profit= " ..profit)
46
	print("PERF= " ..(wagered/profit)*100 .."%")
47
	print ("chance= " ..chance)
48
	print("nextbet= " ..nextbet .." N° " ..bets)
49
end
50
51
bestID,badID,pirePERTE,bestPROFIT=0,0,0,0
52
function bestBETid()
53
54
	if currentprofit >= bestPROFIT then
55
		bestID=lastBet.id
56
		bestPROFIT=currentprofit
57
	end
58
	
59
	if currentprofit <= pirePERTE then
60
		badID=lastBet.id
61
		pirePERTE=currentprofit
62
	end
63
	
64
	print("PROFIT MAX= " ..bestID)
65
	print("PERTE MAX= " ..badID)
66
	
67
end
68
69
	function stringA()
70
		M1="dev contact (telegram = @pmNofirg / mail=pmgriffon1@gmail.com )"
71
		M2="this script is FREE if you bought it you got scammed"
72
		betv=M2
73
		print(M1)
74
		print(M2)
75
	end
76
77
chance=math.random(minChance*1000,maxChance*1000)/1000
78
bethigh=math.random(0,100)%2==0
79
nextbet=bb
80
81
function dobet()
82
83
	chance=math.random(minChance*1000,maxChance*1000)/1000
84
	bethigh=math.random(0,100)%2==0
85
	
86
	stringA()
87
	perte += currentprofit
88
	
89
	if perte < 0 then
90
		nextbet=(-perte+bb)/(payout-1)
91
		if nextbet < bb then nextbet =bb end
92
	else
93
		perte=0
94
		nextbet=bb
95
	end
96
	
97
	print("PAYOUT= " ..payout)
98
	
99
	bestBETid()
100
	target_et_limite()
101
	--simu_printInfo() --simulation
102
103
end