Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
HCP
on 24/10/2017, 11:02:23 UTC
I got a nice way to win very frequently

but i am unable to write a good script for it
here is my try to brake it down
So, if I understand this correctly... you are betting on 6x or 8x or 10x payout correct?

- You start with a basebet of 1 unit
- You roll until 12 losses with 6x (or 8x or 10x)
- If 12 losses, then bet = basebet x2
- Then every 3 losses, then bet = previousbet x2

Reset back to basebet on win. Max bet is 1024 units.

Is that about right? If so... this code should do the job (NOTE: you need to set the basebet and maxBet values to suit your currency/bankroll):
Code:
----------------------
--
-- 6-8-10 Strat for jdquick
-- Written by HCP
--
----------------------
--Set these to match your site/currency/bankroll
basebet = 1
maxBet = 1024

----------------------
chance = 16.533
bethigh = true --bet high when true, bet low when false

enablezz=false --set to true to use high/low switching
--settings from advanced mode

enablesrc=false --set to true to use stop/reset conditions
--settings from advanced mode

firstPhaseLength = 12
stepLosses = 3

nextbet = basebet

firstPhase = true

lossStreak = 0
stopOnWin = false
multiplier = 2

function dobet()

  if (win) then
    nextbet = basebet
    firstPhase = true
    lossStreak = 0
    if (stopOnWin) then
      nextbet = 0
      stop()
    end

  else
    lossStreak = lossStreak + 1

    if lossStreak == firstPhaseLength then
      firstPhase = false
      nextbet = previousbet * multiplier
    elseif lossStreak > firstPhaseLength then
      if lossStreak % stepLosses == 0 then
        nextbet = previousbet * multiplier
      end
 
    end

  end

  if nextbet > maxBet then
    nextbet = 0
    stop()
  end

end