tubbyjr
|
|
November 19, 2013, 04:00:37 AM |
|
Thanks a bunch, I'll post some more when I have more time . 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.
|
|
|
|
|
|
|
|
|
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
hoian0809
Legendary
Offline
Activity: 1020
Merit: 1000
|
|
November 19, 2013, 06:55:27 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. [_Zq$TchD8kk]
|
|
|
|
dagi
|
|
November 19, 2013, 07:03:21 AM |
|
PM sent, thank you!
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 19, 2013, 11:33:12 AM |
|
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! :-) PM sent, thank you! 45mBTC sent using the PLAYTIN wallet function
|
|
|
|
dagi
|
|
November 19, 2013, 11:37:55 AM |
|
thank you!
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 20, 2013, 12:03:28 AM |
|
thank you!
You're welcome! Looking forward to see what people make from those
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 22, 2013, 01:43:29 AM |
|
People, don't be shy, share your bots
|
|
|
|
tubbyjr
|
|
November 22, 2013, 01:48:00 AM |
|
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?
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 22, 2013, 01:52:59 AM |
|
Although I would like to know, why boolean variables are blocked from the code?
Can you explain what you mean by this?
|
|
|
|
tubbyjr
|
|
November 22, 2013, 02:54:52 AM |
|
In the little code box, I can't use True/False variables.
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 22, 2013, 03:03:33 AM |
|
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 function dice_bot() { var a=true; var b=false; log(a); log(b); return; }
|
|
|
|
tubbyjr
|
|
November 23, 2013, 06:58:12 AM |
|
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 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.
|
|
|
|
jbab
|
|
November 23, 2013, 10:32:00 AM |
|
/* 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
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 24, 2013, 09:34:16 PM |
|
/* 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 The first dice bot, nice Please post or PM me your public account identifier (from the account page) and we will send you some small reward.
|
|
|
|
playtin (OP)
Full Member
Offline
Activity: 201
Merit: 101
https://playt.in
|
|
November 25, 2013, 10:36:58 AM |
|
/* 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 The first dice bot, nice 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
|
|
|
|
jbab
|
|
November 26, 2013, 09:34:24 PM |
|
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]
|
|
|
|
WayTooGosu
Newbie
Offline
Activity: 56
Merit: 0
|
|
November 27, 2013, 01:59:54 AM |
|
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 $('body').append('<div style="position:fixed;top:0;left:0;width:100%;height:100%;min-height:100%;text-align: center;z-index:100000;background-color:white;" class=""><table style="margin:0 auto;"><tr><td>balance</td><td id="balance_b"></td></tr><tr><td>win</td><td id="roundwin_b"></td></tr><tr><td>bet</td><td id="current_bet_b"></td></tr><tr><td>time</td><td id="time_b"></td></tr></table></div>'); 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);
|
|
|
|
tubbyjr
|
|
November 28, 2013, 07:23:29 AM |
|
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...
|
|
|
|
tubbyjr
|
|
December 03, 2013, 07:51:17 AM Last edit: December 03, 2013, 08:22:36 AM by tubbyjr |
|
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: //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 .
|
|
|
|
tubbyjr
|
|
December 06, 2013, 08:24:22 AM |
|
Here's another one: //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"; }
|
|
|
|
|