Author

Topic: bustabit.com -- The Social Gambling Game - page 158. (Read 293938 times)

legendary
Activity: 2940
Merit: 1333
September 09, 2014, 12:12:45 PM
This definitely looks very suspicious, so I think I owe it to everyone with a full technical explanation.

Thanks for the explanation Eric.

I had an old copy of my chart still in a tab, generated a new one, and overlayed the two on top of each other.

Here's how your change affected my chart and numbers - all looks good:

copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
September 09, 2014, 10:06:46 AM
espringe, that is a darn good explanation. I hope you can find the error and please, for the love of god, keep it up. You are doing a great job!
full member
Activity: 154
Merit: 101
September 09, 2014, 09:56:37 AM
I think it skipped a nonce.

This definitely looks very suspicious, so I think I owe it to everyone with a full technical explanation. However, this is actually the system working properly to protect players (and myself) in the event of a server-crash or something similar. Firstly this is something I monitor and was made immediately aware of:


...in the code

---

Ok, so the first thing is the server does is generate a random seed and random game crash.

Then this is inserted into the database, with a boolean `ended=false` -- which is to tell the server the game has not finished, and to never reveal the seed or game crash (otherwise people could cheat the system). Once this game is safely inserted and replicated, the server begins the count down, telling the client the hash of the seed and now allowing it to join the game.

During the joining period, the server allows people to join the game -- saving the data in the database. When the joining period is over, the server pauses to ensure everyones joining information is safely committed and replicated -- and then the actual game begins.


Under normal operation, people would perhaps cash out (which is recorded in the database) and eventually the game would end. If everything went fine, the server adds all the bonuses and marks the game as fully terminated

By marking the game as ended, in the public statistics the game crash (and seed) are allowed to be revealed.

---

In this case, the game was never marked as ended -- so it's left in a state for me to manually review and resolve. The whole reason for this two-phase system, is to protect players in the case of a server or database problem -- and to protect me if someone finds a way to interrupt the server or database during a game.

I still need to go through the logs and try find out what happened to the server or database, but here's how I resolved the issue:



Note: game crash of 171 doesn't mean 171x but means 1.71x

And here is everyones play:


Note: 'bet' is in satoshis
Not2: there was not a single cash_out -- this indicates there was a server/database problem very early in the game

And here's how I'm resolving the game:



Note: Depending on game, I can't always afford to err so far in the favor of players (in this case, I just made the assumption they all cashed out at the max possible) -- but I always try do the right thing by players.

Now I need to see what the problem was =)







legendary
Activity: 2940
Merit: 1333
September 09, 2014, 09:52:53 AM
Something bad happened here:



The game froze at 1x. I reloaded, and the chat was empty. It doesn't know what multiplier that game crashed at even though two games have run since it. It shows as a loss, but I think the game never happened due to a server crash or similar.

https://www.moneypot.com/game/530113 is a 404.

I think it skipped a nonce.

Ha!

I don't know if it's relevant, but this my 2000th game exactly.
member
Activity: 77
Merit: 10
September 09, 2014, 02:22:46 AM
Something bad happened here:



The game froze at 1x. I reloaded, and the chat was empty. It doesn't know what multiplier that game crashed at even though two games have run since it. It shows as a loss, but I think the game never happened due to a server crash or similar.

https://www.moneypot.com/game/530113 is a 404.

I think it skipped a nonce.
legendary
Activity: 2940
Merit: 1333
September 09, 2014, 02:10:40 AM
Something bad happened here:



The game froze at 1x. I reloaded, and the chat was empty. It doesn't know what multiplier that game crashed at even though two games have run since it. It shows as a loss, but I think the game never happened due to a server crash or similar.

https://www.moneypot.com/game/530113 is a 404.
legendary
Activity: 1638
Merit: 1329
Stultorum infinitus est numerus
September 09, 2014, 01:38:02 AM
#MoneyPotRekt2014

Nah, the site's way up, and Eric knows I'll lose it back to him eventually.

And, i am sure that he knows that you'll win that again.
legendary
Activity: 2940
Merit: 1333
September 09, 2014, 01:35:59 AM
#MoneyPotRekt2014

Nah, the site's way up, and Eric knows I'll lose it back to him eventually.
legendary
Activity: 1638
Merit: 1329
Stultorum infinitus est numerus
September 09, 2014, 01:34:19 AM
it's better to be #2 cuz everyone tries to take down #1

Now you tell me?

Gosh!







#MoneyPotRekt2014
legendary
Activity: 2940
Merit: 1333
September 09, 2014, 01:21:19 AM
it's better to be #2 cuz everyone tries to take down #1

Now you tell me?

Gosh!





hero member
Activity: 868
Merit: 1000
September 08, 2014, 11:00:40 PM
it's better to be #2 cuz everyone tries to take down #1
legendary
Activity: 2940
Merit: 1333
September 08, 2014, 09:16:39 PM
Are you really going to let that stand?

Yeah, for a while.
full member
Activity: 154
Merit: 101
September 08, 2014, 04:38:09 PM
Dooglus is correct, autobet is done client-side. If the client disconnects, the server will auto-cash you out (assuming you are playing).

One potential gotcha is that when the client reconnects, it will continue autobetting. However, I think I'm going to change that behavior, and if you reconnect to suspend autobetting.


BTW dooglus:



Are you really going to let that stand?
legendary
Activity: 2940
Merit: 1333
September 08, 2014, 03:36:22 PM
i got it on Auto Bet at present but I had to 'sleep' the laptop and go out, when i recovered the laptop I wasn't sure what happened and i had loads of games go-by, I cannot be sure if i entered them or not, my balance is okay but lots of games flashed by when I restored the laptop and got online again

I'm pretty sure the 'auto bet' stuff is done client-side. So if your laptop is sleeping (suspended or hibernated), it won't be able to submit bets.

If it's just running a screensaver, or the screen has powered down but the CPU is still running then it could still be sending the bets.

You can look at your bet history to find out:

  go to https://www.moneypot.com/account
  click 'public profile'
  hover over the points on the chart to see how long ago each bet was
  click 'previous' to see older bets
sr. member
Activity: 412
Merit: 250
September 08, 2014, 11:56:28 AM
i got it on Auto Bet at present but I had to 'sleep' the laptop and go out, when i recovered the laptop I wasn't sure what happened and i had loads of games go-by, I cannot be sure if i entered them or not, my balance is okay but lots of games flashed by when I restored the laptop and got online again
hero member
Activity: 868
Merit: 1000
September 08, 2014, 01:25:47 AM
#99



I may partake in this new game you have here. i', gonna bet 10,000 each time till it get gets over 400
member
Activity: 80
Merit: 10
September 07, 2014, 11:21:47 PM
#98
This just happened... If only I had a few bits on this game.

EDIT: Update, this just happened.



Proof: https://www.moneypot.com/game/536691
legendary
Activity: 2940
Merit: 1333
September 07, 2014, 11:13:59 PM
#97
I was doing a dumb 1.5x payout martingale, and reached the site limit, when:



The game crashed at exactly 1.5x and I won. Smiley
member
Activity: 63
Merit: 10
September 07, 2014, 09:59:14 PM
#96
I lost $20 but it was still fun haha nice site.
member
Activity: 80
Merit: 10
September 07, 2014, 09:49:54 PM
#95
about to give this a try, very nice concept.

+1, I really like the minimalistic design. 1st deposit incoming.

Well done espringe.
Jump to: