Jump to content
Minaa

🏆 [$800] The Greatest Minds: Albert Einstein 👓

Recommended Posts

placed by Serlite on 08/02/2021

Wagered

0.00017856ltc.svg

Multiplier

5.00x

Profit

0.00071424ltc.svg

placed by Serlite on 08/02/2021

Wagered

0.00017856ltc.svg

Multiplier

5.00x

Profit

0.00071424ltc.svg

Well, this is a new combination of previous hunt conditions! I had to stitch together some old scripts to make this one. As usual, feel free to modify the amount/chance/currency as needed. Don't forget to swap bethigh once you hit the first time!

Paste it into the Code tab of dicebot in Programmer Mode, and make sure you have a "slow.txt" file in your dicebot folder - otherwise, the IDs won't be numerical and you won't be able to hunt properly!

chance   = 19.8000
nextbet  = 0.00017856
bethigh  = true
currency = "Ltc"

local pattern   = "XX.X8"
local endNumber = "8"

function dobet()
    -- Get end number of bet ID
    local betIdString = tostring(lastBet.Id)
    local betIdEnd    = string.sub(betIdString, -string.len(endNumber))

    -- Break down roll number into comparable components
    local digit4 = round((lastBet.Roll * 100) % 10)
    local digit3 = round(((lastBet.Roll * 100) % 100 - digit4) / 10)
    local digit2 = round(((lastBet.Roll * 100) % 1000 - digit3 * 10 - digit4) / 100)
    local digit1 = round(((lastBet.Roll * 100) - digit2 * 100 - digit3 * 10 - digit4) / 1000)
    
    if win and betIdEnd == endNumber and isValidPattern(digit1, digit2, digit3, digit4) then
        print(lastBet.Roll)
        print(lastBet.Id)
        ching()
        stop()
    end
end

function round(x)
    return math.floor(x + 0.5)
end

function isValidPattern(digit1, digit2, digit3, digit4)
    local ref1 = string.sub(pattern, 1, 1)
    local ref2 = string.sub(pattern, 2, 2)
    local ref3 = string.sub(pattern, 4, 4)
    local ref4 = string.sub(pattern, 5, 5)

    if (ref1 == tostring(digit1) or ref1 == "X")
        and (ref2 == tostring(digit2) or ref2 == "X")
        and (ref3 == tostring(digit3) or ref3 == "X")
        and (ref4 == tostring(digit4) or ref4 == "X") then
        return true
    end

    return false
end

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×