Bitcoin Forum

Economy => Gambling => Topic started by: evoorhees on November 13, 2012, 05:36:51 PM



Title: [UPDATE] SatoshiDICE Android and Desktop Apps Open Beta v1.1
Post by: evoorhees on November 13, 2012, 05:36:51 PM
----------------
UPDATE Jan 13, 2013: The SatoshiDice apps for desktop and android have been updated to v1.1 and are now in open beta. They will now be available from SatoshiDice.com for the first time (they'll be going up this week).

This new version (v1.1) can be downloaded here:

SatoshiDICE Android App (http://satoshidice.com/roller/android/SatoshiRoller_App_v1.1_Beta.apk)
  MD5: ff89d643b9b2c8ab2c539dbcd6e2c73d
 SHA1: 5fa09730ed612c48817f84c79758857f62441fc7

(Installation instructions for Android: Download file, then enable Settings -> Security -> Unknown Sources. Then install a file browser (folks recommend Astro), find the .apk you downloaded and run it. Android should install directly from the file on the device.)

SatoshiDICE PC/Linux/Mac Desktop App (http://satoshidice.com/roller/desktop/SatoshiRoller_Desktop_v1.1_Beta.jar)
  MD5: bfa7f5ec58a3bc45dd6b8904b356cd2b
  SHA1: 9c1c76aef3dd825151f40b89d30acde7df4fc0b9

----------------

They've arrived! After much development, SatoshiDICE now has two apps for your gambling enjoyment!


https://i.imgur.com/dJg1g.png


NOTE: THESE ARE IN OPEN BETA. THEY HAVE BEEN TESTED, BUT USE AT YOUR OWN RISK. If you find any bugs, please report them.


Both apps are "thin clients" meaning they are real Bitcoin wallets. When you open them up, you'll see a deposit address created for you. You can deposit and withdraw Bitcoins to that address whenever you wish. A thin version of the blockchain is downloaded on first launch (about 20 MB). Before coins can be bet, they must have received at least one confirmation. The apps transact and receive to SatoshiDice.com just like any other wallet.

https://i.imgur.com/qXLFW.png

Features
  • Point and click interface to select bets
  • Specify bet amount easily and repeat bets easily
  • Stack bets to process in one transaction, saving on tx fees
  • See your performance broken down by each bet option
  • Apps work as wallets and you can backup your wallet files
  • With the Android version, play on the go!
  • Use these apps to demonstrate the awesome power of Bitcoin for the gambling industry...

IMPORTANT: The wallet files created by these apps are not encrypted, so keep them safe. In a future release, encryption will be supported. If you're worried about the integrity of the files, please use the checksums provided above.

Android Tablet Version:
https://i.imgur.com/md6a4.png

Linux, Windows, Mac Version:
https://i.imgur.com/CTeZW.png


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: ingrownpocket on November 13, 2012, 05:48:03 PM
Nice  ;)


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: piuk on November 13, 2012, 05:57:10 PM
Awesome. Testing now, how come you need to wait for a deposit to confirm before it can be bet?


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: dooglus on November 13, 2012, 06:00:41 PM
A thin version of the blockchain is downloaded on first launch (about 20 MB).

That's a very slick looking interface.  I like it.

Comments:

Some kind of progress indicator would be useful.

I just see a flashing "fetching blocks" message, but have no way of knowing whether it's going to take another 10 seconds or 10 hours.  I don't know whether to give it a few more minutes or give up on it.

Oh, never mind.  It eventually changed to "fetching blocks... 1%".

So the initial message should say "fetching blocks... 0%" to I can see that it has a long long way to go.

Incidentally, I (and I would guess a lot of other people) have the full blockchain already in ~/.bitcoin/blk*.  My Internet connection is slow and expensive.  I would much prefer that your 'thin client' check to see if it can grab blocks from my local copy before it re-fetches them over the network.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: dooglus on November 13, 2012, 06:02:44 PM
Awesome. Testing now, how come you need to wait for a deposit to confirm before it can be bet?

Just guessing, but:

Unintentional double-spends cause problems for SDICE's wallet handling.  They pay out winners with losers' bets.  If the losing bets never confirm then the payouts that use those bets never confirm either.  Incoming bets are much more likely to confirm if the inputs of those bets are already confirmed.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: Nyhm on November 13, 2012, 07:11:10 PM
Hello, all. I'll be following along to answer any technical questions/issues about SatoshiRoller. I wrote the software (desktop and Android), and your feedback is most welcome.

Awesome. Testing now, how come you need to wait for a deposit to confirm before it can be bet?

Just guessing, but:

Unintentional double-spends cause problems for SDICE's wallet handling.  They pay out winners with losers' bets.  If the losing bets never confirm then the payouts that use those bets never confirm either.  Incoming bets are much more likely to confirm if the inputs of those bets are already confirmed.

Notice that pay-in and pay-out logic are entirely handled by the satoshidice.com service (not by the SatoshiRoller client). Your analysis is very insightful, but it actually comes down to a technical reason. SatoshiRoller uses the BitcoinJ library, which does not (yet) support spending unconfirmed transactions.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: Stephen Gornick on November 13, 2012, 07:33:40 PM
These are not yet available on the SatoshiDice.com website, because I wanted the community here to get to play around with them first.

Is it fair to say this app won't appear on Google Play?

Quote
Gambling: We don’t allow content or services that facilitate online gambling, including but not limited to, online casinos, sports betting and lotteries.
- http://play.google.com/about/developer-content-policy.html


Hello, all. I'll be following along to answer any technical questions/issues about SatoshiRoller.

I installed it and am waiting on "Connecting ....".

It has been several minutes. How long should that status persist?  [Edit: Ah ... now it says "Fetching blocks ... nn%", so at least now I know how long I need to wait.]

For the message that displays my deposit address, ... it would be helpful to display a QR code.  I'm getting in the habit of primarily using my mobile for everything, and in this instance, funding the SatoshiRoller wallet on one device using a Bitcoin app from another -- with QR codes as the way to pass the Bitcoin payment address between the two.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: guruvan on November 13, 2012, 07:40:51 PM
Well, as a shareholder, I gotta say, this is the shiz! :D

Looks really slick, will have to try it out myself. (and, as an investor, but non-player, I think that speaks well of what effect the apps will have on the S.DICE bottom line.

Good work!


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: evoorhees on November 13, 2012, 07:54:06 PM
These are not yet available on the SatoshiDice.com website, because I wanted the community here to get to play around with them first.

Is it fair to say this app won't appear on Google Play?

Quote
Gambling: We don’t allow content or services that facilitate online gambling, including but not limited to, online casinos, sports betting and lotteries.
- http://play.google.com/about/developer-content-policy.html



We will be trying to get it in Google Play.

Notice this:  https://play.google.com/store/apps/details?id=com.zynga.livepoker&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS56eW5nYS5saXZlcG9rZXIiXQ.. (https://play.google.com/store/apps/details?id=com.zynga.livepoker&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS56eW5nYS5saXZlcG9rZXIiXQ..)

So, the store does allow gambling apps, so long as it's not "real money."

Thus the question is... is Bitcoin real money or not? :)


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: Nyhm on November 13, 2012, 08:34:28 PM
For the message that displays my deposit address, ... it would be helpful to display a QR code.  I'm getting in the habit of primarily using my mobile for everything, and in this instance, funding the SatoshiRoller wallet on one device using a Bitcoin app from another -- with QR codes as the way to pass the Bitcoin payment address between the two.

SatoshiRoller cannot (yet) generate a QR code itself, but you can open the deposit address at Blockchain.info by clicking the icon (desktop) or menu item (Android), which shows a QR code.

Well, as a shareholder, I gotta say, this is the shiz! :D

Looks really slick, will have to try it out myself. (and, as an investor, but non-player, I think that speaks well of what effect the apps will have on the S.DICE bottom line.

Good work!

Complements are much appreciated - thank you!


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: Stephen Gornick on November 13, 2012, 08:55:30 PM
We will be trying to get it in Google Play.

Notice this:  https://play.google.com/store/apps/details?id=com.zynga.livepoker&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS56eW5nYS5saXZlcG9rZXIiXQ.. (https://play.google.com/store/apps/details?id=com.zynga.livepoker&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS56eW5nYS5saXZlcG9rZXIiXQ..)

So, the store does allow gambling apps, so long as it's not "real money."

Thus the question is... is Bitcoin real money or not? :)

Good point.  I hope to see it included.


Hello, all. I'll be following along to answer any technical questions/issues about SatoshiRoller.

After leaving my Android device idle it goes to the Lock screen.  It appears that after I unlock and the app reappears that the (green) background image is repainted at the wrong image size and not at the full resolution of my display (this is on a tablet).


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: dooglus on November 13, 2012, 08:58:05 PM
The 'fetching blocks' got up to 18% after 2 or 3 hours when the power went out so I closed the SD app.  I got back online, restarted the SD app, and was surprised to see it starting from 1% again fetching blocks.

The SatoshiRoller.blocks file was up to about 5MB, and is continuing to grow from that size, but the progress indicator started from 1% again.

Is that normal?  I'm never going to be able to stay online to download all the blocks in one go.

I also don't see any way to resize the app.  The text is kind of small, but I have lots of spare screen realestate.  I'd like to 'fullscreen' the window.  On a netbook I suspect the window is too big, so it would be useful to be able to shrink it a bit too.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: Nyhm on November 13, 2012, 09:22:41 PM
After leaving my Android device idle it goes to the Lock screen.  It appears that after I unlock and the app reappears that the (green) background image is repainted at the wrong image size and not at the full resolution of my display (this is on a tablet).

Thanks for the report. This has only been extensively tested on the Google Nexus 7 tablet (which has never exhibited that behavior). Can you tell me what tablet and Android OS version you have? I will attempt to reproduce this in emulation.

The 'fetching blocks' got up to 18% after 2 or 3 hours when the power went out so I closed the SD app.  I got back online, restarted the SD app, and was surprised to see it starting from 1% again fetching blocks.

Yes, this is normal, and it is not re-fetching any old blocks; it is now at 1, 2, 3% of the remaining blocks. I agree this is confusing/misleading. I should improve the logic to show the overall % (of all blocks). Thanks.

I also don't see any way to resize the app.  The text is kind of small, but I have lots of spare screen realestate.  I'd like to 'fullscreen' the window.  On a netbook I suspect the window is too big, so it would be useful to be able to shrink it a bit too.

This version was developed at a fixed resolution. Making the window resizable and making the fonts resizable are two features that could be implemented. Thanks for the input!

Incidentally, I (and I would guess a lot of other people) have the full blockchain already in ~/.bitcoin/blk*.  My Internet connection is slow and expensive.  I would much prefer that your 'thin client' check to see if it can grab blocks from my local copy before it re-fetches them over the network.

That's a good suggestion, and we were considering something similar to speed up the initial grind.

I'm keeping track of all your suggestions, and your input will help prioritize future features.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: MPOE-PR on November 13, 2012, 10:13:10 PM
We will be trying to get it in Google Play.

Notice this:  https://play.google.com/store/apps/details?id=com.zynga.livepoker&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS56eW5nYS5saXZlcG9rZXIiXQ.. (https://play.google.com/store/apps/details?id=com.zynga.livepoker&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS56eW5nYS5saXZlcG9rZXIiXQ..)

So, the store does allow gambling apps, so long as it's not "real money."

Thus the question is... is Bitcoin real money or not? :)

Nice going.  ;D


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: dooglus on November 13, 2012, 10:57:56 PM
The 'fetching blocks' got up to 18% after 2 or 3 hours when the power went out so I closed the SD app.  I got back online, restarted the SD app, and was surprised to see it starting from 1% again fetching blocks.

Yes, this is normal, and it is not re-fetching any old blocks; it is now at 1, 2, 3% of the remaining blocks. I agree this is confusing/misleading. I should improve the logic to show the overall % (of all blocks). Thanks.

The current logic is OK so long as it's clear that that's what it's doing.  If you showed "1% (5000 of 200000 blocks) then it would be clearer I think.  What is it fetching exactly?  All the block headers, but none of the block content?  Or just recent blocks?


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: BitCoiner2012 on November 14, 2012, 03:05:38 AM
Downloading this now. I like to tinker with Satoshi or Lotto or whatever often enough, this looks slick. I'll post more impressions upon use... Hell, I was just rolling some dice (with no luck mind you..), let's try out the client.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: dooglus on November 14, 2012, 03:59:43 AM
So it finally finished downloading the blocks after about 8 hours.  Then I decided to deposit some coins to the address it gave me, and of course it's been almost an hour since the last block was found, so I'm having to wait now for a confirmation.

Eventually I'll get to try the new interface out I'm sure.  :)

Edit: I got to play.  I made a small bet, a very small percentage of the amount I deposited.  It won, but now my whole balance is 'pending', presumably because the change from my bet now has no confirmations.  So I'm going to have to wait for another block to be found before I can play again.  That's quite a limitation, and one that's definitely worth addressing.  It's so much more convenient to play from the satoshi client where I can bet with unconfirmed coins.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: dooglus on November 14, 2012, 04:44:07 AM
I made a small bet, a very small percentage of the amount I deposited.  It won, but now my whole balance is 'pending', presumably because the change from my bet now has no confirmations.  So I'm going to have to wait for another block to be found before I can play again.

My bet now has 6 confirmations.  So my change must also.  Yet my whole balance is still shown as "pending".  What's going on?  I did lose power to the router for a few minutes.  Does the roller client not handle Internet outages very well?

https://i.imgur.com/PdXc4.png

I'll try restarting the roller client.

Edit: that fixed it.  When I first restarted it, I saw:

https://i.imgur.com/2HlxE.png

but once it connected, it very quickly fetched blocks (42%, 84% flashed by) and then my balance was no longer pending:

https://i.imgur.com/5BVmO.png


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: dooglus on November 14, 2012, 04:53:15 AM
I think I found a bug.

My balance is 8.1270 BTC.

My available balance is 8.1265 BTC.

But the withdraw dialog won't let me withdraw more than 8.1260 BTC.

ie. it's taking off the mandatory 0.005 BTC transaction fee twice.

Also, I'd like to be able to copy/paste the available amount.  It's annoying to have to copy it by hand.

A "withdraw all" button would also work.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: 2GOOD on November 14, 2012, 09:29:56 AM
Great Idea for the app, the downside is the waiting for confirmations its annoying :(

Edit: It would be nice if I can replay the same bet again, or to choose from a custom list of bets will be just perfect


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: evoorhees on November 14, 2012, 05:28:40 PM
Dooglus great comments, thank you!  But why did it take 8 hrs to download the light blockchain?!? You on a modem? :)  On my computer it takes about 15 minutes total upon first launch, and on the tablet it takes about 30 mins total.

It seems you did find a bug in the balance not updating to "Available" even though it was. Relaunching the program fixes it, but we'll address that bug asap.

The largest usability issue is that once you bet, the change from that bet also becomes pending until one block has passed. We're working on a solution to that as well.

And Dooglus for goodness' sake upgrade from your 28.8 modem :)


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: dooglus on November 14, 2012, 08:16:33 PM
Dooglus great comments, thank you!  But why did it take 8 hrs to download the light blockchain?!? You on a modem? :)  On my computer it takes about 15 minutes total upon first launch, and on the tablet it takes about 30 mins total.

It seems you did find a bug in the balance not updating to "Available" even though it was. Relaunching the program fixes it, but we'll address that bug asap.

The largest usability issue is that once you bet, the change from that bet also becomes pending until one block has passed. We're working on a solution to that as well.

And Dooglus for goodness' sake upgrade from your 28.8 modem :)

I live in the middle of nowhere, with no cell phone coverage, no electricity, no cable or DSL internet.  I can get satellite internet though, and get something like 5 megabits/s.  I am often able to download torrents at 500kB/s or faster.

I've no idea why the download was so slow.

After withdrawing as much as I could last night, my balance is now 0.0005 BTC.  I don't know if the app is deliberately preventing me from withdrawing the last 0.0005 BTC so that the available (= balance - 0.0005) is never negative, but it kind of sucks.  Those 0.0005 BTC amounts are kind of 'lost' in the roller's wallet, unspendable by anyone.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: evoorhees on November 14, 2012, 08:59:32 PM
Good point, we'll correct it in the next release.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: BitCoiner2012 on November 14, 2012, 09:43:34 PM
So far my only complaint is the one listed - that money goes back into pending state (a LOT like Bitcoin Wallet Android), so it makes it impossible to enjoy the game. I love the interface and finally an easy way (unless I missed before) to bet many different rolls at once. I know there is a way in Blockchain, but it doesn't have access to all the rolls as I would like.

Still, slick. Look forward to the hyper fast fun I have online with this application.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: dooglus on November 14, 2012, 10:11:08 PM
I think I just found another bug.

I placed 2 bets, one after the other.

In both cases I copy/pasted the bet amount rather than typing it.  The amount I pasted in both cases was 0.06451209.

Both bets won, but they won different amounts, which is just odd.  I noticed this on the roller screen.

So I checked on blockchain.info to see what was going on.  It turns out that even though I definitely used the same bet amount both times, the SD roller placed 2 differently sized bets.  The first one was 0.06401209 which is 0.0005 less than I requested, and the 2nd was 0.06451209 as requested.

I had over 8 BTC in my roller wallet at the time, with enough confirmed that it the balance shouldn't be an issue.


Edit: Please disregard.  I'm entirely mistaken about what I copy/pasted...


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: BitCoiner2012 on November 15, 2012, 02:26:50 AM
Here are some things I don't understand:

http://i49.tinypic.com/2z6ih4w.png

In the bottom for example, it says "last WIN .079 BTC" - but my overall stats don't show that, nor does my balance reflect that. That's more than I bet, yet it seems like I lost money. I'm confused about the interface a little regarding pay/display/etc, I'd like a "transaction log", yet I have been tinkering off and on. The "net result" shows the exact opposite (that I lost more than I bet).??


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: FreeMoney on November 15, 2012, 02:42:22 AM
These are not yet available on the SatoshiDice.com website, because I wanted the community here to get to play around with them first.

Is it fair to say this app won't appear on Google Play?

Quote
Gambling: We don’t allow content or services that facilitate online gambling, including but not limited to, online casinos, sports betting and lotteries.
- http://play.google.com/about/developer-content-policy.html



We will be trying to get it in Google Play.

Notice this:  https://play.google.com/store/apps/details?id=com.zynga.livepoker&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS56eW5nYS5saXZlcG9rZXIiXQ.. (https://play.google.com/store/apps/details?id=com.zynga.livepoker&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS56eW5nYS5saXZlcG9rZXIiXQ..)

So, the store does allow gambling apps, so long as it's not "real money."

Thus the question is... is Bitcoin real money or not? :)

Heads you win tails they lose imo!

"In Google Play!" OR "Sorry that's too real!"


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: dooglus on November 15, 2012, 03:25:13 AM
Couple of issues with the withdraw box:

1) green on green isn't a very readable choice, especially when the text is small and can't be zoomed or selected

2) after successfully withdrawing, the withdraw dialog stays open; it seems to me that most people won't want to make more than one withdrawal at a time, so the box should close once you've used it

https://i.imgur.com/bSnLV.png


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: Nyhm on November 15, 2012, 02:38:34 PM
dooglus, thank you for your input. I can confirm the Withdraw bug (on desktop). Also, I agree about the dialog box suggestions. Also, the Internet drop scenario is a good test case, which I can investigate more later. For now, if your connection drops, you may need to restart the client.

BitCoiner2012, What is happening is that your bet is small enough that even though SD reports a Win, you've lost overall value due to the tx fees. I will bring this up with evoorhees to determine how to best address this confusing behavior.

BitCoiner2012's observation about the Pending behavior is correct - the underlying library (bitcoinj) does not (yet) allow spending unconfirmed transactions. I agree that this behavior can be improved, and have suggested an implementation to the bitcoinj folks. They say a similar fix is in the works.

(Edit: I'm also noticing the flat green background peeking out on the Right and Bottom edges of the Desktop edition screenshots folks have posted. That shouldn't be there. Can others confirm this? It must be platform-dependent, because I have not seen it in my testing. This first version is designed for a fixed resolution, and the window should shrink-wrap itself to the pretty textured background with no edges peeking out.)


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: dooglus on November 15, 2012, 04:28:48 PM
(Edit: I'm also noticing the flat green background peeking out on the Right and Bottom edges of the Desktop edition screenshots folks have posted. That shouldn't be there. Can others confirm this?

It's fine for me.  Maybe you need to ask evoorhees what desktop environment and/or window manager he's using.

Here's how it looks in XFCE 4.10 on Ubuntu 12.10:

https://i.imgur.com/b6GsC.png


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: Nyhm on November 15, 2012, 04:56:47 PM
(Edit: I'm also noticing the flat green background peeking out on the Right and Bottom edges of the Desktop edition screenshots folks have posted. That shouldn't be there. Can others confirm this?

It's fine for me.  Maybe you need to ask evoorhees what desktop environment and/or window manager he's using.

Here's how it looks in XFCE 4.10 on Ubuntu 12.10:

Thank you for the screenshot. I'm also developing in Ubuntu (Gnome/Metacity), and this is exactly how it should look. Sometimes there are Java Look & Feel platform differences to account for... but I digress into technicalities.

Screenshots from other platforms/versions are most helpful! Anyone running this on Mac yet?


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: BitCoiner2012 on November 15, 2012, 07:21:03 PM
dooglus, thank you for your input. I can confirm the Withdraw bug (on desktop). Also, I agree about the dialog box suggestions. Also, the Internet drop scenario is a good test case, which I can investigate more later. For now, if your connection drops, you may need to restart the client.

BitCoiner2012, What is happening is that your bet is small enough that even though SD reports a Win, you've lost overall value due to the tx fees. I will bring this up with evoorhees to determine how to best address this confusing behavior.

BitCoiner2012's observation about the Pending behavior is correct - the underlying library (bitcoinj) does not (yet) allow spending unconfirmed transactions. I agree that this behavior can be improved, and have suggested an implementation to the bitcoinj folks. They say a similar fix is in the works.

(Edit: I'm also noticing the flat green background peeking out on the Right and Bottom edges of the Desktop edition screenshots folks have posted. That shouldn't be there. Can others confirm this? It must be platform-dependent, because I have not seen it in my testing. This first version is designed for a fixed resolution, and the window should shrink-wrap itself to the pretty textured background with no edges peeking out.)


I suspected as much, I wish it was clearly listed exact btc amount like we have in other transactions (if I do on blockchain, or in regular wallet, I can see exactly what was sent and received, here I get a balance, etc).

As far as the flat green background, it is escaping the gui on the right and bottom for me Windows 7 64 bit desktop.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: mjdb on November 23, 2012, 06:54:28 PM
Any ideas on what to do to fix my wallet?

satoshiroller desktop client

java.lang.IllegalStateException: Wallet contained duplicate transaction <transaction_id>
java.lang.IllegalStateException: Wallet contained duplicate transaction <transaction_id>
        at com.google.common.base.Preconditions.checkState(Preconditions.java:176)
        at com.google.bitcoin.store.WalletProtobufSerializer.readTransaction(WalletProtobufSerializer.java:352)
        at com.google.bitcoin.store.WalletProtobufSerializer.readWallet(WalletProtobufSerializer.java:282)
        at com.google.bitcoin.core.Wallet.loadFromFileStream(Wallet.java:544)
        at com.google.bitcoin.core.Wallet.loadFromFile(Wallet.java:471)
        at com.satoshiroller.engine.RollerEngine.start(RollerEngine.java:131)
        at com.satoshiroller.gui.SatoshiRoller.launch(SatoshiRoller.java:144)
        at com.satoshiroller.gui.SatoshiRoller.main(SatoshiRoller.java:42)


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: Nyhm on November 25, 2012, 01:58:37 PM
Any ideas on what to do to fix my wallet?

satoshiroller desktop client

java.lang.IllegalStateException: Wallet contained duplicate transaction <transaction_id>
java.lang.IllegalStateException: Wallet contained duplicate transaction <transaction_id>
        at com.google.common.base.Preconditions.checkState(Preconditions.java:176)
        at com.google.bitcoin.store.WalletProtobufSerializer.readTransaction(WalletProtobufSerializer.java:352)
        at com.google.bitcoin.store.WalletProtobufSerializer.readWallet(WalletProtobufSerializer.java:282)
        at com.google.bitcoin.core.Wallet.loadFromFileStream(Wallet.java:544)
        at com.google.bitcoin.core.Wallet.loadFromFile(Wallet.java:471)
        at com.satoshiroller.engine.RollerEngine.start(RollerEngine.java:131)
        at com.satoshiroller.gui.SatoshiRoller.launch(SatoshiRoller.java:144)
        at com.satoshiroller.gui.SatoshiRoller.main(SatoshiRoller.java:42)

I replied to your other topic: https://bitcointalk.org/index.php?topic=127445.msg1354512

It's an issue in the underlying library (bitcoinj). I have working code to fix such a wallet (to be included in a future version of SatoshiRoller). See my other reply; if you need help restoring your wallet, PM me.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: CecilNiosaki on December 03, 2012, 09:06:17 AM
Just tried running it to see how it works. Getting a "Sorry, unable to retrieve games"


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: Nyhm on December 03, 2012, 02:42:17 PM
Just tried running it to see how it works. Getting a "Sorry, unable to retrieve games"

This means that satoshidice.com is not responding. This is usually temporary, so give it a try again later. (satoshidice.com seems to be loading slowly, so maybe they have some high traffic right now.)

Thanks for reporting your experience - it helps us plan future improvements!


Title: Re: [UPDATE] SatoshiDICE Android and Desktop Apps Open Beta v1.1
Post by: evoorhees on January 13, 2013, 05:56:09 PM

UPDATE Jan 13, 2013: The SatoshiDice apps for desktop and android have been updated to v1.1 and are now in open beta. They will now be available from SatoshiDice.com for the first time (they'll be going up this week).

This new version (v1.1) can be downloaded here:

SatoshiDICE Android App (http://satoshidice.com/roller/android/SatoshiRoller_App_v1.1_Beta.apk)
  MD5: ff89d643b9b2c8ab2c539dbcd6e2c73d
 SHA1: 5fa09730ed612c48817f84c79758857f62441fc7

(Installation instructions for Android: Download file, then enable Settings -> Security -> Unknown Sources. Then install a file browser (folks recommend Astro), find the .apk you downloaded and run it. Android should install directly from the file on the device.)

SatoshiDICE PC/Linux/Mac Desktop App (http://satoshidice.com/roller/desktop/SatoshiRoller_Desktop_v1.1_Beta.jar)
  MD5: bfa7f5ec58a3bc45dd6b8904b356cd2b
  SHA1: 9c1c76aef3dd825151f40b89d30acde7df4fc0b9



Title: Re: [UPDATE] SatoshiDICE Android and Desktop Apps Open Beta v1.1
Post by: evoorhees on January 13, 2013, 06:36:38 PM

UPDATE Jan 13, 2013: The SatoshiDice apps for desktop and android have been updated to v1.1 and are now in open beta. They will now be available from SatoshiDice.com for the first time (they'll be going up this week).

This new version (v1.1) can be downloaded here:

SatoshiDICE Android App (http://satoshidice.com/roller/android/SatoshiRoller_App_v1.1_Beta.apk)
  MD5: ff89d643b9b2c8ab2c539dbcd6e2c73d
 SHA1: 5fa09730ed612c48817f84c79758857f62441fc7

(Installation instructions for Android: Download file, then enable Settings -> Security -> Unknown Sources. Then install a file browser (folks recommend Astro), find the .apk you downloaded and run it. Android should install directly from the file on the device.)

SatoshiDICE PC/Linux/Mac Desktop App (http://satoshidice.com/roller/desktop/SatoshiRoller_Desktop_v1.1_Beta.jar)
  MD5: bfa7f5ec58a3bc45dd6b8904b356cd2b
  SHA1: 9c1c76aef3dd825151f40b89d30acde7df4fc0b9



Ooh. As a shareholder, this pleases me. Up up up! I want to see S.Dice @ 0.007xx a few months from now.

If you buy enough shares, I guarantee that will happen! ;)


Title: Re: [UPDATE] SatoshiDICE Android and Desktop Apps Open Beta v1.1
Post by: 🏰 TradeFortress 🏰 on January 15, 2013, 11:51:30 AM
It might be a good idea to use something like Blockchain.info's APIs to work around the pending limitation of bitcoinjs.


Title: Re: [UPDATE] SatoshiDICE Android and Desktop Apps Open Beta v1.1
Post by: legitnick on January 18, 2013, 04:39:52 AM
Ran into a bug, it says I have 2.0 pending but on blockchain.info it says I have 2.3 btc confirmed. Are these coins lost or..?

Edit: Now only 1.6 coins are stuck, is there a way to recover the coins from the wallet file that satoshi roller creates?

Edit2: Problem fixed after updating the client.


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: MPOE-PR on January 18, 2013, 05:00:26 PM
(Edit: I'm also noticing the flat green background peeking out on the Right and Bottom edges of the Desktop edition screenshots folks have posted. That shouldn't be there. Can others confirm this?

It's fine for me.  Maybe you need to ask evoorhees what desktop environment and/or window manager he's using.

Here's how it looks in XFCE 4.10 on Ubuntu 12.10:

Thank you for the screenshot. I'm also developing in Ubuntu (Gnome/Metacity), and this is exactly how it should look. Sometimes there are Java Look & Feel platform differences to account for... but I digress into technicalities.

Screenshots from other platforms/versions are most helpful! Anyone running this on Mac yet?

You might consider looking at something like http://browsershots.org/http://www.satoshidice.com/


Title: Re: [ANN] SatoshiDICE Android and Desktop Apps Released
Post by: Nyhm on January 22, 2013, 04:27:34 PM
(Edit: I'm also noticing the flat green background peeking out on the Right and Bottom edges of the Desktop edition screenshots folks have posted. That shouldn't be there. Can others confirm this?

It's fine for me.  Maybe you need to ask evoorhees what desktop environment and/or window manager he's using.

Here's how it looks in XFCE 4.10 on Ubuntu 12.10:

Thank you for the screenshot. I'm also developing in Ubuntu (Gnome/Metacity), and this is exactly how it should look. Sometimes there are Java Look & Feel platform differences to account for... but I digress into technicalities.

Screenshots from other platforms/versions are most helpful! Anyone running this on Mac yet?

You might consider looking at something like http://browsershots.org/http://www.satoshidice.com/

Thank you, I have used this service for Web sites. SatoshiRoller is a desktop/Android application, not a Web site. I have not found a service that will execute/render applications on different platforms, so I generally ask around for community input. I've also looked into running multiple platforms via virtual machines within Ubuntu (advice welcome).

It might be a good idea to use something like Blockchain.info's APIs to work around the pending limitation of bitcoinjs.

Thank you for this suggestion. This idea has come up. I am curious what the community feels about using an online wallet service rather than a local wallet. (Technically, I could integrate both.)


Title: Re: [UPDATE] SatoshiDICE Android and Desktop Apps Open Beta v1.1
Post by: ICantThinkOfaName on April 13, 2013, 04:39:24 PM
Is this app still being worked on?


Title: Re: [UPDATE] SatoshiDICE Android and Desktop Apps Open Beta v1.1
Post by: Nyhm on April 16, 2013, 03:29:42 PM
Is this app still being worked on?

Yes - but not sure when the next version will be ready. Thanks for your interest.


Title: Re: [UPDATE] SatoshiDICE Android and Desktop Apps Open Beta v1.1
Post by: ICantThinkOfaName on April 24, 2013, 01:32:13 AM
Since the site DNS renewal, the app hasn't been able to connect to the site and now I can't get my BTC out of it.  Help?