Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
jdquick
on 24/10/2017, 13:09:19 UTC
it looks it missing some ;
chrome and Firefox does not like the -- as comment
IE says it missig the ; somewhere but no debugging info is there.

i am not a java or web programmer, but can do a lots of things with powershell.






hi thanks for the script it looks nice
but what language is it i cannot past and work with this code in Firefox and chrome

for the freebitco.in it must be something like this
-------------------
bconfig = {
  maxBet: 0.00001024,
  wait: 1000,
  autoexit: 0.00001,
  want: 0.000014,
  toggleHilo:false,
  startbal: 0,
  won: 0,
};
hilo = 'hi';
multiplier = 1;
rollDice = function() {
 
  if ($('#double_your_btc_bet_lose').html() !== '') {
    $('#double_your_btc_2x').click();
    multiplier = 1;
    if(bconfig.toggleHilo)toggleHiLo();
  } else {
    $('#double_your_btc_min').click();
    multiplier = 1;
  }
 
  if (parseFloat($('#balance').html()) < (parseFloat($('#double_your_btc_stake').val()) * 2) ||
    parseFloat($('#double_your_btc_stake').val()) > bconfig.maxBet) {
    console.log($('#double_your_btc_min'));
  }
  if (parseFloat($('#balance').html()) < bconfig.autoexit) {
    throw "exit";
  }
  if (parseFloat($('#balance').html()) > bconfig.want) {
        var num = parseFloat($('#balance').html());
        bconfig.want = num + 0.00000030;
        bconfig.autoexit = num - 0.00000420;
  bconfig.won++;
  var total = num - bconfig.startbal;
        console.log('Setting bconfig want to: ' + bconfig.want)
        console.log('Setting autoexit to: ' + bconfig.autoexit)
  console.log('Total won: ' + total + ' BTC')
  }
 
  $('#double_your_btc_bet_hi_button').click();
 
  setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random() * 1000));
};
 
toggleHiLo = function() {
  if (hilo === 'hi') {
    hilo = 'hi';
  } else {
    hilo = 'hi';
  }
};
var num = parseFloat($('#balance').html());
bconfig.startbal = num;
bconfig.want = num + 0.00000030;
bconfig.autoexit = num - 0.00000420;
rollDice();
---------------





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

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