Pages:
Author

Topic: PLAYTIN JavaScript Gambling Bot - post your bot and get free BTC (Read 8466 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
Pages:
Jump to: