Author

Topic: Looking for someone to make bustabit script, paying $20 (Read 2478 times)

legendary
Activity: 1463
Merit: 1886
A while ago, Dooglus posted a script he made:

https://bitcointalksearch.org/topic/m.9379308

which seems like it would fit your purposes. Since then there's been a minor API change, so here's the adapted version:

Code:
var baseBet = 10; // in Bits

var cashout;
var mult;

// set one of mult or cashout, and the other will be calculated for you:

// mult = 1.12;
cashout = 1.5;

// what percentage to increase the net profit by each time we lose a bet; 0 for pure martingale
greed_percent = 5;

if (!mult)
    mult = cashout / (cashout - 1) * (1 + greed_percent/100);
else if (!cashout)
    cashout = mult / (mult - 1) * (1 + greed_percent/100);

var satoshis = baseBet * 100;
var crash = Math.floor(cashout*100 + 1e-6);

var currentBet = false;

engine.on('game_starting', function () {
    if (currentBet && engine.lastGamePlay() === 'LOST')
        currentBet *= mult;
    else
        currentBet = satoshis;

    if (currentBet < engine.getBalance()) {
        console.log('place bet of', Math.round(currentBet/100), 'at', crash/100);
        engine.placeBet(Math.round(currentBet/100)*100, crash, false);
    }
    else {
        engine.stop();
        console.log('You ran out of bits :(');
    }
});

Give that a go, and let me know if it fits your needs
legendary
Activity: 1135
Merit: 1001
Don't think this should be in gambling. Maybe in the services board: https://bitcointalk.org/index.php?board=52.0 I think you can move the thread with a button below on the left side. Then choose the new board. And good luck with it.
full member
Activity: 353
Merit: 108
I'm looking for someone to make me a betting script for this site that I can also use on nxtbubble.com
I will pay 20 bucks in nxt or btc. I'll pay first if you're well known or we can use escrow.

Here's an idea of what I must have.

Each bet, the numbers have to adjust to maximum bet size and minimum multiplier to offset prior round's loss and leaving a small profit.   

Bet example:

My base bet it 1 nxt, 3 nxt is cash out goal.

1nxt is bet,  3x multiplier goal reached - - > cash out

1nxt is bet,  bust  comes before 3x  (-1nxt profit)  so
11nxt is bet, 1.1x multiplier  goal reached--> +1.1nxt profit,  cash out. Return to base bet of 1nxt.

11nxt is bet,  bust comes  before 1.1x  (- 11nxt profit) ,  so
111nxt is bet, 1.1x multiplier goal reached--> +11.1nxt profit, cash out.  Return to base bet of 1nxt.

111nxt is bet, bust comes before, 1.1x (- 111nxt profit) ,  so   
1111nxt is bet, 1.1x multiplier goal reached--> +111.1nxt profit, cash out.  Return to base bet of 1nxt.

so on and so forth.

I'll be adjusting the numbers on my own, will just need to know what numbers mean what.
Jump to: