SHOW:
|
|
- or go back to the newest paste.
1 | scriptname = 'Strategy wager november 2023' | |
2 | ---------------------------------------------- | |
3 | minbet = 1.7e-5 | |
4 | div = 1e3 | |
5 | startch = 50 | |
6 | minch = 1 | |
7 | maxch = 98 | |
8 | prebet = 0 | |
9 | base = balance/div initbal = balance | |
10 | nextbet = base autoroll = false | |
11 | bethigh = false preroll = false | |
12 | chance = maxch bal = balance | |
13 | limitroll = 100 ngeroll = 0 roll = 0 | |
14 | vaulted = 0 cprofit = 0 vno = 0 | |
15 | if nextbet < minbet then nextbet = minbet end | |
16 | resetpartialprofit() | |
17 | function dobet() | |
18 | if vno > 0 then | |
19 | log("--- Vaulted \t"..string.format("%.2f",vaulted).."\t #"..vno.." ") | |
20 | end | |
21 | cprofit = cprofit+currentprofit | |
22 | if preroll then | |
23 | ngeroll = ngeroll + 1 nextbet = prebet | |
24 | chance = math.random(minch,maxch) | |
25 | if ngeroll > limitroll and win then | |
26 | preroll = false autoroll = false | |
27 | chance = maxch nextbet = base | |
28 | ngeroll = 0 | |
29 | end | |
30 | else | |
31 | if partialprofit > 0 then | |
32 | resetpartialprofit() initbal = balance | |
33 | nextbet = balance/div chance = maxch | |
34 | if (cprofit/(balance-cprofit))*100 > 50 then | |
35 | roll = roll + 1 | |
36 | if roll < 3 then | |
37 | vno = vno+1 | |
38 | vaulted = vaulted + (balance-cprofit) | |
39 | vault(balance-cprofit) cprofit = 0 | |
40 | else | |
41 | if balance >= bal then roll = 0 end | |
42 | end | |
43 | end | |
44 | if (preroll == false) and autoroll then preroll = true nextbet = prebet end | |
45 | if lastBet.nonce > 10000 then bethigh = !bethigh resetseed() end | |
46 | else | |
47 | if win then | |
48 | if (chance == 50) then | |
49 | chance = math.random(1,30) | |
50 | if partialprofit < -initbal*0.1 and partialprofit > -initbal*0.3 then | |
51 | nextbet = ((partialprofit*-1)/((99/chance)-1)/7) | |
52 | elseif partialprofit < -initbal*0.3 then | |
53 | nextbet = ((partialprofit*-1)/((99/chance)-1)/10) | |
54 | else | |
55 | nextbet = ((partialprofit*-1)/((99/chance)-1)/3.5) | |
56 | end | |
57 | else | |
58 | chance = startch nextbet = partialprofit*-1 | |
59 | end | |
60 | if previousbet > initbal*0.1 then autoroll = true end | |
61 | else | |
62 | if chance < startch and currentstreak < -10 then | |
63 | if (currentstreak == -11) then bethigh = !bethigh end | |
64 | chance = chance + 0.1 | |
65 | if (currentstreak == -15 or currentstreak == -20) then | |
66 | chance = startch | |
67 | end | |
68 | if chance < 10 and partialprofit < -initbal*0.1 then | |
69 | chance = math.random(10,30) | |
70 | end | |
71 | end | |
72 | if (currentstreak == -1 and chance == maxch) then | |
73 | chance = startch nextbet = previousbet | |
74 | else | |
75 | nextbet = previousbet*(1+(chance/50)) | |
76 | end | |
77 | if (chance == startch and currentstreak == -5) or (chance == 50 and currentstreak == -7) or (chance == 50 and currentstreak == -9) or (chance == 50) and partialprofit < -initbal*0.3 then | |
78 | nextbet = previousbet/2 | |
79 | end | |
80 | end | |
81 | end | |
82 | if (preroll == false) and nextbet < minbet then nextbet = minbet end | |
83 | end | |
84 | end |