Jump to content

Auto Vault?


Skydoll

Recommended Posts

  • 1 month later...

This used to work for me, but idk if it still does or not. All of my scripts seemed to bust more frequently whenever I would deposit while they were running so I stopped using it. But it absolutely did work properly in depositing to my vault.

 

if (runningBalalnce >= targetBalance) {
    var theCoin = 'BCD';
    var theAmount = 0.1;
    runningBalalnce -= 0.1;
   
    fetch("https://bc.game/api/vault/amount/recharge/", {
        "headers": {
            "accept": "application/json, text/plain, */*",
            "accept-language": "en-US,en;q=0.9",
            "content-type": "application/json",
            "sec-fetch-dest": "empty",
            "sec-fetch-mode": "cors",
            "sec-fetch-site": "same-origin",
            "sec-gpc": "1"
        },
        "referrer": "https://bc.game/wallet/vault",
        "referrerPolicy": "strict-origin-when-cross-origin",
        "body": `{\"currencyName\":\"${theCoin}\",\"amount\":${theAmount}}`,
        "method": "POST",
        "mode": "cors",
        "credentials": "include"
    })
   
    .then(r => r.json())
    .then(r => {
        if(r.code) console.log(r);
    })
    .catch(error => {
        console.log(error);
    });
}

Also I wasn't sure if this is allowed or not so I didn't want to take a chance.  I don't see why it would be against the rules, but you never know..

 

Link to comment
Share on other sites

<p>  Here is a variation that does it on an interval and doesn't require a bet to trigger it.  You also don't need to set the coin type with this one as it will use your current coin you will just have to restart the set interval when you change coins.  No clue what is going on with it wanting to wrap my shit in HTML tags but I will shoot you a message with it.  </p>
Link to comment
Share on other sites

  • 5 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...