Post
Topic
Board Gambling
Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts!
by
DCP
on 11/02/2018, 17:16:25 UTC
Hey Guys,

Yolo has been working perfectly for me. One great feature they have besides awesome stability and lightning fast bets is that inside the members dashboard in the stats section you can see the last 100,000 bets, very cool!

Seuntjie or someone else who knows, please can you help me to understand how to code something. I've hacked together about 20 scripts but don't know how to do one part..


Let's use the basic martingale script as an example. I'm hoping you can update it with the function I need.


Code:
chance=49.5
multiplier=2
base=0.00000010  --  this is to be a minimum bet, to bet all the time and wait for an opportunity
realbet=0.0005  -- this is to be the first real bet of martingale
function dobet()
if win then
nextbet=base
else
nextbet=previousbet*multiplier
end
end


I'd like it to minimum bet all the time except each time there are 3 losses in a row, I would like it to take the "4th bet" as part of the martingale.

example to make it very clear

W
L   loss1
W
L   loss1
L   loss2
L   loss3
L *4th loss -   Bets 0.0005   (this is the first bet of martingale with "realbet" size)
L  - here it is back to minimum bet because I only want to bet the "4th bet" after each 3 loss streak
W
L
W
L
L
L
L *4th - Bets 0.0010  (this is the second bet of martingale with "realbet" size)
W
W
W
W
L
L
L
W *4th - Bets 0.0020  (this is the third bet of martingale with "realbet" size, it wins so martingale is over)
L
L
L
W *4th - Bets 0.0005  (this is the first bet of martingale...)


I know there is this function ( losecount +=1 )  but not sure how to implement it in this case.

If someone can show me the code for the basic martingale with this functionality I would appreciate it greatly. I intend to modify it into a more complex script but this would serve to show me how.