Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
mmassad
on 24/07/2022, 23:13:11 UTC
Hello!!

I got a simple question, maybe someone can help me. i got it:

"      if (vQtdHit == 3 )and (vQtdError == 0 )  then
            restart()
            nextbet = vBaseBet
       else
                if (vQtdHit + vQtdError == 108 )  then
                if (vQtdError >= 18 ) then
                    stop()
                    vMessage = "hit"
                    ching()
                end
                if (vQtdError <= 17) then
                    restart()
                    nextbet = vBaseBet
                end
"

so i got (part 2):

" if (vQtdHit == 4 ) and (vQtdError == 1 )  then
            restart()
            nextbet = vBaseBet
        end
if (vQtdHit == 5 ) and (vQtdError == 2 )  then
            restart()
            nextbet = vBaseBet
        end
if (vQtdHit == 6 ) and (vQtdError == 3 )  then
            restart()
            nextbet = vBaseBet
        end

and so on...
"

And thats what i want is in part 2.

I want something like when i got 3 times the vQtdHit in a row (with no vQtdError in the middle of it) it to restart().
Reason why i want to change it: If i have 1 error, 1 hit. 1 hit, 1 hit, 1 error, then i need 6 in vQtdHit instead of 5 to have 3 in a tow. (line 5 of part 2).

I did all this job as a patch, but i think there is a better and simpler way to do that! Resuming: All i want is to restart when i get 3 vQtdHit in a row.

If someone can help me...

Thanks in advantage!