Bitcoin Forum

Economy => Gambling => Topic started by: Herbert on October 25, 2012, 10:47:32 AM



Title: bitbattle.me - no deposit, instant bets, ZERO waiting! 0-conf accepted!
Post by: Herbert on October 25, 2012, 10:47:32 AM
bitbattle.me (http://bitbattle.me) - Blockchain gambling improved

More than 250,000 bets placed with a total volume of 140,000 Bitcoin!

Jump straight into action without depositing and waiting for confirmations!
Don't want to wait hours until your bet gets eventually picked up?
Want to roll the dice without spamming the blockchain?
Fed up with your wallet being fragmented?
Want to track your bets in realtime on the website?
Pushing transactions without an opponent gets boring?

bitbattle.me (http://bitbattle.me) is changing the game! It is inspired by the various dice games, but is adding some unique features:

  • Have your own set of permanent bet addresses
  • Track all your bets and sessions with personal statistics
  • Optional incognito mode so only you can see your full stats and history
  • Watch your and other people's bets and sessions live in the browser
  • Multiplayer: Play against a (random) opponent
  • Multiplayer: No luck? Still you can win by taking more risk than your opponent!
  • Multiplayer: bitbattle your buddies with invitation games
  • All kinds of statistics
  • API & sample bot implementation

Most features are available without creating an account or registration! Simply create your player with attached set of Bet addresses - No email, no account, no password to remember! An account is mandatory to be able to start or join multiplayer sessions.

The basic bet system is similar to the various dice sites, but the available bets are spread more equal with win probability steps of ~5%. House edge for all bets is 1.9%.

Checkout the game rules (http://bitbattle.me/rules/), FAQ (http://bitbattle.me/faq/), available bets (http://bitbattle.me/bets/) and API description (http://bitbattle.me/api/).



Update 2013-06-02:
  • Transaction fees reduced according to current bitcoin-qt client (0.0001 instead of 0.0005)
  • Updated acceptance policy for incoming transactions:
  •  If a transaction has fee >= 0.0005 0.0001, and all inputs are confirmed -> ALLOW
  •  If a transaction has fee < 0.0005 0.0001, but all inputs are confirmed -> ALLOW
  •  If a transaction has fee < 0.0005 0.0001, and at least one input is unconfirmed -> REJECT
  •  If a transaction has at least one unconfirmed input but fee >= 0.0005 0.0001 -> ALLOW
  •  If a transaction has at least one unconfirmed input and fee < 0.0005 0.0001 -> REJECT

Update 2013-05-02:
You can now opt to hide your stats and sessions from public. If you don't want the world to see how much you are betting you can go to your account settings and click on "Anonymize me in public stats".
Enabling this will anonymize or hide most of your personal information:
  • Your dashboard will not be available for other users
  • Your player name, sessions and transactionIDs will be replaced by '****' in all public statistics
  • Your personal statistics will not be available for other users

Update 2013-03-19:
  • API extension: Now it is possible to obtain detailed information about player's bet addresses, win odds etc. in json-format. Just take player's dashboard url and append /json/ at the end. (Sample: http://bitbattle.me/player/herbert/json/)
    More details in section "Player information" in the API description (http://bitbattle.me/api/).

Update 2013-03-16:
  • Display improvements: All bitcoin amounts are now rounded to 4 digits instead of 3 digits and have a tooltip with the exact amount on mouse-over.
  • Socket.io-based API available! Check out the documentation at http://bitbattle.me/api/
  • Open-source sample bot written in Python, including simple martingale strategy, available on GitHub (https://github.com/TripleSpeeder/bitbattlebot).

Update 2013-02-18:
  • The "Get started (http://bitbattle.me/getting_started/)" page now contains a section for optional account creation. (Note that for account creation no email confirmation is necessary, so you could register with fake email. However in this case there is no possibility to help you in case you forgot your password.)
  • If you are logged in you have a dropdown menu on your username (top right of navbar) with shortlinks the the dashboard(s) of your player. (Yes, you can have multiple players connected with your account)
  • If you are logged in, every player you create will automatically be linked to your account
  • You can link your existing anonymous player to your account. Click on the "connect to account" button in the player's dashbord and follow the instructions (You will have to sign a message with your payout bitcoin address to prove ownership).
  • It is no longer possible to close other player's sessions (You can only close sessions of your own player when you are logged in)
  • It is no longer possible to start or join a multiplayer session with other players. (You can only do this with your own player when you are logged in)
  • It is no longer possible to create multiple players with the same name. Existing duplicates have been renamed.

Update 2013-02-08:
  • Player-related urls now using 'slug' based on playername instead of uuid (example: http://bitbattle.me/player/herbert/). Old bookmarks are still valid, they will redirect to the new urls.
  • Running sessions table in dashboard and index page now show the remaining seconds until session timeout
  • Fixed a rare racecondition while closing sessions that could lead to duplicate payment objects, resulting in no payment being made (Thanks to R33F (http://bitbattle.me/player/r33f/) for helping to track down this bug!)

Update 2013-02-01:
  • Bet limits (http://bitbattle.me/bets/) raised by 66%! Win up to 50 Bitcoin with a single bet!

Update 2013-02-01:
  • Make the notification of waiting multiplayer game more prominent, including waiting opponents name.
  • Make sure to close multiplayer sessions in time even when no bet was placed.
  • Inform player about remaining seconds if he wants to close a session early.
  • Added info on transaction acceptance policy to rules
  • Show timestamp in payments history

Update 2013-01-28:
New statistics and various small UI fixes:
  • Bet History (http://bitbattle.me/statistics/bet_history/)
  • Session History (http://bitbattle.me/statistics/session_history/)
  • Payment History (http://bitbattle.me/statistics/payment_history/)
  • Slightly redesigned main page (http://bitbattle.me)
  • Limit the number of bets/sessions/payments displayed on the players dashboard (As info on past data is now available in the player's statistics)

Update 2013-01-12:
  • Placing multiple bets of the same type within one transaction is now allowed
  • Extended double-spend protection. Incoming transactions are now checked based on these rules (and some more  ;)):
  •  If a transaction has fee >= 0.0005, and all inputs are confirmed -> ALLOW
  •  If a transaction has fee < 0.0005, but all inputs are confirmed -> ALLOW
  •  If a transaction has fee < 0.0005, and at least one input is unconfirmed -> REJECT
  •  If a transaction has at least one unconfirmed input but fee (>= 0.0005) -> ALLOW
  •  If a transaction has at least one unconfirmed input and fee < 0.0005 -> REJECT

Update 2013-01-05:
  • Rework session close logic to prevent deadlocks
  • Add some more crosslinks to blockchain.info for transactions and addresses
  • Improve live connection for IE users (now using flashsocket)

Update 2012-12-29:
  • Fix display bug when other player's bets show up in dashboard
  • (hopefully) fix display bug when bets show up multiple times in dashboard
  • Closing a session is now only allowed 30 seconds after the last bet has been placed
  • Increase maximum bet stakes (http://bitbattle.me/bets/) by 50%!

Update 2012-12-22:
  • You can search for bets by transactionID (Button "Lookup Tx" on main page)
  • Rejected bets now have tooltip on mouseover which states the reason for being rejected
  • Refund payments now have a tooltip on mouseover which states the reason for the refund
  • Some additional minor fixes

Update 2012-12-19:
  • No more bet timeout for singleplayer sessions
  • Increase session timeout to 10 minutes
  • Added "close session" button to session details page
  • Increase bet timeout in multiplayer sessions from 75 to 90 seconds
  • Decrease bet limit to 50 bets/session

Update 2012-12-18:
  • TxFee calculation now follows the same rules like the official bitcoin client. Payout transactions should get faster confirmations now.
  • The issue of too little confirmed balance in the hot wallet ("Wallet depleted" error) should not occur (so often) anymore.
  • Payments are now handled asynchronously. You will notice that all payment start in state "pending" and after a short time (usually <1 second) switch to status "paid"

Update 2012-12-14:
  • The lucky number is now displayed in the session log
  • The number of bets per session is now limited to prevent huge sessions like Carlos produced ;-).
  • When a game is closed the reason for closing is displayed (bet limit reached, time limit reached etc.)
  • Fix: Pending Payment issue caused by huge sessions
  • Fix: Refunds in multiplayer sessions caused an internal error and were stuck
  • Fix: After a bet is rejected due to insufficient wallet balance you had to open/close a multiplayer session in order to be able to bet again

Update 2012-12-11:
  • Invitation links are back!
  • The "Start Multiplayer" link will now change to "Join multiplayer" when another player started a multiplayer session. This should make it a bit easier to have a multiplayer session as you immediately see when one is started...


Title: Re: [ANN] bitbattle.me - fast-paced PvP Blockchain gambling!
Post by: Herbert on October 25, 2012, 10:48:54 AM
The first to click this invitatin link (within 5 minutes):

<invitation link removed>

Will bitbattle against me :-)

Edit: Removed the invitation link as it is no longer valid due to database reset!


Title: Re: [ANN] bitbattle.me - fast-paced PvP Blockchain gambling!
Post by: Herbert on October 28, 2012, 12:42:18 AM
Fixed two issues today regarding timezones:
  • Secret was revealed 2 hours too early :-)
  • Bet creation date/time now includes timezone offset information.

I noticed that sometimes games waiting for opponent don't get closed properly when no one joins, resulting in the next player joining a game playing basically alone as the game starter abandoned the game already hours ago. I hope to get that fixed soon with some more improvements...


Title: Re: [ANN] bitbattle.me - fast-paced PvP Blockchain gambling!
Post by: Herbert on October 30, 2012, 09:39:44 PM
Site update:
  • Problem with joining abandoned/old games is solved
  • The "Start playing" button on the main page now indicates if a player is currently waiting for an opponent (Button label will switch to "Join waiting player!")


Title: Re: [ANN] bitbattle.me - fast-paced PvP Blockchain gambling!
Post by: FreeMoney on October 31, 2012, 12:44:20 AM
Am I misunderstanding or can you beat any of us no matter what since you have no cost in betting more and more since it isn't even really a bet for you?


Title: Re: [ANN] bitbattle.me - fast-paced PvP Blockchain gambling!
Post by: Herbert on October 31, 2012, 06:55:15 AM
Am I misunderstanding or can you beat any of us no matter what since you have no cost in betting more and more since it isn't even really a bet for you?
Hmm - never really thought of it this way. You are right, I could try to join as much games as possible and always play a higher risk than the other player.

If you want to be sure that I do not trick you into a high risk game you can use the invitation game feature - I would have a hard time joining your invitation games without you noticing it.

How is this problem solved on other sites? I think the same scenario can be applied more or less to most online games where multiple anonymous players are involved. How can you make sure that all players are "real" and not just socket puppets from the bank?



Title: Re: [ANN] bitbattle.me - fast-paced PvP Blockchain gambling!
Post by: nelisky on October 31, 2012, 09:51:47 AM
Most online games are individual? I'm involved with diceoncrack and taabl, and I can certainly throw all the coins at either and then recover them (well, ttbit might not be too happy with that, but in theory). Sure, I'm playing "for free" but I'm not displacing anybody else's chance of winning.

Or are there other PvP games out there that I'm not aware of?


Title: Re: [ANN] bitbattle.me - fast-paced PvP Blockchain gambling!
Post by: SRoulette on October 31, 2012, 10:33:05 AM
The basic bet system is similar to the various dice sites, but the available bets are spread more equal with win probability steps of ~5%.

Great new game :)
Though we beg to differ on this one point, Our clone dice game offers probability steps of 1%.


Title: Re: [ANN] bitbattle.me - fast-paced PvP Blockchain gambling!
Post by: Herbert on November 02, 2012, 03:06:47 PM
New game mode: Singleplayer

Now you can get used to bitbattle.me (http://bitbattle.me) by running single-player games.
The rules are the same, the only difference is that you have no opponent, so you don't risk having to share your win with your opponent. Of course this also means you miss the chance to increase your win by grabbing a share of your opponent's win!

So from pure game mechanics this singleplayer mode is very similar to the existing *dice games, but on technical level has some significant differences:
  • The concept of a game with bet timeouts and game timeout
  • The betting addresses are individual for each game
  • Live update of game website with each placed bet
  • Your win is payed only when the game is over, not after each bet
  • There is no payout on lost bets
Especially the last two points might be interesting, as this prevents your wallet (and the blockchain) from being flooded with tiny transactions.

Having said that, i consider Singleplayer mode the "training mission" for the real thing. Get used to the game mechanics and the way risk score is calculated, then join the multiplayer games for the real fun  ;D


Title: Re: [ANN] bitbattle.me - fast-paced PvP Blockchain gambling! New: Singleplayer!
Post by: Herbert on November 05, 2012, 09:24:59 AM
Currently the server is not reachable. I am checking with the datacenter whats going on...

Edit:
All up and running again!


Title: Re: [ANN] bitbattle.me - fast-paced PvP Blockchain gambling! New: Singleplayer!
Post by: Herbert on November 16, 2012, 09:40:24 PM
Server will be down for approximately one day due to some infrastructure changes. For compensation there will be some exciting new features when it launches again!


Title: Re: bitbattle.me - Roll the dice without the blockchain bloat!
Post by: Herbert on November 17, 2012, 10:01:58 PM
Server up again with some major new features:
  • Have your own set of permanent bet addresses
  • Track all your bets and sessions with personal statistics
  • Watch your and other people's bets and sessions live in the browser
  • All kinds of statistics

And:
  • House edge is down to 1.8% for all bets
  • Max bet amounts are doubled for all bets

And this all without accounts or registration ;D!

=> Check the updated first post for more details or visit bitbattle.me (http://bitbattle.me) right away!


Title: Re: bitbattle.me - Roll dice without bloating the blockchain! With multiplayer mode!
Post by: Herbert on November 22, 2012, 10:59:45 PM
bitbattle.me (http://bitbattle.me) now officially supports "sendmany" transactions!
Sample session: http://bitbattle.me/game/8afa3fcb48e14274900051e2591a1114/
All three bets of this session were included in one transaction. (And all of them lost :D)


Title: Re: bitbattle.me - Roll dice without bloating the blockchain! With multiplayer mode!
Post by: SteamGamesBTC.com on November 24, 2012, 10:04:09 PM
I've tested singeplayer and it works fine. Very fast and clean. Looks like a good alternative to laggy satoshidice. Cheers.

My tests cost me 15 BTC. ;-) WON/LOST 8/19 @ 50%

http://s7.directupload.net/images/121125/yn8d9yo3.png


Title: Re: bitbattle.me - Roll dice without bloating the blockchain! With multiplayer mode!
Post by: Herbert on November 25, 2012, 03:18:13 PM
Thanks for your feedback steamgames!
I noticed that someone created a player with an invalid payout address and actually won 0.35302. Naturally the transaction is still in "pending" state. So, if you read this please contact me so we can sort this out - In the meantime I'm back to coding to improve validation of payout addresses :-)

Edit:
Another thing, some user probably by mistake created a new player for each session. This is not necessary, the idea is that you just create a player once and then keep using it for as many sessions as you like. Whenever you place a bet by sending some coins to one of your bet addresses a new session is automatically started. Or, in other words: If you created a player the bet addresses are permanent, they will NOT expire when your session ends.


Title: Re: bitbattle.me - Roll dice without bloating the blockchain! With multiplayer mode!
Post by: Herbert on November 25, 2012, 11:17:27 PM
In case you did not realize it - The player stats were totally wonky :P. This is fixed now (together with better validation of Bitcoin Address when creating a new player)!
Right now jammm (http://bitbattle.me/player/e78621907ecb4f339a33fdb4f2878ee6/) is by far the most active player (http://bitbattle.me/statistics/active) with 348 bets.


Title: Re: bitbattle.me - Roll dice without bloating the blockchain! With multiplayer mode!
Post by: Herbert on November 27, 2012, 07:06:29 PM
Tadaaa! (Insert your favorite fanfare here)

Player srmagic (http://bitbattle.me/player/0498ca42a3824e68b738330cd31f43c7/) was the lucky guy to make bitbattle.me reach a significant first milestone: 1000th bet! (http://bitbattle.me/bet/1000/), placed today at 17:28:41+0100 (unfortunately lost once again  ;))

I did not expect to hit this number of bets so fast, so I take this as a sign of both trust and really having fun - Thank you to everyone who used the site so far!

There are already a lot of improvements planned, especially I want to focus on the multiplayer part. Right now there are just too few players so it is very unlikely that you get an opponent when starting a multiplayer session. Naturally, this can only be changed by you :-) While the active player base is reaching critical mass for multiplayer I am working on making it a smoother experience. First thing on the list is to make it possible to join multiplayer game with your existing player, instead of always needing to handle temporary bet addresses.

So stay tuned and keep rolling  ;D


Title: Re: bitbattle.me - Roll dice without bloating the blockchain! With multiplayer mode!
Post by: Rubix on December 01, 2012, 12:53:12 AM
Had a bit of a play under the name Rocket.

Nice that you get the results so quick. Though it would be great if there was a button on the player dashboard to instantly end a session and get paid out (without having to leave the page)

I used a wallet with a small balance when testing and had to forever navigate away from the page when the wallet was out of cash, to then get my winnings paid out, navigate back to the page and keep going.

Other than that.. I like it!

Did not venture onto the multiplayer part yet though as things seemed very quiet.


Title: Re: bitbattle.me - Roll dice without bloating the blockchain! With multiplayer mode!
Post by: Herbert on December 01, 2012, 11:49:25 PM
Good point about being able to stop a singleplayer session. I will definitely add this ;)


Title: Re: bitbattle.me - Roll dice without bloating the blockchain! With multiplayer mode!
Post by: Herbert on December 02, 2012, 11:06:55 PM
Update launched today:

  • New "Get started!" (http://bitbattle.me/singleplayer/) page that should be more user-friendly
  • "Find Player" on the frontpage to directly locate your player dashboard
  • You can now start/join multiplayer sessions with your player
  • Your bet addresses are now shown in a dedicated popup-window, so you can always keep them around
  • whole bunch of UI design/layout improvements and cleanups

Unfortunately one nice feature did not make the change: Right now you can not create invitation sessions anymore. But this feature will come back soon  ;)

And did I mention that win payouts of bitbattle.me (http://bitbattle.me) do not directly rely on the outpoints of incoming bets? So even if some double-spends would come through this will have no effect on people's win payouts.  8)

Btw:
Good point about being able to stop a singleplayer session. I will definitely add this ;)
This is not as easy as it sounded in the beginning :) Since the whole site works without authentication there is no easy way to prevent anybody from closing your running session if I just add an according link. So this feature is not (yet) in.



Title: Re: bitbattle.me - 10 BTC Bounty for Bet #5000!
Post by: Herbert on December 08, 2012, 10:52:14 PM
BOUNTY RUN - Get 10 BTC to place bet #5000!
Right now (2012-12-08) there are 1477 bets placed. If you place Bet number 5000 you will get a bounty of 10 BTC - no strings attached!
Only condition: The bet must be valid (i.e. not a refund). In case Bet 5000 is a refunded one due to any reason, the next valid bet will get the bounty!
The bounty will be paid to the payout address of the player placing the bet. The bet number is the first number in the Bet log. Both single- and multiplayer bets can win. Note that the bounty will not be paid automatically, so please allow for some hours until you get your bounty in case i sleep, am offline etc.  ;)


Title: Re: bitbattle.me - 10 BTC Bounty for Bet #5000!
Post by: Herbert on December 11, 2012, 12:36:50 AM
Invitation sessions are back!

On your player's dashboard you will find a new button "Start Invite Session". Click it to start an invitation multiplayer session. The new session will start in waiting mode and display an invitation link to share - Whoever gets to click this link will join your session!

Another small change is also live:
The "Start Multiplayer" link will now change to "Join multiplayer" when another player started a multiplayer session. This should make it a bit easier to have a multiplayer session as you immediately see when one is started...

PS:
Bet count is still low at around 1600, so still some more to go to claim the bounty!


Title: Re: bitbattle.me - 10 BTC Bounty for Bet #5000! Invitation links are back!
Post by: ingrownpocket on December 11, 2012, 03:27:18 PM
I won!

http://bitbattle.me/bet/5000/ (http://bitbattle.me/bet/5000/)

Create an account at https://coinad.com and I'll offer you free advertising for life ;)

Whoever want to see my awesome stats: http://bitbattle.me/player/9bea43bff985482bbffa1302bc1de65a/


Title: Re: bitbattle.me - 10 BTC Bounty for Bet #5000! Invitation links are back!
Post by: ingrownpocket on December 11, 2012, 03:38:48 PM
Some things you may want to change/improve:

  • "Running sessions" -> Once a session is closed, remove it from the list.
  • Show the lucky number in the list (main page and user page)
  • Once the session has >100 bets it starts to get slow, and after 200 bets it really gets slow
  • Show the total bets and payout in the user page, so we can see the net profit
  • API for betting bots, in SatoshiDice the bots can see if the user won the bet or not with the returning txid, it would be nice for you to have something similar with using API, or create an option to send a callback for a given page once the lucky number is calculated.
  • Some bets did it after the session had closed (Eg. http://bitbattle.me/game/38435746aa2d4c79b2f1afaebe3ea2cd/)


Title: Re: bitbattle.me - 10 BTC Bounty for Bet #5000! Invitation links are back!
Post by: ingrownpocket on December 11, 2012, 03:47:58 PM
It was really fun to see my bets going through and my balance going up and down.

I'm sure your site will have great success  ;)


Title: Re: bitbattle.me - 10 BTC Bounty for Bet #5000! Invitation links are back!
Post by: Herbert on December 11, 2012, 03:49:27 PM
I won!

http://bitbattle.me/bet/5000/ (http://bitbattle.me/bet/5000/)

Create an account at https://coinad.com and I'll offer you free advertising for life ;)

Whoever want to see my awesome stats: http://bitbattle.me/player/9bea43bff985482bbffa1302bc1de65a/

Gratulations! You put some stress to my system which is exactly what a wanted to see :-) Bounty has been paid (txID 78b276cac6b7f086dc25707d4e71269131a9b29329a87c0524ee6b287b44c1be).


Title: Re: bitbattle.me - 10 BTC Bounty for Bet #5000! Invitation links are back!
Post by: ingrownpocket on December 11, 2012, 03:52:23 PM
I won!

http://bitbattle.me/bet/5000/ (http://bitbattle.me/bet/5000/)

Create an account at https://coinad.com and I'll offer you free advertising for life ;)

Whoever want to see my awesome stats: http://bitbattle.me/player/9bea43bff985482bbffa1302bc1de65a/

Gratulations! You put some stress to my system which is exactly what a wanted to see :-) Bounty has been paid (txID 78b276cac6b7f086dc25707d4e71269131a9b29329a87c0524ee6b287b44c1be).

Thank you   :)


Title: Re: bitbattle.me - 10 BTC Bounty for Bet #5000! Invitation links are back!
Post by: Herbert on December 11, 2012, 05:18:54 PM
I won!

http://bitbattle.me/bet/5000/ (http://bitbattle.me/bet/5000/)

Create an account at https://coinad.com and I'll offer you free advertising for life ;)

Whoever want to see my awesome stats: http://bitbattle.me/player/9bea43bff985482bbffa1302bc1de65a/
I'll get back to you with the advertising  ;)

"Running sessions" -> Once a session is closed, remove it from the list.
Well, it should already do that. Do you mean the running sessions on the front page or on the player dashboard?
Quote
Show the lucky number in the list (main page and user page)
Yep, sounds good!
Quote
Once the session has >100 bets it starts to get slow, and after 200 bets it really gets slow
What exactly got slow? The website updates or the processing of the incoming transactions? I could limit the number of bets that can be placed within one session - When the limit is reached the session gets closed and paid out. As you proofed a script/bot can easily create hundres of bets per session which is not really considered in the UI...
Quote
Show the total bets and payout in the user page, so we can see the net profit
Also good idea!
Quote
API for betting bots, in SatoshiDice the bots can see if the user won the bet or not with the returning txid, it would be nice for you to have something similar with using API, or create an option to send a callback for a given page once the lucky number is calculated.
Yeah, betting API is on my TODO-List, but somewhere with lower priority. I think it could be fun to have bots bitbattle each other in multiplayer mode  ;D But this will take a lot of thinking and also improvemnt of the multiplayer sessions...
Quote
Some bets did it after the session had closed (Eg. http://bitbattle.me/game/38435746aa2d4c79b2f1afaebe3ea2cd/)
This is only a display problem - closing, payout and last bet all happened in the same second, and the sorting of session events is done via timestamp which has a resolution of only one second. Definitely also have to change this :-)

Also the payment engine had some trouble, you probably noticed that some payments were in state "pending" for several minutes. I also will have a look there what was the problem.

Thank you for your feedback, and i hope you come back soon with a few thousand more bets (maybe with some higher stake?)  ;)


Title: Re: bitbattle.me - Bounty claimed! Invitation links are back!
Post by: ingrownpocket on December 11, 2012, 05:33:14 PM
"Running sessions" -> Once a session is closed, remove it from the list.
Well, it should already do that. Do you mean the running sessions on the front page or on the player dashboard?
Both.

Quote
Once the session has >100 bets it starts to get slow, and after 200 bets it really gets slow
What exactly got slow? The website updates or the processing of the incoming transactions? I could limit the number of bets that can be placed within one session - When the limit is reached the session gets closed and paid out. As you proofed a script/bot can easily create hundres of bets per session which is not really considered in the UI...
Yes, the bet processing gets really slow when the sessions has more than 200-300 bets. Maybe the limit should be 200 or 150 bets per session.

Quote
Some bets did it after the session had closed (Eg. http://bitbattle.me/game/38435746aa2d4c79b2f1afaebe3ea2cd/)
This is only a display problem - closing, payout and last bet all happened in the same second, and the sorting of session events is done via timestamp which has a resolution of only one second. Definitely also have to change this :-)

Also the payment engine had some trouble, you probably noticed that some payments were in state "pending" for several minutes. I also will have a look there what was the problem.
Yep, some payments were with "pending" state for several minutes.

Thank you for your feedback, and i hope you come back soon with a few thousand more bets (maybe with some higher stake?)  ;)
I had a really bad experience with SD when I started playing with a higher stake   :P


Title: Re: bitbattle.me - Bounty claimed! Invitation links are back!
Post by: Herbert on December 12, 2012, 10:23:20 AM
Hah, you managed to screw the stats also: http://bitbattle.me/statistics/lucky_numbers/
As you always placed multiple bets in one transaction and for the graph i take the lucky numbers of the last 1000 bets there are a lot of bets with the same lucky number, resulting in a graph that seems to contain much less dots than before :-)


Title: Re: bitbattle.me - Bounty claimed! Invitation links are back!
Post by: Herbert on December 13, 2012, 12:16:02 AM
Somehow the wallet got corrupted, resulting in most part of the balance being unspendable  >:(
Right now restarting bitcoind with -rescan option - let's see if all comes back again...


Title: Re: bitbattle.me - Bounty claimed! Invitation links are back!
Post by: Herbert on December 13, 2012, 12:31:27 AM
Somehow the wallet got corrupted, resulting in most part of the balance being unspendable  >:(
Right now restarting bitcoind with -rescan option - let's see if all comes back again...

The rescan seems to have helped. To be sure all is fine I did a more or less complete exchange of the hot wallet - Transferred all funds to my local wallet and back again to the hot wallet - Went through without a problem.

The pending payments also have catched up already - So you can roll again :-)


Title: Re: bitbattle.me - Bounty claimed! Invitation links are back!
Post by: Herbert on December 13, 2012, 11:03:28 PM
Launched some updates today:
  • The lucky number is now displayed in the session log
  • The number of bets per session is now limited to prevent huge sessions like Carlos produced ;-).
  • When a game is closed the reason for closing is displayed (bet limit reached, time limit reached etc.)
  • Fix: Pending Payment issue caused by huge sessions
  • Fix: Refunds in multiplayer sessions caused an internal error and were stuck
  • Fix: After a bet is rejected due to insufficient wallet balance you had to open/close a multiplayer session in order to be able to bet again

Slim (http://bitbattle.me/player/937342a414fb4d34ac44d89dfbbaf3ff/) was playing cat and mouse with my hot wallet the last 2 days, repeatedly causing the site to go into "Wallet depleted" mode. I need to rework the strategy here a bit while still making sure not to accept any bet that could not be paid from the hot wallet...


Title: Re: bitbattle.me - Bounty claimed! Invitation links are back!
Post by: IXIslimIXI on December 15, 2012, 12:26:17 AM
Launched some updates today:
  • The lucky number is now displayed in the session log
  • The number of bets per session is now limited to prevent huge sessions like Carlos produced ;-).
  • When a game is closed the reason for closing is displayed (bet limit reached, time limit reached etc.)
  • Fix: Pending Payment issue caused by huge sessions
  • Fix: Refunds in multiplayer sessions caused an internal error and were stuck
  • Fix: After a bet is rejected due to insufficient wallet balance you had to open/close a multiplayer session in order to be able to bet again

Slim (http://bitbattle.me/player/937342a414fb4d34ac44d89dfbbaf3ff/) was playing cat and mouse with my hot wallet the last 2 days, repeatedly causing the site to go into "Wallet depleted" mode. I need to rework the strategy here a bit while still making sure not to accept any bet that could not be paid from the hot wallet...

The play today was a lot smoother. I emailed you about the only issue I noticed today which was, session would not close by timeout until you actually opened the session. This probably won't be an issue for most because I imagine they stay in session while playing. However, I like to stay on my dashboard while playing so, for people like me, this will happen. It doesn't necessarily make much of a difference to keep the session open as far as I'm concerned but, wanted to alert you.

To everyone else... This game is really great. If you used to be a fan of SD but hate the lag, lost bets, and spam getting in the way, this is the perfect place. You are in a session all by your lonesome and it is EXTREMELY fast.


Title: Re: bitbattle.me - Bounty claimed! Invitation links are back!
Post by: Herbert on December 15, 2012, 11:43:15 AM
The play today was a lot smoother. I emailed you about the only issue I noticed today which was, session would not close by timeout until you actually opened the session. This probably won't be an issue for most because I imagine they stay in session while playing. However, I like to stay on my dashboard while playing so, for people like me, this will happen. It doesn't necessarily make much of a difference to keep the session open as far as I'm concerned but, wanted to alert you.

I'll check out the problem with the session closing today. This happened already once when the task scheduler had a hickup and did not work on new tasks, but this time it seems something different...

To everyone else... This game is really great. If you used to be a fan of SD but hate the lag, lost bets, and spam getting in the way, this is the perfect place. You are in a session all by your lonesome and it is EXTREMELY fast.

Thanks for your feedback Slim :-)
Btw, you are now by far leading the payout charts, you are close to hit the 1000 BTC mark: http://bitbattle.me/statistics/payout/
But the title for "most active player" is still with Carlos: http://bitbattle.me/statistics/active/


Edit:
Session closing fixed. What a stupid bug ::) - Someone please tell me to stop coding in the middle of the night...


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 15, 2012, 04:37:52 PM
Stop coding in the middle of the night. ;)


Title: Re: bitbattle.me - Bounty claimed! Invitation links are back!
Post by: IXIslimIXI on December 15, 2012, 04:53:32 PM
The play today was a lot smoother. I emailed you about the only issue I noticed today which was, session would not close by timeout until you actually opened the session. This probably won't be an issue for most because I imagine they stay in session while playing. However, I like to stay on my dashboard while playing so, for people like me, this will happen. It doesn't necessarily make much of a difference to keep the session open as far as I'm concerned but, wanted to alert you.

I'll check out the problem with the session closing today. This happened already once when the task scheduler had a hickup and did not work on new tasks, but this time it seems something different...

To everyone else... This game is really great. If you used to be a fan of SD but hate the lag, lost bets, and spam getting in the way, this is the perfect place. You are in a session all by your lonesome and it is EXTREMELY fast.

Thanks for your feedback Slim :-)
Btw, you are now by far leading the payout charts, you are close to hit the 1000 BTC mark: http://bitbattle.me/statistics/payout/
But the title for "most active player" is still with Carlos: http://bitbattle.me/statistics/active/


Edit:
Session closing fixed. What a stupid bug ::) - Someone please tell me to stop coding in the middle of the night...


And what is my bounty for 1000btc? ;)
I need about 30btc to cover my losses! lol


Title: Re: bitbattle.me - Bounty claimed! Invitation links are back!
Post by: IXIslimIXI on December 15, 2012, 05:23:58 PM
The play today was a lot smoother. I emailed you about the only issue I noticed today which was, session would not close by timeout until you actually opened the session. This probably won't be an issue for most because I imagine they stay in session while playing. However, I like to stay on my dashboard while playing so, for people like me, this will happen. It doesn't necessarily make much of a difference to keep the session open as far as I'm concerned but, wanted to alert you.

I'll check out the problem with the session closing today. This happened already once when the task scheduler had a hickup and did not work on new tasks, but this time it seems something different...

To everyone else... This game is really great. If you used to be a fan of SD but hate the lag, lost bets, and spam getting in the way, this is the perfect place. You are in a session all by your lonesome and it is EXTREMELY fast.

Thanks for your feedback Slim :-)
Btw, you are now by far leading the payout charts, you are close to hit the 1000 BTC mark: http://bitbattle.me/statistics/payout/
But the title for "most active player" is still with Carlos: http://bitbattle.me/statistics/active/


Edit:
Session closing fixed. What a stupid bug ::) - Someone please tell me to stop coding in the middle of the night...


And what is my bounty for 1000btc? ;)
I need about 30btc to cover my losses! lol

UPDATE: Make that 50btc. lmao


Title: Re: bitbattle.me - Bounty claimed! Invitation links are back!
Post by: Herbert on December 15, 2012, 07:26:28 PM
The play today was a lot smoother. I emailed you about the only issue I noticed today which was, session would not close by timeout until you actually opened the session. This probably won't be an issue for most because I imagine they stay in session while playing. However, I like to stay on my dashboard while playing so, for people like me, this will happen. It doesn't necessarily make much of a difference to keep the session open as far as I'm concerned but, wanted to alert you.

I'll check out the problem with the session closing today. This happened already once when the task scheduler had a hickup and did not work on new tasks, but this time it seems something different...

To everyone else... This game is really great. If you used to be a fan of SD but hate the lag, lost bets, and spam getting in the way, this is the perfect place. You are in a session all by your lonesome and it is EXTREMELY fast.

Thanks for your feedback Slim :-)
Btw, you are now by far leading the payout charts, you are close to hit the 1000 BTC mark: http://bitbattle.me/statistics/payout/
But the title for "most active player" is still with Carlos: http://bitbattle.me/statistics/active/


Edit:
Session closing fixed. What a stupid bug ::) - Someone please tell me to stop coding in the middle of the night...


And what is my bounty for 1000btc? ;)
I need about 30btc to cover my losses! lol

UPDATE: Make that 50btc. lmao

No worries, I'll setup another bounty as soon as I have the payment engine update live to give it some stress testing :-)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: AvL42 on December 16, 2012, 03:42:57 PM
Is there a way to keep a session of single-player bets open for more than about a minute? I'm talking about hours or even a day...

During a minute, I hardly get to play more than a single bet, and there's practically no saving on blockchain bloat and miner-fees if I get each win paid out "almost immediately" and thus separately.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 16, 2012, 08:23:06 PM
Is there a way to keep a session of single-player bets open for more than about a minute? I'm talking about hours or even a day...

During a minute, I hardly get to play more than a single bet, and there's practically no saving on blockchain bloat and miner-fees if I get each win paid out "almost immediately" and thus separately.

Currently the bet timeout is 75 seconds. This could be increased, but of course this means if you want to end a session early you have to wait longer.
Problem is that I don't want to add an "end session" button on the website - As the site works without accounts this button would be visible to everybody looking at your session. So  anybody could close your running session - Probably not what we want to have.
So the current value of 75 seconds is somewhat of a compromise. I am happy to adjust this in one or the other direction - I agree the if using the standard client or blockchain.info wallet for each placed bet you have to perform several mouse clicks, so the timeout is quite small. What is your opinion?

Having sessions last hours or days will probably not happen. To protect me from double-spends I am trying to make the win payout contain as much as possible "coins" (actually OutPoints) from your bets placed in the session. If a session would run for such a long time this could lead to huge transactions with several hundred InPoints, resulting in huge transaction fees. Besides UI issues that is another reason why I introduced the bets per session limit.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: AvL42 on December 16, 2012, 08:30:31 PM
Problem is that I don't want to add an "end session" button on the website - As the site works without accounts this button would be visible to everybody looking at your session. So  anybody could close your running session -

I don't understand the problem with that.   There's no way that "offender" could change the address, and the only "damage" would be causing an earlier payout, but that is by default already ways too early ;)

e.g.: dailybitcoins also offers delayed payouts, and everyone could trigger payout for any address, but it's not really a problem.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 16, 2012, 08:52:14 PM
Problem is that I don't want to add an "end session" button on the website - As the site works without accounts this button would be visible to everybody looking at your session. So  anybody could close your running session -

I don't understand the problem with that.   There's no way that "offender" could change the address, and the only "damage" would be causing an earlier payout, but that is by default already ways too early ;)

e.g.: dailybitcoins also offers delayed payouts, and everyone could trigger payout for any address, but it's not really a problem.

Hmm.. True, but still it would annoy the hell out of me if my sesssion would be closed by someone else. But i think we can just give it a test. With one of the next updates I will add the end session button and increase the bet and session timeouts.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: AvL42 on December 16, 2012, 09:58:02 PM
I don't understand the problem with that.   There's no way that "offender" could change the address, and the only "damage" would be causing an earlier payout, but that is by default already ways too early ;)
e.g.: dailybitcoins also offers delayed payouts, and everyone could trigger payout for any address, but it's not really a problem.

Hmm.. True, but still it would annoy the hell out of me if my sesssion would be closed by someone else. But i think we can just give it a test. With one of the next updates I will add the end session button and increase the bet and session timeouts.

You mean someone ending it prematurely in 71 seconds? ;-)

Why does the payout even need to be tied to a session?  There's no concept of a session in dailybitcoins.
It just knows, how much it "owes" to each address, and on request pays it out.

Thanks in advance for the promised change!


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 18, 2012, 12:08:30 AM
Problem is that I don't want to add an "end session" button on the website - As the site works without accounts this button would be visible to everybody looking at your session. So  anybody could close your running session -

I don't understand the problem with that.   There's no way that "offender" could change the address, and the only "damage" would be causing an earlier payout, but that is by default already ways too early ;)

e.g.: dailybitcoins also offers delayed payouts, and everyone could trigger payout for any address, but it's not really a problem.

Hmm.. True, but still it would annoy the hell out of me if my sesssion would be closed by someone else. But i think we can just give it a test. With one of the next updates I will add the end session button and increase the bet and session timeouts.

I agree that it would piss me off if someone kept closing my sessions. It is much easier to keep track of my win\loss with the sessions and I like being able to see risk\win as a whole instead of having to do math. I gamble for fun... not because I want to add numbers.

Avl42, how in the hell are you only able to get one bet in per session? I usually get anywhere between 40 and 100 depending on which client I use.


Herbert, is there a reason you do not want to use accounts? I think it would be cool to have some account features. Like each person could customize their experience to his or her liking. For instance, end session buttons, constant sessions, hiding your account activity, things of this nature. All easily accomplished with accounts. So, just curious what brought on that decision to have no accounts? Don't take this as a request or something I see as a problem, just options and curiosity. I still think your site is number 1 out of all the Dice sites (even though I've lost about 800 bucks there. lmao)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 18, 2012, 01:09:48 AM
PS... I still am waiting to try out the multiplayer. Any body up for a game?


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: AvL42 on December 18, 2012, 03:32:12 AM
Avl42, how in the hell are you only able to get one bet in per session?
I usually get anywhere between 40 and 100 depending on which client I use.

Well, to each as he likes it. I rather enjoy betting a little, like a few mBTC every hour or even
day, and I'd like to wait for a few wins added up, so the payout isn't substantially consumed
for fees.

Imho, that would be one big advantage over classic dice-games like satoshidice.
(another one being already the avoidance of those useless satoshi-payouts for losses.)

Btw., what could be anyone's motivation to end any other user's sessions (before the system
does so, anyway)?


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 18, 2012, 04:25:25 AM
Avl42, how in the hell are you only able to get one bet in per session?
I usually get anywhere between 40 and 100 depending on which client I use.

Well, to each as he likes it. I rather enjoy betting a little, like a few mBTC every hour or even
day, and I'd like to wait for a few wins added up, so the payout isn't substantially consumed
for fees.

Imho, that would be one big advantage over classic dice-games like satoshidice.
(another one being already the avoidance of those useless satoshi-payouts for losses.)

Btw., what could be anyone's motivation to end any other user's sessions (before the system
does so, anyway)?


Man... I've seen people online do some very dumb and pointless stuff just for the hell of it. Spend a week browsing this very forum and you will see pointless name calling, false accusations of fraud, and general immature behavior.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: AvL42 on December 18, 2012, 04:39:03 AM
It's just beyond me, how you worry about someone else ending your sessions,
when merely going to the bathroom will already likely end your session (and
that without anyone else involved!).


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 18, 2012, 05:27:49 AM
It's just beyond me, how you worry about someone else ending your sessions,
when merely going to the bathroom will already likely end your session (and
that without anyone else involved!).


I don't "worry" about it... I just said it would bother me if someone were to do that. It's beyond me how you are completely oblivious as to how people act. I wouldnt go to the bathroom in the middle of a session... That is under my control. Someone acting foolish is not under my control. You do realize bitcoins are money right? And gambling is using said money in a manner that could lose or gain you more. Why is it so hard to understand that I wouldn't want someone "playing" with my money... Would you like someone changing out your blackjack shoe after every hand without your control? Unlikely.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 18, 2012, 08:25:58 AM
Herbert, is there a reason you do not want to use accounts? I think it would be cool to have some account features. Like each person could customize their experience to his or her liking. For instance, end session buttons, constant sessions, hiding your account activity, things of this nature. All easily accomplished with accounts. So, just curious what brought on that decision to have no accounts? Don't take this as a request or something I see as a problem, just options and curiosity. I still think your site is number 1 out of all the Dice sites (even though I've lost about 800 bucks there. lmao)
Main reason is that requiring registration on a website is a major turn-off for many people, including me :-) Currently it is really easy to get started on bitbattle.me: Enter a name and your payout address and you're set! No need to provide any more details, no need to click on a confirmation link etc. I think this is a very important part to get new players aboard.
But I also see your points here, having an account would make it possible to adjust stuff like timeout etc. Maybe best thing would be to make registration optional, so the site stays fully functional without registration, but when you register you can adjust some settings.

Why does the payout even need to be tied to a session?  There's no concept of a session in dailybitcoins.
It just knows, how much it "owes" to each address, and on request pays it out.

Thanks in advance for the promised change!
Well, i prefer to not hold the users money longer than necessary. Hot wallets are always at stake - The longer I keep users funds in my hot wallet, the bigger it gets and the more I have to compensate in case it gets stolen  ;)
Another thing is that I like the "all automatic" approach. Right now you can just open your dashboard in the browser and start betting with your preferred client. No need for any interaction on the website, you just use it to watch your bets.

Btw I am still busy with the payment engine rework. This includes refactoring of the way transaction fees are calculated and handled on the site. Right now payouts are either taking several hours to get a confirmation or have such a high TxFee that my house edge gets completely eaten up >:(
When this is done I'll do the session changes discussed earlier...


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 18, 2012, 03:09:28 PM
Herbert, is there a reason you do not want to use accounts? I think it would be cool to have some account features. Like each person could customize their experience to his or her liking. For instance, end session buttons, constant sessions, hiding your account activity, things of this nature. All easily accomplished with accounts. So, just curious what brought on that decision to have no accounts? Don't take this as a request or something I see as a problem, just options and curiosity. I still think your site is number 1 out of all the Dice sites (even though I've lost about 800 bucks there. lmao)
Main reason is that requiring registration on a website is a major turn-off for many people, including me :-) Currently it is really easy to get started on bitbattle.me: Enter a name and your payout address and you're set! No need to provide any more details, no need to click on a confirmation link etc. I think this is a very important part to get new players aboard.
But I also see your points here, having an account would make it possible to adjust stuff like timeout etc. Maybe best thing would be to make registration optional, so the site stays fully functional without registration, but when you register you can adjust some settings.

Why does the payout even need to be tied to a session?  There's no concept of a session in dailybitcoins.
It just knows, how much it "owes" to each address, and on request pays it out.

Thanks in advance for the promised change!
Well, i prefer to not hold the users money longer than necessary. Hot wallets are always at stake - The longer I keep users funds in my hot wallet, the bigger it gets and the more I have to compensate in case it gets stolen  ;)
Another thing is that I like the "all automatic" approach. Right now you can just open your dashboard in the browser and start betting with your preferred client. No need for any interaction on the website, you just use it to watch your bets.

Btw I am still busy with the payment engine rework. This includes refactoring of the way transaction fees are calculated and handled on the site. Right now payouts are either taking several hours to get a confirmation or have such a high TxFee that my house edge gets completely eaten up >:(
When this is done I'll do the session changes discussed earlier...


I completely agree about the optional registration. That way it will make both sides happy. I personally don't mind registering on some sites but agree that others it would be nice to not have to make up a fake name and email. :P lol



Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 18, 2012, 09:08:16 PM
Site will be offline for a few minutes. Stay tuned...


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 18, 2012, 09:10:56 PM
Site will be offline for a few minutes. Stay tuned...


*Thumbs up*


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 18, 2012, 09:39:09 PM
a little chat feature inside the multiplayer session would be cool


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: AvL42 on December 18, 2012, 09:45:41 PM
I think, we're all thinking waaaayyys too complicated :)

My wish:  prolonged sessions without automatic expiry.
IXIslimIXI's concern:  Don't allow any stranger to terminate
              sessions faster than system's 72secs timeout.

Serving both:

   Add a "keep open" toggle-button ("checkbox") for each session, that
     (while checked) will merely block the 72secs session-timeout.
     Initially not checked, current behaviour would remain default.

   Releasing the "keep" merely makes sessions fall back to 72secs
     timeout mode, so couldn't really terminate sessions earlier than
     happens now.
   Setting the "keep" for a foreign session might cause a little confusion,
     but not much. If no payout arrives, one will likely check the session
     and see the "keep". Unchecking it then will terminate it instantly (as
     the session would be long beyond 72secs of idle by that time).

   Also, to avoid packratting sessions forever, there might still be a long
     timeout (maybe a week) that would clean "kept" sessions, once the
     last action was more than a week ago.



Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 18, 2012, 09:50:49 PM
I think, we're all thinking waaaayyys too complicated :)

My wish:  prolonged sessions without automatic expiry.
IXIslimIXI's concern:  Don't allow any stranger to terminate
              sessions faster than system's 72secs timeout.

Serving both:

   Add a "keep open" toggle-button ("checkbox") for each session, that
     (while checked) will merely block the 72secs session-timeout.
     Initially not checked, current behaviour would remain default.

   Releasing the "keep" merely makes sessions fall back to 72secs
     timeout mode, so couldn't really terminate sessions earlier than
     happens now.
   Setting the "keep" for a foreign session might cause a little confusion,
     but not much. If no payout arrives, one will likely check the session
     and see the "keep". Unchecking it then will terminate it instantly (as
     the session would be long beyond 72secs of idle by that time).

   Also, to avoid packratting sessions forever, there might still be a long
     timeout (maybe a week) that would clean "kept" sessions, once the
     last action was more than a week ago.



I think the "packratting" issue could be easily solved with an idle timer of a couple of hours or so.

I like the idea of having the option to prolong your session. I don't like the idea of an "end session now" button that everyone could see. That's all I was saying.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 18, 2012, 09:56:21 PM
Up and running again with the heavily improved payment engine!

Noteworthy changes:
  • TxFee calculation now follows the same rules like the official bitcoin client. All payouts and refunds should now have an appropriate transaction fee, meaning your payouts will always be confirmed fast and no more coins are wasted due to excessive fees!
  • The issue of too little confirmed balance in the hot wallet ("Wallet depleted" error) should not occur (so often) anymore. (Yeah, sometime i will increase the balance of the hot wallet to get rid of this issue for good. But I still need to build more confidence ;))
  • Completely switched to using rawtransactions API (before I sometimes had to fallback to using the normal "sendtoaddress" command. And combining both methods is dangerous when something happens in parallel...).
  • Payments are now handled asynchronously. You will notice that all payment start in state "pending" and after a short time (<1 second) switch to status "paid"

Bad news:
Somehow i managed to break the interesting part of multiplayer - Currently the risk score is not taken into account for payout calculation. Will fix that ASAP and then start on the other topics  :D

a little chat feature inside the multiplayer session would be cool
This is the top item already on my multiplayer TODO-List  ;)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 18, 2012, 10:00:02 PM
Up and running again with the heavily improved payment engine!

Noteworthy changes:
  • TxFee calculation now follows the same rules like the official bitcoin client. All payouts and refunds should now have an appropriate transaction fee, meaning your payouts will always be confirmed fast and no more coins are wasted due to excessive fees!
  • The issue of too little confirmed balance in the hot wallet ("Wallet depleted" error) should not occur (so often) anymore. (Yeah, sometime i will increase the balance of the hot wallet to get rid of this issue for good. But I still need to build more confidence ;))
  • Completely switched to using rawtransactions API (before I sometimes had to fallback to using the normal "sendtoaddress" command. And combining both methods is dangerous when something happens in parallel...).
  • Payments are now handled asynchronously. You will notice that all payment start in state "pending" and after a short time (<1 second) switch to status "paid"

Bad news:
Somehow i managed to break the interesting part of multiplayer - Currently the risk score is not taken into account for payout calculation. Will fix that ASAP and then start on the other topics  :D

a little chat feature inside the multiplayer session would be cool
This is the top item already on my multiplayer TODO-List  ;)

Groovy... Will be interesting how you accomplish this without registered user accounts. :D


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 18, 2012, 11:29:40 PM
Bad news:
Somehow i managed to break the interesting part of multiplayer - Currently the risk score is not taken into account for payout calculation. Will fix that ASAP and then start on the other topics  :D
Fixed! This was just a display issue - accidently I showed the calculated payout also in the "win" row.
Example: http://bitbattle.me/game/bfacdfc7e530466cab55a3756290e26d/

a little chat feature inside the multiplayer session would be cool
This is the top item already on my multiplayer TODO-List  ;)
Groovy... Will be interesting how you accomplish this without registered user accounts. :D
Well, maybe I should rename TODO into WISH then ;)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 18, 2012, 11:57:13 PM
Bad news:
Somehow i managed to break the interesting part of multiplayer - Currently the risk score is not taken into account for payout calculation. Will fix that ASAP and then start on the other topics  :D
Fixed! This was just a display issue - accidently I showed the calculated payout also in the "win" row.
Example: http://bitbattle.me/game/bfacdfc7e530466cab55a3756290e26d/

a little chat feature inside the multiplayer session would be cool
This is the top item already on my multiplayer TODO-List  ;)
Groovy... Will be interesting how you accomplish this without registered user accounts. :D
Well, maybe I should rename TODO into WISH then ;)

lol. understood!!


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 19, 2012, 10:16:08 PM
Okay, changes regarding session and bet timeouts are now online!
  • No more bet timeout for singleplayer sessions
  • Increase session timeout to 10 minutes
  • Added "close session" button to session details page
  • Increase bet timeout in multiplayer sessions from 75 to 90 seconds
  • Decrease bet limit to 50 bets/session

As discussed this has the drawback that anybody can close your running session, but in the end it still might be more comfortable for the player. Give it a try and let me know what you think!


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 19, 2012, 10:53:04 PM
Cool, I'll let you know how it plays.

Been running smooth all day today! You know, except for all the coins I've lost. lol


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: ingrownpocket on December 20, 2012, 09:26:48 AM
https://blockchain.info/tx/02c84cc8894b85649427ad6d2a97f043655c6f65d3a52105ff5b4679bc6cdb95
https://blockchain.info/tx/212b58871024af77e93e8ad9a3f40e171cee965eb7598d918d9aec190364549f
https://blockchain.info/tx/5ba1779377ec57a29e738254e47e46d8cb724fda99b6c2479132c3d62f1bf42d
https://blockchain.info/tx/9a577158719dd741383a45a2bd85e56051871dc04a02623feef6acad7a5d8079
https://blockchain.info/tx/e10e0e288b3f9a2df9e37048e63768a9502fc45a1405f3311ed126ad44ddd620

What happened with this bets? Are they stuck?


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 20, 2012, 09:50:11 AM
There was a problem this morning. Somehow the notification for incoming transactions was stuck while all services in general kept running fine. So no monitoring alert was triggered and the transactions just ignored :-(

@Carlos: Your bets have been placed now.

@All: If you are missing any bet please provide me the transactionIDs so I can double-check that they have been handled in the meantime.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 22, 2012, 11:53:38 AM
Site will be down a few minutes for some updates - Stay tuned!

Update:
  • You can search for bets by transactionID (Button "Lookup Tx" on main page)
  • Rejected bets now have tooltip on mouseover which states the reason for being rejected
  • Refund payments now have a tooltip on mouseover which states the reason for the refund
  • Some additional minor fixes

Note that the reject/refund reasons will only be there for new entries.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 22, 2012, 12:18:35 PM
Just had an idea about the "close session" button:

How about enabling the "close session" button only when no bet has been place for something like 1 minute? This way the "vandalism problem" of somebody closing your running session just to annoy you could be at least reduced.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 22, 2012, 03:45:47 PM
Just had an idea about the "close session" button:

How about enabling the "close session" button only when no bet has been place for something like 1 minute? This way the "vandalism problem" of somebody closing your running session just to annoy you could be at least reduced.



I like the idea personally. But, more like 30 seconds. Otherwise, IMO, it will be just like it was before if someone wants to end the session early. That way, even if the bettor was delayed for a couple of bets then it would take odd timing of the random unscrupulous individual to be looking right when the timer was enabled. Great idea bud


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 22, 2012, 09:00:44 PM
How about a way to see if there are any open multiplayer sessions open that arent currently playing? like a session that just has one person so we dont have to try and enter a room. I bet more people will play them if you could see that


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 23, 2012, 11:27:45 AM
Last night the handling of incoming bets was stuck.
Affected players were "SlickTheNick", "Sluice", "slim", "ConnorCG", "Doomed" and "avl42". System has catched up now and all your bets have been placed. I am really sorry for the delay and looking hard to find the root cause, as this is now the second time this has happened  >:(

How about a way to see if there are any open multiplayer sessions open that arent currently playing? like a session that just has one person so we dont have to try and enter a room. I bet more people will play them if you could see that
You can already tell by the label of the "Start Multiplayer" button in your dashboard. As soon as someon starts a multiplayer session, the button label changes to "Join Multiplayer". But I agree this is not very prominent/visible - I try to improve that  :)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: AvL42 on December 23, 2012, 12:27:21 PM
Actually, my bets were all processed with no noticeable delay, however the result casually shows up multiple (as in 20 or so) times.

I'm glad about prolongation of session timeout to a couple of minutes, but I'd really want to be able to delay/collect my payouts for even longer period, like days if not weeks...   If you're afraid of being "used" as a bank, then perhaps a payout could still happen once the amount grows beyond "dust" (e.g. >=0.01 or even 0.1BTC) such that (at least typically) no fee would be required.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 23, 2012, 01:15:44 PM
Just deployed some improvements which should either fix the problem of stuck bets or help me fix it when it appears again. As expected it is some kind of concurrency problem  ::)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 23, 2012, 04:56:38 PM
Last night the handling of incoming bets was stuck.
Affected players were "SlickTheNick", "Sluice", "slim", "ConnorCG", "Doomed" and "avl42". System has catched up now and all your bets have been placed. I am really sorry for the delay and looking hard to find the root cause, as this is now the second time this has happened  >:(

How about a way to see if there are any open multiplayer sessions open that arent currently playing? like a session that just has one person so we dont have to try and enter a room. I bet more people will play them if you could see that
You can already tell by the label of the "Start Multiplayer" button in your dashboard. As soon as someon starts a multiplayer session, the button label changes to "Join Multiplayer". But I agree this is not very prominent/visible - I try to improve that  :)


Ah, ok... I didn't realize that. That is helpful but, something more glaring and something that shows up while another player is in a session may entice more people to join a Msession. Of course, a chat feature would allow us to just ask. ;)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 23, 2012, 04:58:25 PM
PS.... check your email :)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 23, 2012, 05:34:41 PM
PS.... check your email :)
Done  ;D


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 29, 2012, 02:05:27 AM
Would it be possible to only see bets placed by the person who's profile you have open? For instance, I have my profile open but it is showing everyone else's bets instead of just mine. Can't we just use the main page for viewing all bets and then when you go in to a user profile it just shows the bets made by that profile?


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on December 29, 2012, 02:07:50 AM
Would it be possible to only see bets placed by the person who's profile you have open? For instance, I have my profile open but it is showing everyone else's bets instead of just mine. Can't we just use the main page for viewing all bets and then when you go in to a user profile it just shows the bets made by that profile?

Especially since the Bet logs while in a user profile have no names attached to the entry


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: AvL42 on December 29, 2012, 02:46:21 AM
Would it be possible to only see bets placed by the person who's profile you have open? For instance, I have my profile open but it is showing everyone else's bets instead of just mine. Can't we just use the main page for viewing all bets and then when you go in to a user profile it just shows the bets made by that profile?
Especially since the Bet logs while in a user profile have no names attached to the entry

I see that symptom casually coming and going: Suddenly I see other users' bets
on my dashboard, and a refresh later I see again only my own bets.
Ditto the other bug where the latest bet result is shown umpty times, but all's
back to ok after a page-reload.

PS: ceterum censeo automatic session-timeout delendam esse :)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 29, 2012, 10:43:21 AM
Would it be possible to only see bets placed by the person who's profile you have open? For instance, I have my profile open but it is showing everyone else's bets instead of just mine. Can't we just use the main page for viewing all bets and then when you go in to a user profile it just shows the bets made by that profile?

Especially since the Bet logs while in a user profile have no names attached to the entry


I see that symptom casually coming and going: Suddenly I see other users' bets
on my dashboard, and a refresh later I see again only my own bets.
Ditto the other bug where the latest bet result is shown umpty times, but all's
back to ok after a page-reload.

Hmm, obvious bugs! Should be an easy fix on the javascript/template side - Will check that later today.

PS: ceterum censeo automatic session-timeout delendam esse :)
Hah, you made me lol :-) Will think about that a bit more. If there is no session timeout at all the number of ongoing sessions will increase with increase of userbase and at some point be a ressource problem. But I could increase the session timeout again. With current limit of 50 bets/session most users will eventually hit that limit anyway...


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on December 29, 2012, 12:27:57 PM
Update:
  • Fix display bug when other player's bets show up in dashboard
  • (hopefully) fix display bug when bets show up multiple times in dashboard
  • Increase maximum bet stakes (http://bitbattle.me/bets/) by 50%!

Last point should provide especially Martingale-style player a bit more fun  ;)

Edit:
Additional change: Closing a session is now only allowed 30 seconds after the last bet has been placed.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: SteamGamesBTC.com on January 01, 2013, 02:21:40 PM
Argh, it happens so often for me, only on bitbattle. ;-)

http://s1.directupload.net/images/130101/tskkwdkh.png


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 02, 2013, 10:03:53 AM
Statistics have been extended today:
  • Show player in Biggest Wins (http://bitbattle.me/statistics/wins/), Biggest Losses (http://bitbattle.me/statistics/losses/), Singleplayer (http://bitbattle.me/statistics/sp_sessions/) and Multiplayer (http://bitbattle.me/statistics/mp_sessions/) stats
  • Show tooltip with number of bets taken into account for Win Percentage (http://bitbattle.me/statistics/win_percentage/) stats

@steamgames:
Have a look at your "win percentage" stats. Indeed it seems you had some real bad luck there on the lessthan29491 bet  :o But on the other hand this means you can expect to start winning there if you continue  ;)



Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 05, 2013, 02:43:12 PM
Spent quite some time hunting down bet processing deadlock that still happens every few days... I think I found the reason, but as it happens so rarely you can never be sure :-)
Changelog for today:
  • Rework session close logic to prevent deadlocks
  • Add some more crosslinks to blockchain.info for transactions and addresses
  • Some more code cleanups in javascript part

Most visible change should be session close logic. Before the update the session details page triggered a reload() when the timers expired. This is now not necessary anymore as the server anyway sends a message to the client when the session is closed.
Please report here if you spot any troubles or delays!


Edit:
While at it I also improved live connection handling with IE. Should be much more stable now using flashsocket connection  8)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on January 08, 2013, 05:22:02 PM
Would it be possible to add the risk amount and bet counter on the session page?


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 08, 2013, 08:58:43 PM
Would it be possible to add the risk amount and bet counter on the session page?
Should be possible, but might need some layout tweaking. Probably would need to decrease overall font size for the tables like on the main page. (You meant to display them in the "Running session" table in the dashboard, right?)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on January 08, 2013, 09:04:02 PM
Would it be possible to add the risk amount and bet counter on the session page?
Should be possible, but might need some layout tweaking. Probably would need to decrease overall font size for the tables like on the main page. (You meant to display them in the "Running session" table in the dashboard, right?)

You got it. It just would be cool to be able to see everything about the session while you are in it without having to go to your profile to see though, know what I mean?


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 08, 2013, 10:27:21 PM
Upcoming change of rules for lucky number calculation

I decided to follow the amazingly simple proposal by dooglus (which is also implemented by SDice in the meantime):

They could fix that by using a different 'lucky number' for each bet.  Use the output number as well as the txid to determine the lucky number.  Then they can allow lots of max bets on the same game in a single transaction, without increasing their risk of ruin.

Starting tomorrow morning 1:00 (2013-01-09 01:00 UTC) the calculation of lucky numbers will also take the output index into account. At the same time the bet details pages will also show the new way to verify the lucky number and bet result.

This change is only important for people doing "sendmany" transactions (placing multiple bets in one single transaction). Right now the lucky number is only depending on the transactionID, so each bet of a sendmany transaction will have the same lucky number. This makes it possible for people to effectively avoid the max bet limit, because if the lucky number is low all or most of the bets will win. So there is less statistic variance for me, resulting in a higher risk of needing to do huge payments at once.

When the change is effective each bet of a sendmany transaction will have an individual lucky number. This increase statistical variance, so the risk for me having to do a huge payment is reduced a lot.

Important:
This does not change anything on the win odds or fairness of bitbattle.me! This is just a change to increase the variance of bet results, enabling me to increase the max bet limits and/or reduce the necessary balance of the hot wallet.


I expect the change to go through smoothly. Shortly after this is done also bet limits will be raised and placing multiple bets of the same type within one transaction will be allowed :)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: ingrownpocket on January 09, 2013, 10:17:05 AM
Upcoming change of rules for lucky number calculation

I decided to follow the amazingly simple proposal by dooglus (which is also implemented by SDice in the meantime):

They could fix that by using a different 'lucky number' for each bet.  Use the output number as well as the txid to determine the lucky number.  Then they can allow lots of max bets on the same game in a single transaction, without increasing their risk of ruin.

Starting tomorrow morning 1:00 (2013-01-09 01:00 UTC) the calculation of lucky numbers will also take the output index into account. At the same time the bet details pages will also show the new way to verify the lucky number and bet result.

This change is only important for people doing "sendmany" transactions (placing multiple bets in one single transaction). Right now the lucky number is only depending on the transactionID, so each bet of a sendmany transaction will have the same lucky number. This makes it possible for people to effectively avoid the max bet limit, because if the lucky number is low all or most of the bets will win. So there is less statistic variance for me, resulting in a higher risk of needing to do huge payments at once.

When the change is effective each bet of a sendmany transaction will have an individual lucky number. This increase statistical variance, so the risk for me having to do a huge payment is reduced a lot.

Important:
This does not change anything on the win odds or fairness of bitbattle.me! This is just a change to increase the variance of bet results, enabling me to increase the max bet limits and/or reduce the necessary balance of the hot wallet.


I expect the change to go through smoothly. Shortly after this is done also bet limits will be raised and placing multiple bets of the same type within one transaction will be allowed :)


http://bitbattle.me/game/cf91a9db835341be9997cbb7c9403923/ (http://bitbattle.me/game/cf91a9db835341be9997cbb7c9403923/)  ;)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 09, 2013, 02:57:53 PM
http://bitbattle.me/game/cf91a9db835341be9997cbb7c9403923/ (http://bitbattle.me/game/cf91a9db835341be9997cbb7c9403923/)  ;)
Thanks for testing  ;)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 10, 2013, 10:34:04 PM
Need to cleanup some unconfirmed transactions from the wallet. Site will be offline for a few minutes...

Up again!


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 11, 2013, 11:50:06 PM
I rolled out an update of the payment engine today:
There was one bug that could lead to your session payout including unconfirmed inputs from other players (Your own unconfirmed inputs are always part of the payout). As there have been some double-spend attempts lately there was at least one payout which never confirmed since it contained a double-spent input.
This bug is fixed now, all session payout inputs are now either from your own bets or have at least one confirmation.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 12, 2013, 12:15:49 AM
I am working on a refine of the double-spend protection mechanism.

The following rules will be in place:

  • If a transaction has fee >= 0.0005, and all inputs are confirmed -> ALLOW
  • If a transaction has fee < 0.0005, but all inputs are confirmed -> ALLOW
  • If a transaction has fee < 0.0005, and at least one input is unconfirmed -> REJECT
  • If a transaction has at least one unconfirmed input but higher fee (>= 0.001) -> ALLOW
  • If a transaction has at least one unconfirmed input and fee < 0.001 -> REJECT

Note that "REJECT" means the transaction is immediately sent back to the players payout address. As bitbattle.me is all about realtime there is no point in waiting until the transaction gets confirmed.

Opinions? Can you think of a scenario where I would reject valid transactions? Or not detect double-spend attempts like described in https://bitcointalk.org/index.php?topic=130764 (In general I think people will continue to refine this attack, so it will always be a cat-and-mouse-game anyway...)?


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 12, 2013, 10:00:59 PM
  • If a transaction has fee >= 0.0005, and all inputs are confirmed -> ALLOW
  • If a transaction has fee < 0.0005, but all inputs are confirmed -> ALLOW
  • If a transaction has fee < 0.0005, and at least one input is unconfirmed -> REJECT
  • If a transaction has at least one unconfirmed input but higher fee (>= 0.001) -> ALLOW
  • If a transaction has at least one unconfirmed input and fee < 0.001 -> REJECT

Note that "REJECT" means the transaction is immediately sent back to the players payout address. As bitbattle.me is all about realtime there is no point in waiting until the transaction gets confirmed.
These rules are now active on the site. Please report here if you placed a legit bet and it was rejected - I am sure thes rules will need some refinement :-)

...Shortly after this is done also bet limits will be raised and placing multiple bets of the same type within one transaction will be allowed :)
Multiple same type bets are now allowed. Bet limits still unchanged though - Still need to do some more math to decide which amount is okay without risking going bankrupt  ;)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on January 12, 2013, 10:34:37 PM
Well, all my current bets are being refunded due to "potential double spend".


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 12, 2013, 10:39:03 PM
Well, all my current bets are being refunded due to "potential double spend".
Nice ::) I'm checking your transactions now. Which client are you using?

Edit:
  • If a transaction has at least one unconfirmed input but higher fee (>= 0.001) -> ALLOW
  • If a transaction has at least one unconfirmed input and fee < 0.001 -> REJECT
I changed these two rules so that a tx fee of 0.0005 is sufficient. Let's see how it works. 


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on January 12, 2013, 10:53:42 PM
It varies, sometimes blockchain.info and sometimes local bitcoin app. That particular instance was blockchain. testing...


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on January 12, 2013, 10:54:47 PM
It's working now BUT, what is odd about this previous incident is that I had already placed several bets prior to those failing.  ???


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on January 12, 2013, 10:56:38 PM
Well, all my current bets are being refunded due to "potential double spend".
Nice ::) I'm checking your transactions now. Which client are you using?

Edit:
  • If a transaction has at least one unconfirmed input but higher fee (>= 0.001) -> ALLOW
  • If a transaction has at least one unconfirmed input and fee < 0.001 -> REJECT
I changed these two rules so that a tx fee of 0.0005 is sufficient. Let's see how it works. 


Geez, now I'm having a problem with losing... Obviously something is broken again, could you fix that as well?! lol ;)


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 12, 2013, 11:00:10 PM
It's working now BUT, what is odd about this previous incident is that I had already placed several bets prior to those failing.  ???
That's correct. The transactions that went through had already confirmed inputs, so they went through regardless of the txfee. The rejected ones had unconfirmed inputs when they came in, so i checked the txfee.

Geez, now I'm having a problem with losing... Obviously something is broken again, could you fix that as well?! lol ;)
;D


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on January 12, 2013, 11:04:22 PM
It's working now BUT, what is odd about this previous incident is that I had already placed several bets prior to those failing.  ???
That's correct. The transactions that went through had already confirmed inputs, so they went through regardless of the txfee. The rejected ones had unconfirmed inputs when they came in, so i checked the txfee.


Odd, I shouldn't have had any unconfirmed coins in my wallet today. Oh well...


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 17, 2013, 03:31:57 PM
In case you wonder/noticed:
This morning there was a somehow strange situation. Starting from 5:59 until 10:15 not a single incoming bet transaction got confirmed. As Slim was quite active in this timeframe the available amount of confirmed coins gradually decreased until it hit the safety limit. Therefor the site went into "Backend Down"  mode, not accepting any new incoming bet and immediately refunding it. Then came Block #216886 at 10:15 including all missing transactions at once :o

I really did not expect that no confirmations come in for such a long time. I almost started panicking about a new/unkown type of double-spend attack :-\. But as Slim really seems to be a nice person as far as I know him I knew it must be something else.

So, Lesson learned? Hot wallet balance needs to increase to have more confirmed coins available any time ::) And obviously more players are needed, so that if one player/wallet has this kind of problem there are enough other transactions that still go through fine. (I suspect the main problem is quite long chains of unconfirmed transactions being built up between bitbattle and Slims wallet. Unconfirmed win payouts were immediately again coming in as new bet, again ending up in the next unconfirmed payout...)



Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on January 17, 2013, 04:06:33 PM
In case you wonder/noticed:
This morning there was a somehow strange situation. Starting from 5:59 until 10:15 not a single incoming bet transaction got confirmed. As Slim was quite active in this timeframe the available amount of confirmed coins gradually decreased until it hit the safety limit. Therefor the site went into "Backend Down"  mode, not accepting any new incoming bet and immediately refunding it. Then came Block #216886 at 10:15 including all missing transactions at once :o

I really did not expect that no confirmations come in for such a long time. I almost started panicking about a new/unkown type of double-spend attack :-\. But as Slim really seems to be a nice person as far as I know him I knew it must be something else.

So, Lesson learned? Hot wallet balance needs to increase to have more confirmed coins available any time ::) And obviously more players are needed, so that if one player/wallet has this kind of problem there are enough other transactions that still go through fine. (I suspect the main problem is quite long chains of unconfirmed transactions being built up between bitbattle and Slims wallet. Unconfirmed win payouts were immediately again coming in as new bet, again ending up in the next unconfirmed payout...)



lol... yeah, I was on a losing streak for the record books too!!! late night gambling... baaaaadddddd


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on January 17, 2013, 06:42:32 PM
Down again. :(

I brokeded it? :'(


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 17, 2013, 07:08:59 PM
Down again. :(

I brokeded it? :'(

Not broke, but same situation like this morning. Site is sitting on a pile of unconfirmed inputs from your bets, so the confirmed balance is too low to accept new bets.

Which client do you currently use? Because I was more or less assuming that all clients will prefer confirmed inputs to unconfirmed ones when initiating a transaction. I looked at some of your bet transactions and am quite surprised that seemingly all your bet's inputs are consisting of my previous payment outputs, yet unconfirmed. This is generating huge chains of unconfirmed transactions - I can understand that these transactions are not preferred by miners even if they all have txfees set.


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: IXIslimIXI on January 17, 2013, 08:07:33 PM
Blockchain.info

I've been using it for a while though so why is it just now starting?


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 17, 2013, 09:04:51 PM
Blockchain.info

I've been using it for a while though so why is it just now starting?
Good question. For now I increased the hot wallet balance, but I don't think it will be enough to cover a situation like this morning where it took 4 hours to confirm the inputs. I am still trying to understand exactly how this situation evolved - Hope I can come up with a strategy different from "just put ten times more into the hot wallet"...


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 17, 2013, 11:14:03 PM
Good news - I think i found a possibility to decrease the amount of confirmed coins necessary for filling up a payout while keeping my strict rule of using unconfirmed coins only if they were received by the same player. This requires some code change and testing, but seems totally doable 8).


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 18, 2013, 03:05:57 PM
In case you wonder/noticed:
This morning there was a somehow strange situation. Starting from 5:59 until 10:15 not a single incoming bet transaction got confirmed. As Slim was quite active in this timeframe the available amount of confirmed coins gradually decreased until it hit the safety limit. Therefor the site went into "Backend Down"  mode, not accepting any new incoming bet and immediately refunding it. Then came Block #216886 at 10:15 including all missing transactions at once :o

Thought this might be worth sharing with you :-):
Here is a snapshot from my balance tracker at that time (Red is unconfirmed, blue is confirmed balance):
https://i.imgur.com/AmYaO.png
Each downwards step on the blue line is the payout of a session with positive outcome, so in addition to the unconfirmed coins that came in during the session confirmed funds had to be used for the payout.
The first part is what i usually see: After a relative short time the incoming bets get confirmed, so the amount of confirmed coins jumps up and down, but overall keeps quite stable. But then at 5:59 the confirmations just stopped and the confirmed balance started tumbling down...


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 19, 2013, 04:18:18 PM
There was a bug in multplayer payment code that could lead to not paying out all players of a session  :(
So far only one session was affected by this bug (http://bitbattle.me/game/31a91d4518b14139bbe1091356ea9488/). Player SHatschiM did not receive his 0.094 payout when the session was closed. The bug is now fixed and the payment has been made (you can see it now in the session log, the latest payment was issued several hours after the session was closed).

SHatschiM, if you read this: Please accept my apology for the late payment!


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 19, 2013, 09:11:48 PM
Site will be down a few minutes for upgrading...

Good news - I think i found a possibility to decrease the amount of confirmed coins necessary for filling up a payout while keeping my strict rule of using unconfirmed coins only if they were received by the same player. This requires some code change and testing, but seems totally doable 8).

The upgraded payment engine is now rolled out. With this change I am confident that the site will not run out of confirmed balance again (at least not due to long confirmation time ;)). I put a lot of time in testing this, but as always please let me know when something seems not correct!


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: ingrownpocket on January 20, 2013, 02:02:44 PM
http://bitbattle.me/bet/50000/

 ;D


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 24, 2013, 04:38:43 PM
Server had some troubles and was restarted, but the site did not come up clean again. Looking at it right now...

Up and running! Database needed some nudgin to start working again  ;D


Title: Re: bitbattle.me - Roll the dice without blockchain bloat! With multiplayer mode!
Post by: Herbert on January 27, 2013, 11:57:21 PM
Site update rolled out today with new Statistics and many more small fixes:

  • Bet History (http://bitbattle.me/statistics/bet_history/)
  • Session History (http://bitbattle.me/statistics/session_history/)
  • Payment History (http://bitbattle.me/statistics/payment_history/)
  • Slightly redesigned main page (http://bitbattle.me)
  • Limit the number of bets/sessions/payments displayed on the players dashboard (As info on past data is now available in the player's statistics)

Especially the last change should significantly improve the loading speed of your dashboard! And as always - Please let me know if you see any issue with the changes  ;)



Title: Re: bitbattle.me - Instant bets without blockchain bloat! With multiplayer mode!
Post by: Herbert on February 01, 2013, 11:26:01 PM
Pushed some small updates today:
  • Make the notification of waiting multiplayer game more prominent, including waiting opponents name.
  • Make sure to close multiplayer sessions in time even when no bet was placed.
  • Inform player about remaining seconds if he wants to close a session early.
  • Added info on transaction acceptance policy to rules
  • Show timestamp in payments history

And some numbers:
The total volume of bitbattle.me just crossed the 50000 BTC line, with almost 70000 bets placed in more than 3300 sessions!


Title: Re: bitbattle.me - Instant bets without blockchain bloat! With multiplayer mode!
Post by: Herbert on February 02, 2013, 05:57:42 PM
Bet limits raised!

Bet limits (http://bitbattle.me/bets/) for all bets have just been raised by 66%! Now you can win up to 50 Bitcoin in a single bet!


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: IXIslimIXI on February 06, 2013, 01:54:54 AM
Remember that conversation we had a while back where I was concerned about people closing each others sessions... Well, someone just closed mine and I'm pretty sure it's happened before. Kind of retarded but I knew it would happen. Regardless, I like the setup the way it is, just thought I would point out that it's happening. ;)


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: mnightwaffle on February 06, 2013, 06:48:10 AM
all them 'lost' back to back on 40%   http://bitbattle.me/game/67bd2ef1dad7485588a1740f6d43adcf/ (http://bitbattle.me/game/67bd2ef1dad7485588a1740f6d43adcf/)

annnd... 15x continuous loss on 55% chance http://bitbattle.me/game/b266dbc7c75f4f2dad7b5ea1e7f17801/  (http://bitbattle.me/game/b266dbc7c75f4f2dad7b5ea1e7f17801/)

so rookie, so embarrassing   ::) good times ! ;D



Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: IXIslimIXI on February 06, 2013, 07:14:49 AM
all them 'lost' back to back on 40%   http://bitbattle.me/game/67bd2ef1dad7485588a1740f6d43adcf/ (http://bitbattle.me/game/67bd2ef1dad7485588a1740f6d43adcf/)

annnd... 15x continuous loss on 55% chance http://bitbattle.me/game/b266dbc7c75f4f2dad7b5ea1e7f17801/  (http://bitbattle.me/game/b266dbc7c75f4f2dad7b5ea1e7f17801/)

so rookie, so embarrassing   ::) good times ! ;D



Stick with it, you'll have much worse streaks, trust me. lol


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: Herbert on February 06, 2013, 07:51:42 AM
Remember that conversation we had a while back where I was concerned about people closing each others sessions... Well, someone just closed mine and I'm pretty sure it's happened before. Kind of retarded but I knew it would happen. Regardless, I like the setup the way it is, just thought I would point out that it's happening. ;)
Oh my, like expected ::) I think the only way to get this sorted is to add optional accounts. So when you have created an account you can only close sessions when you are logged in, but without the 30 seconds waiting time. When you don't have an account everything stays like it is.
And as a bonus this will be the enabler for adding chat in multiplayer sessions :-)


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: Herbert on February 08, 2013, 12:28:21 AM
Finally I found a solution to the occasional loading timeouts you might have noticed. Turned out that the websocket connections slow down the whole server process quite a lot (while the load is totally low). Now websocket and normal connections are fully decoupled and handled by separate server processes. The speed gain is impressive ;D.


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: Herbert on February 08, 2013, 11:21:57 PM
Site will be down for a few minutes for an update!

Update:
  • Player-related urls now using 'slug' based on playername instead of uuid (example: http://bitbattle.me/player/herbert/). Old bookmarks are still valid, they will redirect to the new urls.
  • Running sessions table in dashboard and index page now show the remaining seconds until session timeout
  • Fixed a rare racecondition while closing sessions that could lead to duplicate payment objects, resulting in no payment being made (Thanks to R33F (http://bitbattle.me/player/r33f/) for helping to track down this bug!)


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: IXIslimIXI on February 08, 2013, 11:34:43 PM
Sites back up. Bets aren't working :P


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: IXIslimIXI on February 08, 2013, 11:36:16 PM
Remember that conversation we had a while back where I was concerned about people closing each others sessions... Well, someone just closed mine and I'm pretty sure it's happened before. Kind of retarded but I knew it would happen. Regardless, I like the setup the way it is, just thought I would point out that it's happening. ;)
Oh my, like expected ::) I think the only way to get this sorted is to add optional accounts. So when you have created an account you can only close sessions when you are logged in, but without the 30 seconds waiting time. When you don't have an account everything stays like it is.
And as a bonus this will be the enabler for adding chat in multiplayer sessions :-)

I would LOVE LOVE LOVE LOVE this feature (optional accounts). Purdy please can I has accountz?



Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: Herbert on February 08, 2013, 11:45:11 PM
Remember that conversation we had a while back where I was concerned about people closing each others sessions... Well, someone just closed mine and I'm pretty sure it's happened before. Kind of retarded but I knew it would happen. Regardless, I like the setup the way it is, just thought I would point out that it's happening. ;)
Oh my, like expected ::) I think the only way to get this sorted is to add optional accounts. So when you have created an account you can only close sessions when you are logged in, but without the 30 seconds waiting time. When you don't have an account everything stays like it is.
And as a bonus this will be the enabler for adding chat in multiplayer sessions :-)

I would LOVE LOVE LOVE LOVE this feature (optional accounts). Purdy please can I has accountz?

Lol  ;D Yes, this feature will come! But i have no timeline yet, as this requires quite some changes everywhere...


Sites back up. Bets aren't working :P

Hmm, are you missing a bet? Please let me know the transactionID, then I will check it. There is a small chance that it got lost during the restart of the backend. It should be picked up anyway soon if it got lost, but i can speed up the process :-)


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: IXIslimIXI on February 08, 2013, 11:47:30 PM
Remember that conversation we had a while back where I was concerned about people closing each others sessions... Well, someone just closed mine and I'm pretty sure it's happened before. Kind of retarded but I knew it would happen. Regardless, I like the setup the way it is, just thought I would point out that it's happening. ;)
Oh my, like expected ::) I think the only way to get this sorted is to add optional accounts. So when you have created an account you can only close sessions when you are logged in, but without the 30 seconds waiting time. When you don't have an account everything stays like it is.
And as a bonus this will be the enabler for adding chat in multiplayer sessions :-)

I would LOVE LOVE LOVE LOVE this feature (optional accounts). Purdy please can I has accountz?

Lol  ;D Yes, this feature will come! But i have no timeline yet, as this requires quite some changes everywhere...


Sites back up. Bets aren't working :P

Hmm, are you missing a bet? Please let me know the transactionID, then I will check it. There is a small chance that it got lost during the restart of the backend. It should be picked up anyway soon if it got lost, but i can speed up the process :-)


Sure Sure... a LIKELY answer!!! Just dangle that carrot!!! lol


Two, actually...
https://blockchain.info/tx/828485c809108594049354e8593f04cc1c4fafa83e634c7bfa4fb98d8a0d6b1f
https://blockchain.info/tx/f01e4973537fbf52019777f2cc5e4208242881e56010188e8ac3bdda48b4f11b


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: Herbert on February 09, 2013, 12:02:42 AM
Two, actually...
https://blockchain.info/tx/828485c809108594049354e8593f04cc1c4fafa83e634c7bfa4fb98d8a0d6b1f
https://blockchain.info/tx/f01e4973537fbf52019777f2cc5e4208242881e56010188e8ac3bdda48b4f11b

Got 'em: http://bitbattle.me/game/584134d77d91443982ffb770c646997e/
That is two wins!  ;D


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: IXIslimIXI on February 09, 2013, 12:20:04 AM
Two, actually...
https://blockchain.info/tx/828485c809108594049354e8593f04cc1c4fafa83e634c7bfa4fb98d8a0d6b1f
https://blockchain.info/tx/f01e4973537fbf52019777f2cc5e4208242881e56010188e8ac3bdda48b4f11b

Got 'em: http://bitbattle.me/game/584134d77d91443982ffb770c646997e/
That is two wins!  ;D

Wewt.... only 200btc to go! jk jk


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: AvL42 on February 09, 2013, 07:02:04 PM
Remember that conversation we had a while back where I was concerned about people closing each others sessions... Well, someone just closed mine and I'm pretty sure it's happened before. Kind of retarded but I knew it would happen. Regardless, I like the setup the way it is, just thought I would point out that it's happening. ;)
Oh my, like expected ::) I think the only way to get this sorted is to add optional accounts. So when you have created an account you can only close sessions when you are logged in, but without the 30 seconds waiting time. When you don't have an account everything stays like it is.
And as a bonus this will be the enabler for adding chat in multiplayer sessions :-)

Haven't watched this thread lately...
My bets were also seeming to attract bad luck streaks much more than the healthy mix of wins and losses,
and those few wins were eaten up by tx-fees for the much too soon payouts.  As I always said, my pet-peeve
was not about a troll ending my session within five minutes, but instead the system itself taking the part of the
troll ending my sessions much too soon, and doing so *always*.

At some point I wondered, if the secrets could *theoretically* be chosen such, that they'd lead to a non-uniform
distribution of lucky-numbers when used with tx-hashes. Everyone seems to believe that because sha256-hashes
look like random noise, that they'd actually be random noise. The actual entropy may however be much smaller...

If at some point I was able to defer payouts for a week and do "greater than Lucky#" bets, I might actually come
back for some more bets :-)


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: Herbert on February 11, 2013, 11:51:55 PM
Haven't watched this thread lately...
My bets were also seeming to attract bad luck streaks much more than the healthy mix of wins and losses,
and those few wins were eaten up by tx-fees for the much too soon payouts.  As I always said, my pet-peeve
was not about a troll ending my session within five minutes, but instead the system itself taking the part of the
troll ending my sessions much too soon, and doing so *always*.
Well, personally I don't really see this issue. Maybe I have to see it in another way - forget about the sessions, but just gamble and collect your earnings in your account and cash out whenever you want. Will see if I can add something like this when the optional accounts are done. But it's not the top item on my Todo-list as it is conceptual quite different from the current implementation.

At some point I wondered, if the secrets could *theoretically* be chosen such, that they'd lead to a non-uniform
distribution of lucky-numbers when used with tx-hashes. Everyone seems to believe that because sha256-hashes
look like random noise, that they'd actually be random noise. The actual entropy may however be much smaller...
To my knowledge there is no way to influence the lucky-number distribution by chosing a specific secret. As it is combined with transactionID and output index I can only control part of the input, resulting in a total random lucky number. At least this is my understanding how the hashing works  :)

If at some point I was able to defer payouts for a week and do "greater than Lucky#" bets, I might actually come
back for some more bets :-)
I'll let you know when this is possible :-)


Title: Re: bitbattle.me - Instant bets, still accepting 0/unconfirmed! With Multiplayer!
Post by: Herbert on February 11, 2013, 11:53:54 PM
Update today:
  • improve the layout of the session details page
  • Add your current stake in the session details page


Title: Re: bitbattle.me - Instant bets without blockchain bloat! Bet limits raised!
Post by: AvL42 on February 12, 2013, 01:06:00 PM
... As I always said, my pet-peeve was not about a troll ending my session within five minutes,
but instead the system itself taking the part of the troll ending my sessions much too soon, and doing so *always*.
Well, personally I don't really see this issue. Maybe I have to see it in another way - forget about the sessions,
but just gamble and collect your earnings in your account and cash out whenever you want.

About "seeing the issue": it's an issue of low-volume gamblers. If you're only interested
in high-volume gamblers, then don't bother changing anything ;)

otherwise...
yeah, that would be what I really wanted.  I wouldn't care about sessions, if payout
wasn't coupled to it. (Originally, I thought that payout-management was the very point
for existence of sessions, so therefore I believed prolonging sessions would be the only
reasonable way.)


Title: Re: bitbattle.me - Instant bets, still accepting 0/unconfirmed! With Multiplayer!
Post by: Herbert on February 17, 2013, 10:53:10 AM
Optional accounts feature is making good progress!

Basically there is one topic remaining: If you create an account you can connect your existing anonymous player with your account. But you need to prove that the anonymous account is really yours. Right now this is implemented using the "sign message" feature of bitcoin: You sign a message with the players payout address, if i can successfully verify the signature the player is connected with your account.
But this is only tested/working with the official bitcoin client. Not all clients support this feature, at least with blockchain.info wallet I did not find this functionality.

So, any suggestions how to prove ownership of an existing player if the sign message feature is not available to you?


Title: Re: bitbattle.me - Instant bets, still accepting 0/unconfirmed! With Multiplayer!
Post by: Herbert on February 18, 2013, 01:31:23 PM
Scammer alert!

It looks like some clever guy is creating players with the same name and same vanity bitcoin payout address like frequent players. Obviously he is hoping that you place your bets on the wrong player, resulting in all payouts going into scammers pocket.

I will update the site ASAP to force uniqueness of player names to prevent this issue. Until this is in place please double-check that you are using the correct player!

See http://bitbattle.me/player/slim/, http://bitbattle.me/player/slim-2/ and http://bitbattle.me/player/slim-3/ for an example...


Title: Re: bitbattle.me - Instant bets, still accepting 0/unconfirmed! With Multiplayer!
Post by: AvL42 on February 18, 2013, 09:05:36 PM
So, any suggestions how to prove ownership of an existing player if the sign message feature is not available to you?

Blockchain-wallet users have some control over what addresses to make a transaction *from*, so
maybe requesting a new bet be made from the anonymous account's payout-address might work.

Still wouldn't work for instawallet(and equiv.)-users...

PS: I'm not sure about that "same name" business. Do they really use exactly
the same name,  and your software didn't already prevent it? Or is it just about
"looking" the same as by use of certain unicode-chars that look similar to ascii-chars?


Title: Re: bitbattle.me - Instant bets, still accepting 0/unconfirmed! With Multiplayer!
Post by: Herbert on February 18, 2013, 09:54:26 PM
So, any suggestions how to prove ownership of an existing player if the sign message feature is not available to you?

Blockchain-wallet users have some control over what addresses to make a transaction *from*, so
maybe requesting a new bet be made from the anonymous account's payout-address might work.

Still wouldn't work for instawallet(and equiv.)-users...
Good point. I was actually surprised that blockchain wallet does not provide the sign message feature. I think I saw it there before... Anyway for now I will only implement automatic verification based on bitcoins sign message feature. Other ways need to be done manually.

PS: I'm not sure about that "same name" business. Do they really use exactly
the same name,  and your software didn't already prevent it? Or is it just about
"looking" the same as by use of certain unicode-chars that look similar to ascii-chars?
Funny enough in the "slim"-example the scammer used slightly different names, probably expecting that the same name would be rejected ;-) But the site allows to use exactly the same name, as long as as the payout address is different. There is only a unique constraint on the combination name + payout address.
Really should have added that unique constraint on the name in the beginning...

Anyway, will start rolling out the update in a few minutes!


Title: Re: bitbattle.me - Instant bets, still accepting 0/unconfirmed! With Multiplayer!
Post by: Herbert on February 18, 2013, 10:21:13 PM
Site will be down a few minutes for upgrading...


Title: Re: bitbattle.me - Instant bets, still accepting 0/unconfirmed! With Multiplayer!
Post by: Herbert on February 18, 2013, 10:50:07 PM
Okay, up and running with some major update - optional account registration!

  • The "Get started (http://bitbattle.me/getting_started/)" page now contains a section for optional account creation.
  • If you are logged in you have a dropdown menu on your username (top right of navbar) with shortlinks the the dashboard(s) of your player. (Yes, you can have multiple players connected with your account)
  • If you are logged in, every player you create will automatically be linked to your account
  • You can link your existing anonymous player to your account. Click on the "connect to account" button in the player's dashbord and follow the instructions (You will have to sign a message with your payout bitcoin address to prove ownership).
  • It is no longer possible to close other player's sessions (You can only close sessions of your own player when you are logged in)
  • It is no longer possible to start or join a multiplayer session with other players. (You can only do this with your own player when you are logged in)
  • It is no longer possible to create multiple players with the same name. Existing duplicates have been renamed.

Note that for account creation no email confirmation is necessary, so you can also register with fake email. However in this case there is no possibility to help you in case you forgot your password.


Title: Re: bitbattle.me - Instant bets, still accepting 0/unconfirmed! With multiplayer!
Post by: Herbert on February 19, 2013, 08:53:10 PM
Another small update:
Since closing a session is now only allowed for registered players: The 30 seconds waiting time until you can close a session is now removed - You can close your sessions without any waiting time ;D.


Title: Re: bitbattle.me - Instant bets, still accepting 0/unconfirmed! With multiplayer!
Post by: Herbert on February 20, 2013, 09:34:54 PM
Another small update:
Anonymous players now again can close their sessions with the old 30 seconds timeout. Registered players of course still can close their sessions without waiting!


Title: Re: bitbattle.me - Instant bets, still accepting 0/unconfirmed! ZERO waiting!
Post by: Herbert on March 05, 2013, 12:22:49 PM
It's been quite quiet here, so time for an intermediate update!
The new optional registration feature seems to work nicely, also site stability and performance has evolved nicely. We are only ~400 bets short of 100000 placed bets!

Right now I am working on three areas:
  • Upgrading my bitcoind backend to the 0.8 codebase
  • Usersettings so you can define your own bet limits, session limits, timeouts etc. (And probably an "incognito" playing mode)
  • API to enable integration with other websites, apps or implement gambling bots

The API is already coming along nicely - I hope to have it finished within the next few days, including a sample martingale bot implementation. Actually it is already working fine in my test environment, but still needs some cleanups and documentation. Only problem is the limited time i can spare for this at the moment :-)

And if you are following the discussion about SatoshiDice vs. the blocksize limit vs. dust spam transactions etc - I think it would be safe to recommend anybody to use bitbattle.me instead of SatoshiDice if you want to improve the situation here!
I don't think that the blocksize limit is a real issue by SatoshiDice - we would hit that limit anyway some time in the future. But what really bothers me is the blockchain bloat with the dust transactions. Using the blockchain for this kind of information is just plain wrong in my opinion.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! More than 100000 bets placed!
Post by: Herbert on March 07, 2013, 02:58:55 PM


100.000 Bets!



Gratulations! This morning player alonsoj15 (http://bitbattle.me/player/alonsoj15/) placed bet number 100.000 (http://bitbattle.me/bet/100000/)!


Time for a short comparison:
  • On SDice these bets would have resulted in 100.000 payout transactions, of which ~50.000 would be just dust spam to notify that you lost.
  • On bitbattle.me these bets resulted in 4570 payout transaction. And not a single dust spam.

So you should know where to gamble if you care about blockchain bloat... ;D


Title: Re: bitbattle.me - Instant bets, ZERO waiting! More than 100000 bets placed!
Post by: ingrownpocket on March 07, 2013, 03:01:07 PM
I wanted to have the bet #100,000.
But I didn't have any money on my wallet at that time, just if I was home   :(


Title: Re: bitbattle.me - Instant bets, ZERO waiting! More than 100000 bets placed!
Post by: AvL42 on March 07, 2013, 06:27:20 PM
On SDice these bets would have resulted in 100.000 payout transactions, of which ~50.000 would be just dust spam to notify that you lost.

In principle, Erik pays tx-fees for the loss-payments. He pays them from the edge.
You don't have to pay them.  How much lower is your edge compared to Erik's?

Even if you kept all these savings for yourself, you'd still be "good guy" for not
polluting the blockchain, but if your edge reflected your lower expenses, by being
noticably lower, then that might well attract more customers...

just speculating.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! More than 100000 bets placed!
Post by: Herbert on March 08, 2013, 08:20:47 AM
I wanted to have the bet #100,000.
But I didn't have any money on my wallet at that time, just if I was home   :(
No problem, next hot bet number is #1,000,000 ;D


Title: Re: bitbattle.me - Instant bets, ZERO waiting! More than 100000 bets placed!
Post by: Herbert on March 08, 2013, 08:37:06 AM
On SDice these bets would have resulted in 100.000 payout transactions, of which ~50.000 would be just dust spam to notify that you lost.

In principle, Erik pays tx-fees for the loss-payments. He pays them from the edge.
You don't have to pay them.  How much lower is your edge compared to Erik's?

There is 0.1% difference (Erik takes 1.9%, I take 1.8%).  But I did not calculate the Tx Fee difference in detail, so I can't tell if my overall edge is better than SDice.
But I can tell you that statistics are not on my side so far. Since beginning of the year house edge is way below the theoretical 1.8%. At the moment I am at impressive 0.73% :-\

Even if you kept all these savings for yourself, you'd still be "good guy" for not
polluting the blockchain, but if your edge reflected your lower expenses, by being
noticably lower, then that might well attract more customers...

just speculating.
Maybe you are right, but with the statistical variance there is not much room for lowering the house edge withouth further increasing the risk of going negative...


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on March 16, 2013, 12:48:26 AM
Another update rolled out today:
  • Display improvements: All bitcoin amounts are now rounded to 4 digits instead of 3 digits and have a tooltip with the exact amount on mouse-over.
  • Socket.io-based API available! Check out the documentation at http://bitbattle.me/api/ (http://bitbattle.me/api/)
  • Open-source sample bot written in python including simple martingale strategy available on GitHub (https://github.com/TripleSpeeder/bitbattlebot).

The API is quite extensive and contains the same information that is used on the website to display the session progress. To get started check out the sample bot implementation (https://github.com/TripleSpeeder/bitbattlebot) (Direct download as zip: https://github.com/TripleSpeeder/bitbattlebot/archive/master.zip). There is a skeleton bot that is only listening for events and can be used as a starting point for individual bots, and a martingale bot based on the skeleton bot that implements a very simple martingale strategy.

20-round martingale bot run, starting each round with a stake 0.001 and limiting max bet to 1.0:
Code:
stingray ~/dev/bitbattlebot $ python martingalebot.py 8d735c925ea0431b984055b2b42bccb1 http://<censored>:<censored>@localhost:<censored> 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r 0.001 1.0 20
Connected. Now subscribing to player channel 8d735c925ea0431b984055b2b42bccb1
Joined channel 8d735c925ea0431b984055b2b42bccb1. Now starting bot.
Starting round 1!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Bet]: lessthan32768, drawn: 2301, result: True, stake: 0.00100000, win: 0.00196400
Starting round 2!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 2w/0l/48r - Stake: 0.00200000 - Payout: 0.00342800
[Bet]: lessthan32768, drawn: 46289, result: False, stake: 0.00100000, win: 0.00000000
Betting 0.00200000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 2w/1l/47r - Stake: 0.00300000 - Payout: 0.00342800
[Bet]: lessthan32768, drawn: 46704, result: False, stake: 0.00200000, win: 0.00000000
Betting 0.00400000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 2w/2l/46r - Stake: 0.00500000 - Payout: 0.00292800
[Bet]: lessthan32768, drawn: 7250, result: True, stake: 0.00400000, win: 0.00785600
Starting round 3!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 3w/2l/45r - Stake: 0.00900000 - Payout: 0.01078400
[Bet]: lessthan32768, drawn: 1318, result: True, stake: 0.00100000, win: 0.00196400
Starting round 4!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 4w/2l/44r - Stake: 0.01000000 - Payout: 0.01274800
[Bet]: lessthan32768, drawn: 21080, result: True, stake: 0.00100000, win: 0.00196400
Starting round 5!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 5w/2l/43r - Stake: 0.01100000 - Payout: 0.01471200
[Bet]: lessthan32768, drawn: 9757, result: True, stake: 0.00100000, win: 0.00196400
Starting round 6!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 6w/2l/42r - Stake: 0.01200000 - Payout: 0.01667600
[Bet]: lessthan32768, drawn: 41832, result: False, stake: 0.00100000, win: 0.00000000
Betting 0.00200000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 6w/3l/41r - Stake: 0.01300000 - Payout: 0.01667600
[Bet]: lessthan32768, drawn: 22893, result: True, stake: 0.00200000, win: 0.00392800
Starting round 7!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 7w/3l/40r - Stake: 0.01500000 - Payout: 0.02010400
[Bet]: lessthan32768, drawn: 19953, result: True, stake: 0.00100000, win: 0.00196400
Starting round 8!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 8w/3l/39r - Stake: 0.01600000 - Payout: 0.02206800
[Bet]: lessthan32768, drawn: 50302, result: False, stake: 0.00100000, win: 0.00000000
Betting 0.00200000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 8w/4l/38r - Stake: 0.01700000 - Payout: 0.02206800
[Bet]: lessthan32768, drawn: 28751, result: True, stake: 0.00200000, win: 0.00392800
Starting round 9!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 9w/4l/37r - Stake: 0.01900000 - Payout: 0.02599600
[Bet]: lessthan32768, drawn: 49097, result: False, stake: 0.00100000, win: 0.00000000
Betting 0.00200000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 9w/5l/36r - Stake: 0.02000000 - Payout: 0.02599600
[Bet]: lessthan32768, drawn: 3881, result: True, stake: 0.00200000, win: 0.00392800
Starting round 10!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 10w/5l/35r - Stake: 0.02200000 - Payout: 0.02942400
[Bet]: lessthan32768, drawn: 18600, result: True, stake: 0.00100000, win: 0.00196400
Starting round 11!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 11w/5l/34r - Stake: 0.02300000 - Payout: 0.03138800
[Bet]: lessthan32768, drawn: 5543, result: True, stake: 0.00100000, win: 0.00196400
Starting round 12!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 12w/5l/33r - Stake: 0.02400000 - Payout: 0.03335200
[Bet]: lessthan32768, drawn: 15509, result: True, stake: 0.00100000, win: 0.00196400
Starting round 13!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 13w/5l/32r - Stake: 0.02500000 - Payout: 0.03531600
[Bet]: lessthan32768, drawn: 53076, result: False, stake: 0.00100000, win: 0.00000000
Betting 0.00200000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 13w/6l/31r - Stake: 0.02600000 - Payout: 0.03531600
[Bet]: lessthan32768, drawn: 34125, result: False, stake: 0.00200000, win: 0.00000000
Betting 0.00400000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 13w/7l/30r - Stake: 0.02800000 - Payout: 0.03531600
[Bet]: lessthan32768, drawn: 53901, result: False, stake: 0.00400000, win: 0.00000000
Betting 0.00800000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 13w/8l/29r - Stake: 0.03200000 - Payout: 0.03481600
[Bet]: lessthan32768, drawn: 14787, result: True, stake: 0.00800000, win: 0.01571200
Starting round 14!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 14w/8l/28r - Stake: 0.04000000 - Payout: 0.05052800
[Bet]: lessthan32768, drawn: 29104, result: True, stake: 0.00100000, win: 0.00196400
Starting round 15!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 15w/8l/27r - Stake: 0.04100000 - Payout: 0.05249200
[Bet]: lessthan32768, drawn: 46723, result: False, stake: 0.00100000, win: 0.00000000
Betting 0.00200000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 15w/9l/26r - Stake: 0.04200000 - Payout: 0.05249200
[Bet]: lessthan32768, drawn: 14861, result: True, stake: 0.00200000, win: 0.00392800
Starting round 16!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 16w/9l/25r - Stake: 0.04400000 - Payout: 0.05642000
[Bet]: lessthan32768, drawn: 19850, result: True, stake: 0.00100000, win: 0.00196400
Starting round 17!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 17w/9l/24r - Stake: 0.04500000 - Payout: 0.05788400
[Bet]: lessthan32768, drawn: 50651, result: False, stake: 0.00100000, win: 0.00000000
Betting 0.00200000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 17w/10l/23r - Stake: 0.04600000 - Payout: 0.05788400
[Bet]: lessthan32768, drawn: 60010, result: False, stake: 0.00200000, win: 0.00000000
Betting 0.00400000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 17w/11l/22r - Stake: 0.04800000 - Payout: 0.05788400
[Bet]: lessthan32768, drawn: 24424, result: True, stake: 0.00400000, win: 0.00785600
Starting round 18!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 18w/11l/21r - Stake: 0.05200000 - Payout: 0.06574000
[Bet]: lessthan32768, drawn: 13418, result: True, stake: 0.00100000, win: 0.00196400
Starting round 19!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 19w/11l/20r - Stake: 0.05300000 - Payout: 0.06770400
[Bet]: lessthan32768, drawn: 60132, result: False, stake: 0.00100000, win: 0.00000000
Betting 0.00200000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 19w/12l/19r - Stake: 0.05400000 - Payout: 0.06770400
[Bet]: lessthan32768, drawn: 23445, result: True, stake: 0.00200000, win: 0.00392800
Starting round 20!
Betting 0.00100000 on 1JczM9rH98Fe6YYqF39r89yS2f5gJHW63r
[Sessionstate]: 20w/12l/18r - Stake: 0.05600000 - Payout: 0.07113200
[Bet]: lessthan32768, drawn: 30550, result: True, stake: 0.00100000, win: 0.00196400
Last round finished.
Disconnecting...
(bitbattlebot)stingray ~/dev/bitbattlebot $

See http://bitbattle.me/player/herbertsbot/ for the related session.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on March 19, 2013, 08:51:38 PM
Another API piece now online: Now it is possible to obtain bet addresses, win odds etc of your player in json-format. Just take your dashboard url and append
Code:
/json/
at the end.

Sample link: http://bitbattle.me/player/herbert/json/

Check out the new section "Player information" in the API description (http://bitbattle.me/api/).


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 09, 2013, 08:47:32 PM
bitbattle.me (http://bitbattle.me) is now online without any noteworthy incident for almost 6 months, having served 105,000+ bets in more than 6,000 sessions. While I consider this a great success, unfortunately the net result is not really overwhelming so far. Basically I am still struggling with keeping a positive net result. Therefor I am now raising the house edge from 1.8% to 1.9%.

This is still in the same range than the competition - And remember that I still offer some outstanding features:
  • immediate feedback on any bet
  • still accepting unconfirmed transactions
  • no blockchain bloat or transaction spamming
  • personal statistics and bet addresses
  • minimum bet of only 0.001 BTC

So I hope you keep visiting bitbattle.me (http://bitbattle.me) ;)!


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Zaih on April 10, 2013, 02:48:06 AM
Have you had any issues with double spending? You seem pretty brave accepting 0 conf bets!


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 10, 2013, 06:34:34 AM
Have you had any issues with double spending? You seem pretty brave accepting 0 conf bets!

Zero problem so far ;D
But I do have multiple measures in place to protect me, some of which are only possible through the usage of individual bet addresses for each player. And of course some obvious like "reject unconfirmed bets that don't have a tx fee" etc.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 10, 2013, 11:40:20 AM
Ahrg. Bitcoind has been running for several weeks now without restart - Just today it started making troubles. I am looking into it right now.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 10, 2013, 01:15:44 PM
Ahrg. Bitcoind has been running for several weeks now without restart - Just today it started making troubles. I am looking into it right now.

Okay, everything is back to normal again. Pending payments are sent out, all transactions should be handled. If you think a transaction is missing let me know!


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 16, 2013, 09:15:38 PM
In case this happens to you:
There is a race-condition bug in the code that will create two or more payments for one session. This is considered "impossible" by the payment engine backend and so none of the payments get paid. I have a bugfix for this in the pipeline but not yet on the production system.
I get immediate email notification by the payment engine in case this happens and will always sort this out as soon as possible, but depending on personal state (sleeping/working/etc) and availability of internet access it might take few hours.

This happend 4 times the last week, so it is quite unlikely you encounter this bug, but if it is the case don't panic, you will get your payout  8)


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 17, 2013, 08:16:29 AM
In case this happens to you:
There is a race-condition bug in the code that will create two or more payments for one session. This is considered "impossible" by the payment engine backend and so none of the payments get paid. I have a bugfix for this in the pipeline but not yet on the production system.
I get immediate email notification by the payment engine in case this happens and will always sort this out as soon as possible, but depending on personal state (sleeping/working/etc) and availability of internet access it might take few hours.

This happend 4 times the last week, so it is quite unlikely you encounter this bug, but if it is the case don't panic, you will get your payout  8)

The bugfix is now deployed to production system. Issue should not happen anymore  :)


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 17, 2013, 11:14:56 AM
The server is quite loaded at the moment. Not sure yet if this is some DDOS attack or just increased traffic, maybe due to SDice problems...


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 18, 2013, 08:36:03 AM
The server is quite loaded at the moment. Not sure yet if this is some DDOS attack or just increased traffic, maybe due to SDice problems...
Looks like someone is trying to rip off Anonymous ads by automatically clicking on Ads, resulting in huge traffic. Traffic volume is now almost back to normal again.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 18, 2013, 09:16:13 PM
Rolled out another update tonight, which hopefully finally fixes the occasional double payment issue.

(You just have to love multithread-multiprocess-multisite synchronization - So many things you can do wrong... ;))


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Hfleer on April 19, 2013, 06:46:02 PM
Ahrg. Bitcoind has been running for several weeks now without restart - Just today it started making troubles. I am looking into it right now.

Okay, everything is back to normal again. Pending payments are sent out, all transactions should be handled. If you think a transaction is missing let me know!

On your website I have a session that says paid, but didn't send, and the transaction can't be found.  
Edit: Shows up now, just took a while.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Hfleer on April 20, 2013, 08:22:38 PM
I've played here, since SatoshiDice has been very slow lately.  Seems to work well, but would like to see the number i rolled without having to click on every bet if possible.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Zaih on April 20, 2013, 10:04:41 PM
http://puu.sh/2DTob.png

Looks like someone's missing SatoshiDice :D


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 21, 2013, 06:32:40 AM
I've played here, since SatoshiDice has been very slow lately.  Seems to work well, but would like to see the number i rolled without having to click on every bet if possible.
Good point. I'll add the lucky number to the dashboard :)


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: GCInc. on April 21, 2013, 11:09:49 AM
Looks like someone's missing SatoshiDice :D
Pretty nice, it's about time the operator got compensated all at once for his efforts ;)


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: b!z on April 24, 2013, 11:04:59 AM
http://puu.sh/2DTob.png

Looks like someone's missing SatoshiDice :D

Looks like we have some high rollers :D


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 25, 2013, 08:39:26 PM
I've played here, since SatoshiDice has been very slow lately.  Seems to work well, but would like to see the number i rolled without having to click on every bet if possible.


Just rolled out a layout update:
  • The lucky number is now shown in your dashboard next to each bet
  • Some more minor tweaks and fixes


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 27, 2013, 12:39:11 PM
Site will be down for a few minutes for system upgrade...


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >100000 bets placed! NEW: API!
Post by: Herbert on April 27, 2013, 01:06:50 PM
Site will be down for a few minutes for system upgrade...

Up and running again! This upgrade *should* give a great performance boost on the load times. Let's see :-)


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >135000 bets! NEW: privacy!
Post by: Herbert on May 02, 2013, 11:21:32 AM
Update:

You can now opt to hide your stats and sessions from public. If you don't want the world to see how much you are betting you can go to your account settings and click on "Anonymize me in public stats".

Enabling this will anonymize or hide most of your personal information:
  • Your dashboard will not be available for other users
  • Your player name, sessions and transactionIDs will be replaced by '****' in all public statistics
  • Your personal statistics will not be available for other users

If you are logged in you will of course see all this information like usual.

Note that this is only relevant for history and statistics. Your bets will still show up in the live bet log on the main screen, but users will not be able to open your dashboard or session details from there.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >135000 bets placed! NEW: Privacy!
Post by: Herbert on May 04, 2013, 08:50:03 PM
I just restarted the payment engine as it was offline for about 4 hours. All payments due within this timeframe were in state "Pending", but are now paid. Sorry for the trouble  :-[


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >135000 bets placed! NEW: Privacy!
Post by: DJTrey on May 07, 2013, 04:44:17 PM
I'm addicted to this game. I've had about 9BTC in payouts. This site rocks.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: b!z on May 09, 2013, 11:19:36 AM
The page isn't loading for me. I want to dice some coins :)

edit: working now


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: Zaih on May 09, 2013, 11:23:15 AM
Herbert what's the total amount of bets you guys have gotten? I think it's safe to say you guys are 2nd biggest Bitcoin gambling website?


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: Herbert on May 09, 2013, 01:47:25 PM
Herbert what's the total amount of bets you guys have gotten? I think it's safe to say you guys are 2nd biggest Bitcoin gambling website?
Just look at the Bet# on live bet log. Right now: 141601  ;D
I'm not sure about being 2nd biggest. For sure smaller than SDice, but I did not have a detailed look on the bet count of all the other sites  :)


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: Herbert on May 09, 2013, 10:37:37 PM
Rolled out an update today which significantly reduces initial loading time. Most javascript stuff is now in a separate script file which your browser will cache after first load. Overall the size of index.html is down from >70K to ~30K. Really should have done this earlier  ;)


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: Zaih on May 09, 2013, 11:45:17 PM
What about total BTC bet?


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: Herbert on May 10, 2013, 08:25:11 AM
What about total BTC bet?
Total volume (incoming + outgoing transactions) of bitbattle.me is just a few hundred short of hitting 100,000 bitcoins 8)


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: b!z on May 10, 2013, 10:20:20 AM
Does anybody want to play multiplayer with me? I've never had the chance to try it out  ???


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: Zaih on May 10, 2013, 02:53:39 PM
What about total BTC bet?
Total volume (incoming + outgoing transactions) of bitbattle.me is just a few hundred short of hitting 100,000 bitcoins 8)

Very nice, early grats on the 100k mark :)


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: Mooshire on May 10, 2013, 09:12:51 PM
Ever consider having a deposit at the start of the battle so that there isn't a tx fee every time you bet? Would cut down on costs.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: Hfleer on May 11, 2013, 01:07:16 PM
Ever consider having a deposit at the start of the battle so that there isn't a tx fee every time you bet? Would cut down on costs.

I was thinking of suggesting a way to allow users to gamble with their in session winnings, would have a similar effect.(less tx and faster)


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: b!z on May 12, 2013, 03:54:46 AM
Ever consider having a deposit at the start of the battle so that there isn't a tx fee every time you bet? Would cut down on costs.

I was thinking of suggesting a way to allow users to gamble with their in session winnings, would have a similar effect.(less tx and faster)

Seems like a fun idea.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: Herbert on May 12, 2013, 08:17:33 AM
Ever consider having a deposit at the start of the battle so that there isn't a tx fee every time you bet? Would cut down on costs.

I was thinking of suggesting a way to allow users to gamble with their in session winnings, would have a similar effect.(less tx and faster)

Seems like a fun idea.

Regarding deposits I don't really like that idea. I think one advantage of bitbattle.me is the possibility for instant bets without any deposit in advance. I want to keep the amount of trust a new player needs into the site as low as possible, hence no initial account or deposit required.

Another thing is the idea of using your session winnings to gamble. Sounds interesting, but would require a total new betting system off-the-blockchain. So at least in the near future something like this will not be implemented...

If you want to save transaction fees you can already now place multiple bets in one transaction using "sendmandy"-functionality. But of course this does not help if you are running a bet strategy that depends on the result of previous bets.

Btw, as it seems 0.8 client will reduce the minimum forced tx fee I will follow and also adjust the fees both required for incoming bet transactions and for payment transactions.


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: Herbert on May 13, 2013, 07:27:45 PM
As these questions came up quite often the last days I updated the FAQ (http://bitbattle.me/faq/) with
  • My bet got REJECTED. Why?
  • My payment is in state "paid" but does not confirm and/or is not showing up on blockchain.info. Where is it?


Title: Re: bitbattle.me - Instant bets, ZERO waiting! >140000 bets placed! NEW: Privacy!
Post by: Herbert on May 16, 2013, 03:50:26 PM
What about total BTC bet?
Total volume (incoming + outgoing transactions) of bitbattle.me is just a few hundred short of hitting 100,000 bitcoins 8)

Very nice, early grats on the 100k mark :)

Thanks, and now you can officially congratulate! Today the total volume broke the 100.000 BTC mark  ;D

And just in case you are wondering: Bitbattle.me (http://bitbattle.me) is still available from everywhere, including U.S.! ;)


Title: Re: bitbattle.me - instant bets, ZERO waiting! >140000 bets! U.S. player welcome!
Post by: Herbert on May 19, 2013, 08:36:13 AM
Although being inactive since several weeks, according to http://bitbattle.me/statistics/payout/ player Slim (http://bitbattle.me/player/slim/) is still leading the payout charts with an impressive 22900.8674 BTC!

It's about time for someone stepping up to this position - Come on guys! ;)


Title: Re: bitbattle.me - instant bets, ZERO waiting! >140000 bets! U.S. player welcome ;)
Post by: Herbert on May 24, 2013, 09:19:02 PM
GCInc (https://bitcointalk.org/index.php?action=profile;u=5187) informed me that http://botdice.com/ has been extended with bitbattle.me (http://bitbattle.me) data. So you can test your bet strategy there without risking real coins :)


Title: Re: bitbattle.me - instant bets, ZERO waiting! >140000 bets! U.S. player welcome ;)
Post by: Zaih on May 26, 2013, 07:42:00 AM
This is only a tiny thing, but you should set a favicon for Bitbattle.

And wow, poor fella.

http://puu.sh/31nTV.png

18 bet and not a single win :o


Title: Re: bitbattle.me - instant bets, ZERO waiting! >140000 bets! U.S. player welcome ;)
Post by: Herbert on June 02, 2013, 01:55:01 PM
Since bitcoin-Qt 0.8.2 has been released with updated default tx fee policy I changed the according policy also on bitbattle.me:

  • Transaction fee for payouts is calculated accordingly (minimum 0.0001 BTC instead of 0.0005)

Also the acceptance policy for unconfirmed transactions is adjusted:

  • If a transaction has fee >= 0.0005 0.0001, and all inputs are confirmed -> ALLOW
  • If a transaction has fee < 0.0005 0.0001, but all inputs are confirmed -> ALLOW
  • If a transaction has fee < 0.0005 0.0001, and at least one input is unconfirmed -> REJECT
  • If a transaction has at least one unconfirmed input but fee >= 0.0005 0.0001 -> ALLOW
  • If a transaction has at least one unconfirmed input and fee < 0.0005 0.0001 -> REJECT

Have fun  ;D


Title: Re: bitbattle.me - instant bets, ZERO waiting! >160000 bets! U.S. player welcome ;)
Post by: Herbert on June 15, 2013, 02:06:45 PM
Some significant amounts were bet the last few days.
Check out the stats of benzoate (http://bitbattle.me/player/benzoate/) and gandalf (http://bitbattle.me/player/gandalf/) - quiet some impressive sessions there, both winning and losing ;D.

Although they don't yet come close to the long-standing record-holding 1260 BTC payout (http://bitbattle.me/game/c2edb0aa7c6147fb8eec37ae373e607b/) obtained by Ash (http://bitbattle.me/player/ash/). To be fair I should mention that at that time the bet limits were around 30% higher than today ;)


Title: Re: bitbattle.me - instant bets, ZERO waiting! >160000 bets! U.S. player welcome ;)
Post by: SteamGamesBTC.com on June 18, 2013, 01:52:00 PM
http://bitbattle.me/game/aad3ba8b60cf4a6783a9e0f277f034e1/

Is it normal @ 50%?


Title: Re: bitbattle.me - instant bets, ZERO waiting! >160000 bets! U.S. player welcome ;)
Post by: Herbert on June 18, 2013, 05:59:32 PM
http://bitbattle.me/game/aad3ba8b60cf4a6783a9e0f277f034e1/

Is it normal @ 50%?
One hell of a session indeed.
But looking at his stats benzoate is in normal range. Look at http://bitbattle.me/statistics/lucky_numbers/benzoate/ and http://bitbattle.me/statistics/win_percentage/benzoate/. He just had some bad luck (after having some good luck few days before ;))


Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! U.S. player welcome ;)
Post by: Herbert on July 21, 2013, 06:43:12 PM
Bitbattle.me just exceeded a total volume of 125,000 BTC, with 180,000 bets placed. This makes for an average of 0.69 BTC or approximately 6 USD per bet :)


Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! U.S. player welcome ;)
Post by: mechs on July 21, 2013, 07:45:28 PM
Bitbattle.me just exceeded a total volume of 125.000 BTC, with 180.000 bets placed. This makes for an average of 0.69 BTC or approximately 6 USD per bet :)
Hi Herbert, how is this provably fair?  Can you explain the mechanism please.


Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! U.S. player welcome ;)
Post by: Herbert on July 22, 2013, 08:28:41 AM
Bitbattle.me just exceeded a total volume of 125.000 BTC, with 180.000 bets placed. This makes for an average of 0.69 BTC or approximately 6 USD per bet :)
Hi Herbert, how is this provably fair?  Can you explain the mechanism please.
It is following the common standard: TransactionID + output index is combined with a daily secret to determine the lucky number. The hashes of the daily secret are pre-calculated and can be downloaded from the site so you can check if the correct secret number was used.
Each bet contains detailed instructions how to verify. Sample: http://bitbattle.me/bet/179695/



Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! U.S. player welcome ;)
Post by: Herbert on July 31, 2013, 04:28:43 PM
The backend was done for about one hour, but now back up again. All transactions that came in during that time have been processed.


Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! U.S. player welcome ;)
Post by: digit on July 31, 2013, 04:39:08 PM
any freebies? :)


Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! U.S. player welcome ;)
Post by: Herbert on August 01, 2013, 08:44:35 AM
any freebies? :)
No :-\ I also am not sure what would be the best way to offer something like this. One thing I was thinkin about would be a reduced house edge for a certain amount of time. Would this be interesting?


Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! U.S. player welcome ;)
Post by: Herbert on August 14, 2013, 05:40:41 AM
The backend was done for about one hour this morning. Not yet sure about the root cause, but the system is up and running again and all transactions that came in during that time have been processed.


Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! U.S. player welcome ;)
Post by: Herbert on September 22, 2013, 08:04:56 AM
Noticed there was a bug in the API (http://bitbattle.me/api/) that made it impossible to retrieve the player info json data for some accounts. This is fixed now :-)
See http://bitbattle.me/player/herbert/json/ for sample data.


Title: Re: bitbattle.me - no deposit, instant bets, 0-conf bets accepted, ZERO waiting!
Post by: Herbert on October 16, 2013, 02:22:22 PM
Only 10 days left until the first anniversary!  ;D


Title: Re: bitbattle.me - no deposit, instant bets, 0-conf bets accepted, ZERO waiting!
Post by: Herbert on October 24, 2013, 06:16:55 AM
This morning the backend was stuck for about 2 hours, so no bets could be accepted. Problem is fixed and all transactions that came in during that period are handled. Sorry for the inconvinience  :(


Title: Re: bitbattle.me - 1 year anniversary Promotion! Instant bets, zero waiting!
Post by: Herbert on October 29, 2013, 08:33:44 PM
I am having the honour to announce 1 year of bitbattle.me!

bitbattle.me (http://bitbattle.me/) is now one of the longest running dice sites, with a 100% clean history - no thefts, no scams, no complaints!

This clearly deserves a celebration! Therefor I am happy to present the
Anniversary Deal: 1% house edge discount!
House edge is reduced by 1% to an all-time low of 0.9%
This anniversary deal will end on 2013-11-7.

May the luck be with you  8)


Title: Re: bitbattle.me - 1 year anniversary Promotion! Instant bets, zero waiting!
Post by: RichardChanze on October 30, 2013, 09:50:09 AM


I am not very clear about incoming and outgoing  transactions fees , please help!


Title: Re: bitbattle.me - 1 year anniversary Promotion! Instant bets, zero waiting!
Post by: Herbert on October 30, 2013, 01:26:47 PM
I am not very clear about incoming and outgoing  transactions fees , please help!

Actually it is quite simple:
Incoming transactions are checked to prevent trivial double-spend attempts: If a transaction consists of unconfirmed inputs it needs to have a transaction fee of at least 0.0001 BTC.
Usually you don't really have to care about this, this is all done automatically by your wallet software.

The transaction fee for payouts is calculated the same way the official bitcoin-qt client does. The txfee depends on the size of the transaction. While a session is running the payout is calculated including the estimated transaction fee. Sometimes this estimation is not exactly matching the real tx fee, because you only know the exact fee when the transaction gets created. But usually the estimate is quite close to the real fee :)


Title: Re: bitbattle.me - 1 year anniversary Promotion! Instant bets, zero waiting!
Post by: Herbert on October 30, 2013, 08:34:18 PM
...9 days remaining with reduced house edge...


Title: Re: bitbattle.me - 1 year anniversary Promotion! Instant bets, zero waiting!
Post by: Herbert on October 31, 2013, 07:48:19 PM
...8 days remaining with reduced house edge...


Title: Re: bitbattle.me - 1 year anniversary Promotion! Instant bets, zero waiting!
Post by: Herbert on November 01, 2013, 09:05:14 PM
...7 days remaining with reduced house edge...


Title: Re: bitbattle.me - 1 year anniversary Promotion! Instant bets, zero waiting!
Post by: Herbert on November 04, 2013, 04:16:07 PM
...4 days remaining with reduced house edge...


Title: Re: bitbattle.me - 1 year anniversary Promotion! Instant bets, zero waiting!
Post by: Herbert on November 05, 2013, 08:04:01 PM
...3 days remaining with reduced house edge...


Title: Re: bitbattle.me - 1 year anniversary Promotion! Instant bets, zero waiting!
Post by: Herbert on November 06, 2013, 07:38:55 AM
I am having the honour to announce 1 year of bitbattle.me!

bitbattle.me (http://bitbattle.me/) is now one of the longest running dice sites, with a 100% clean history - no thefts, no scams, no complaints!

This clearly deserves a celebration! Therefor I am happy to present the
Anniversary Deal: 1% house edge discount!
House edge is reduced by 1% to an all-time low of 0.9%
This anniversary deal will end on 2013-11-7.

May the luck be with you  8)

...2 days remaining with reduced house edge!


Title: Re: bitbattle.me - 1 year anniversary Promotion! Instant bets, zero waiting!
Post by: Herbert on November 07, 2013, 12:26:09 PM
...Last day today with reduced house edge...

I am having the honour to announce 1 year of bitbattle.me!

bitbattle.me (http://bitbattle.me/) is now one of the longest running dice sites, with a 100% clean history - no thefts, no scams, no complaints!

This clearly deserves a celebration! Therefor I am happy to present the
Anniversary Deal: 1% house edge discount!
House edge is reduced by 1% to an all-time low of 0.9%
This anniversary deal will end on 2013-11-7.

May the luck be with you  8)



Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! 0-conf accepted!
Post by: Herbert on November 19, 2013, 12:53:02 PM
I had 2 reports on stuck payments the last few days. The root cause is identified and I'm working on implementing a fix. Until this is in place and you don't see your payout transaction coming through, let me know so I can manually fix it.


Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! 0-conf accepted!
Post by: Herbert on November 19, 2013, 04:42:05 PM
For the first time in over a year there was a successfull hack attack today on bitbattle.me. Good news is that wallet protection measures worked, so the hacker did not manage to empty the hot wallet (although he was quite close...). But the site will stay offline until I have more information on the attack.
If you placed bets while the hack/shutdown was in progress and did not receive your payout/refund please let me know so I can refund you.


Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! 0-conf accepted!
Post by: ingrownpocket on January 15, 2014, 11:53:50 AM
Is the site closed for good?


Title: Re: bitbattle.me - no deposit, instant bets, ZERO waiting! 0-conf accepted!
Post by: Herbert on January 16, 2014, 10:59:19 PM
Is the site closed for good?
Probably... I'm not decided yet if i bring it back up. Definitely don't have time for it at the moment.