Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Handmade Character Soft Toy Bluey Bingo
anil1961
Updated:
Monday at 3:55 PM
Colombo
Dahua POE Switch 8 Ports (DH-PFS3010-8ET-65)
hashaz2012
Updated:
Monday at 11:56 AM
Ad icon
Singapore V2Ray VPN for Tunneling
hu KANNA
Updated:
Friday at 10:01 AM
Dating Website & Online Chat Room
hotvideo
Updated:
Jul 30, 2026
DJI Mini 4 Pro Drone Combo Plus
Hawaka
Updated:
Jul 30, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Business & Marketing
eMoney (Internet Marketing & Business)
$5ක් වටින BustaBit Script ෆෝ FREE
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="TharushiKU" data-source="post: 21286948" data-attributes="member: 560651"><p><strong><span style="font-size: 12px">BustaBit කරන අයට ලොස්ට් වෙන එක අඩු වෙන්න මෙන්න මේ ස්ක්රිප්ට් එක දා ගන්න තියෙන්නෙ. මේක කට්ටිය විකුණන්නෙ $5ට...</span></strong></p><p><strong><span style="font-size: 12px">සල්ලි ලැබුන වෙලාවක ඕක ලියපු කෙනාට $1ක් $2ක් ඩොනේට් කරන්න එහෙම නම්</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"><a href="https://www.bustabit.com/play" target="_blank">https://www.bustabit.com/play</a> ලින්ක් එකට ගිහින් ඔටෝ කියන එක ක්ලික් කරන්න,</span></strong></p><p><strong><span style="font-size: 12px">ඊට පස්සෙ කස්ටම් කියන එක ක්ලික් කරලා ඒකේ තියෙන බහුබූත ටික මකන්න. ඊළඟට මේක එතනට පේස්ට් කරන්න</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">[PHP]var baseBet = 10; // In bits</span></strong></p><p><strong><span style="font-size: 12px">var baseMultiplier = 1.33; // Target multiplier: 1.33 recommended</span></strong></p><p><strong><span style="font-size: 12px">var variableBase = false; // Enable variable mode (very experimental), read streakSecurity.</span></strong></p><p><strong><span style="font-size: 12px">var streakSecurity = 3; // Number of loss-streak you wanna be safe for. Increasing this massively reduces the variableBase calculated. (1-loss = 30%, 3-loss = 5%, 3-loss = 1.35% of your maximum balance). Recommended: 3+</span></strong></p><p><strong><span style="font-size: 12px">var maximumBet = 999999999; // Maximum bet the bot will do (in bits).</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">// Pause settings</span></strong></p><p><strong><span style="font-size: 12px">var pauseThreshold = 20; // when game crashes above this, betting pauses</span></strong></p><p><strong><span style="font-size: 12px">var continueThreshold = 2; // when paused and the game crashes above this, betting resumes</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">var pauseAfterNLosses = 3; </span></strong></p><p><strong><span style="font-size: 12px">var pauseForMGames = 7;</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">/******************/</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">pauseThreshold = Math.round(pauseThreshold * 100);</span></strong></p><p><strong><span style="font-size: 12px">continueThreshold = Math.round(continueThreshold * 100);</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">// Variables - Do not touch!</span></strong></p><p><strong><span style="font-size: 12px">var baseSatoshi = baseBet * 100; // Calculated</span></strong></p><p><strong><span style="font-size: 12px">var currentBet = baseSatoshi;</span></strong></p><p><strong><span style="font-size: 12px">var currentMultiplier = baseMultiplier;</span></strong></p><p><strong><span style="font-size: 12px">var currentGameID = -1;</span></strong></p><p><strong><span style="font-size: 12px">var firstGame = true;</span></strong></p><p><strong><span style="font-size: 12px">var lossStreak = 0;</span></strong></p><p><strong><span style="font-size: 12px">var coolingDown = false;</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">var lostLast = false;</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">// Pause Variables</span></strong></p><p><strong><span style="font-size: 12px">var currentGameData;</span></strong></p><p><strong><span style="font-size: 12px">var lastCrash = (continueThreshold + pauseThreshold)/3;</span></strong></p><p><strong><span style="font-size: 12px">var paused = false;</span></strong></p><p><strong><span style="font-size: 12px">var pauseLossStreak = 0;</span></strong></p><p><strong><span style="font-size: 12px">var pausedFor = 0;</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">// Initialization</span></strong></p><p><strong><span style="font-size: 12px">console.log('====== BustaBit Bot ======');</span></strong></p><p><strong><span style="font-size: 12px">console.log('My username is: ' + engine.getUsername());</span></strong></p><p><strong><span style="font-size: 12px">console.log('Starting balance: ' + (engine.getBalance() / 100).toFixed(3) + ' bits');</span></strong></p><p><strong><span style="font-size: 12px">var startingBalance = engine.getBalance();</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">if (variableBase) {</span></strong></p><p><strong><span style="font-size: 12px"> console.warn('[WARN] Variable mode is enabled and not fully tested. Bot is resillient to ' + streakSecurity + '-loss streaks.');</span></strong></p><p><strong><span style="font-size: 12px">}</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">// On a game starting, place the bet.</span></strong></p><p><strong><span style="font-size: 12px">engine.on('game_starting', function(info) {</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> console.log('====== New Game ======');</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"> /********************/</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> if(lastCrash >= pauseThreshold) {</span></strong></p><p><strong><span style="font-size: 12px"> paused = true;</span></strong></p><p><strong><span style="font-size: 12px"> console.log("Pausing Betting");</span></strong></p><p><strong><span style="font-size: 12px"> return;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> if(paused) {</span></strong></p><p><strong><span style="font-size: 12px"> if(lastCrash >= continueThreshold) {</span></strong></p><p><strong><span style="font-size: 12px"> console.log("Continuing Betting");</span></strong></p><p><strong><span style="font-size: 12px"> lastCrash = (continueThreshold + pauseThreshold)/3;</span></strong></p><p><strong><span style="font-size: 12px"> paused = false;</span></strong></p><p><strong><span style="font-size: 12px"> } else {</span></strong></p><p><strong><span style="font-size: 12px"> console.log("Betting Is Paused");</span></strong></p><p><strong><span style="font-size: 12px"> return;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> /********************/</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> if(pausedFor > 0) {1</span></strong></p><p><strong><span style="font-size: 12px"> pausedFor++;</span></strong></p><p><strong><span style="font-size: 12px"> if(pausedFor <= pauseForMGames) {</span></strong></p><p><strong><span style="font-size: 12px"> console.log("Paused " + pausedFor + " of " + pauseForMGames + " games");</span></strong></p><p><strong><span style="font-size: 12px"> return;</span></strong></p><p><strong><span style="font-size: 12px"> } else {</span></strong></p><p><strong><span style="font-size: 12px"> console.log("Resuming");</span></strong></p><p><strong><span style="font-size: 12px"> pausedFor = 0;</span></strong></p><p><strong><span style="font-size: 12px"> pauseLossStreak = 0;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> } </span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> if(pauseLossStreak >= pauseAfterNLosses) {</span></strong></p><p><strong><span style="font-size: 12px"> console.log("Pausing for 1 of " + pauseForMGames + " games");</span></strong></p><p><strong><span style="font-size: 12px"> pausedFor = 1;</span></strong></p><p><strong><span style="font-size: 12px"> return;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> /********************/</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> console.log('[Bot] Game #' + info.game_id);</span></strong></p><p><strong><span style="font-size: 12px"> currentGameID = info.game_id;</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"> if (coolingDown) { </span></strong></p><p><strong><span style="font-size: 12px"> if (lossStreak == 0) {</span></strong></p><p><strong><span style="font-size: 12px"> coolingDown = false;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> else {</span></strong></p><p><strong><span style="font-size: 12px"> lossStreak--;</span></strong></p><p><strong><span style="font-size: 12px"> console.log('[Bot] Cooling down! Games remaining: ' + lossStreak);</span></strong></p><p><strong><span style="font-size: 12px"> return;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"> if (!firstGame) { // Display data only after first game played.</span></strong></p><p><strong><span style="font-size: 12px"> console.log('[Stats] Session profit: ' + ((engine.getBalance() - startingBalance) / 100).toFixed(3) + ' bits');</span></strong></p><p><strong><span style="font-size: 12px"> console.log('[Stats] Profit percentage: ' + (((engine.getBalance() / startingBalance) - 1) * 100).toFixed(3) + '%');</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"> if (lostLast && !firstGame) {//if (engine.lastGamePlay() == 'LOST' && !firstGame) { // If last game loss:</span></strong></p><p><strong><span style="font-size: 12px"> lossStreak++;</span></strong></p><p><strong><span style="font-size: 12px"> var totalLosses = 0; // Total satoshi lost.</span></strong></p><p><strong><span style="font-size: 12px"> var lastLoss = currentBet; // Store our last bet.</span></strong></p><p><strong><span style="font-size: 12px"> while (lastLoss >= baseSatoshi) { // Until we get down to base bet, add the previous losses.</span></strong></p><p><strong><span style="font-size: 12px"> totalLosses += lastLoss;</span></strong></p><p><strong><span style="font-size: 12px"> lastLoss /= 3;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"> if (lossStreak > streakSecurity) { // If we're on a loss streak, wait a few games!</span></strong></p><p><strong><span style="font-size: 12px"> coolingDown = true;</span></strong></p><p><strong><span style="font-size: 12px"> return;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"> currentBet *= 3; // Then multiply base bet by 3!</span></strong></p><p><strong><span style="font-size: 12px"> currentMultiplier = 1 + (totalLosses / currentBet);</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> else { // Otherwise if win or first game:</span></strong></p><p><strong><span style="font-size: 12px"> lossStreak = 0; // If it was a win, we reset the lossStreak.</span></strong></p><p><strong><span style="font-size: 12px"> if (variableBase) { // If variable bet enabled.</span></strong></p><p><strong><span style="font-size: 12px"> // Variable mode resists (currently) 1 loss, by making sure you have enough to cover the base and the 3x base bet.</span></strong></p><p><strong><span style="font-size: 12px"> var divider = 100;</span></strong></p><p><strong><span style="font-size: 12px"> for (i = 0; i < streakSecurity; i++) {</span></strong></p><p><strong><span style="font-size: 12px"> divider += (100 * Math.pow(3, (i + 1)));</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"> newBaseBet = Math.min(Math.max(1, Math.floor(engine.getBalance() / divider)), maximumBet * 100); // In bits</span></strong></p><p><strong><span style="font-size: 12px"> newBaseSatoshi = newBaseBet * 100;</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"> if ((newBaseBet != baseBet) || (newBaseBet == 1)) {</span></strong></p><p><strong><span style="font-size: 12px"> console.log('[Bot] Variable mode has changed base bet to: ' + newBaseBet + ' bits');</span></strong></p><p><strong><span style="font-size: 12px"> baseBet = newBaseBet;</span></strong></p><p><strong><span style="font-size: 12px"> baseSatoshi = newBaseSatoshi;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> // Update bet.</span></strong></p><p><strong><span style="font-size: 12px"> currentBet = baseSatoshi; // in Satoshi</span></strong></p><p><strong><span style="font-size: 12px"> currentMultiplier = baseMultiplier;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"> // Message and set first game to false to be sure.</span></strong></p><p><strong><span style="font-size: 12px"> console.log('[Bot] Betting ' + (currentBet / 100) + ' bits, cashing out at ' + currentMultiplier + 'x');</span></strong></p><p><strong><span style="font-size: 12px"> firstGame = false;</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px"> if (currentBet <= engine.getBalance()) { // Ensure we have enough to bet</span></strong></p><p><strong><span style="font-size: 12px"> if (currentBet > (maximumBet * 100)) { // Ensure you only bet the maximum.</span></strong></p><p><strong><span style="font-size: 12px"> console.warn('[Warn] Bet size exceeds maximum bet, lowering bet to ' + (maximumBet * 100) + ' bits');</span></strong></p><p><strong><span style="font-size: 12px"> currentBet = maximumBet;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> engine.placeBet(currentBet, Math.round(currentMultiplier * 100), false);</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> else { // Otherwise insufficent funds...</span></strong></p><p><strong><span style="font-size: 12px"> if (engine.getBalance() < 100) {</span></strong></p><p><strong><span style="font-size: 12px"> console.error('[Bot] Insufficent funds to do anything... stopping');</span></strong></p><p><strong><span style="font-size: 12px"> engine.stop();</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> else {</span></strong></p><p><strong><span style="font-size: 12px"> console.warn('[Bot] Insufficent funds to bet ' + (currentBet / 100) + ' bits.');</span></strong></p><p><strong><span style="font-size: 12px"> console.warn('[Bot] Resetting to 1 bit basebet');</span></strong></p><p><strong><span style="font-size: 12px"> baseBet = 1;</span></strong></p><p><strong><span style="font-size: 12px"> baseSatoshi = 100;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px">});</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">engine.on('game_started', function(data) {</span></strong></p><p><strong><span style="font-size: 12px"> if (!firstGame) { console.log('[Bot] Game #' + currentGameID + ' has started!'); }</span></strong></p><p><strong><span style="font-size: 12px"> currentGameData = data;</span></strong></p><p><strong><span style="font-size: 12px">});</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">engine.on('cashed_out', function(data) {</span></strong></p><p><strong><span style="font-size: 12px"> if (data.username == engine.getUsername()) { </span></strong></p><p><strong><span style="font-size: 12px"> console.log('[Bot] Successfully cashed out at ' + (data.stopped_at / 100) + 'x');</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px">});</span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p><p><strong><span style="font-size: 12px">engine.on('game_crash', function(data) {</span></strong></p><p><strong><span style="font-size: 12px"> if (!firstGame) { console.log('[Bot] Game crashed at ' + (data.game_crash / 100) + 'x'); }</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> /********************/</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> lastCrash = data.game_crash;</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> if (!currentGameData || !currentGameData.hasOwnProperty(engine.getUsername())) {</span></strong></p><p><strong><span style="font-size: 12px"> return;</span></strong></p><p><strong><span style="font-size: 12px"> };</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> lostLast = engine.lastGamePlay() == 'LOST';</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> console.log((lostLast ? "Lost" : "Won") + " this game.");</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> /********************/</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> if(!lostLast) {</span></strong></p><p><strong><span style="font-size: 12px"> pauseLossStreak = 0;</span></strong></p><p><strong><span style="font-size: 12px"> } else {</span></strong></p><p><strong><span style="font-size: 12px"> pauseLossStreak++;</span></strong></p><p><strong><span style="font-size: 12px"> }</span></strong></p><p><strong><span style="font-size: 12px"> </span></strong></p><p><strong><span style="font-size: 12px"> /********************/</span></strong></p><p><strong><span style="font-size: 12px">});[/PHP]දැන් ඉතින් රන් වෙන්න දාලා බලන් ඉන්න තියෙන්නෙ.</span></strong></p><p><strong><span style="font-size: 12px">මේක දැම්මා කියලා පැරදෙන්නෙ නැතුවම යන්නේ නැහැ.</span></strong></p><p><strong><span style="font-size: 12px">ඒත් පැරදෙන එක අඩු වෙනවා... පැරදෙන ඒවා කවර් වෙනවා <img src="/styles/default/xenforo/smilies/default/love.gif" class="smilie" loading="lazy" alt=":love:" title="Love :love:" data-shortname=":love:" /></span></strong></p><p><strong><span style="font-size: 12px"></span></strong></p></blockquote><p></p>
[QUOTE="TharushiKU, post: 21286948, member: 560651"] [B][SIZE=3]BustaBit කරන අයට ලොස්ට් වෙන එක අඩු වෙන්න මෙන්න මේ ස්ක්රිප්ට් එක දා ගන්න තියෙන්නෙ. මේක කට්ටිය විකුණන්නෙ $5ට... සල්ලි ලැබුන වෙලාවක ඕක ලියපු කෙනාට $1ක් $2ක් ඩොනේට් කරන්න එහෙම නම් [URL]https://www.bustabit.com/play[/URL] ලින්ක් එකට ගිහින් ඔටෝ කියන එක ක්ලික් කරන්න, ඊට පස්සෙ කස්ටම් කියන එක ක්ලික් කරලා ඒකේ තියෙන බහුබූත ටික මකන්න. ඊළඟට මේක එතනට පේස්ට් කරන්න [PHP]var baseBet = 10; // In bits var baseMultiplier = 1.33; // Target multiplier: 1.33 recommended var variableBase = false; // Enable variable mode (very experimental), read streakSecurity. var streakSecurity = 3; // Number of loss-streak you wanna be safe for. Increasing this massively reduces the variableBase calculated. (1-loss = 30%, 3-loss = 5%, 3-loss = 1.35% of your maximum balance). Recommended: 3+ var maximumBet = 999999999; // Maximum bet the bot will do (in bits). // Pause settings var pauseThreshold = 20; // when game crashes above this, betting pauses var continueThreshold = 2; // when paused and the game crashes above this, betting resumes var pauseAfterNLosses = 3; var pauseForMGames = 7; /******************/ pauseThreshold = Math.round(pauseThreshold * 100); continueThreshold = Math.round(continueThreshold * 100); // Variables - Do not touch! var baseSatoshi = baseBet * 100; // Calculated var currentBet = baseSatoshi; var currentMultiplier = baseMultiplier; var currentGameID = -1; var firstGame = true; var lossStreak = 0; var coolingDown = false; var lostLast = false; // Pause Variables var currentGameData; var lastCrash = (continueThreshold + pauseThreshold)/3; var paused = false; var pauseLossStreak = 0; var pausedFor = 0; // Initialization console.log('====== BustaBit Bot ======'); console.log('My username is: ' + engine.getUsername()); console.log('Starting balance: ' + (engine.getBalance() / 100).toFixed(3) + ' bits'); var startingBalance = engine.getBalance(); if (variableBase) { console.warn('[WARN] Variable mode is enabled and not fully tested. Bot is resillient to ' + streakSecurity + '-loss streaks.'); } // On a game starting, place the bet. engine.on('game_starting', function(info) { console.log('====== New Game ======'); /********************/ if(lastCrash >= pauseThreshold) { paused = true; console.log("Pausing Betting"); return; } if(paused) { if(lastCrash >= continueThreshold) { console.log("Continuing Betting"); lastCrash = (continueThreshold + pauseThreshold)/3; paused = false; } else { console.log("Betting Is Paused"); return; } } /********************/ if(pausedFor > 0) {1 pausedFor++; if(pausedFor <= pauseForMGames) { console.log("Paused " + pausedFor + " of " + pauseForMGames + " games"); return; } else { console.log("Resuming"); pausedFor = 0; pauseLossStreak = 0; } } if(pauseLossStreak >= pauseAfterNLosses) { console.log("Pausing for 1 of " + pauseForMGames + " games"); pausedFor = 1; return; } /********************/ console.log('[Bot] Game #' + info.game_id); currentGameID = info.game_id; if (coolingDown) { if (lossStreak == 0) { coolingDown = false; } else { lossStreak--; console.log('[Bot] Cooling down! Games remaining: ' + lossStreak); return; } } if (!firstGame) { // Display data only after first game played. console.log('[Stats] Session profit: ' + ((engine.getBalance() - startingBalance) / 100).toFixed(3) + ' bits'); console.log('[Stats] Profit percentage: ' + (((engine.getBalance() / startingBalance) - 1) * 100).toFixed(3) + '%'); } if (lostLast && !firstGame) {//if (engine.lastGamePlay() == 'LOST' && !firstGame) { // If last game loss: lossStreak++; var totalLosses = 0; // Total satoshi lost. var lastLoss = currentBet; // Store our last bet. while (lastLoss >= baseSatoshi) { // Until we get down to base bet, add the previous losses. totalLosses += lastLoss; lastLoss /= 3; } if (lossStreak > streakSecurity) { // If we're on a loss streak, wait a few games! coolingDown = true; return; } currentBet *= 3; // Then multiply base bet by 3! currentMultiplier = 1 + (totalLosses / currentBet); } else { // Otherwise if win or first game: lossStreak = 0; // If it was a win, we reset the lossStreak. if (variableBase) { // If variable bet enabled. // Variable mode resists (currently) 1 loss, by making sure you have enough to cover the base and the 3x base bet. var divider = 100; for (i = 0; i < streakSecurity; i++) { divider += (100 * Math.pow(3, (i + 1))); } newBaseBet = Math.min(Math.max(1, Math.floor(engine.getBalance() / divider)), maximumBet * 100); // In bits newBaseSatoshi = newBaseBet * 100; if ((newBaseBet != baseBet) || (newBaseBet == 1)) { console.log('[Bot] Variable mode has changed base bet to: ' + newBaseBet + ' bits'); baseBet = newBaseBet; baseSatoshi = newBaseSatoshi; } } // Update bet. currentBet = baseSatoshi; // in Satoshi currentMultiplier = baseMultiplier; } // Message and set first game to false to be sure. console.log('[Bot] Betting ' + (currentBet / 100) + ' bits, cashing out at ' + currentMultiplier + 'x'); firstGame = false; if (currentBet <= engine.getBalance()) { // Ensure we have enough to bet if (currentBet > (maximumBet * 100)) { // Ensure you only bet the maximum. console.warn('[Warn] Bet size exceeds maximum bet, lowering bet to ' + (maximumBet * 100) + ' bits'); currentBet = maximumBet; } engine.placeBet(currentBet, Math.round(currentMultiplier * 100), false); } else { // Otherwise insufficent funds... if (engine.getBalance() < 100) { console.error('[Bot] Insufficent funds to do anything... stopping'); engine.stop(); } else { console.warn('[Bot] Insufficent funds to bet ' + (currentBet / 100) + ' bits.'); console.warn('[Bot] Resetting to 1 bit basebet'); baseBet = 1; baseSatoshi = 100; } } }); engine.on('game_started', function(data) { if (!firstGame) { console.log('[Bot] Game #' + currentGameID + ' has started!'); } currentGameData = data; }); engine.on('cashed_out', function(data) { if (data.username == engine.getUsername()) { console.log('[Bot] Successfully cashed out at ' + (data.stopped_at / 100) + 'x'); } }); engine.on('game_crash', function(data) { if (!firstGame) { console.log('[Bot] Game crashed at ' + (data.game_crash / 100) + 'x'); } /********************/ lastCrash = data.game_crash; if (!currentGameData || !currentGameData.hasOwnProperty(engine.getUsername())) { return; }; lostLast = engine.lastGamePlay() == 'LOST'; console.log((lostLast ? "Lost" : "Won") + " this game."); /********************/ if(!lostLast) { pauseLossStreak = 0; } else { pauseLossStreak++; } /********************/ });[/PHP]දැන් ඉතින් රන් වෙන්න දාලා බලන් ඉන්න තියෙන්නෙ. මේක දැම්මා කියලා පැරදෙන්නෙ නැතුවම යන්නේ නැහැ. ඒත් පැරදෙන එක අඩු වෙනවා... පැරදෙන ඒවා කවර් වෙනවා :love: [/SIZE][/B] [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom