Bitcoin Forum
June 24, 2024, 10:17:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: September 01, 2016, 02:35:18 AM
-snip-

Try this one

Code:

baseBet = 0.00000001
streakBet = 0.000001
streak = 0

function dobet()

if previousbet>baseBet then
  nextBet = baseBet

  if win then
    streakBet = 0.000001
  else
    streakBet = streakBet*2
  end

else
  if win then
    streak = 0

    nextbet=baseBet
  else
    streak = streak+1

    if streak==6 then
      nextbet=streakBet
  end
end

But betting after a losing streak doesn't change your odds at all... Roll Eyes

Error in the code, something about "end problem".

Image:

  Add an "end" at the end.  He just missed the last end to close the function when he cut/pasted.  

Still occur the same error.
2  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: September 01, 2016, 01:22:13 AM
-snip-

Try this one

Code:

baseBet = 0.00000001
streakBet = 0.000001
streak = 0

function dobet()

if previousbet>baseBet then
  nextBet = baseBet

  if win then
    streakBet = 0.000001
  else
    streakBet = streakBet*2
  end

else
  if win then
    streak = 0

    nextbet=baseBet
  else
    streak = streak+1

    if streak==6 then
      nextbet=streakBet
  end
end

But betting after a losing streak doesn't change your odds at all... Roll Eyes

Error in the code, something about "end problem".

Image:
3  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: August 31, 2016, 10:36:59 PM
I want to set automatic my strategy, but i have one problem, the base bet is 0.00000001 and chance 42%. When hit 6 lose streak the base bet change to 0.00000100, and if i lose again, and hit 7 lose streak, the base bet reset to 0.00000001 and the next 6 lose streak the base bet will change to 0.00000200 (double). The problem is, everything is automatic, less the double part, so how i double the "increased" bet if i lose the 7 time?

Strategy Example:

win - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000100
win - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000200
lose - 0.00000001
win -  0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
win - 0.00000400
lose - 0.00000001
win -  0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
win - 0.00000100

Configured in "Advanced Mode":



I tried these codes:
Code:
function dobet()

baseBet=0.00000001
streakBet1=0.0000001

if win then

 nextbet=0.00000001

else

 nextbet=baseBet

end
if currentstreak==-6 then

 nextbet=streakBet1

if win then

streakBet1=0.0000001

else

setvalueint(streakBet1,double)

end

end

end

end

and

Code:
function dobet()

baseBet=0.00000001
streakBet1=0.0000001

if win then

 nextbet=0.00000001

else

 nextbet=baseBet

end
if currentstreak==-6 then

 nextbet=streakBet1

if win then

streakBet1=0.0000001

else

streakBet1=streakBet1*2

end

end

end

end
4  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: August 18, 2016, 05:06:02 PM
I want to set automatic my strategy, but i have one problem, the base bet is 0.00000001 and chance 42%. When hit 6 lose streak the base bet change to 0.00000100, and if i lose again, and hit 7 lose streak, the base bet reset to 0.00000001 and the next 6 lose streak the base bet will change to 0.00000200 (double). The problem is, everything is automatic, less the double part, so how i double the "increased" bet if i lose the 7 time?

Strategy Example:

win - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000100
win - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000200
lose - 0.00000001
win -  0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
lose - 0.00000001
win - 0.00000400

Configured in "Advanced Mode":



I tried these codes:
Code:
function dobet()

baseBet=0.00000001
streakBet1=0.0000001

if win then

 nextbet=0.00000001

else

 nextbet=baseBet

end
if currentstreak==-6 then

 nextbet=streakBet1

if win then

streakBet1=0.0000001

else

setvalueint(streakBet1,double)

end

end

end

end

and

Code:
function dobet()

baseBet=0.00000001
streakBet1=0.0000001

if win then

 nextbet=0.00000001

else

 nextbet=baseBet

end
if currentstreak==-6 then

 nextbet=streakBet1

if win then

streakBet1=0.0000001

else

streakBet1=streakBet1*2

end

end

end

end
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!