Bitcoin Forum
April 27, 2024, 08:03:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Freebitco.in Autoplayer  (Read 23707 times)
JasonWoods (OP)
Member
**
Offline Offline

Activity: 61
Merit: 11


View Profile
May 24, 2014, 12:04:32 PM
 #21

Unfortunately there doesn't seem to be much interest, so I'll just release it for everybody.
If you find it useful, please drop something into my tipjar in my signature, thanks.

Code:
var minstake   = 0.00000001;  // minimum stake
var autorounds = 500;         // play 500 rounds only
var handbrake  = 0.00001024;  // pause when stake reaches 1024 Satoshis
var autoruns   = 1;
function playnow() {
if (autoruns > autorounds ) { console.log('Limit reached'); return; }
document.getElementById('double_your_btc_bet_hi_button').click();
setTimeout(checkresults, 100);
return;
}
function checkresults() {
if (document.getElementById('double_your_btc_bet_hi_button').disabled === true) {
setTimeout(checkresults, 100);
return;
}
var stake = document.getElementById('double_your_btc_stake').value * 1;
var won = document.getElementById('double_your_btc_bet_win').innerHTML;
if (won.match(/(\d+\.\d+)/) !== null) { won = won.match(/(\d+\.\d+)/)[0]; } else { won = false; }
var lost = document.getElementById('double_your_btc_bet_lose').innerHTML;
if (lost.match(/(\d+\.\d+)/) !== null) { lost = lost.match(/(\d+\.\d+)/)[0]; } else { lost = false; }
if (won && !lost) { stake = minstake; console.log('Bet #' + autoruns + '/' + autorounds + ': Won  ' + won  + ' Stake: ' + stake.toFixed(8)); }
if (lost && !won) { stake = lost * 2; console.log('Bet #' + autoruns + '/' + autorounds + ': Lost ' + lost + ' Stake: ' + stake.toFixed(8)); }
if (!won && !lost) { console.log('Something went wrong'); return; }
document.getElementById('double_your_btc_stake').value = stake.toFixed(8);
autoruns++;
if (stake >= handbrake) {
document.getElementById('handbrakealert').play();
console.log('Handbrake triggered! Execute playnow() to override');
return;
}
setTimeout(playnow, 100);
return;
}
document.getElementById('double_your_btc_stake').value = minstake.toFixed(8);
var sound = document.createElement('audio');
sound.id = 'handbrakealert';
sound.src = 'http://www.mediacollege.com/downloads/sound-effects/star-trek/tos/tos-redalert.wav';
sound.preload = 'auto';
document.getElementsByTagName('body')[0].appendChild(sound);

Usage:
Open the webconsole in Firefox by pressing CTRL+SHIFT+K
Disable "Net" and "CSS" logging to hide distracting output
Copy & Paste the above code into the console and hit enter
Type in "playnow();" (no quotes) and hit enter to start
Sit back and watch
If you get a handbrake alert, just do "playnow();" (or cursor-up) again (you can adjust your stake before you do).
You can change the stake limit anytime by issuing eg "handbrake = 0.00010240;"
Same for the minimum stake: "minstake = 0.00000010;"

Hints:
Try to play while there is no 1 hour countdown running (or pause the script) because the page reloads and that messes up the game.
The script tries to play as fast as possible. However, freebitcoin throttles you after some time (by account, not IP I think)
Pay attention to typos. A stake of 0.000001 kills you faster than 0.0000001 (personal experience)
If you want to stop before the limit is reached, change the limit (with eg "autorounds = 1;")
Try with 1 Satoshi as minimum first. Remember that losses need to be covered exponentially (3 losses: bet 8, 4 losses: bet 16, and so on)
1714248229
Hero Member
*
Offline Offline

Posts: 1714248229

View Profile Personal Message (Offline)

Ignore
1714248229
Reply with quote  #2

1714248229
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714248229
Hero Member
*
Offline Offline

Posts: 1714248229

View Profile Personal Message (Offline)

Ignore
1714248229
Reply with quote  #2

1714248229
Report to moderator
1714248229
Hero Member
*
Offline Offline

Posts: 1714248229

View Profile Personal Message (Offline)

Ignore
1714248229
Reply with quote  #2

1714248229
Report to moderator
1714248229
Hero Member
*
Offline Offline

Posts: 1714248229

View Profile Personal Message (Offline)

Ignore
1714248229
Reply with quote  #2

1714248229
Report to moderator
bitgoldencoin
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile WWW
May 24, 2014, 06:58:05 PM
 #22

Nice code
I like the usability of it, any chance you could add a random command to switch between betting hi and lo every time you hit a win status rather then continuously betting hi?

What I will do is create a new account, and as a thank you give me your referral link to frebitco.in so you can receive a kick back from my code testing, i play the faucet everyday when I am on my computer
JasonWoods (OP)
Member
**
Offline Offline

Activity: 61
Merit: 11


View Profile
May 24, 2014, 09:17:06 PM
 #23

Nice code
I like the usability of it, any chance you could add a random command to switch between betting hi and lo every time you hit a win status rather then continuously betting hi?

What I will do is create a new account, and as a thank you give me your referral link to frebitco.in so you can receive a kick back from my code testing, i play the faucet everyday when I am on my computer
Thanks. I added the hi-lo swapping and it seems to work. Although I'm not sure if it makes any difference in the results.
My referer is freebitco.in/?r=23107

Code:
var minstake   = 0.00000001;  // minimum stake
var autorounds = 500;         // play 500 rounds only
var handbrake  = 0.00001024;  // pause when stake reaches 1024 Satoshis
var autoruns   = 1;
var hiloswap   = 0;
function playnow() {
if (autoruns > autorounds ) { console.log('Limit reached'); return; }
if (hiloswap == 0) { document.getElementById('double_your_btc_bet_hi_button').click(); }
else { document.getElementById('double_your_btc_bet_lo_button').click(); }
setTimeout(checkresults, 100);
return;
}
function checkresults() {
if (document.getElementById('double_your_btc_bet_hi_button').disabled === true) {
setTimeout(checkresults, 100);
return;
}
var stake = document.getElementById('double_your_btc_stake').value * 1;
var won = document.getElementById('double_your_btc_bet_win').innerHTML;
if (won.match(/(\d+\.\d+)/) !== null) { won = won.match(/(\d+\.\d+)/)[0]; } else { won = false; }
var lost = document.getElementById('double_your_btc_bet_lose').innerHTML;
if (lost.match(/(\d+\.\d+)/) !== null) { lost = lost.match(/(\d+\.\d+)/)[0]; } else { lost = false; }
if (won && !lost) {
stake = minstake;
hiloswap = (hiloswap + 1) % 2;
console.log('Bet #' + autoruns + '/' + autorounds + ': Won  ' + won  + ' Stake: ' + stake.toFixed(8));
}
if (lost && !won) {
stake = lost * 2;
console.log('Bet #' + autoruns + '/' + autorounds + ': Lost ' + lost + ' Stake: ' + stake.toFixed(8));
}
if (!won && !lost) { console.log('Something went wrong'); return; }
document.getElementById('double_your_btc_stake').value = stake.toFixed(8);
autoruns++;
if (stake >= handbrake) {
document.getElementById('handbrakealert').play();
console.log('Handbrake triggered! Execute playnow() to override');
return;
}
setTimeout(playnow, 100);
return;
}
document.getElementById('double_your_btc_stake').value = minstake.toFixed(8);
var sound = document.createElement('audio');
sound.id = 'handbrakealert';
sound.src = 'http://www.mediacollege.com/downloads/sound-effects/star-trek/tos/tos-redalert.wav';
sound.preload = 'auto';
document.getElementsByTagName('body')[0].appendChild(sound);
Laboboy31
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
May 25, 2014, 02:06:24 PM
 #24

I created a faster bot.
Code:

$('#double_your_btc_bet_win').bind('DOMNodeInserted', function(event) {
if( $('#double_your_btc_bet_lose').is(':empty') )
{
   $("#double_your_btc_min").click();
   $("#double_your_btc_bet_hi_button").click();
}
else
{
   $("#double_your_btc_2x").click();
   $("#double_your_btc_bet_hi_button").click();
}
   
});
$('#double_your_btc_bet_lose').bind('DOMNodeInserted', function(event) {
if( $('#double_your_btc_bet_lose').is(':empty') )
{
   $("#double_your_btc_min").click();
   $("#double_your_btc_bet_hi_button").click();
}
else
{
   $("#double_your_btc_2x").click();
   $("#double_your_btc_bet_hi_button").click();
}
    });
JasonWoods (OP)
Member
**
Offline Offline

Activity: 61
Merit: 11


View Profile
May 25, 2014, 02:31:58 PM
 #25

I created a faster bot.
Which is pointless because freebitco.in throttles you.
And it offers no features at all, that's like a straight path to failure.
Can people only use jquery these days?
ondratra
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
May 30, 2014, 12:10:58 AM
 #26

I have written an automatic martingale player. It just needs to be copy & pasted into the webconsole of Firefox and keeps on playing until it either reaches a certain amount of rounds, or a stake limit (with audio alert).

If anybody is interested, pm me an offer and I'll clean up the code (it's not obfuscated so you can easily work on it).

It's for scientific/educational purposes and losses may occur. Sold as is.

EDIT:
I posted the script later in this thread. If you like it, please tip me Smiley


How you want to avoid captcha? =-O
sameev29
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
May 30, 2014, 07:11:12 AM
 #27

I created a faster bot.
Which is pointless because freebitco.in throttles you.
And it offers no features at all, that's like a straight path to failure.
Can people only use jquery these days?


I can give a tip of 0.02BTC to someone who can make this program more accurate and perfect.
JasonWoods (OP)
Member
**
Offline Offline

Activity: 61
Merit: 11


View Profile
May 30, 2014, 08:15:55 AM
 #28

How you want to avoid captcha? =-O
Not at all? The script isn't requesting the hourly freebie, but for automatic betting.

I can give a tip of 0.02BTC to someone who can make this program more accurate and perfect.
How would it get more accurate and perfect? If you know a way to predict the random outcome of a bet, I'm willing to listen.
Chrithu
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
May 30, 2014, 08:49:41 AM
 #29

Interesting.

I wonder if it would be a valid strategy to use martingale to test what typically is the longest straight of losses occuring and then to bet maxamount if you have run into such a straight.

Example: Let's say we find out over the course of 10,000 bets that the maximum straight of losses we ran into was 16. From then on in we adjust the strategy to martingale if we see fewer losses in a row, but if we see a 16th loss we bet a very high or even the maximum possible amount. Or even more aggressively we do not martingale at all but instead bet the minbet amount until we saw a row of 16 losses and then bet a high or the max amount.

Is anyone here educated in maths? Does the probability of winning the next roll rise with the number of losses in a row?

amacar
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


View Profile
May 30, 2014, 09:19:14 AM
 #30

It is not worth trying because unless you have >100BTC on your account, you will lose at the end  Sad

Just for info:
Quote
it has been reported that in Casino Monte Carlo, Monaco, red came up 39 times in a row

So if there is a long strike of opposite colors, your balance will go to 0  Sad
(Another fun fact: if your starting bid is 1 satoshi, and there is 39 opposite colors in a row you would need 5497.55813888 BTC to not change your balance to 0)
Chrithu
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
May 30, 2014, 09:25:38 AM
 #31

Lol I just tested your autoplayer and now the site is unavailable.

Do they block your ip if you play too fast?

It stopped working after exactly 1000 bets.

Lol yeah seems so. I just reconnected to the internet to change IP and can get on the site again.

charmees
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
May 30, 2014, 09:31:21 AM
 #32

martingale is not a winning strategy.
mnporter2001
Sr. Member
****
Offline Offline

Activity: 602
Merit: 250


HEX: Longer pays better


View Profile
May 30, 2014, 11:23:30 AM
 #33

Lol I just tested your autoplayer and now the site is unavailable.

Do they block your ip if you play too fast?

It stopped working after exactly 1000 bets.

Lol yeah seems so. I just reconnected to the internet to change IP and can get on the site again.

Im glad I read that before I tried lol

I set mine to 300 and it was fine, didn't win much but then I wasn't risking much, will try again a little later with a larger bet

Thanks OP working great


        ████████████████████
       ██████████████████████
      ████████████████████████
     ██████████████████████████
    ████████████████████████████
   ████               ▀██████████
  ████  ██████████████  ██████████
████  ████████████████  ██████████▄
████  ██████████████████  █████████▀
██  ████████████████████  ███████
    ███          █████████  █████
   ███  ███████   ███████  █████
       █████████   █████  █████
      ███████████   ███  █████
       █████████   ███  █████
        ███████   ███  █████



















Powered by,
gondel
Legendary
*
Offline Offline

Activity: 1946
Merit: 1005


View Profile
May 30, 2014, 12:04:34 PM
 #34

Hi,
Where i ewctly puty this script?
mnporter2001
Sr. Member
****
Offline Offline

Activity: 602
Merit: 250


HEX: Longer pays better


View Profile
May 30, 2014, 12:09:52 PM
 #35

Worked pretty well set at this :

var minstake   = 0.00000030;  // minimum stake
var autorounds = 200;         // play 500 rounds only
var handbrake  = 0.00000960;  // pause when stake reaches 1024 Satoshis
var autoruns   = 1;


        ████████████████████
       ██████████████████████
      ████████████████████████
     ██████████████████████████
    ████████████████████████████
   ████               ▀██████████
  ████  ██████████████  ██████████
████  ████████████████  ██████████▄
████  ██████████████████  █████████▀
██  ████████████████████  ███████
    ███          █████████  █████
   ███  ███████   ███████  █████
       █████████   █████  █████
      ███████████   ███  █████
       █████████   ███  █████
        ███████   ███  █████



















Powered by,
JasonWoods (OP)
Member
**
Offline Offline

Activity: 61
Merit: 11


View Profile
May 30, 2014, 12:30:53 PM
 #36

Does the probability of winning the next roll rise with the number of losses in a row?
No. Every roll is independant from any previous or future rolls. It's basically like flipping a coin.

Lol I just tested your autoplayer and now the site is unavailable.

Do they block your ip if you play too fast?

It stopped working after exactly 1000 bets.

Lol yeah seems so. I just reconnected to the internet to change IP and can get on the site again.
That's new then. I had no problems running 1000+ rounds. Only got throttled after some time.

Thanks OP working great
Glad to hear that Smiley

Hi,
Where i ewctly puty this script?
I put up a step by step howto in a previous post
sameev29
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
May 30, 2014, 03:42:10 PM
 #37

Worked pretty well set at this :

var minstake   = 0.00000030;  // minimum stake
var autorounds = 200;         // play 500 rounds only
var handbrake  = 0.00000960;  // pause when stake reaches 1024 Satoshis
var autoruns   = 1;

I don't see these lines anywhere among the codes.
Thyaga
Sr. Member
****
Offline Offline

Activity: 644
Merit: 250



View Profile
May 30, 2014, 04:11:32 PM
 #38

Worked pretty well set at this :

var minstake   = 0.00000030;  // minimum stake
var autorounds = 200;         // play 500 rounds only
var handbrake  = 0.00000960;  // pause when stake reaches 1024 Satoshis
var autoruns   = 1;

I don't see these lines anywhere among the codes.

Don't you see at the OP Script here https://bitcointalk.org/index.php?topic=620422.msg6911118#msg6911118 at The first line of the script.
he changed his setting stakes as he writes.
onlinepro
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500



View Profile
June 07, 2014, 10:08:12 AM
 #39

Hi, I really liked that script.
Could you make non martingale script too?
And can you make it work with dogecoins too?

JasonWoods (OP)
Member
**
Offline Offline

Activity: 61
Merit: 11


View Profile
June 08, 2014, 10:22:02 AM
 #40

Hi, I really liked that script.
Could you make non martingale script too?
And can you make it work with dogecoins too?
What method but martingale are you thinking of?

To be honest I'm not really enthusiastic to work on it. It looks like people use it, but not a single one bothered to tip.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!