Code Monkey home page Code Monkey logo

bot4stake's Introduction

bot4stake

a javascript coded bot for Stake, Primedice, copy-paste in the console. (Dice, Limbo, Crash, Slide, Keno, Plinko, Mines, Roulette, Wheel, Baccarat, Dragontower)
the strategy script must be coded in javascript, and not Lua script.

Videos:

install extension: https://vimeo.com/954123726
install console: https://cos.tv/videos/play/52855058251682816

Info:

Please favourite the repo in case you liked/used it. Thank you!

Discord: fisk_992
Stake: poky1084
Telegram:: @poky_1084

Use:

functions: resetseed('clientseed'), resetstats(), vault(amount), log('text'), start(), stop(), resetAll(), resetChart(), deleteLogs()

!!the strategy must be in dobet() method, and dobet() must be declared as shown below!!

nextbet = 0.00001 //in crypto format, not USD
chance = 98

dobet = function(){
 //strategy code
}

or:

function dobet(){
 //strategy code
}

Plinko:

game = "plinko"
rows = 8
risk = "low" 

Keno:

game = "keno"
numbers = [1,2,3,4,5,6,7,8]
risk = "low" 

Mines:

game = "mines"
fields = [1,2,3,4,5,6,7,8]
mines = 3 

Limbo:

game = "limbo"
chance = 49.5
nextbet = 0 

Dice:

game = "dice"
chance = 49.5
nextbet = 0
bethigh = false

Wheel:

game = "wheel"
nextbet = 0
risk = "low"
segments = "10"

baccarat:

game = "baccarat"
player = 0.001
banker = 0
tie = 0

dragon tower:

game = "dragontower"
nextbet = 0
difficulty = "easy"
eggs = [0,1]

Roulette:

game = "roulette"
chips = [{"value": "number0", "amount": 0.001},{"value": "colorBlack", "amount": 0.001}]

Crash:

game = "crash"
target = 1.5
chance = 99 / target
nextbet = 0 

Slide:

use: https://www.youtube.com/watch?v=TkDPeuxEOUM

game = "slide"
nextbet = 0.01
target = 1.5
chance = 99 / target

dobet = function(){

 if(id["identifier01"]){
    log("identifier01 won.")
 }

 if(id["identifier02"] == false){
    log("identifier02 lost.")
 }

 makebet(nextbet, chance, "identifier01")
 makebet(nextbet, chance, "identifier02")
 makebet(nextbet, chance, "identifier03")
}

bot4stake's People

Contributors

poky1084 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fangnub

bot4stake's Issues

My Limbo Script

Hey, I noticed nobody has started yet, so I'll do it now. Hereby, I present to you my versatile customizable script for Limbo.

var chance = getRandomNumber();
var nextbet = 0.001; // TRX min: 0.00017002;
var basebet = nextbet;
var betCount = 0; // Zähler für die Anzahl der Wetten

function getRandomNumber() {
    const randomNumber = Math.random();
    const lowProbability = 0.3;
    const mediumProbability = 0.3;
    const highProbability = 0.4;

    if (randomNumber < lowProbability) {
        return Math.random() * (45.0 - 34.1) + 0.0001;
    } else if (randomNumber < lowProbability + mediumProbability) {
        return Math.random() * (25.01980198 - 0.01980198) + 0.1;
    } else {
        return Math.random() * (0.10019900 - 0.00109900) + 0.001;
    }
}

// Beispiel für die Definition der win-Bedingung
var win = false; // Dies ist nur ein Platzhalter.

function resetSeed() {
    log("Resetting seed...");
    resetseed('clientseed'); // Hier wird der Seed zurückgesetzt
}

function dobet() {
  betCount++;
  if (betCount >= 10000) {
    resetSeed();
    betCount = 0; // Zurücksetzen des Zählers nach dem Seed-Reset
  }
  
  if (win) {
    nextbet = basebet;
  } else {
    // Setze die chance auf eine neue zufällige Zahl
    chance = getRandomNumber();
  }
  log("Betting " + nextbet + " on " + chance + " chance. Bet count: [" + betCount +"]");
}

// Beispiel für einen Aufruf der dobet-Funktion
dobet();

This script serves as a foundation for an automated betting procedure within a gambling system. It generates random betting chances, periodically resets the seed, and adjusts the betting amount based on the results. The script is flexible and can be further customized to implement specific win conditions or other betting strategies.

Customizable Parameters and Their Functions

This script contains several parameters that can be adjusted to influence the betting strategy and system behavior. Here are the key parameters and an explanation of their functions:

nextbet

  • Description: This is the amount of the next bet.
  • Default Value: 0.001 TRX
  • Function: Determines the initial and base amount for each bet. This amount is doubled after each loss or reset to the base value when a bet is won.

basebet

  • Description: This is the base betting amount.
  • Default Value: nextbet
  • Function: Stores the original betting amount to which nextbet is reset when a bet is won.

betCount

  • Description: Counter for the number of placed bets.
  • Default Value: 0
  • Function: Tracks the number of placed bets. After 1000 bets, the seed is reset, and the counter is reset to 0.

lowProbability, mediumProbability, highProbability

  • Description: These probabilities determine the distribution of the random numbers generated by the getRandomNumber function.
  • Default Values: 0.3, 0.3, 0.4
  • Function: Determine how often certain ranges of random numbers are selected. For example, lowProbability = 0.3 means there is a 30% chance that a random number will be generated in the low range.

Random Number Ranges in getRandomNumber

  • Description: These ranges determine the possible values generated by the getRandomNumber function.
    • Low Range: 34.1 to 45.0
    • Medium Range: 0.01980198 to 25.01980198
    • High Range: 0.00109900 to 0.10019900
  • Function: Determine the specific ranges of random numbers generated depending on the probability. These ranges can be adjusted to alter the betting odds.

win

  • Description: A placeholder for the win logic.
  • Default Value: false
  • Function: Used to determine whether the last bet was won. This variable should be updated based on the actual win logic of the game.

resetseed('clientseed')

  • Description: This function resets the seed.
  • Function: Resets the seed of the random number generator to reinitialize the random number distribution after a certain number of bets. This is called after 1000 bets.

Summary

By adjusting these parameters, various aspects of the betting strategy can be modified, including the bet amounts, the frequency of seed resets, and the distribution of random numbers. This allows for flexible customization of the script to different gaming scenarios and betting strategies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.