Created
April 2, 2020 11:40
-
-
Save XclusiveDigital/0bc592775c00ae7a24e20e1365422608 to your computer and use it in GitHub Desktop.
CMH Dicebot Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- CREDITS -- | |
-- Original was made by DSetzer for BustaBit. -- | |
-- https://gist.github.com/dsetzer/fb2a925098135c7a1ff95002b11ccc3e -- | |
baseBet = 0 | |
minPayout = 1.3 | |
maxPayout = 4.5 | |
incPayout = 1.5 | |
currBet = baseBet | |
currPayout = minPayout | |
chance = 99/currPayout | |
maxLoss = 1000 | |
startingBalance = balance | |
rolls = 0 | |
resetstats() | |
resetseed() | |
function roundBal(num) | |
return (10 ^ math.floor((math.log(num))/(math.log(10)))) | |
end | |
if (baseBet == 0) then | |
baseBet = roundBal(balance/100000) | |
currBet = baseBet | |
end | |
nextbet = currBet | |
function dobet() | |
rolls = rolls + 1 | |
if (win) then | |
currBet = baseBet | |
currPayout = minPayout | |
if(bethigh)then | |
bethigh = false | |
else | |
bethigh = true | |
end | |
else | |
currPayout = currPayout + incPayout | |
if (currPayout > maxPayout) then | |
currBet = currBet * (maxPayout / (minPayout - 1)) | |
currPayout = minPayout | |
end | |
end | |
if (balance - startingBalance <= maxLoss * -1) then | |
print("Max Loss Reached. Stopping") | |
stop() | |
end | |
if (balance - startingBalance >= maxLoss) then | |
startingBalance = balance | |
resetseed() | |
currBet = baseBet | |
currPayout = minPayout | |
end | |
if (rolls % 10 == 0) then | |
print("Starting Balance: " .. startingBalance .. " | Profit: " .. balance-startingBalance) | |
end | |
nextbet = currBet | |
chance = 99/currPayout | |
end | |
Wolf.bet
From: anynoname <notifications@github.com>
Sent: Wednesday, October 7, 2020 9:31 AM
To: XclusiveDigital <XclusiveDigital@noreply.github.com>
Cc: XclusiveDigital <timothylfoley@live.com>; Author <author@noreply.github.com>
Subject: Re: XclusiveDigital/cmh.lua
@anynoname commented on this gist.
…________________________________
Hi, on which site you have 98% chance?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://gist.github.com/0bc592775c00ae7a24e20e1365422608#gistcomment-3480596>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADJPCPG4ZTQXDNP4GLD7MMLSJRUQFANCNFSM4SHM24WA>.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, on which site you have 98% chance?