Jump to content

Serlite

Moderator
  • Content Count

    859
  • Joined

  • Last visited

  • Days Won

    61

Serlite last won the day on October 20

Serlite had the most liked content!

About Serlite

  • Rank
    Master

Player Details

  • Username
    Serlite

Recent Profile Visitors

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

  1. 116,661,109,433 https://primedice.com/advanced?iid=house%3A116661109433&modal=bet 116,661,186,964 https://primedice.com/advanced?iid=house%3A116661186964&modal=bet
  2. casino:116513704066 https://primedice.com/advanced?iid=house%3A116513704066&modal=bet casino:116513767722 https://primedice.com/advanced?iid=house%3A116513767722&modal=bet No script for this one, since it's easy to do with the betting tools PD has in the browser.
  3. 116,061,518,774 116,061,518,915 No script needed for this week, since PD's own autobet can hunt for streaks. So that's good!
  4. 66.66 115476838988 This was a bit of a challenge without Seuntjie's dicebot! But luckily, I was able to whip up a bit of JavaScript that should allow people to continue programming bets from the browser. Not as neat is Seuntjie's dicebot, but at least it works! If you'd like to use it, read through the code carefully! It's good practice to make sure nobody sneaks in an auto-withdrawal script and robs you. You'll need to use this in the console of your browser (usually F12) after you've signed into Primedice: // ========================================== // Copy from here... let stopContinousBetting = false; function placeBet(rollUntilStop, betVariables){ let token = localStorage["session"].replaceAll("\"", ""); let query = { "operationName":"PrimediceRoll", "variables": betVariables, "query":"mutation PrimediceRoll($amount: Float!, $target: Float!, $condition: CasinoGamePrimediceConditionEnum!, $currency: CurrencyEnum!) {\n primediceRoll(amount: $amount, target: $target, condition: $condition, currency: $currency) {\n ...CasinoBetFragment\n state {\n ...PrimediceStateFragment\n __typename\n }\n __typename\n }\n}\n\nfragment CasinoBetFragment on CasinoBet {\n id\n active\n payoutMultiplier\n amountMultiplier\n amount\n payout\n updatedAt\n currency\n game\n user {\n id\n name\n __typename\n }\n __typename\n}\n\nfragment PrimediceStateFragment on CasinoGamePrimedice {\n result\n target\n condition\n __typename\n}\n" }; fetch("https://primedice.com/_api/graphql", { method: "POST", headers: { "x-access-token": token, "x-language": "en", "x-lockdown-token": "", "content-type": "application/json", "content-length": query.length }, body: JSON.stringify(query) }).then(response => { if (response.ok){ return response.json(); } else{ console.log("Request failed!", response); } }).then((jsonBody) => { if (jsonBody.data.primediceRoll){ let roll = jsonBody.data.primediceRoll; let condition = roll.state.condition; let target = roll.state.target; let rollNumber = +roll.state.result.toFixed(2); let won = condition === "above" ? rollNumber > target : rollNumber < target; console.log ( won ? "Win" : "Loss", rollNumber); if (rollUntilStop && !shouldStopBetting(won, rollNumber)){ placeBet(rollUntilStop, betVariables); } } else{ console.log("No roll returned!", jsonBody); } }); } function shouldStopBetting(won, rollNumber){ if (stopContinousBetting){ console.log("Betting manually stopped!"); stopContinousBetting = false; return true; } let winningNumbers = [33.33, 44.44, 55.55, 66.66, 77.77]; if (won && (winningNumbers.includes(rollNumber))) { console.log("Stop condition met!"); return true; } return false; } function stopBetting(){ stopContinousBetting = true; } // ...To here. // ========================================== // Run this only after you've input the exact bet parameters you want placeBet( true, { "currency":"ltc", "amount":0.0005775, "target":1.99, "condition":"above" }); // Run this if you want to interrupt betting stopBetting();
  5. 95.35 Bet: 114,064,528,048 placed by Serlite on 12/09/2022 Wagered 0.00049650 Multiplier 10.00x Profit 0.00446850
  6. Bet: 113,596,458,252 placed by Serlite on 31/08/2022 Wagered 0.00055290 Multiplier 5.00x Profit 0.00221160 Bet: 113,596,458,412 placed by Serlite on 31/08/2022 Wagered 0.00055290 Multiplier 5.00x Profit 0.00221160 Bet: 113,596,458,564 placed by Serlite on 31/08/2022 Wagered 0.00055290 Multiplier 5.00x Profit 0.00221160 While I'm sad the challenge this week isn't as exciting...I suppose while Seuntjie's dicebot is broken it's no fun to hunt the more complicated challenges since you can't script them out.
  7. It'd be a bit dodgy for me to put up an unverified executable for people to download (it's not something people should trust on the internet), so I'm reluctant to do it. What kinds of errors are you seeing? I could help you debug them. Something I did find I needed to do, if it's complaining about an SQLite DLL, is to update SQLite to the latest version. You can do this by right-clicking on the DiceBot project file, clicking Manage Nuget Packages, then searching for SQLite under the Installed packages. Change the Version dropdown to the latest (I changed it to 1.0.116), then click Update.
  8. 40.40 Bet: 112,894,908,428 placed by Serlite on 09/08/2022 Wagered 0.00048000 Multiplier 1.01x Profit 0.00000490 70.70 Bet: 112,895,072,099 placed by Serlite on 09/08/2022 Wagered 0.00048000 Multiplier 1.01x Profit 0.00000490 As for the script this week...well, the dicebot integration with PD seems to be broken, so it's probably not helpful to you. But if you can follow my instructions in this post, you'll be able to get it working again. And if that works for you, then here's the script you can use: chance = 98 nextbet = 0.00048000 bethigh = false currency = "Ltc" numbersToHunt = { 10.10, 20.20, 30.30, 40.40, 50.50, 60.60, 70.70, 80.80, 90.90 } function dobet() if containedInSet(lastBet.Roll, numbersToHunt) then ching() print(lastBet.Roll) print(lastBet.Id) 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
  9. Hi nonce - it's been a while since you asked this, but there is a quick fix you can make if you are able to compile the C# source code. You can download Microsoft's free versions of Visual Studio for that, Visual Studio Community. In the file PD.cs, you'll want to add a "?" after the variable type for "profit". Essentially: This should allow you to at least log in without hitting an error. I tried betting and that worked too, though I didn't test much else.
  10. Bet: 112,097,467,355 placed by Serlite on 14/07/2022 Wagered 0.00058560 Multiplier 4.00x Profit 0.00175680 Bet: 112,097,467,742 placed by Serlite on 14/07/2022 Wagered 0.00058560 Multiplier 4.00x Profit 0.00175680 Bet: 112,097,468,286 placed by Serlite on 14/07/2022 Wagered 0.00058560 Multiplier 4.00x Profit 0.00175680 It's been a while since I did one of these...no script this week since this is such a simple challenge, but maybe the next one will be more exciting!
  11. 99.99 Bet: 109,899,358,063 placed by Serlite on 03/05/2022 Wagered 0.00029808 Multiplier 1.01x Profit 0.00000304 A pretty basic rollhunt - but I don't mind, since that makes it easier to script! chance = 98 nextbet = 0.00029808 bethigh = true currency = "Ltc" numbersToHunt = { 11.11, 22.22, 33.33 , 88.88, 99.99 } function dobet() if containedInSet(lastBet.Roll, numbersToHunt) then ching() print(lastBet.Roll) print(lastBet.Id) 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. 20.75 Bet: 109,132,045,271 placed by Serlite on 18/04/2022 Wagered 0.00027351 Multiplier 1.01x Profit 0.00000279 This is a really easy challenge - I hope everyone gets in on it! The prize is bigger this week too, so the share will be bigger even if we have more participants than usual. Here's a script you can use, though it should be simple enough for most people to get on their own: chance = 98 nextbet = 0.00027351 bethigh = false currency = "Ltc" local lowerLimit = 17.04 local upperLimit = 24.04 function dobet() if win and lastBet.Roll >= lowerLimit and lastBet.Roll <= upperLimit then print(tostring(lastBet.Id)) ching() stop() end end
  13. 40.40 Bet: 106,863,453,448 placed by Serlite on 07/03/2022 Wagered 0.00029307 Multiplier 1.01x Profit 0.00000299 30.30 Bet: 106,863,584,849 placed by Serlite on 07/03/2022 Wagered 0.00029307 Multiplier 1.01x Profit 0.00000299 A nice and simple rollhunt challenge. I'm fine with that! Here's a script, if you don't have one already: chance = 98 nextbet = 0.00029307 bethigh = false currency = "Ltc" numbersToHunt = { 10.10, 20.20, 30.30, 40.40, 50.50, 60.60, 70.70, 80.80, 90.90 } function dobet() if containedInSet(lastBet.Roll, numbersToHunt) then ching() print(lastBet.Roll) print(lastBet.Id) 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
  14. Bet: 105,858,639,344 placed by Serlite on 15/02/2022 Wagered 0.00023136 Multiplier 6.00x Profit 0.00115680 Bet: 105,858,639,504 placed by Serlite on 15/02/2022 Wagered 0.00023136 Multiplier 6.00x Profit 0.00115680 It's a really basic challenge, but here's a dicebot script for anyone who wants to automate it: chance = 16.5000 nextbet = 0.00023136 bethigh = false currency = "Ltc" function dobet() if win then print(lastBet.Id) end if currentstreak >= 2 then stop() ching() end end
  15. 44.44 Bet: 103,994,790,749 placed by Serlite on 12/01/2022 Wagered 0.00021282 Multiplier 1.01x Profit 0.00000217 This one's not too tough, since we can choose any multiplier we want! And naturally that means I'd go for the lowest possible one. Here's a script! chance = 98 nextbet = 0.00021282 bethigh = false currency = "Ltc" numbersToHunt = { 22.22, 33.33, 44.44, 55.55, 66.66 } function dobet() if containedInSet(lastBet.Roll, numbersToHunt) then ching() print(lastBet.Roll) print(lastBet.Id) 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
×