Jump to content

Serlite

Moderator
  • Content Count

    722
  • Joined

  • Last visited

  • Days Won

    9

Serlite last won the day on October 9

Serlite had the most liked content!

About Serlite

  • Rank
    Master

Player Details

  • Username
    Serlite
  • Wagered (BTC)
    10.58449703
  • Wagered (ETH)
    29.39557660
  • Wagered (LTC)
    23.14933649
  • Wagered (DOGE)
    538,675.10120

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Yay! An interesting promo to script...and I think it's reasonably doable too! 98.40 Bet: 41,543,490,334 placed by Serlite on 11/11/2019 Wagered 0.00014000 Multiplier 36.00x Profit 0.00490000 00.09 Bet: 41,543,492,186 placed by Serlite on 11/11/2019 Wagered 0.00014000 Multiplier 36.00x Profit 0.00490000 And now, for the script - it uses some old tricks from my previous scripts, so it's not too tough to understand. Just update the currency/bet as needed, paste it into the Code tab of dicebot, and Start! chance=2.7500 nextbet=0.00014000 bethigh=false currency="Ltc" local lastBetID = nil local lastBetNumber = nil function dobet() if win then if lastBetID == nil then lastBetID = lastBet.Id lastBetNumber = lastBet.Roll bethigh = not bethigh else if getNumberOfMatches(getUniqueDigits(lastBetNumber), getUniqueDigits(lastBet.Roll)) >= 2 then ching() print(lastBetID) print(lastBet.ID) stop() else resetHunt() end end else resetHunt() end end function resetHunt() lastBetID = nil lastBetNumber = nil end function round(x) return math.floor(x + 0.5) end function getUniqueDigits(rollNumber) local digits = {} local digit4 = round((rollNumber * 100) % 10) local digit3 = round(((rollNumber * 100) % 100 - digit4) / 10) local digit2 = round(((rollNumber * 100) % 1000 - digit3 * 10 - digit4) / 100) local digit1 = round(((rollNumber * 100) - digit2 * 100 - digit3 * 10 - digit4) / 1000) digits[digit1] = true digits[digit2] = true digits[digit3] = true digits[digit4] = true return digits end function getNumberOfMatches(set1, set2) local matchCount = 0 for key1, value1 in pairs(set1) do if set2[key1] ~= nil then matchCount = matchCount + 1 end end return matchCount end
  2. Whew, thanks for changing the challenge to be doable, haha. 19.30 Bet: 40,963,149,923 placed by Serlite on 05/11/2019 Wagered 3.40000000 Multiplier 1.01x Profit 0.03468000 19.19 Bet: 40,984,378,291 placed by Serlite on 06/11/2019 Wagered 0.00016000 Multiplier 1.01x Profit 0.00000163 No script this time, because it's just a single-number (at a time) roll hunt. Good hunting!
  3. Aaand, done! A plain and simple rollhunt...though I prefer the ones that don't have a fixed multiplier, gets a bit costly. 1.52 Bet: 38,764,223,528 placed by Serlite on 08/10/2019 Wagered 0.03100000 Multiplier 2.00x Profit 0.03100000 4.03 Bet: 38,765,900,430 placed by Serlite on 09/10/2019 Wagered 0.03100000 Multiplier 2.00x Profit 0.03100000 6.58 Bet: 38,771,487,743 placed by Serlite on 09/10/2019 Wagered 0.03100000 Multiplier 2.00x Profit 0.03100000 As for the script, it's a plain rollhunt! But here you go anyway: chance = 49.5 nextbet = 3.4 bethigh = false currency = "Doge" numbersToHunt = {1.42, 1.52, 3.29, 4.03, 6.58} function dobet() if containedInSet(lastBet.Roll, numbersToHunt) then print(lastBet.Roll) print(lastBet.Id) ching() stop() end end function containedInSet(x, set) for key, value in pairs(set) do if x == value then return true end end return false end
  4. Ugh, this one took forever! And it cost a bunch! Gaaaaaaaaahhhh...I mean, at least I finished, but still... Group 1 9.17 Bet: 38,105,919,529 placed by Serlite on 30/09/2019 Wagered 0.00014000 Multiplier 1.01x Profit 0.00000143 9.71 Bet: 38,035,946,766 placed by Serlite on 30/09/2019 Wagered 3.60000000 Multiplier 1.01x Profit 0.03672000 Group 2 19.70 Bet: 38,039,062,699 placed by Serlite on 30/09/2019 Wagered 3.60000000 Multiplier 1.01x Profit 0.03672000 19.07 Bet: 38,041,722,689 placed by Serlite on 30/09/2019 Wagered 3.60000000 Multiplier 1.01x Profit 0.03672000 Group 3 70.91 Bet: 38,034,257,205 placed by Serlite on 30/09/2019 Wagered 3.60000000 Multiplier 1.01x Profit 0.03672000 70.19 Bet: 38,033,791,666 placed by Serlite on 30/09/2019 Wagered 3.60000000 Multiplier 1.01x Profit 0.03672000 Group 4 90.17 Bet: 38,033,383,193 placed by Serlite on 30/09/2019 Wagered 3.60000000 Multiplier 1.01x Profit 0.03672000 90.71 Bet: 38,042,314,388 placed by Serlite on 30/09/2019 Wagered 3.60000000 Multiplier 1.01x Profit 0.03672000 Now for the script...it's a long one! And if your betting gets interrupted in the middle, you'll have to manually check the bets in the local database to re-find all the numbers you rolled. So use it at your own risk! chance = 98--sets your chance for placing a bet nextbet = 0.00014 --sets your first bet. bethigh = false --bet high when true, bet low when false currency = "Ltc" rolledGroups = {} rolledNumbers = {} pairGroupsToHunt = { {{01.97, 01.79}, {07.19, 07.91}, {09.17, 09.71}}, {{19.70, 19.07}, {17.90, 17.09}, {10.97, 10.79}}, {{70.19, 70.91}, {71.90, 71.09}, {79.10, 79.01}}, {{90.17, 90.71}, {91.70, 91.07}, {97.01, 97.10}} } function dobet() -- Either save completed group, or record roll if it is part of a group if win and partOfGroupInSet(lastBet.Roll, pairGroupsToHunt) then if checkAndSaveIfCompletesAvailablePairGroup(lastBet.Roll, lastBet.Id, rolledGroups, rolledNumbers, pairGroupsToHunt) then -- No need to do anything here else rolledNumbers[lastBet.Roll] = lastBet.Id print("Saved " .. tostring(lastBet.Roll) .. " " .. tostring(lastBet.Id)) end end -- Stop if all groups have been completed if countLengthOfSet(rolledGroups) == countLengthOfSet(pairGroupsToHunt) then printSet(rolledGroups) ching() stop() end end function checkAndSaveIfCompletesRolledPairInSet(saveKey, currentRoll, currentId, savedGroups, rolledValues, set) for key, pair in pairs(set) do if pair[2] == currentRoll and rolledValues[pair[1]] ~= nil then savedGroups[saveKey] = tostring(pair[2]) .. " " .. tostring(currentId) .. " | " .. tostring(pair[1]) .. " " .. tostring(rolledValues[pair[1]]) return true end if pair[1] == currentRoll and rolledValues[pair[2]] ~= nil then savedGroups[saveKey] = tostring(pair[1]) .. " " .. tostring(currentId) .. " | " .. tostring(pair[2]) .. " " .. tostring(rolledValues[pair[2]]) return true end end return false end function partOfPairInSet(currentRoll, set) for key, pair in pairs(set) do if pair[1] == currentRoll or pair[2] == currentRoll then return true end end return false end function checkAndSaveIfCompletesAvailablePairGroup(currentRoll, currentId, savedGroups, rolledValues, set) for key, group in pairs(set) do if savedGroups[key] == nil then if checkAndSaveIfCompletesRolledPairInSet(key, currentRoll, currentId, savedGroups, rolledValues, group) then print("Completed group " .. tostring(key)) print(savedGroups[key]) return true end end end return false end function partOfGroupInSet(currentRoll, set) for key, group in pairs(set) do if partOfPairInSet(currentRoll, group) then return true end end return false end function countLengthOfSet(set) local count = 0 for key, pair in pairs(set) do count = count + 1 end return count end function printSet(set) for key, pair in pairs(set) do print(pair) end end
  5. Aaah, a plain old rollhunt. Not complaining, these are at least easy to script, haha. 30.03 Bet: 37,528,574,496 placed by Serlite on 24/09/2019 Wagered 3.90000000 Multiplier 1.01x Profit 0.03978000 10.01 Bet: 37,530,106,581 placed by Serlite on 24/09/2019 Wagered 3.90000000 Multiplier 1.01x Profit 0.03978000 50.05 Bet: 37,530,232,888 placed by Serlite on 24/09/2019 Wagered 3.90000000 Multiplier 1.01x Profit 0.03978000 40.04 Bet: 37,531,986,197 placed by Serlite on 24/09/2019 Wagered 0.00014000 Multiplier 1.01x Profit 0.00000143 60.06 Bet: 37,560,369,383 placed by Serlite on 24/09/2019 Wagered 0.00014000 Multiplier 1.01x Profit 0.00000143 As for the script...oh, I don't really have to write it all out again, do I? XD Here's one from the past. Just remember to change out the rollhunt numbers, and update the multiplier/currency/side accordingly. Good luck!
  6. Whew, a nice and straightforward promo with easily-scriptable conditions! 97.46 Bet: 36,912,213,926 placed by Serlite on 16/09/2019 Wagered 0.03900000 Multiplier 6.00x Profit 0.19500000 4.66 Bet: 36,912,738,296 placed by Serlite on 16/09/2019 Wagered 0.00014000 Multiplier 6.00x Profit 0.00070000 As for the script, here's one I dug up and updated for this challenge. Good luck! Just remember to set bethigh to true/false depending on whether you're hunting over or under. chance = 16.5 nextbet = 0.00014 bethigh = false currency = "Ltc" function dobet() -- break down roll number into comparable components local digit4 = round((lastBet.Roll * 100) % 10) -- get last digit of bet ID local betIdString = tostring(lastBet.Id) local lastBetIdDigit = string.sub(betIdString, string.len(betIdString)) if digit4 == 6 and lastBetIdDigit == "6" and win then print(lastBet.Id) stop() end end function round(x) return math.floor(x + 0.5) end
  7. Not going to be in the top entrants, I'm just not rich/lucky enough to get there, haha! Bet: 36,389,546,839 placed by Serlite on 09/09/2019 Wagered 0.03900000 Multiplier 8.00x Profit 0.27312597 Bet: 36,389,547,365 placed by Serlite on 09/09/2019 Wagered 0.03900000 Multiplier 8.00x Profit 0.27312597 Bet: 36,389,547,884 placed by Serlite on 09/09/2019 Wagered 0.03900000 Multiplier 8.00x Profit 0.27312597 Bet: 36,389,548,381 placed by Serlite on 09/09/2019 Wagered 0.03900000 Multiplier 8.00x Profit 0.27312597 As for the script - well, it won't improve your chances, but it'll let you know when you get a new best streak. Should be familiar to some of you: chance = 12.3750 nextbet = 0.039 bethigh = true currency = "Xrp" local bestStreak = 0 local streakNumbers = {} function dobet() if win then table.insert(streakNumbers, lastBet.Id) if bestStreak < currentstreak then ching() print("New best streak: "..tostring(currentstreak)) printSet(streakNumbers) bestStreak = currentstreak end else streakNumbers = {} end end function printSet(set) local printedString = "" for key, value in pairs(set) do printedString = printedString..tostring(value).." " end print(printedString) end
  8. Uuugh, variance did not smile upon me this time...about 6500 rolls to get these two wins: Bet: 35,899,540,075 placed by Serlite on 02/09/2019 Wagered 0.00015000 Multiplier 7.50x Profit 0.00097500 Bet: 35,899,822,934 placed by Serlite on 02/09/2019 Wagered 0.00015000 Multiplier 119.28x Profit 0.01774157 As for the script, you really only need one for the first part; the second one doesn't really need any special code: chance = 13.2 nextbet = 0.00015 bethigh = false currency = "Ltc" function dobet() -- get last 2 digits of bet ID local betIdString = tostring(lastBet.Id) local lastBetIdDigits = string.sub(betIdString, string.len(betIdString) - 1) if lastBetIdDigits == "75" and win then print(lastBet.Id) ching() stop() end end
  9. Yeah, like how many tabs precede each line of code. Many languages use curly braces to indicate scope, but that can still be hard to read if you don't use whitespace properly. Python requires you to arrange your code in a (more) readable fashion, which is a great habit to get into.
  10. Yeah, Python's a good language to start off with. Since the indentation actually matters (affects execution scope), it encourages you to learn good coding practices around readability that you can carry over to other languages. And it's really flexible so you can do all sorts of fun projects with it, like Twitch plays Pokemon!
  11. Aaah, a plain old rollhunt. Easy to understand, easy to script! 37.73 Bet: 35,510,685,334 placed by Serlite on 26/08/2019 Wagered 3.80000000 Multiplier 1.01x Profit 0.03876000 37.00 Bet: 35,512,411,559 placed by Serlite on 26/08/2019 Wagered 0.00013800 Multiplier 1.01x Profit 0.00000141 73.00 Bet: 35,513,164,785 placed by Serlite on 26/08/2019 Wagered 0.00013800 Multiplier 1.01x Profit 0.00000141 73.73 Bet: 35,514,589,302 placed by Serlite on 26/08/2019 Wagered 0.00013800 Multiplier 1.01x Profit 0.00000141 3.70 Bet: 35,516,626,359 placed by Serlite on 27/08/2019 Wagered 0.00013800 Multiplier 1.01x Profit 0.00000141 Now, for the script - it's just the same old rollhunt script, with the numbers updated: chance = 98 nextbet = 3.8 bethigh = false currency = "Doge" numbersToHunt = {0.37, 0.73, 3.70, 7.30, 37.00, 37.37, 37.73, 73.00, 73.37, 73.73} function dobet() if containedInSet(lastBet.Roll, numbersToHunt) then print(lastBet.Roll) print(lastBet.Id) ching() stop() end end function containedInSet(x, set) for key, value in pairs(set) do if x == value then return true end end return false end
  12. Yay, this one was tons easier than the last! Still blew through my Doge, but I didn't have much to begin with. Bet: 35,092,686,442 placed by Serlite on 19/08/2019 Wagered 0.00014000 Multiplier 11.00x Profit 0.00140000 Bet: 35,092,686,896 placed by Serlite on 19/08/2019 Wagered 0.00014000 Multiplier 11.00x Profit 0.00140000 Bet: 35,092,687,358 placed by Serlite on 19/08/2019 Wagered 0.00014000 Multiplier 11.00x Profit 0.00140000 As for the script...well, I've posted it before. But here it is again chance = 9 nextbet = 0.00014 bethigh = true currency = "Ltc" function dobet() if win then print(lastBet.Id) end if currentstreak >= 3 then stop() end end
  13. Back in the day when PD had a faucet (and a pretty big one at that), some other players and I did all-in faucet bets on 9900x. It can be a really discouraging multiplier to hunt given how much variance can affect you (with tens of thousands of rolls between wins), but I was able to keep at it to at least hit the multiplier once. With that under my belt, I haven't really hunted it since.
  14. These days, I just get my fix out of hunting those forum challenges. (They're mostly profitable!) I don't have that much money to throw around, and I know I can easily succumb to addictive tendencies if I'm not thinking straight, so I'd rather not open up that possibility by getting into the habit of regularly depositing on PD.
×