Advertisement
Guest User

nlgv2

a guest
Nov 11th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. const baseBet = 200 //base bet (in sats) const baseTarget = 1.20 //base target const maxRolls = 200 //max rolls script will do const infiniteRolls = true //ignores max rolls const changeSeedAfterY = 200 //change seed after this many rolls let target = baseTarget //initialize target as base let betCount = 0 //bet count if using max rolls this.log(`Give me all the wins!...`) while (betCount < maxRolls || infiniteRolls) { //make bet, wait for result const {multiplier} = await this.bet(baseBet, target) if (multiplier < target) { //loss this.log(`Loss. :/`) //increase target by baseTarget target = target + baseTarget } else { //win //set target back to baseTarget target = baseTarget this.log(`Win.`) } betCount++ if (betCount % changeSeedAfterY == 0 && betCount != 0) { const { server_seed_hash } = await this.newSeedPair() await this.log("The new server seed has the hash: ", server_seed_hash) // set the client seed const clientSeed = randomSeed() await this.setClientSeed(clientSeed) await this.log("The client seed was set to: ", clientSeed) } } function randomSeed() { const words = ['Alpha ','Bra3qtwvo ','Charlie ','Delta ','Echo ', 'Foxtrot ','Go3tewlf ','Hotel ','Indda ','Juliet ', 'Kiqagalo ','L24rqwima ','Mirhe ','November ','Oscar ', 'Papayww ','Quebec ','Romeo ','Sierra ','Tango ', 'Uniform ','Victor ','Whiskey ','X-ray ','pooper ','Zulu '] return words[Math.floor(words.length * Math.random())] + words[Math.floor(words.length * Math.random())] + words[Math.floor(words.length * Math.random())] }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement