Hello Guest

Startbet changing itself

  • 1 Replies
  • 490 Views
*

Peckatop

  • *
  • 1
  • +0/-0
    • View Profile
Startbet changing itself
« 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
    end
    if !win then
        nextbet  = previousbet*2
        wincount = 0
    end
    if wincount == 10 then
        nextbet = basebet
    end
       
end



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.

*

Seuntjie

  • *****
  • 574
  • +15/-3
    • View Profile
Re: Startbet changing itself
« Reply #1 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 (https://forum.seuntjie.com/index.php?topic=2.msg2086#msg2086), as I think this script might behave differently than you expect it would when you get to 20 wins.