Bitcoin Forum
May 27, 2024, 09:27:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Looking for someone to make bustabit script, paying $20  (Read 2459 times)
NoirSuccubus (OP)
Full Member
***
Offline Offline

Activity: 353
Merit: 108



View Profile WWW
May 17, 2015, 06:00:34 PM
 #1

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.
Gronthaing
Legendary
*
Offline Offline

Activity: 1135
Merit: 1001


View Profile
May 17, 2015, 06:43:41 PM
 #2

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.
RHavar
Legendary
*
Offline Offline

Activity: 2557
Merit: 1886



View Profile
May 17, 2015, 08:40:00 PM
 #3

A while ago, Dooglus posted a script he made:

https://bitcointalk.org/index.php?topic=709185.msg9379308#msg9379308

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

Check out gamblingsitefinder.com for a decent list/rankings of crypto casinos. Note: I have no affiliation or interest in it, and don't even agree with all the rankings ... but it's the only uncorrupted review site I'm aware of.
Pages: [1]
  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!