Seuntjies DiceBot

DiceBot => Bugs and Suggestions => Topic started by: Peckatop on December 25, 2020, 11:41:33 am

Title: Startbet changing itself
Post by: Peckatop on December 25, 2020, 11:41:33 am
Hi All,

I'm not sure if there's problems with my scrypt or it's problems with dicebot.

here's scrypt.

chance   = 90
nextbet  = 0.00000800
basebet  = 0.00000800
bethigh  = false
wincount = 0

function dobet()
    if win then
        nextbet = previousbet*1.02
        wincount +=1
    if !win then
        nextbet  = previousbet*2
        wincount = 0
    if wincount == 10 then
        nextbet = basebet

when i start bet it bets with 0.000008 for around 10-15 minutes and then bet decreases 10 times to 0.0000008. Can anyone suggest what to do?

Betting is on stake.
Title: Re: Startbet changing itself
Post by: Seuntjie on December 25, 2020, 01:02:37 pm
make sure that enablesrc is set to false (enablesrc=false) and/or that all the stop and reset conditions in the advanced mode is disabled.

Also, you don't need to track wins yourself, there is a wins variable that is automatically updated that you can use. Lastly, see the tutorial on the modulo operator (, as I think this script might behave differently than you expect it would when you get to 20 wins.