Bitcoin Forum
June 30, 2024, 04:30:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: [0.5 BTC] Bourbon: Start a Bitcoin Casino  (Read 3544 times)
wpstudio
Hero Member
*****
Offline Offline

Activity: 660
Merit: 500


View Profile WWW
June 19, 2014, 07:42:14 PM
Last edit: June 19, 2014, 08:03:12 PM by wpstudio
 #21

Might get a bit chaotic with more than 3 people playing at once. Smiley

You definitely have a great start to your script.  I might suggest some load balancing work because once you get more than 4 players playing at the same time the site code really slows down and after running a few "players" at once I was able to get one player seeing 5 seconds ahead of other players.  (Meaning time stamps were starting to get way off between players)
Irwin (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 20, 2014, 09:26:22 PM
 #22

Sorry about that everyone.

I've investigated the problem and I'm pretty sure it wasn't a problem with the source code or Bitcoin handling code. It seems to be something stupid I did with the database that let someone change their balance. This won't be a problem with the real version as the Bitcoin daemon as built-in checks against this kind of thing.

I've fixed the problem with blank usernames.

The site should also be back up.

I apologize for the fuck-ups; by software standards, we're still in the alpha stage of testing (hence why I released a demo first) and I'm happy we're catching the bugs now rather than later.
I've noticed that it looks like usernames are trimmed of spaces on the beginning and end of the string. This means that " user " would show up as "user" and "   " would show up as "" which we already know is causing a problem with the table.
While I think this is a very nice setup (although in need of work) it is not ready for sale and you probably shouldn't take any orders yet.
I'll do my best to help out, though. Wink

Edit - betting less than 0.000001 simply doesn't do anything. Tongue

Thanks for the feedback. Both issues should be fixed now. Please let me know about anything else!

Might get a bit chaotic with more than 3 people playing at once. Smiley

You definitely have a great start to your script.  I might suggest some load balancing work because once you get more than 4 players playing at the same time the site code really slows down and after running a few "players" at once I was able to get one player seeing 5 seconds ahead of other players.  (Meaning time stamps were starting to get way off between players)

Good point, definitely something to think about. I will say that right now the site is running off something pretty slow. I don't know much about load balancing to be honest. Do you have any tips?

Also, meh, I'm okay with the bets being off, but if the chat's off...
wpstudio
Hero Member
*****
Offline Offline

Activity: 660
Merit: 500


View Profile WWW
June 21, 2014, 02:27:21 PM
 #23

Sorry about that everyone.

I've investigated the problem and I'm pretty sure it wasn't a problem with the source code or Bitcoin handling code. It seems to be something stupid I did with the database that let someone change their balance. This won't be a problem with the real version as the Bitcoin daemon as built-in checks against this kind of thing.

I've fixed the problem with blank usernames.

The site should also be back up.

I apologize for the fuck-ups; by software standards, we're still in the alpha stage of testing (hence why I released a demo first) and I'm happy we're catching the bugs now rather than later.
I've noticed that it looks like usernames are trimmed of spaces on the beginning and end of the string. This means that " user " would show up as "user" and "   " would show up as "" which we already know is causing a problem with the table.
While I think this is a very nice setup (although in need of work) it is not ready for sale and you probably shouldn't take any orders yet.
I'll do my best to help out, though. Wink

Edit - betting less than 0.000001 simply doesn't do anything. Tongue

Thanks for the feedback. Both issues should be fixed now. Please let me know about anything else!

Might get a bit chaotic with more than 3 people playing at once. Smiley

You definitely have a great start to your script.  I might suggest some load balancing work because once you get more than 4 players playing at the same time the site code really slows down and after running a few "players" at once I was able to get one player seeing 5 seconds ahead of other players.  (Meaning time stamps were starting to get way off between players)

Good point, definitely something to think about. I will say that right now the site is running off something pretty slow. I don't know much about load balancing to be honest. Do you have any tips?

Also, meh, I'm okay with the bets being off, but if the chat's off...

What I did with my dice script is offered a setting in the Admin area that allows an option to increase the space between bets for bets lower than X value.  This way you can attempt to keep the speed up for high value players and eliminate the taxing on the server from low value bot betters.  It's one way to do it... and there are probably tons of other ways as well.
Irwin (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 26, 2014, 03:29:43 AM
 #24

Bumping because people are only responding through PM. Will have some reviews posted soon.
kebabman
Hero Member
*****
Offline Offline

Activity: 655
Merit: 504


You wan chili saus?


View Profile
June 28, 2014, 04:21:10 AM
Last edit: June 28, 2014, 07:52:20 PM by kebabman
 #25

Bumping because people are only responding through PM. Will have some reviews posted soon.

Tried to speak to this guy (talktobh) on Skype about buying his script, but all he did was continually post Eminem lyrics to me. Guys a weirdo, and clearly a scammer. Avoid buying anything from this scammer!

Irwin (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 29, 2014, 01:20:36 AM
 #26

Bumping because people are only responding through PM. Will have some reviews posted soon.

Tried to speak to this guy (talktobh) on Skype about buying his script, but all he did was continually post Eminem lyrics to me. Guys a weirdo, and clearly a scammer. Avoid buying anything from this scammer!



Everything this man says is true.

http://pastebin.com/Xgdb4mst

Please allow me to showcase several excerpts from our exchange:

Quote
[9:22:50 PM] Alex: you ain't selling your shitty dice script on BTC talk now fuck face Smiley
Quote
[9:32:28 PM] Alex: fuck your religion
Quote
[9:33:46 PM] Alex: chinese cunt

I have concluded that this man is vulgar, intolerant, and racist.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!