playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 16, 2013, 08:40:33 PM Last edit: November 18, 2013, 11:58:54 AM by playtin |
|
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 BTCWe 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 How it worksSelect the your game of choice on https://playt.inOpen 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: 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: var b=1; function roulette_bot() { if(last()) b=1; else b*=2; set("R",b); return "spin"; }
Function documentationcommon 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
|
|
|
|
spartacus_
Member
Offline
Activity: 88
Merit: 10
|
|
November 16, 2013, 08:55:56 PM |
|
Thanks. I will try it.
|
COINVALIDATION IS SLAVERY NAMECOIN IS FREEDOM BOYCOTT COINVALIDATION BUY NAMECOINS
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 17, 2013, 03:34:41 AM |
|
Thanks. I will try it.
Great! Looking forward to your post about your bot
|
|
|
|
seandaniel
|
|
November 17, 2013, 11:32:19 AM |
|
Hi, regarding your site
how much minimum withdrawal? howmuch deduction? is it real time?
Thanks
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 17, 2013, 12:39:57 PM |
|
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.
|
|
|
|
b!z
Legendary
Offline
Activity: 1582
Merit: 1010
|
|
November 17, 2013, 02:07:18 PM |
|
Nice! It's cool that the website directly supports gambling bots.
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 17, 2013, 05:10:26 PM |
|
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.
|
|
|
|
dagi
|
|
November 17, 2013, 06:04:45 PM |
|
ohhh, cool :-)
it's possible to run bot in "training mode" and watch balanc? i will try to write my own bot :-)
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 17, 2013, 07:45:38 PM |
|
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).
|
|
|
|
dagi
|
|
November 17, 2013, 08:07:18 PM |
|
thank you!
|
|
|
|
tubbyjr
|
|
November 17, 2013, 08:24:26 PM |
|
Could you give me an idea of what 'some' bitcoins would amount to?
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 17, 2013, 11:08:25 PM |
|
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
|
|
|
|
seandaniel
|
|
November 18, 2013, 03:36:14 AM |
|
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 Wanna try this
|
|
|
|
tubbyjr
|
|
November 18, 2013, 06:59:34 AM |
|
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. 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"; }
|
|
|
|
tubbyjr
|
|
November 18, 2013, 08:37:09 AM |
|
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. 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: 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
|
|
|
|
dagi
|
|
November 18, 2013, 02:07:14 PM Last edit: November 18, 2013, 04:32:06 PM by dagi |
|
And here is my bot for the roulette (beta) description is in code and it can be used as skeleton for other scripts... :-) /* ------------------------------------- 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
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 18, 2013, 11:42:56 PM |
|
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.
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 18, 2013, 11:49:03 PM |
|
And here is my bot for the roulette (beta) description is in code and it can be used as skeleton for other scripts... :-) /* ------------------------------------- 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 Amazing! Nice documentation, huge config section, excellent! You have set the bar very high for other submissions. Please post or PM me your public account identifier (from the account page, looks like [someChars]) and we will send you a nice reward.
|
|
|
|
tubbyjr
|
|
November 19, 2013, 01:14:53 AM |
|
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]
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 19, 2013, 02:05:10 AM |
|
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
|
|
|
|
|