Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
seuntjie
on 02/09/2018, 18:23:41 UTC

Cool, works if you enter the correct coin name, thanks. Smiley
How does the currencies.strings works. How to get the list of availible coins at the casino where i logged in from the Dicebot console. Did try but cannot find out how to get the list.


currencies is an array of strings. You can access it like any other array, for example print(currencies[1]).

Hey guys,

I am stuck on this coding. Everthing run smootly until i run into ZERO then the system stuck.

How do i set my min bet is 0.00001000

if (win) then
    nextbet = previousbet - 0.00001000

if (loss) then
    nextbet = previousbet + 0.00001000


example
0.00001000 Loss
0.00002000 Loss
0.00003000 Win
0.00002000 Win
0.00001000 Win
0.00001000 Win (This is where the system bet 0 and got stuck what i want is to tell the system to keep betting 0.00001000)
0.00001000 Win

Thanks
Kwong
You need to make sure that you never bet less than the specified amount. so you need to add an if to your script that compares the bet value to your minimum bet. Maybe alter one of your ifs to check that it's a win and that the previous bet was larger than the minimum bet?

Alternatively, you could use the D'Alembert system in the advanced mode, it does exactly what your script does, and set a minimum bet in the stop conditions tab.