That means when you send the coins to such a bitcoin address one could use the private key of that bitcoin address to import the clams into the clam wallet?
Exactly. 'dumpprivkey' in bitcoind, 'importprivkey' in clamd and the CLAMs show up.
I will modify the /dig command in Just-Dice so that it tells you CLAM address for any BTC address you give it:
I found that /help and !help show the commands but the latter seems not to be complete. !w is missing for example.
All Just-Dice chat commands begin with '/'. Typing "!help" simply causes you to say "!help" in the chat. If something is responding to that, it must be some kind of third party bot.
And i think it would be good when you could update the chance to win formfield.
I tried the following some time ago: Entered the value corresponding 1USD into betsize. Was around 0.6 clams. Then adjusted the payout to the value that would match the max profit. Then wanted to bet and... nothing happened. Even though all formfields were white.
I'll see if I can reproduce that. Put 0.6 into 'bet size', then by trial and error adjust the 'payout' box until the profit is the same as the max profit? (Do you realise how mad people are going to be if I bet 0.6 CLAM and win the max profit testing this for you?!) OK, so I see the problem. You're making a relatively small bet to win a huge amount. That's obviously going to need the chance of winning to be tiny. We have only 4 decimal places of granularity in the chance of winning, because we only roll 6 digit dice rolls (00.0000 to 99.9999). At 0.0004% chance of winning (247,500x) a winning 0.6 CLAM bet makes 148,499.4 profit, and at 0.0005% (198,000x) it makes 118,799.4 profit. The max profit (135k) is somewhere between these, and so you want to roll at something like 0.00045%, but we can't do that when we only have a million different roll outcomes. I notice that if I put 0.6 into the 'bet size' field and then edit the 'payout' field, the 'chance to win' field goes to 0.0005 when I type 215000 but to 0.0004 when I type 225000. It looks like I am seeing the chance field to the closest available chance to the one you're requesting:
>>> 99.0 / 215000 = 0.0004604 -> rounded to 0.0005%
>>> 99.0 / 225000 = 0.0004400 -> rounded to 0.0004%
I guess the question is: when the user asks for a 215000x multiplier, and we don't have a bet like that, should we round down to 198000x, up to 247500x, or round to whatever available multiplier is 'closest' in some sense? We round to the closest one. Sometimes that involves rounding the multiplier up, which puts the profit over the max profit, and so the bet is disallowed.
You say "nothing happened". When I tried, I saw this in the text area in the very top right, next to the 'Just-Dice.com' text:
"That is over the current maximum allowed profit (135886.52)"
but it's not very obvious. The client should really detect that the bet isn't acceptable before sending it to the server, but it's tricky. The 'chance' depends on the multiplier, and the multiplier can only have 4 decimal places, and the multiplier depends on the rounded chance, so we have a circular dependency here. Changing the multiplier changes the chance, which gets rounded to 4 decimal places, which changes the chance, which changes the multiplier. But you're currently typing in the multiplier field, so it's really annoying if we edit it while you're typing it. A few sites do that, and it makes them really annoying to use.
I checked around a bit and found that you calculate bets with the chance to win value. And even though that value is white, there are too few decimals to keep up with the payout number. When i went to chance to win and left the number there how it was then the payout was lowered down to match the percent. Though the profit was only 2 third of max profit then.
If you hold shift and hit TAB twice after editing the 'payout' field, you'll see the payout field gets adjusted to reflect the new rounded chance field.
It seems its not possible to adjust the chance to win to the possible values in payout because the decimals are missing. I think it would be good to adjust it so that they can match each other.
There's a limit on how finely the chance can be adjusted. We only have a million different possible rolls, and so we can't make a bet with a percentage chance of winning which has more than 4 decimal places. We could change the roll algorithm to roll 8 or 10 digit roll numbers, but then I'd have gamblers up in arms. "I was on a 200 roll losing streak and I'm sure I was about to win when you changed everything. You cheater!".
At the moment i have to split my bets into 2 bets and have to reinvest the rest because i cant bet it against max profit.
I think you need to pick either 0.0004% or 0.0005% and adjust your stake accordingly. 0.54903858 CLAM at 0.0004% or 0.68629892 CLAM at 0.0005% will hit the max profit right now. If you put 0.0004 in the 'chance to win' field and then click the 'max' bet button, it will fill in the 0.549... value for you. You may have to hit it again if the max profit drops before you get to submit your bet.