Author

Topic: PLAYTIN JavaScript Gambling Bot - post your bot and get free BTC (Read 8468 times)

jr. member
Activity: 53
Merit: 3
Im not sure what to think about playt.in so anybody here who invested there or even founded the site?

I want to get in contact.

Thanks!
At first try to deposit and withdraw small amount and you'll see if it's legit.

I already invested and lost quite a lot. Now im asking myself if the founders are legit since they stopped communicating completely. I don't even know if the other shareholders were real. Real shareholders had to buy shares in 100 shares bulks. And i don't know anyone besides me yet.
full member
Activity: 229
Merit: 100
Just made a quick one on training mode out of boredom

The Bot:
Code:
var runcount = 0;
var init = true;
var profit = 0;
var curbet;
var basebet = 1;
var basewin = 10;
var goalprofit = 100;
var curroll = 'hi';
var swapcount = 0;
var balance = 100;
var lossstreak = 0;
var totalwins = 0;

function dice_bot() {
    if (init == true) {
        curbet = 1;
        bet(1);
        win(10);
        init = false;
        return curroll;
    }
    swapcount++;
    if (swapcount >= 3) {

        if (curroll == "hi") {
            if (swapcount > 0) {
                swapcount = 0;
                curroll = "lo";
            }
        } else if (curroll == "lo") {
            if (swapcount > 0) {
                curroll = "hi";
                swapcount = 0;
            }
        }

    }

    if (last() == 0) {

        lossstreak++;
        profit = profit - curbet;
        balance = balance - curbet;
        log("Current Balance: " + balance);
        log("Profit: " + profit);
        log("Loss Streak: " + lossstreak);
        log("Total Wins:" + totalwins);
        log("\n");


    } else if (last() > 0) {

        totalwins++;
        balance = balance + last();
        profit = profit + last();
        log("Current Balance: " + balance);
        log("Profit: " + profit);
        log("Loss Streak: " + lossstreak);
        log("Total Wins:" + totalwins);
        log("\n");
        lossstreak = 0;

        runcount++;
        if (runcount >= 4) {
            if (profit > goalprofit) {
                init = true;

                runcount = 0;
                return;
            } else {
                runcount = 0;
                bet(basebet);
                win(basewin);
                curbet = bet();
            }
        } else {
            if (profit > goalprofit) {
                runcount = 0;
                init = true;

                return;
            } else {

                bet(bet() * 2);
                win(win() * 2);
                curbet = bet();

            }
        }
    }



    return curroll;

}
Each run made 100 profit with small loss.
Run 1:
Code:
Current Balance: 110
Profit: 10
Loss Streak: 0
Total Wins:1


Current Balance: 108
Profit: 8
Loss Streak: 1
Total Wins:1


Current Balance: 106
Profit: 6
Loss Streak: 2
Total Wins:1


Current Balance: 126
Profit: 26
Loss Streak: 2
Total Wins:2


Current Balance: 122
Profit: 22
Loss Streak: 1
Total Wins:2


Current Balance: 118
Profit: 18
Loss Streak: 2
Total Wins:2


Current Balance: 158
Profit: 58
Loss Streak: 2
Total Wins:3


Current Balance: 150
Profit: 50
Loss Streak: 1
Total Wins:3


Current Balance: 142
Profit: 42
Loss Streak: 2
Total Wins:3


Current Balance: 134
Profit: 34
Loss Streak: 3
Total Wins:3


Current Balance: 126
Profit: 26
Loss Streak: 4
Total Wins:3


Current Balance: 118
Profit: 18
Loss Streak: 5
Total Wins:3


Current Balance: 110
Profit: 10
Loss Streak: 6
Total Wins:3


Current Balance: 190
Profit: 90
Loss Streak: 6
Total Wins:4


Current Balance: 189
Profit: 89
Loss Streak: 1
Total Wins:4


Current Balance: 188
Profit: 88
Loss Streak: 2
Total Wins:4


Current Balance: 187
Profit: 87
Loss Streak: 3
Total Wins:4


Current Balance: 186
Profit: 86
Loss Streak: 4
Total Wins:4


Current Balance: 185
Profit: 85
Loss Streak: 5
Total Wins:4


Current Balance: 184
Profit: 84
Loss Streak: 6
Total Wins:4


Current Balance: 183
Profit: 83
Loss Streak: 7
Total Wins:4


Current Balance: 182
Profit: 82
Loss Streak: 8
Total Wins:4


Current Balance: 192
Profit: 92
Loss Streak: 8
Total Wins:5


Current Balance: 190
Profit: 90
Loss Streak: 1
Total Wins:5


Current Balance: 188
Profit: 88
Loss Streak: 2
Total Wins:5


Current Balance: 186
Profit: 86
Loss Streak: 3
Total Wins:5


Current Balance: 184
Profit: 84
Loss Streak: 4
Total Wins:5


Current Balance: 182
Profit: 82
Loss Streak: 5
Total Wins:5


Current Balance: 180
Profit: 80
Loss Streak: 6
Total Wins:5


Current Balance: 178
Profit: 78
Loss Streak: 7
Total Wins:5


Current Balance: 176
Profit: 76
Loss Streak: 8
Total Wins:5


Current Balance: 174
Profit: 74
Loss Streak: 9
Total Wins:5


Current Balance: 172
Profit: 72
Loss Streak: 10
Total Wins:5


Current Balance: 170
Profit: 70
Loss Streak: 11
Total Wins:5


Current Balance: 168
Profit: 68
Loss Streak: 12
Total Wins:5


Current Balance: 166
Profit: 66
Loss Streak: 13
Total Wins:5


Current Balance: 164
Profit: 64
Loss Streak: 14
Total Wins:5


Current Balance: 162
Profit: 62
Loss Streak: 15
Total Wins:5


Current Balance: 160
Profit: 60
Loss Streak: 16
Total Wins:5


Current Balance: 158
Profit: 58
Loss Streak: 17
Total Wins:5


Current Balance: 156
Profit: 56
Loss Streak: 18
Total Wins:5


Current Balance: 154
Profit: 54
Loss Streak: 19
Total Wins:5


Current Balance: 174
Profit: 74
Loss Streak: 19
Total Wins:6


Current Balance: 170
Profit: 70
Loss Streak: 1
Total Wins:6


Current Balance: 166
Profit: 66
Loss Streak: 2
Total Wins:6


Current Balance: 162
Profit: 62
Loss Streak: 3
Total Wins:6


Current Balance: 158
Profit: 58
Loss Streak: 4
Total Wins:6


Current Balance: 198
Profit: 98
Loss Streak: 4
Total Wins:7


Current Balance: 190
Profit: 90
Loss Streak: 1
Total Wins:7


Current Balance: 182
Profit: 82
Loss Streak: 2
Total Wins:7


Current Balance: 174
Profit: 74
Loss Streak: 3
Total Wins:7


Current Balance: 166
Profit: 66
Loss Streak: 4
Total Wins:7


Current Balance: 246
Profit: 146
Loss Streak: 4
Total Wins:8
Run 2:
Code:
Current Balance: 98
Profit: -2
Loss Streak: 1
Total Wins:0


Current Balance: 96
Profit: -4
Loss Streak: 2
Total Wins:0


Current Balance: 106
Profit: 6
Loss Streak: 2
Total Wins:1


Current Balance: 104
Profit: 4
Loss Streak: 1
Total Wins:1


Current Balance: 102
Profit: 2
Loss Streak: 2
Total Wins:1


Current Balance: 100
Profit: 0
Loss Streak: 3
Total Wins:1


Current Balance: 98
Profit: -2
Loss Streak: 4
Total Wins:1


Current Balance: 118
Profit: 18
Loss Streak: 4
Total Wins:2


Current Balance: 114
Profit: 14
Loss Streak: 1
Total Wins:2


Current Balance: 110
Profit: 10
Loss Streak: 2
Total Wins:2


Current Balance: 150
Profit: 50
Loss Streak: 2
Total Wins:3


Current Balance: 142
Profit: 42
Loss Streak: 1
Total Wins:3


Current Balance: 134
Profit: 34
Loss Streak: 2
Total Wins:3


Current Balance: 126
Profit: 26
Loss Streak: 3
Total Wins:3


Current Balance: 206
Profit: 106
Loss Streak: 3
Total Wins:4
Code:
Current Balance: 98
Profit: -2
Loss Streak: 1
Total Wins:0


Current Balance: 96
Profit: -4
Loss Streak: 2
Total Wins:0


Current Balance: 94
Profit: -6
Loss Streak: 3
Total Wins:0


Current Balance: 92
Profit: -8
Loss Streak: 4
Total Wins:0


Current Balance: 90
Profit: -10
Loss Streak: 5
Total Wins:0


Current Balance: 100
Profit: 0
Loss Streak: 5
Total Wins:1


Current Balance: 120
Profit: 20
Loss Streak: 0
Total Wins:2


Current Balance: 116
Profit: 16
Loss Streak: 1
Total Wins:2


Current Balance: 112
Profit: 12
Loss Streak: 2
Total Wins:2


Current Balance: 108
Profit: 8
Loss Streak: 3
Total Wins:2


Current Balance: 148
Profit: 48
Loss Streak: 3
Total Wins:3


Current Balance: 140
Profit: 40
Loss Streak: 1
Total Wins:3


Current Balance: 132
Profit: 32
Loss Streak: 2
Total Wins:3


Current Balance: 124
Profit: 24
Loss Streak: 3
Total Wins:3


Current Balance: 116
Profit: 16
Loss Streak: 4
Total Wins:3


Current Balance: 108
Profit: 8
Loss Streak: 5
Total Wins:3


Current Balance: 100
Profit: 0
Loss Streak: 6
Total Wins:3


Current Balance: 92
Profit: -8
Loss Streak: 7
Total Wins:3


Current Balance: 172
Profit: 72
Loss Streak: 7
Total Wins:4


Current Balance: 171
Profit: 71
Loss Streak: 1
Total Wins:4


Current Balance: 170
Profit: 70
Loss Streak: 2
Total Wins:4


Current Balance: 169
Profit: 69
Loss Streak: 3
Total Wins:4


Current Balance: 179
Profit: 79
Loss Streak: 3
Total Wins:5


Current Balance: 177
Profit: 77
Loss Streak: 1
Total Wins:5


Current Balance: 175
Profit: 75
Loss Streak: 2
Total Wins:5


Current Balance: 173
Profit: 73
Loss Streak: 3
Total Wins:5


Current Balance: 171
Profit: 71
Loss Streak: 4
Total Wins:5


Current Balance: 169
Profit: 69
Loss Streak: 5
Total Wins:5


Current Balance: 167
Profit: 67
Loss Streak: 6
Total Wins:5


Current Balance: 165
Profit: 65
Loss Streak: 7
Total Wins:5


Current Balance: 163
Profit: 63
Loss Streak: 8
Total Wins:5


Current Balance: 161
Profit: 61
Loss Streak: 9
Total Wins:5


Current Balance: 159
Profit: 59
Loss Streak: 10
Total Wins:5


Current Balance: 157
Profit: 57
Loss Streak: 11
Total Wins:5


Current Balance: 155
Profit: 55
Loss Streak: 12
Total Wins:5


Current Balance: 153
Profit: 53
Loss Streak: 13
Total Wins:5


Current Balance: 151
Profit: 51
Loss Streak: 14
Total Wins:5


Current Balance: 149
Profit: 49
Loss Streak: 15
Total Wins:5


Current Balance: 169
Profit: 69
Loss Streak: 15
Total Wins:6


Current Balance: 165
Profit: 65
Loss Streak: 1
Total Wins:6


Current Balance: 161
Profit: 61
Loss Streak: 2
Total Wins:6


Current Balance: 201
Profit: 101
Loss Streak: 2
Total Wins:7
Run 4:
Code:
Current Balance: 99
Profit: -1
Loss Streak: 1
Total Wins:0


Current Balance: 98
Profit: -2
Loss Streak: 2
Total Wins:0


Current Balance: 97
Profit: -3
Loss Streak: 3
Total Wins:0


Current Balance: 96
Profit: -4
Loss Streak: 4
Total Wins:0


Current Balance: 95
Profit: -5
Loss Streak: 5
Total Wins:0


Current Balance: 94
Profit: -6
Loss Streak: 6
Total Wins:0


Current Balance: 93
Profit: -7
Loss Streak: 7
Total Wins:0


Current Balance: 92
Profit: -8
Loss Streak: 8
Total Wins:0


Current Balance: 102
Profit: 2
Loss Streak: 8
Total Wins:1


Current Balance: 100
Profit: 0
Loss Streak: 1
Total Wins:1


Current Balance: 120
Profit: 20
Loss Streak: 1
Total Wins:2


Current Balance: 116
Profit: 16
Loss Streak: 1
Total Wins:2


Current Balance: 112
Profit: 12
Loss Streak: 2
Total Wins:2


Current Balance: 108
Profit: 8
Loss Streak: 3
Total Wins:2


Current Balance: 104
Profit: 4
Loss Streak: 4
Total Wins:2


Current Balance: 100
Profit: 0
Loss Streak: 5
Total Wins:2


Current Balance: 96
Profit: -4
Loss Streak: 6
Total Wins:2


Current Balance: 136
Profit: 36
Loss Streak: 6
Total Wins:3


Current Balance: 128
Profit: 28
Loss Streak: 1
Total Wins:3


Current Balance: 120
Profit: 20
Loss Streak: 2
Total Wins:3


Current Balance: 200
Profit: 100
Loss Streak: 2
Total Wins:4


Current Balance: 199
Profit: 99
Loss Streak: 1
Total Wins:4


Current Balance: 198
Profit: 98
Loss Streak: 2
Total Wins:4


Current Balance: 197
Profit: 97
Loss Streak: 3
Total Wins:4


Current Balance: 196
Profit: 96
Loss Streak: 4
Total Wins:4


Current Balance: 195
Profit: 95
Loss Streak: 5
Total Wins:4


Current Balance: 194
Profit: 94
Loss Streak: 6
Total Wins:4


Current Balance: 204
Profit: 104
Loss Streak: 6
Total Wins:5
member
Activity: 84
Merit: 10
Im not sure what to think about playt.in so anybody here who invested there or even founded the site?

I want to get in contact.

Thanks!
At first try to deposit and withdraw small amount and you'll see if it's legit.
jr. member
Activity: 53
Merit: 3
Im not sure what to think about playt.in so anybody here who invested there or even founded the site?

I want to get in contact.

Thanks!
legendary
Activity: 1397
Merit: 1019
I press run but nothing happens...
full member
Activity: 182
Merit: 100
Hmm, I wanted to withdraw half my balance today, and put the appropriate amount, instead of half my balance being sent to my address, the full balance was sent. I clicked the button only once, but it registered twice :S?
full member
Activity: 182
Merit: 100
Here's another one:

Code:
//USER EDITABLE PARAMETERS
//Winning streak betting sequence
var fa = [1];

//Color and bet changer when a full bet loss occurs
var bets_black_red = [
    ['Y', 'Z', 'B'],
    ['X', 'Z', 'R']
];
var bets_row = ['Z', 'Y', 'X'];

//With current settings 0 = Black 1 = Red
var color = 0;

//CODE SPECIFIC PARAMETERS
//Changing any of the following variables could cause problems if you don't appropriately change the associated bot logic below

// bet sequence index
var i = 0;
// initial balance tracker, not critical, but gives you an idea of overall P/L
var ibal = 0;
// previous balance tracker
var pbal = 0;
// bet variable declaration
var b = 0;
// required to avoid unpredictable initial bets
var first = 1;
var c_len = bets_black_red.length;

function roulette_bot() {
    if (first === 0) {
        ibal += last();
        if (last()) {
            i++;
        } else {
            i = 0;
        }
        if (last() && (ibal > pbal || ibal < pbal)) color++;
        var bet_index = num1() % 3;
        for (x = 0; x < 2; x++) {
            bets_black_red[color % c_len][x] = bets_row[(bet_index + x) % 3];
        }
    } else {
        first = 0;
    }
    pbal = ibal;

    log(ibal);

    b = fa[i % fa.length];
    ibal -= b * 3;

    set(bets_black_red[color % c_len][0], b);
    set(bets_black_red[color % c_len][1], b);
    set(bets_black_red[color % c_len][2], b);

    /*if(ibal+b*3 >= 106||ibal < 1){
    log(ibal);
    return;
  }*/
    //else
    return "spin";
}
full member
Activity: 182
Merit: 100
Don't know if this is still active, but this is the current bot I use for play.tin. 1,3,2,4 betting system, and it will change bets accordingly depending upon result. Commenting added if anyone looking to modify it:

Code:
//USER EDITABLE PARAMETERS
//Winning streak betting sequence
var fa = [1,3,2,4];

//Color and bet changer when a full bet loss occurs
var bets_black_red = [['B','Y','Z'],['R','X','Z']];

//With current settings 0 = Black 1 = Red
var color = 0;

//CODE SPECIFIC PARAMETERS
//Changing any of the following variables could cause problems if you don't appropriately change the associated bot logic below

// bet sequence index
var i = 0;
// initial balance tracker, not critical, but gives you an idea of overall P/L
var ibal = 0;
// previous balance tracker
var pbal = 0;
// bet variable declaration
var b = 0;
// required to avoid unpredictable initial bets
var first = 1;
var c_len = bets_black_red.length;

function roulette_bot()
{
  if (first == 0)
  {
    ibal += last();
   if(last()&&ibal>=pbal)
   {
     i++;  
   }
   else
   {
     i = 0;
       if(!last())
        {
          color++;
        }
    }
  }
  else
  {
    first = 0;
  }
  pbal = ibal;
  
  log(ibal);
  
  b=fa[i % fa.length];
  ibal -= b*3;
  
  set(bets_black_red[color%c_len][0],b);
  set(bets_black_red[color%c_len][1],b);
  set(bets_black_red[color%c_len][2],b);
  
  return "spin";
}

Made it to 30mBTC in less than 10 spins, from 10mBTC with this script Smiley.
full member
Activity: 182
Merit: 100
O lawdy gosu, I have made a bot too for freebitco.in, and let me tell you, there's way more efficient ways of doing what you were trying to, that's much more resistant to changes of the page layout. Some simple ajax requests would do everything you were trying to there, and then some, in a much more optimized way I might add. But of course, I do give you props for sharing your code, I'm unfortunately very conservative with sharing any of my code anymore, as I've done it in the past, out of niceties, and boom, I go to find other people using my code, claiming it as their creation, selling etc...
newbie
Activity: 56
Merit: 0
I'm not sure this qualifies but I made this for

http://freebitco.in/?op=home#

The formatting is a bit off.

1HUeP7U2outJJajMpYnVYmGZvaps1NefdC

That is my BTC address Smiley

Code:
$('body').append('
balance
win
bet
time
');
 
bconfig = {
  maxBet: 0.0001024,
  wait: 1,
  toggleHilo: false,
  alertMultiplier: 8
};
 
initialBalance = parseFloat($('#balance').html());
hilo = 'hi';
multiplier = 1;
startTime = new Date().getTime();
rollDice = function() {
 
  if ($('#double_your_btc_bet_lose').html() !== '') {
    $('#double_your_btc_2x').click();
    multiplier++;
    if (bconfig.toggleHilo) toggleHiLo();
  } else {
    setStartBet();
    $('#double_your_btc_bet_win').html('');
    var cmsg = {
      lose: $('#double_your_btc_bet_lose').html(),
      win: $('#double_your_btc_bet_win').html()
    };
    cmsg = JSON.stringify(cmsg);
  }
 
  if (multiplier > bconfig.alertMultiplier) {
    if (window.confirm("You have already lost " + (Math.pow(2, (multiplier - 1)) - 1) + " and you are about to lose " + Math.pow(2, (multiplier - 1)) + ". Click 'cancel' to reset the bet amount to 1 or 'ok' to take the risk?")) {
 
    } else {
      $('#double_your_btc_min').click();
      $('#double_your_btc_2x').click();
 $('#double_your_btc_2x').click();
  $('#double_your_btc_2x').click();
 $('#double_your_btc_2x').click();
    $('#double_your_btc_2x').click();
 $('#double_your_btc_2x').click();
      multiplier = 1;
    }
 
    $('#double_your_btc_bet_' + hilo + '_button').click();
  } else {
    if (parseFloat($('#balance').html()) < (parseFloat($('#double_your_btc_stake').val()) * 2) ||
      parseFloat($('#double_your_btc_stake').val()) > bconfig.maxBet) {
      $('#double_your_btc_min').click();
      $('#double_your_btc_2x').click();
 $('#double_your_btc_2x').click();
  $('#double_your_btc_2x').click();
 $('#double_your_btc_2x').click();
 $('#double_your_btc_2x').click();
    $('#double_your_btc_2x').click();
      multiplier = 1;
    }
 
    $('#double_your_btc_bet_' + hilo + '_button').click();
  }
 
 
 
  // setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random() * 100));
};
 
toggleHiLo = function() {
  if (hilo === 'hi') {
    hilo = 'lo';
  } else {
    hilo = 'hi';
  }
};
 
setStartBet = function() {
  $('#double_your_btc_min').click();
  $('#double_your_btc_2x').click();
 $('#double_your_btc_2x').click();
  $('#double_your_btc_2x').click();
    $('#double_your_btc_2x').click();
  multiplier = 1;
  // if ((Math.random() * 10) > 5) {
 
  // } else {
  //   $('#double_your_btc_min').click();
  //   $('#double_your_btc_2x').click();
 $('#double_your_btc_2x').click();
  $('#double_your_btc_2x').click();
    $('#double_your_btc_2x').click();
  //   multiplier = 2;
  // }
}
 
currentMsg = '';
bChange = function(next) {
  var cmsg = {
    lose: $('#double_your_btc_bet_lose').html(),
    win: $('#double_your_btc_bet_win').html()
  };
  cmsg = JSON.stringify(cmsg);
  if (currentMsg !== cmsg) {
    $('#balance_b').html($('#balance').html());
    $('#roundwin_b').html((parseFloat($('#balance').html()) - initialBalance).toFixed(8));
    $('#current_bet_b').html($('#double_your_btc_stake').val());
    $('#time_b').html((Math.round(((new Date().getTime()) - startTime) / 1000) / 60 / 60).toFixed(2) + ' h');
    currentMsg = cmsg;
    next();
  }

    setTimeout(function() {
      bChange(next);
    }, bconfig.wait)

};
bChange(rollDice);
full member
Activity: 137
Merit: 100
Code:
var b = 1;//bet size
var balance = 100;// balance
var begin = 0;

function lemon_bot(){
   if (begin == 0){//initial spin
     bet(b);
       begin++;
       log("Starting Bot...");
     return"start";
    }
  
   b=bet();
  
   if(last() == 0){
       balance-=b;
     log("LOS -"+b+"  Balance: " + balance);
    }
    else if (last() == b)
       log("WIN +0  Balance: " + balance);
    else{
       balance+=(last()-b);
       log("WIN +"+(last()-b)+"  Balance: " + balance);
    }
    if (last() == b && b > 1)
     b--;
   else if (last() >0)
       b/=2;
   else
       b++;

   if(b<1)
     b = 1;//keep min bet 1
  
   bet(b);//get rid of decimals
   b = bet();
   log("Next Bet: "+b)
return"start";
}



Lemon Bot. Does alright
[R3$NIJsW3SQ]
full member
Activity: 201
Merit: 101
https://playt.in
Code:
/* Coded by jbab


Initial Values are Bet:1 Win:2 <-- should probably start the bot with that

Bot has 2 betting strategy

1st: if it losses it increase win + 2, it will continue to till its chances of winnin go below 4%
     if it wins it will reset to initial value. once it goes below 4% winnin it will switch to 2nd
2nd: just simple martingale strategy that will try to complete 13 rolls to regain the losses from the            beginning then it will switch back.


May be lucky, may not be... haven't test it that much cause the free play stops after like 20 rolls -_-


*/
var b=1;
var x=0;
function dice_bot()
{
if(x>0)//Martingaling
    {
     if(last())// martingale if win - reset value
     {
       bet(b);
       win(bet()*2);
       if(x==13) //counting how many bets while martingaleing that are won
       x=0; //only lost 13 with first betting strategy so only need 13 sucesful martingale
     else
         x++;
     }
  else //martingale
     {
   bet(bet()*2);
           if (bet() >50)//if martingale completely fails go back to original betting and take loss
            {
             x=0;
               bet(b);
            }
     win(bet()*2);
     }
}
else if(win() == 26)//if first betting gets to max value resort to martingale
   {
win(b*2)
     bet(b)
     x++;
}
   else if(last())//reset if win(first betting strat)
     win(2);
   else //double win amount if lose(first betting strat)
     win(win()+2);
  return "hi";
}


So blazin a spliff and trying to remember how to code again just threw this simple thing together not sure if its worth anything but it switches between 2 betting modes. Cool site by the way, lots of fun

1HiXNwNHr3W9tkVqA3Vumva1n2RwdXkC8P    Cheesy
The first dice bot, nice Smiley
Please post or PM me your public account identifier (from the account page) and we will send you some small reward.

Hey thanks man can't wait to try it out
15mBTC sent Smiley
full member
Activity: 201
Merit: 101
https://playt.in
Code:
/* Coded by jbab


Initial Values are Bet:1 Win:2 <-- should probably start the bot with that

Bot has 2 betting strategy

1st: if it losses it increase win + 2, it will continue to till its chances of winnin go below 4%
     if it wins it will reset to initial value. once it goes below 4% winnin it will switch to 2nd
2nd: just simple martingale strategy that will try to complete 13 rolls to regain the losses from the            beginning then it will switch back.


May be lucky, may not be... haven't test it that much cause the free play stops after like 20 rolls -_-


*/
var b=1;
var x=0;
function dice_bot()
{
if(x>0)//Martingaling
    {
     if(last())// martingale if win - reset value
     {
       bet(b);
       win(bet()*2);
       if(x==13) //counting how many bets while martingaleing that are won
       x=0; //only lost 13 with first betting strategy so only need 13 sucesful martingale
     else
         x++;
     }
  else //martingale
     {
   bet(bet()*2);
           if (bet() >50)//if martingale completely fails go back to original betting and take loss
            {
             x=0;
               bet(b);
            }
     win(bet()*2);
     }
}
else if(win() == 26)//if first betting gets to max value resort to martingale
   {
win(b*2)
     bet(b)
     x++;
}
   else if(last())//reset if win(first betting strat)
     win(2);
   else //double win amount if lose(first betting strat)
     win(win()+2);
  return "hi";
}


So blazin a spliff and trying to remember how to code again just threw this simple thing together not sure if its worth anything but it switches between 2 betting modes. Cool site by the way, lots of fun

1HiXNwNHr3W9tkVqA3Vumva1n2RwdXkC8P    Cheesy
The first dice bot, nice Smiley
Please post or PM me your public account identifier (from the account page) and we will send you some small reward.
full member
Activity: 137
Merit: 100
Code:
/* Coded by jbab


Initial Values are Bet:1 Win:2 <-- should probably start the bot with that

Bot has 2 betting strategy

1st: if it losses it increase win + 2, it will continue to till its chances of winnin go below 4%
     if it wins it will reset to initial value. once it goes below 4% winnin it will switch to 2nd
2nd: just simple martingale strategy that will try to complete 13 rolls to regain the losses from the            beginning then it will switch back.


May be lucky, may not be... haven't test it that much cause the free play stops after like 20 rolls -_-


*/
var b=1;
var x=0;
function dice_bot()
{
if(x>0)//Martingaling
    {
     if(last())// martingale if win - reset value
     {
       bet(b);
       win(bet()*2);
       if(x==13) //counting how many bets while martingaleing that are won
       x=0; //only lost 13 with first betting strategy so only need 13 sucesful martingale
     else
         x++;
     }
  else //martingale
     {
   bet(bet()*2);
           if (bet() >50)//if martingale completely fails go back to original betting and take loss
            {
             x=0;
               bet(b);
            }
     win(bet()*2);
     }
}
else if(win() == 26)//if first betting gets to max value resort to martingale
   {
win(b*2)
     bet(b)
     x++;
}
   else if(last())//reset if win(first betting strat)
     win(2);
   else //double win amount if lose(first betting strat)
     win(win()+2);
  return "hi";
}


So blazin a spliff and trying to remember how to code again just threw this simple thing together not sure if its worth anything but it switches between 2 betting modes. Cool site by the way, lots of fun

1HiXNwNHr3W9tkVqA3Vumva1n2RwdXkC8P    Cheesy
full member
Activity: 182
Merit: 100
In the little code box, I can't use True/False variables.
Of course you can, it is plain JavaScript running in your browser. The code is handed over to the browsers JavaScript engine exactly as you have typed it in.

Sample code that runs perfectly fine
Code:
function dice_bot()
{
  var a=true;
  var b=false;
  log(a);
  log(b);
  return;


Oops my bad, been programming in Python a bit too much lately and used True/False rather than true/false :p.
full member
Activity: 201
Merit: 101
https://playt.in
In the little code box, I can't use True/False variables.
Of course you can, it is plain JavaScript running in your browser. The code is handed over to the browsers JavaScript engine exactly as you have typed it in.

Sample code that runs perfectly fine
Code:
function dice_bot()
{
  var a=true;
  var b=false;
  log(a);
  log(b);
  return;

full member
Activity: 182
Merit: 100
In the little code box, I can't use True/False variables.
full member
Activity: 201
Merit: 101
https://playt.in
Although I would like to know, why boolean variables are blocked from the code?
Can you explain what you mean by this?
full member
Activity: 182
Merit: 100
Are you looking for anything more specific? I could make a complex bot, but none of the textbook betting systems are complex, so the published code will always look simple, and there's a reason why they're simple, 99.9% of the time, complexity just isn't a necessity. There's really only 1 bot I could think of that would be complex. I could also make an all-in one bot with a few betting system, and have it vary which system is used based on random chance. Although I would like to know, why boolean variables are blocked from the code?
full member
Activity: 201
Merit: 101
https://playt.in
People, don't be shy, share your bots Smiley
full member
Activity: 201
Merit: 101
https://playt.in
thank you!
You're welcome!

Looking forward to see what people make from those Wink
sr. member
Activity: 374
Merit: 250
full member
Activity: 201
Merit: 101
https://playt.in
sr. member
Activity: 374
Merit: 250
PM sent, thank you!
 Wink
legendary
Activity: 1020
Merit: 1000
Nice simple bot, can be used as a starting point.
Please post or PM me your public account identifier (from the account page, looks like [someChars]) and we will send you some small reward.
[_Zq$TchD8kk]
full member
Activity: 182
Merit: 100
Thanks a bunch, I'll post some more when I have more time Smiley.

I really like the site, and so far I have not seen anything suspicious in terms of probabilities, unlike some other sites, although I've only used training mode at the moment.

The only thing I would like more is if bets less than 1mBTC were allowed, at least 0.1mBTC, I'm sure there'd be a lot more traffic to the site then.
full member
Activity: 201
Merit: 101
https://playt.in
Nice simple bot, can be used as a starting point.
Please post or PM me your public account identifier (from the account page, looks like [someChars]) and we will send you some small reward.

[NeQSsSynbrU]
10mBTC sent Smiley
full member
Activity: 182
Merit: 100
Nice simple bot, can be used as a starting point.
Please post or PM me your public account identifier (from the account page, looks like [someChars]) and we will send you some small reward.

[NeQSsSynbrU]
full member
Activity: 201
Merit: 101
https://playt.in
full member
Activity: 201
Merit: 101
https://playt.in
Nice simple bot, can be used as a starting point.
Please post or PM me your public account identifier (from the account page, looks like [someChars]) and we will send you some small reward.
sr. member
Activity: 374
Merit: 250
And here is my bot for the roulette (beta)
description is in code and it can be used as skeleton for other scripts... :-)

Code:
/*
 -------------------------------------
 PLAYT.IN - roulette bot - free script
 - beta ------------------------------
 -------------------------------------
 
 can be used as skeleton for other
 scripts
 
 -------------------------------------
 ! Use At Your Own Risk !
 -------------------------------------

 first steps:
  0. for the first run, use Training mode!
  
  1. set your balance into variable:
    balance=1000; <---- your balacne
  
  2. set stop balance values  
    stopWhenBalance_Min = 50;    <----- stop value Min  
    stopWhenBalance_Max = 2500;   <----- stop value Max
    
  3. try to find best parametrs for each bot, or switch any bot off

 bots description:
  1. bot - First, Second, Third Dozen (FST)
  2. bot - Top, Middle, Bottom Row (TMB)
  3. bot - Odd and Even
  4. bot - Red and Black
  5. bot - 1-18 and 19-36
  
  X. bot - dummy roll
 
  bots starts when - example
  - (bot 4 - Red and Black):
   if previous seven (var start_bet_Red_Black_on_cnt=7) spins num was Red, then bot create bet on Black
   if lost then repeat it in martingale like style until win
   if bet size is over value in 256 (bet_max_Red_Black=256), then bot reset it to the init min value (bet_min_FST=1)
  
  - (bot 1 - FST):
   if previous two (start_bet_FST_on_cnt) spins num was under 13 => in First Dozen (1-12), then bot (FST) bet on Second, Third Dozen
   if lost then repeat it in martingale like style until win
   if bet size is over value in 256 (bet_max_FST=256), then bot reset it to the init min value (bet_min_FST=1)
  
  - dummy roll:
   bets on Red and on Black (2x1 - bet_Dummy=1) - is used because bots 1-5 need previous nums  
   ! when you spin ZERO you lost 2x1 :-(
    
    
 ------------------------------------------------
 whiskey fund: 1NvyfYQmFv4dPaBezo9HddTVPuyeAtiJPE  
 ------------------------------------------------
*/



var balance=1000;                // <--------------- set your balance (mBTC) !

// stop when balance is:
var stopWhenBalance_Min = 50;  
var stopWhenBalance_Max = 2500;

// kamikadze - ignore stop balance (stopWhenBalance_Min, stopWhenBalance_Max)
var kamikadze = 0;  // 1 = On, 0 = Off

var cntBetsPerSpin = 0;
var betSize = 0;

// print debug info - 0=Off, 1=On
var debug = 0;

// dummy spin is used for generate "temporary" num. - the Main bots code can starts from this nums    
// rem: with dummy spinn you can lose on ZERO !
var useDummySpin = 1;
var bet_Dummy = 1;

var spin_counter=0;

//---------------------------- var for bet on First,Second,Third Dozen (FST) ---
//var start_bet_FST_on_cnt = -1; // -1 = off
var start_bet_FST_on_cnt = 2; // start bet on FST Dozen when previous count num on same dozen was >= 2 (on opposite side)
var cntFirst=0;
var cntSecond=0;
var cntThird=0;
var bet_FST=1;             // start bet size
var bet_min_FST=1;         // same - used on reset
var bet_max_FST=256;        // when stop (martingale)

//------------------------------- var for bet on Top,Middle,Bottom Row (TMB) ---
//var start_bet_TMB_on_cnt = -1; // -1 = off
var start_bet_TMB_on_cnt = 2; // start bet on TMB Row when previous count num on same row was >= 2 (on opposite side)
var cntTop=0;
var cntMiddle=0;
var cntBottom=0;
var bet_TMB=1;             // start bet size
var bet_min_TMB=1;         // same - used on reset
var bet_max_TMB=256;        // when stop (martingale)

//----------------------------------------------- var for bet on Odd or Even ---
// start_bet_Odd_Even_on_cnt = -1; // -1 = off (dont use bot on Odd or Even)
var start_bet_Odd_Even_on_cnt = 7; // start bet on Odd or Even when previous count num was >= 7 (on opposite side)
var cntOdd=0;
var cntEven=0;
var bet_Odd_Even=1;        // start bet size
var bet_min_Odd_Even=1;    // same - used on reset
var bet_max_Odd_Even=256;   // when stop (martingale)

//---------------------------------------------- var for bet on Red or Black ---
// start_bet_Red_Black_on_cnt = -1; // -1 = off (dont use bot on Red or Black)
var start_bet_Red_Black_on_cnt = 7; // start bet on Red or Black when previous count num was >= 7 (on opposite side)
var cntRed=0;
var cntBlack=0;
var bet_Red_Black=1;       // start bet size
var bet_min_Red_Black=1;   // same - used on reset
var bet_max_Red_Black=256;  // when stop (martingale)

//--------------------------------------------- var for bet on 1-18 or 19-36 ---
// start_bet_1_18_19_36_on_cnt = -1; // -1 = off (dont use bot on 1-18 or 19-36)
var start_bet_1_18_19_36_on_cnt = 7; // start bet on 1-18 or 19-36 when previous count num was >= 7 (on opposite side)
var cnt1_18=0;             // count prev. spin on side 1-18
var cnt19_36=0;            // ...
var bet_1_18_19_36=1;      // start bet size
var bet_min_1_18_19_36=1;  // same - used on reset
var bet_max_1_18_19_36=256; // when stop (martingale)

//
var lastNonZeroSpin = -1;

function roulette_bot() {
  
  var last_result = last();
  var last_num = num1();
  cntBetsPerSpin = 0;

  if (spin_counter > 0) {
  
    balance = balance + last_result;

    // REPORT - spin log
    log(spin_counter+">num:"+last_num+"; bet size:"+betSize+"; prof:"+(last_result-betSize)+"; balance:"+balance+";");
    
    // reset bet size
    betSize = 0;

    // stop when balanc <> Min, Max
    if (kamikadze == 0) {
      if ((balance <= stopWhenBalance_Min) || (balance >= stopWhenBalance_Max)) {
        log("STOP - final balance:"+balance);
        return "stop";
      }
    }
    
    //! bots stats solve ZERO spin as last non zero spin
    if (last_num == 0) {
      if (lastNonZeroSpin >= 1) {
        last_num = lastNonZeroSpin;  // replace current ZERO with last NON ZERO SPIN
      } else {
        last_num = 1; // for situation that first roll was ZERO - unusually - set fake 1
      }  
    } else {
      lastNonZeroSpin = last_num;    // save current spin if its > 0
    }
  
    //-------------------------------- begin bet on First,Second,Third Dozen ---
    if (start_bet_FST_on_cnt > -1) {
      // First Dozen
      if ((last_num>=1) && (last_num<=12)) {
         cntFirst++;
         cntSecond=0;
         cntThird=0;
        
         if (cntFirst >= start_bet_FST_on_cnt) {
           log("bet on Second and Third Dozen:"+(bet_FST*2));
           set("13-24",bet_FST);            // set bet on Second Dozen
           set("25-36",bet_FST);            // set bet on Third Dozen
           betSize = betSize + bet_FST + bet_FST;
           cntBetsPerSpin++;
           cntBetsPerSpin++;
          
           bet_FST = bet_FST * 2;
  
           if (bet_FST > bet_max_FST) { // max bet ?
             bet_FST = bet_min_FST; // stop martingale
           }
         } else {
           bet_FST = bet_min_FST;
         }
      }
  
      // Second Dozen
      if ((last_num>=13) && (last_num<=24)) {
         cntFirst=0;
         cntSecond++;
         cntThird=0;
        
         if (cntSecond >= start_bet_FST_on_cnt) {
           log("bet on First and Third Dozen:"+(bet_FST*2));
           set("1-12",bet_FST);             // set bet on First Dozen
           set("25-36",bet_FST);            // set bet on Third Dozen
           betSize = betSize + bet_FST + bet_FST;
           cntBetsPerSpin++;
           cntBetsPerSpin++;
          
           bet_FST = bet_FST * 2;
  
           if (bet_FST > bet_max_FST) { // max bet ?
             bet_FST = bet_min_FST; // stop martingale
           }
         } else {
           bet_FST = bet_min_FST;
         }
      }
  
      // Third Dozen
      if ((last_num>=25) && (last_num<=36)) {
         cntFirst=0;
         cntSecond=0;
         cntThird++;
        
         if (cntSecond >= start_bet_FST_on_cnt) {
           log("bet on First and Second Dozen:"+(bet_FST*2));
           set("1-12",bet_FST);             // set bet on First Dozen
           set("13-24",bet_FST);            // set bet on Second Dozen
           betSize = betSize + bet_FST + bet_FST;
           cntBetsPerSpin++;
           cntBetsPerSpin++;
          
           bet_FST = bet_FST * 2;
  
           if (bet_FST > bet_max_FST) { // max bet ?
             bet_FST = bet_min_FST; // stop martingale
           }
         } else {
           bet_FST = bet_min_FST;
         }
      }
    }
    //---------------------------------- end bet on First,Second,Third Dozen ---
    
    //----------------------------------- begin bet on Top,Middle,Bottom Row ---
    if (start_bet_TMB_on_cnt > -1) {
      // Top Row
      if ((last_num==3)  || (last_num==6)  || (last_num==9)  || (last_num==12) || (last_num==15) || (last_num==18) ||
          (last_num==21) || (last_num==24) || (last_num==27) || (last_num==30) || (last_num==33) || (last_num==36)) {
         cntTop++;
         cntMiddle=0;
         cntBottom=0;
        
         if (cntTop >= start_bet_TMB_on_cnt) {
           log("bet on Middle and Bottom Row:"+(bet_TMB*2));
           set("Y",bet_TMB);            // set bet on Middle Row
           set("Z",bet_TMB);            // set bet on Bottom Row
           betSize = betSize + bet_TMB + bet_TMB;
           cntBetsPerSpin++;
           cntBetsPerSpin++;
          
           bet_TMB = bet_TMB * 2;
  
           if (bet_TMB > bet_max_TMB) { // max bet ?
             bet_TMB = bet_min_TMB; // stop martingale
           }
         } else {
           bet_TMB = bet_min_TMB;
         }
      }
      
      // Middlw Row
      if ((last_num==2)  || (last_num==5)  || (last_num==8)  || (last_num==11) || (last_num==14) || (last_num==17) ||
          (last_num==20) || (last_num==23) || (last_num==26) || (last_num==29) || (last_num==32) || (last_num==35)) {
         cntTop=0;
         cntMiddle++;
         cntBottom=0;
        
         if (cntMiddle >= start_bet_TMB_on_cnt) {
           log("bet on Top and Bottom Row:"+(bet_TMB*2));
           set("X",bet_TMB);            // set bet on Top Row
           set("Z",bet_TMB);            // set bet on Bottom Row
           betSize = betSize + bet_TMB + bet_TMB;
           cntBetsPerSpin++;
           cntBetsPerSpin++;
          
           bet_TMB = bet_TMB * 2;
  
           if (bet_TMB > bet_max_TMB) { // max bet ?
             bet_TMB = bet_min_TMB; // stop martingale
           }
         } else {
           bet_TMB = bet_min_TMB;
         }
      }
  
      // Bottom Row
      if ((last_num==1)  || (last_num==4)  || (last_num==7)  || (last_num==10) || (last_num==13) || (last_num==16) ||
          (last_num==19) || (last_num==22) || (last_num==25) || (last_num==28) || (last_num==31) || (last_num==34)) {
         cntTop=0;
         cntMiddle=0;
         cntBottom++;
        
         if (cntBottom >= start_bet_TMB_on_cnt) {
           log("bet on Top and Middle Row:"+(bet_TMB*2));
           set("X",bet_TMB);            // set bet on Top Row
           set("Y",bet_TMB);            // set bet on Middle Row
           betSize = betSize + bet_TMB + bet_TMB;
           cntBetsPerSpin++;
           cntBetsPerSpin++;
          
           bet_TMB = bet_TMB * 2;
  
           if (bet_TMB > bet_max_TMB) { // max bet ?
             bet_TMB = bet_min_TMB; // stop martingale
           }
         } else {
           bet_TMB = bet_min_TMB;
         }
      }
      
    }
    //------------------------------------- end bet on Top,Middle,Bottom Row ---
    
    //------------------------------------------------ begin bet on Odd Even ---
    if (start_bet_Odd_Even_on_cnt > -1) {
      // counter - results for Odd
      if ((last_num== 1) || (last_num== 3) || (last_num== 5) || (last_num== 7) || (last_num== 9) ||    
          (last_num==11) || (last_num==13) || (last_num==15) || (last_num==17) || (last_num==19) ||
          (last_num==21) || (last_num==23) || (last_num==25) || (last_num==27) || (last_num==29) ||
          (last_num==31) || (last_num==33) || (last_num==35)) {
        cntOdd++;
        cntEven = 0;
        
        if (cntOdd >= start_bet_Odd_Even_on_cnt) {
          log("bet on Even:"+bet_Odd_Even);
          set("E",bet_Odd_Even);            // set bet on Even
          betSize = betSize + bet_Odd_Even;
          cntBetsPerSpin++;
    
          bet_Odd_Even = bet_Odd_Even * 2;
          
          if (bet_Odd_Even > bet_max_Odd_Even) { // max bet ?
            bet_Odd_Even = bet_min_Odd_Even; // stop martingale
          }
        } else {
          bet_Odd_Even = bet_min_Odd_Even;   // start value for martingale
        }
        
      } else {            // counter - results for Even
        cntOdd = 0;
        cntEven++;
    
        if (cntEven >= start_bet_Odd_Even_on_cnt) {
          log("bet on Odd:"+bet_Odd_Even);
          set("O",bet_Odd_Even);            // set bet on Odd
          cntBetsPerSpin++;
          betSize = betSize + bet_Odd_Even;
    
          bet_Odd_Even = bet_Odd_Even * 2;
          
          if (bet_Odd_Even > bet_max_Odd_Even) { // max bet ?
            bet_Odd_Even = bet_min_Odd_Even; // stop martingale
          }
        } else {
          bet_Odd_Even = bet_min_Odd_Even;  // start value for martingale
        }
      }
    }
    //-------------------------------------------------- end bet on Odd Even ---
      
    //----------------------------------------------- begin bet on Red Black ---
    if (start_bet_Red_Black_on_cnt > -1) {
      // counter - results for Red
      if ((last_num== 1) || (last_num== 3) || (last_num== 5) || (last_num== 7) || (last_num== 9) ||    
          (last_num==12) || (last_num==14) || (last_num==16) || (last_num==18) || (last_num==19) ||
          (last_num==21) || (last_num==23) || (last_num==25) || (last_num==27) || (last_num==30) ||
          (last_num==32) || (last_num==34) || (last_num==36)) {
        cntRed++;
        cntBlack = 0;
        
        if (cntRed >= start_bet_Red_Black_on_cnt) {
          log("bet on Black:"+bet_Red_Black);
          set("B",bet_Red_Black);            // set bet on Black
          betSize = betSize + bet_Red_Black;
          cntBetsPerSpin++;
    
          bet_Red_Black = bet_Red_Black * 2;
          
          if (bet_Red_Black > bet_max_Red_Black) { // max bet ?
            bet_Red_Black = bet_min_Red_Black; // stop martingale
          }
        } else {
          bet_Red_Black = bet_min_Red_Black;   // start value for martingale
        }
        
      } else {            // counter - results for Black
        cntRed = 0;
        cntBlack++;
    
        if (cntBlack >= start_bet_Red_Black_on_cnt) {
          log("bet on Red:"+bet_Red_Black);
          set("R",bet_Red_Black);            // set bet on Red
          cntBetsPerSpin++;
          betSize = betSize + bet_Red_Black;
    
          bet_Red_Black = bet_Red_Black * 2;
          
          if (bet_Red_Black > bet_max_Red_Black) { // max bet ?
            bet_Red_Black = bet_min_Red_Black; // stop martingale
          }
        } else {
          bet_Red_Black = bet_min_Red_Black;  // start value for martingale
        }
      }
    }
    //------------------------------------------------- end bet on Red Black ---
    
    //------------------------------------------- begin bet on 1-18 or 19-36 ---
    if (start_bet_1_18_19_36_on_cnt > -1) {
      if (last_num < 19) { // counter - results for 1 - 18
        cnt1_18++;
        cnt19_36 = 0;
        
        if (cnt1_18 >= start_bet_1_18_19_36_on_cnt) {
          log("bet on 19-36:"+bet_1_18_19_36);
          set("19-36",bet_1_18_19_36);            // set bet on 19-36
          betSize = betSize + bet_1_18_19_36;
          cntBetsPerSpin++;
    
          bet_1_18_19_36 = bet_1_18_19_36 * 2;
          
          if (bet_1_18_19_36 > bet_max_1_18_19_36) { // max bet ?
            bet_1_18_19_36 = bet_min_1_18_19_36; // stop martingale
          }
        } else {
          bet_1_18_19_36 = bet_min_1_18_19_36;   // start value for martingale
        }
        
      } else {            // counter - results for 19 - 36
        cnt1_18 = 0;
        cnt19_36++;
    
        if (cnt19_36 >= start_bet_1_18_19_36_on_cnt) {
          log("bet on 1-18:"+bet_1_18_19_36);
          set("1-18",bet_1_18_19_36);            // set bet on 1-18
          cntBetsPerSpin++;
          betSize = betSize + bet_1_18_19_36;
    
          bet_1_18_19_36 = bet_1_18_19_36 * 2;
          
          if (bet_1_18_19_36 > bet_max_1_18_19_36) { // max bet ?
            bet_1_18_19_36 = bet_min_1_18_19_36; // stop martingale
          }
        } else {
          bet_1_18_19_36 = bet_min_1_18_19_36;  // start value for martingale
        }
      }
    }
    //--------------------------------------------- end bet on 1-18 or 19-36 ---
  
    //------------------------------------------------- report from last bet ---
    // counter log  - bots stats
    if (debug == 1) {
      log(" [O]:"+cntOdd+"/[E]:"+cntEven+" [R]:"+cntRed+"/[B]:"+cntBlack+" "+" [1-18]:"+cnt1_18+"/[19-36]:"+cnt19_36+" ");
      log(" [T]:"+cntTop+"/[M]:"+cntMiddle+" "+"/[B]:"+cntBottom+"  [F]:"+cntFirst+"/[S]:"+cntSecond+" "+"/[T]:"+cntThird);
    }  
  }
  
  if (cntBetsPerSpin == 0) { // dummy spin...
    if (useDummySpin == 1) {
      log("dummy spin...");
      set("R",bet_Dummy);
      set("B",bet_Dummy);
      cntBetsPerSpin++;
      cntBetsPerSpin++;
      betSize = betSize + bet_Dummy + bet_Dummy;
    }
  }
  balance = balance - betSize;
  spin_counter++;
  return "spin";
}

enjoy!
:-)

whiskey fund:
1NvyfYQmFv4dPaBezo9HddTVPuyeAtiJPE

full member
Activity: 182
Merit: 100
Really cool site, I must say, great job on the design and having such a multitude of games.

Here's a roulette gambling bot, that uses the 1-3-2-6 system. Can be used for other games as well.

Code:
var fa = [1,3,2,6];
var i = 0;

function roulette_bot()
{
  if(last())
  {
    i++; 
  }
  else
  {
    i = 0;
  }
  b=fa[i % 4];
  set("B",b);
 
  return "spin";
}


Note, in the following example, balance started at 50, with a total of 54 runs, also. Note I wasn't betting on black, I was betting on different parts.

Here's an example of the system in action:

Code:
59
65
69
81
81
72
72
69
63
63
69
69
51
53
53
57
57
56
62
66
66
66
63
67
79
79
76
70
70
76
80
92
89
88
79
79
85
83
77
76
67
69
75
73
85
87
93
91
103
100
97
97
97
99
full member
Activity: 182
Merit: 100
Really cool site, I must say, great job on the design and having such a multitude of games.

Here's a roulette gambling bot, that uses the 1-3-2-6 system. Can be used for other games as well.

Code:
var fa = [1,3,2,6];
var i = 0;

function roulette_bot()
{
  if(last())
  {
    i++; 
  }
  else
  {
    i = 0;
  }
  b=fa[i % 4];
  set("B",b);
 
  return "spin";
}

sr. member
Activity: 280
Merit: 250
Make Love Not War
Hi,
regarding your site

how much minimum withdrawal?
howmuch deduction?
is it real time?

Thanks

Our site operates in mBTC and cLTC. As a consequence minimum deposit/withdrawal is 1 mBTC (0.001 BTC) and 1 cLTC (0.01 LTC).
There are no fees for depositing and withdrawing.
Deposits and withdrawals are instant.


Thanks Wink

Wanna try this Smiley
full member
Activity: 201
Merit: 101
https://playt.in
Could you give me an idea of what 'some' bitcoins would amount to?

There is no predefined amount. We will decide on a case by case basis.
If the above examples would be a submission, we would probably reward just 1 mBTC, because they are very simple.
Impress us Wink
full member
Activity: 182
Merit: 100
Could you give me an idea of what 'some' bitcoins would amount to?
sr. member
Activity: 374
Merit: 250
full member
Activity: 201
Merit: 101
https://playt.in
ohhh, cool  :-)

it's possible to run bot in "training mode" and watch balanc?
i will try to write my own bot :-)

It is possible to test the a bot in training mode.
The training mode does not compute an actual balance, but you can easily track this yourself in your bot code.

Use the "log" function to write data to the logging window (it will appear on the first call).
sr. member
Activity: 374
Merit: 250
ohhh, cool  :-)

it's possible to run bot in "training mode" and watch balanc?
i will try to write my own bot :-)
full member
Activity: 201
Merit: 101
https://playt.in
Nice! It's cool that the website directly supports gambling bots.

After reading about all those issues with closed source 3rd party software (some just-dice bot comes to mind) we decided to integrate the bot functionality.

Looking at the current players we assume that a few of them are playing using the bot feature.
We can only assume this because the bot runs on the client and so we have no clue if it is the player or a bot.
And some of them are up quite a lot, we don't expect those users to share their bot...

An actual screenshot


Anyway, still waiting for the first one brave enough to post some actual bot source.
b!z
legendary
Activity: 1582
Merit: 1010
Nice! It's cool that the website directly supports gambling bots.
full member
Activity: 201
Merit: 101
https://playt.in
Hi,
regarding your site

how much minimum withdrawal?
howmuch deduction?
is it real time?

Thanks

Our site operates in mBTC and cLTC. As a consequence minimum deposit/withdrawal is 1 mBTC (0.001 BTC) and 1 cLTC (0.01 LTC).
There are no fees for depositing and withdrawing.
Deposits and withdrawals are instant.
sr. member
Activity: 280
Merit: 250
Make Love Not War
Hi,
regarding your site

how much minimum withdrawal?
howmuch deduction?
is it real time?


Thanks
full member
Activity: 201
Merit: 101
https://playt.in
Thanks.
I will try it.
Great! Looking forward to your post about your bot Smiley
member
Activity: 88
Merit: 10
Thanks.
I will try it.
full member
Activity: 201
Merit: 101
https://playt.in

PLAYTIN JavaScript Gambling Bot


We are proud to announce that we have enabled the PLAYTIN JavaScript Gambling Bot.
Now you can play most of our games by coding your own bot in JavaScript.
The bot is running in your browser.

Bot competition - free BTC
We are sure that you can write way better bots than the above examples.
Post the source of your bot with some description about how it works, maybe how much you have earned.
If you attach your PLAYTIN anonymous account id (looks like this [xxxxxxxx], don't post your account key!) and your bot is clever and unique we will send you some reward towards your PLAYTIN wallet. Bonus points if your bot works for multiple games Wink

How it works
Select the your game of choice on https://playt.in
Open the bot by clicking on the ƒ() button.
Enter your bot code in the editor.
You bot will be used by calling the callback function.
By clicking start the bot will be activated.
Global variables in your bot will be reset every time you stop your bot.



Example 1: Keno martingale:
Code:
function keno_bot()
{
  if(last()) bet(1); // won, restart at 1
  else bet(bet()*2); // lost, double the bet
  return "play";
}

Example 2: Roulette martingale on red:
Code:
var b=1;
function roulette_bot()
{
  if(last()) b=1;
  else b*=2;
  set("R",b);
  return "spin";
}

Function documentation
Code:
common functions
log() // log some data to the logging window
last() // winning amount of the last game

Crazy Dice
dice_bot()

bet()  // get current bet amount
bet(v) // set current bet amount to v

win()  // get desired win amount
win(v) // set desired win amount to v

return "lo"; // roll lo
return "hi"; // roll hi
return; // stop the bot

Keno
keno_bot()

bet()  // get current bet amount
bet(v) // set current bet amount to v

num1()  // get 1st selected number
num1(v) // set 1st selected number to v
num2()  // get 1nd selected number
num2(v) // set 1nd selected number to v
...
num10()  // get 10th selected number
num10(v) // set 10th selected number to v

return "play"; // start
return; // stop the bot

Red&Blue
redblue_bot()

bet()  // get current bet amount
bet(v) // set current bet amount to v

startx()  // get x of the current start position
startx(v) // set x of the current start position to v

starty()  // get y of the current start position
starty(v) // set y of the current start position to v

return "red"; // bet on red
return "blue"; // bet on blue
return "both"; // bet
return; // stop the bot

Roulette
roulette_bot()

get(key) // get the amount on field 'key'
set(key,v) // set the amount on field 'key' to v

num1() // get winning number of the last game (-1 if undefined)
num2() // get winning number of the game before the last game (-1 if undefined)
...
num12()

return "clear"; // clear all entries
return "repeat"; // reload the last stakes
return "spin"; // start the spin
return; // stop the bot

possible values for key:
  0 0-3   0,3     0,2,3   0,2     0,1,2           0,1    
1-3     3       2,3     2 1,2     1 1-6     3,6     2,3,5,6       2,5         1,2,4,5       1,4    
4-6     6 5,6     5 4,5     4       4-9     6,9     5,6,8,9       5,8     4,5,7,8       4,7    
7-9     9   8,9     8 7,8     7 7-12   9,12   8,9,11,12     8,11   7,8,10,11     7,10  
10-12 12 11,12 11 10,11 10 10-15 12,15 11,12,14,15 11,14 10,11,13,14 10,13
13-15 15 14,15 14 13,14 13 13-18 15,18 14,15,17,18 14,17 13,14,16,17 13,16
16-18 18 17,18 17 16,17 16 16-21 18,21 17,18,20,21 17,20 16,17,19,20 16,19
19-21 21 20,21 20 19,20 19 19-24 21,24 20,21,23,24 20,23 19,20,22,23 19,22
22-24 24 23,24 23 22,23 22 22-27 24,27 23,24,26,27 23,26 22,23,25,26 22,25
25-27 27 26,27 26 25,26 25 25-30 27,30 26,27,29,30 26,29 25,26,28,29 25,28
28-30 30 29,30 29 28,29 28 28-33 30,33 29,30,32,33 29,32 28,29,31,32 28,31
31-33 33 32,33 32 31,32 31 31-36 33,36 32,33,35,36 32,35 31,32,34,35 31,34
34-36 36 35,36 35 34,35 34
1-12 // first dozen
13-24 // second dozen
25-36 // third dozen
1-18 // lower half
19-36 // upper half
X // top row (3,6,9,12...)
Y // middle row (2,5,8,11..)
Z // bottom row (1,4,7,10...)
E // even
O // odd
R // red
B // black

If there are open questions feel free to post them in here.

Have fun
Jump to: