Now available is a 3rd version, with some refinements (changelog available in the script).
This is a JackPot edition which includes a wildcard roll after each win at a 0.01 roll chance (9900x Payout).
Enjoy!
Hey mate... did you actually test this script at all? Because there is an error in the code that prevents it from running.
if currentstreak==-401 then
print("----------------------------------------")
print("ZERO ROLLING AT BASE ODDS UNTIL WIN")
print("----------------------------------------resetstats()
")
end
and this code seems redundant:
if currentstreak==-1 then
curbet = base
else
curbet = base
end
and in the 1st code box in the OP with the 1.4 script... the base gets set to 0.0000000???
elseif currentstreak<=-401 and currentstreak>=-1000 then
base = 0.00000000
chance = 0.89
end
But in the 2nd code box with 1.4 code (the post above this)... it is 10 sats...
elseif currentstreak<=-401 and currentstreak>=-1000 then
base = 0.00000010
chance = 0.89
end
Are there any other differences and which is the correct version?
Finally, can you explain the logic in the strategy/script a bit? I'm trying to follow what the actually strategy here is... it seems you set a tiny chance ( less than 0.89%) auto-adjusted based on loss streak length... once streak hits 62 losses, it chances to chance of 1.25. Then once the streak hits 400, it goes back to chance of 0.89... not sure what happens once it gets to 1000 loss streak tho, as there isn't an "else" clause on that first IF-ELSE block...
elseif currentstreak<=-401 and currentstreak>=-1000 then
base = 0.00000000
chance = 0.89
end
One last pointer... you might want to indent the code so it is easier to read...