Jump to content

leftler

Noob
  • Content Count

    11
  • Joined

  • Last visited

About leftler

  • Rank
    Apprentice

Player Details

  • Username
    leftler
  • Wagered (BTC)
    0.00083330

Recent Profile Visitors

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

  1. The way the API works (which I assume the Web UI uses the same endpoint calls) is it passes the roll you are going for, not the payout multiplier. If you roll 9900X then roll 6600X your history shows you did 9900X both times because it is based off of the value of 99.98, not the multiplier you set. Here is a screenshot of my history, the first roll was with a multiplier of 9900X the 2nd was with a multiplier of 6600X. Both showed up as 9900.00x payout.
  2. When doing the Martingale strategy you must have enough money in your bank account to survive a loosing streak of whatever level of risk you wish to do. Here are the numbers and some experimental data on how likely a loosing streak of a given length may be. First, to survive a losing streak you must have at least the following amount of money in your wallet to cover the losses Loss Streak Length Bank Required Odds of Happening 1 Base Bet x 1 50.5% 2 Base Bet x 3 25.5025% 3 Base Bet x 7 12.8787625% 4 Base Bet x 15 6.50377506% 5 Base Bet x 31 3.28440641% 6 Base Bet x 63 1.65862524% 7 Base Bet x 127 0.83760574% 8 Base Bet x 255 0.4229909% 9 Base Bet x 511 0.2136104% 10 Base Bet x 1,023 0.10787325% 11 Base Bet x 2,047 0.05447599% 12 Base Bet x 4,095 0.02751038% 13 Base Bet x 8,191 0.01389274% 14 Base Bet x 16,383 0.00701583% 15 Base Bet x 32,767 0.003543% 16 Base Bet x 65,535 0.00178921% 17 Base Bet x 131,071 0.00090355% 18 Base Bet x 262,143 0.00045629% 19 Base Bet x 524,287 0.00023043% 20 Base Bet x 1,048,575 0.00011637% 21 Base Bet x 2,097,151 0.00005877% 22 Base Bet x 4,194,303 0.00002968% 23 Base Bet x 8,388,607 0.00001499% 24 Base Bet x 16,777,215 0.00000757% 25 Base Bet x 33,554,431 0.00000382% 26 Base Bet x 67,108,863 0.00000193% 27 Base Bet x 134,217,727 0.00000097% The Odds listed above are the mathematical odds of it happening. To test these odds out I ran 200 runs on a modified Prime Dice verifier until each run found a streak of 27 losses in a row. Streak Length Average Min Max 1 1.02±0.10 1 8 2 5.36 ± 0.36 1 28 3 12.93 ± 0.77 2 57 4 30.80 ± 2.32 3 301 5 62.92 ± 4.61 4 382 6 119.99 ± 8.21 5 706 7 252.88 ± 17.83 6 1,308 8 471.01 ± 30.35 10 2,090 9 908.00 ± 69.22 11 6,178 10 1,877.09 ± 136.23 19 12,321 11 3,760.79 ± 276.60 42 27,327 12 7,235.21 ± 526.77 43 35,539 13 12,371.51 ± 934.76 57 62,705 14 29,307.62 ± 2,079.97 108 155,778 15 58,775.51 ± 4,276.75 214 336,000 16 107,962.59 ± 8,036.78 441 563,502 17 209,525.75 ± 17,089.38 442 1,533,139 18 455,825.71 ± 35,813.54 443 3,777,632 19 988,306.72 ± 73,346.75 1,919 5,240,642 20 1,962,387.62 ± 136,973.35 1,920 14,846,466 21 3,373,874.74 ± 226,913.69 1,921 21,527,142 22 7,326,895.10 ± 549,094.92 1,922 36,569,568 23 15,624,930.95 ± 1,146,750.88 1,923 85,330,781 24 28,888,728.10 ± 1,998,890.07 1,924 162,085,084 25 53,235,302.43 ± 3,342,893.99 51,329 253,504,742 26 98,633,583.62 ± 6,931,557.82 365,214 607,095,862 27 196,832,371.27 ± 13,557,490.12 501,956 875,872,209 What the columns mean: "Average" - The average number of rolls plus or minus the standard deviation of the mean before you reach the end of that streak "Min" - The minimum number of rolls over the 200 trials it took to find that streak. "Max" - The maximum number of rolls over the 200 trials it took to find that streak. The raw data with all of the server and client seeds can be found in the attached file. results.json
  3. I am creating a server emulator so I can try various betting strategies at high speed. (I have a simulation running right now about how long you can safely play the Martingale method for various starting bank amounts I will be posting in the tutorial section when it finishes). For strategies that involve moving the target roll number I need to know what the payout will be based on a given roll over/under value.
  4. You got me there. I actually wanted to solve for P so the to formulas are Multiplier = 99 / Roll Under Multiplier = 99 / (99.99 - Roll Over)
  5. I am trying out the Primedice API for the first time, however if I just let my program run unlimited I get "Too many requests (slow down!)" which is perfectly understandable. What is the rate limit for the API I should be doing in my program?
  6. I think you misunderstood me, I mean, when you have roll over set to 1.99 the payout is 1.010x, when you have the roll over set to 98.99 the payout is 99.000x. I wanted to know the formula that goes from roll over to payout result. I am not asking for a strategy, I just want to know the math to go from one number to the other.
  7. I am trying to figure out the formula that calculates the payout amount for a given roll over value. Does anyone know what it is?
  8. Yes, the problem was the missing Encoding.ASCII.GetBytes(input), because the server seed was displayed as a hex value I thought it was giving me the actual binary value that was being passed in as the key, the real value being passed in as the server key is and that 512 bit value is what is hashed.
  9. I was going through a manual verification process myself using no outside resources like dicesites.com. After changing my server key I had the following info I then wrote a small C# program to hash the server seed and see what I got using System; using System.Text; using System.Security.Cryptography; public class Program { public static byte[] StringToByteArray(String hex) { int NumberChars = hex.Length; byte[] bytes = new byte[NumberChars / 2]; for (int i = 0; i < NumberChars; i += 2) bytes[i / 2] = Convert.ToByte(hex.Substring(i, 2), 16); return bytes; } public static string ByteArrayToString(byte[] ba) { StringBuilder hex = new StringBuilder(ba.Length * 2); foreach (byte b in ba) hex.AppendFormat("{0:x2}", b); return hex.ToString(); } public static void Main() { Console.WriteLine("Expected:"); Console.WriteLine("740f81cd7deed90102a36e41a74cbe7373856ff647c66d0c945db8c4dfc67130"); var serverSeed = StringToByteArray("d8818b38a14e7461e87301ad4b9809b558bcbca816b650cd470452e018ada255"); using (var sha = SHA256.Create()) { var hash = sha.ComputeHash(serverSeed); Console.WriteLine("Actual:"); Console.WriteLine(ByteArrayToString(hash)); } } } Here is a runable version https://dotnetfiddle.net/qyx6wo When I run it I get a output of What am I doing wrong in the process of hashing the server seed that it is causing the resultant hash to not match?
×