Hey
im new in this scriptingworld and i cant make that work what id like to make work.
could you please have a look at this i guess simple code?
its gonna help me understand the basics.
rchance = 75
basebet = .00000001
nextbet = basebet
bethigh = true
losecount = 0
totallose = 0
klobet = basebet / 500
riskbetbb = basebet * 10
maxchance = 31
minchance = 27
more = basebet / 3
bet = rchance / 3
function dobet()
x = math.random(0,10000)
if (win) then
resetseed();
bethigh = false
nextbet = riskbetbb
chance = math.random(minchance*100, maxchance*100)/100
else
resetseed();
bethigh = true
nextbet = riskbetbb
chance = rchance
end
end
end
end
this is where i cam up to and here im stocking.
id like to add 2 or 3 little elements like, ive added them in text to the code
i dont understand how to make this counter like on first lose do xxx on second lose do xxx and on third lose do xxxx and so on
have a look on how id like to get this code working
rchance = 90
basebet = .00000001
nextbet = basebet
bethigh = true
losecount = 0
totallose = 0
klobet = basebet / 500
riskbetbb = basebet * 10
maxchance = 50
minchance = 60
more = basebet / 3
bet = rchance / 3
function dobet()
x = math.random(0,10000)
if (win) then
bethigh = true
nextbet = basebet
chance = rchance
resetseed();
else
resetseed();
bethigh = false
nextbet = riskbetbb
chance = math.random(minchance*100, maxchance*100)/100
-- on the first loose id like to change seed and set highlo to lo,
-- the chance should be random between 50 and 60, (eg this is nonce 277 and former times loss was on (nonce 263 (profit 300 satoshi)))
-- for betsize on this first bet id like to set the profit from the last hit (nonce 263) min-max-chance 50-60
-- at the second loose id like to take the profit from betsice from (nonce 263) min-max-chance 50-60 and multi it x3
-- at the third loose id like to set the min-max-chance to 40-50 and betsice from (nonce 263) and multi it x10 / 3,71
-- if all three dont hit id like run 6 times the bet chance 0.01 betsice 0
-- and after this just switch back to nextbet = basebet, chance = rchance
end
end
end
end